unittest
yaml
correct-address.yaml
correct-bondethernet.yaml
correct-bridgedomain.yaml
correct-empty.yaml
correct-empty2.yaml
correct-example1.yaml
correct-l2xc.yaml
correct-loopback.yaml
correct-vxlan.yaml
error-address1.yaml
error-bondethernet1.yaml
error-bondethernet2.yaml
error-bondethernet3.yaml
error-bondethernet4.yaml
error-bridgedomain1.yaml
error-bridgedomain2.yaml
error-bridgedomain3.yaml
error-bridgedomain4.yaml
error-bridgedomain5.yaml
error-bridgedomain6.yaml
error-bridgedomain7.yaml
error-interface-mtu1.yaml
error-interface-mtu2.yaml
error-l2xc1.yaml
error-l2xc2.yaml
error-l2xc3.yaml
error-l2xc4.yaml
error-l2xc5.yaml
error-l2xc6.yaml
error-l2xc7.yaml
error-l2xc8.yaml
error-lcp-unique1.yaml
error-lcp-unique2.yaml
error-loopback1.yaml
error-schema-field1.yaml
error-schema-field2.yaml
error-subinterface1.yaml
error-subinterface2.yaml
error-subinterface3.yaml
error-subinterface4.yaml
error-subinterface5.yaml
error-subinterface6.yaml
error-subinterface7.yaml
error-subinterface8.yaml
error-vxlan1.yaml
error-vxlan2.yaml
TestInterfaceMethods.yaml
validator
.gitignore
LICENSE
README.md
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
test:
|
|
description: "A few correct ways of setting L2 cross connects"
|
|
errors:
|
|
count: 0
|
|
---
|
|
bondethernets:
|
|
BondEthernet0:
|
|
interfaces: [ GigabitEthernet3/0/0, GigabitEthernet3/0/1 ]
|
|
|
|
interfaces:
|
|
GigabitEthernet1/0/0:
|
|
description: "Cross connected to Gi1/0/1"
|
|
l2xc: GigabitEthernet1/0/1
|
|
GigabitEthernet1/0/1:
|
|
description: "Cross connected to Gi1/0/0"
|
|
l2xc: GigabitEthernet1/0/0
|
|
|
|
GigabitEthernet2/0/0:
|
|
description: "Cross connected to Gi2/0/1.100"
|
|
l2xc: GigabitEthernet2/0/1.100
|
|
GigabitEthernet2/0/1:
|
|
description: "Main phy with a subint"
|
|
sub-interfaces:
|
|
100:
|
|
description: "Cross connected to Gi2/0/0"
|
|
l2xc: GigabitEthernet2/0/0
|
|
|
|
GigabitEthernet3/0/0:
|
|
mtu: 3000
|
|
GigabitEthernet3/0/1:
|
|
mtu: 3000
|
|
|
|
BondEthernet0:
|
|
description: "BE0 with two xconnected sub-ints"
|
|
sub-interfaces:
|
|
100:
|
|
description: "Cross connected to BE0.101"
|
|
l2xc: BondEthernet0.101
|
|
101:
|
|
description: "Cross connected to BE0.100"
|
|
l2xc: BondEthernet0.100
|