Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/680 new ct types #806

Merged
merged 47 commits into from
Aug 26, 2024
Merged

Feat/680 new ct types #806

merged 47 commits into from
Aug 26, 2024

Conversation

chrismarget-j
Copy link
Collaborator

@chrismarget-j chrismarget-j commented Aug 25, 2024

This PR introduces 4 new Connectivity Template resources:

  • apstra_datacenter_connectivity_template_interface
  • apstra_datacenter_connectivity_template_loopback
  • apstra_datacenter_connectivity_template_svi
  • apstra_datacenter_connectivity_template_system

The last element in the resource name (interface/loopback/svi/system) indicates the type of application point with which each resource is compatible.

The resources are organized this way because:

  1. Each type of application point can accept only a prescribed set of top-level primitives, so the primitive schema differs depending on where the Connectivity Template is going to be used.
  2. Creating arbitrary Connectivity Templates(say, one containing only Routing Policy primitives), while supported in the Web UI, is ultimately useless: It can't be directly used with any application point in a blueprint.

The primitive schema for each type looks like this:

  • apstra_datacenter_connectivity_template_interface
    • Virtual Network (Single)
      • Static Route
      • BGP Peering (Generic System)
        • Routing Policy
    • Virtual Network (Multiple)
    • IP Link
      • BGP Peering (Generic System)
        • Routing Policy
      • BGP Peering (IP Endpoint)
        • Routing Policy
      • Dynamic BGP Peering
        • Routing Policy
      • Static Route
    • Routing Zone Constraint
  • apstra_datacenter_connectivity_template_loopback
    • BGP Peering (IP Endpoint)
      • Routing Policy
  • apstra_datacenter_connectivity_template_svi
    • BGP Peering (IP Endpoint)
      • Routing Policy
    • Dynamic BGP Peering
      • Routing Policy
  • apstra_datacenter_connectivity_template_system
    • Custom Static Route

@chrismarget-j chrismarget-j marked this pull request as draft August 25, 2024 02:01
@chrismarget-j chrismarget-j marked this pull request as ready for review August 25, 2024 02:12
@bwJuniper bwJuniper self-requested a review August 26, 2024 18:25
@chrismarget-j chrismarget-j merged commit cc3b792 into main Aug 26, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the feat/680-new-CT-types branch August 26, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants