fix(schema): remove duplicate InterfaceVxlan, keep VTEP only — refs #44
This commit is contained in:
@@ -50,7 +50,6 @@ This directory contains the Infrahub schema definitions for modeling an EVPN-VXL
|
|||||||
│ - Loopback │ │ (underlay, │ │ (neighbors) │
|
│ - Loopback │ │ (underlay, │ │ (neighbors) │
|
||||||
│ - Vlan │ │ evpn) │ └──────────────┘
|
│ - Vlan │ │ evpn) │ └──────────────┘
|
||||||
│ - Lag │ └──────────────┘
|
│ - Lag │ └──────────────┘
|
||||||
│ - Vxlan │
|
|
||||||
└──────┬───────┘
|
└──────┬───────┘
|
||||||
│
|
│
|
||||||
▼
|
▼
|
||||||
@@ -81,7 +80,7 @@ The schema models this topology from `arista-evpn-vxlan-clab`:
|
|||||||
| Port-Channel1 | InfraMlagInterface (host-facing) |
|
| Port-Channel1 | InfraMlagInterface (host-facing) |
|
||||||
| Ethernet1-8 | InfraInterfaceEthernet |
|
| Ethernet1-8 | InfraInterfaceEthernet |
|
||||||
| Loopback0, Loopback1 | InfraInterfaceLoopback |
|
| Loopback0, Loopback1 | InfraInterfaceLoopback |
|
||||||
| Vxlan1 | InfraInterfaceVxlan |
|
| Vxlan1 | InfraVTEP |
|
||||||
| peer groups | InfraBGPPeerGroup |
|
| peer groups | InfraBGPPeerGroup |
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -299,30 +299,6 @@ nodes:
|
|||||||
cardinality: many
|
cardinality: many
|
||||||
kind: Component
|
kind: Component
|
||||||
|
|
||||||
- name: InterfaceVxlan
|
|
||||||
namespace: Infra
|
|
||||||
description: VXLAN tunnel interface
|
|
||||||
label: VXLAN Interface
|
|
||||||
icon: mdi--tunnel
|
|
||||||
include_in_menu: false
|
|
||||||
inherit_from:
|
|
||||||
- InfraInterface
|
|
||||||
uniqueness_constraints:
|
|
||||||
- ["device", "name__value"]
|
|
||||||
human_friendly_id:
|
|
||||||
- device__name__value
|
|
||||||
- name__value
|
|
||||||
display_label: "{{ name__value }}"
|
|
||||||
attributes:
|
|
||||||
- name: udp_port
|
|
||||||
kind: Number
|
|
||||||
default_value: 4789
|
|
||||||
relationships:
|
|
||||||
- name: source_interface
|
|
||||||
peer: InfraInterfaceLoopback
|
|
||||||
cardinality: one
|
|
||||||
description: VTEP source interface (typically Loopback1)
|
|
||||||
|
|
||||||
# ================================================================
|
# ================================================================
|
||||||
# IP Address
|
# IP Address
|
||||||
# ================================================================
|
# ================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user