Implement VRF/L3VNI Infrahub Transforms #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Create Infrahub Transforms for VRF configuration including L3VNI mapping for symmetric IRB in EVPN-VXLAN.
Context
VRFs provide Layer 3 multi-tenancy in the fabric. Each VRF is associated with an L3VNI for inter-VXLAN routing (Type-5 routes). Infrahub schema will store VRF intent with relationships to VNIs and interfaces.
Tasks
vrf_instance_intent.gql- VRF config with L3VNIvrf_interfaces_intent.gql- SVIs in VRFvrf_bgp_intent.gql- BGP VRF address-familyvrf_instance_yang.j2- VRF creationvrf_vxlan_yang.j2- VRF-to-VNI mappingvrf_bgp_yang.j2- BGP VRF config with RTsVRF Configuration Scope
Infrahub Schema (proposed)
Example Implementation
GraphQL Query (
vrf_instance_intent.gql)Jinja2 Transform (
vrf_instance_yang.j2)Jinja2 Transform (
vrf_vxlan_yang.j2).infrahub.ymlAdditionOutput Files
Acceptance Criteria
Migration Notes (from NetBox)
InfraVRFschema with relationshipsl3vnicustom fieldl3vniattributeVrfMapperclassvrf_*_yang_transformRelated
Branch
feat/infrahub-transforms-vrf-l3vnicreated frommainfor this issue.Note: This branch should be rebased on
feat/infrahub-transforms-vlan-interfaces-vxlan(issue #20) once that PR is merged, as it depends on the transforms infrastructure created there.