config
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-subinterface5.yaml
error-subinterface6.yaml
error-subinterface7.yaml
error-subinterface8.yaml
error-vxlan1.yaml
error-vxlan2.yaml
test_bondethernet.yaml
test_bridgedomain.yaml
test_interface.yaml
test_lcp.yaml
test_loopback.yaml
test_vxlan_tunnel.yaml
vpp
.gitignore
LICENSE
README.md
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
35 lines
852 B
YAML
35 lines
852 B
YAML
test:
|
|
description: "A bunch of IP addresses that are wellformed"
|
|
errors:
|
|
count: 0
|
|
---
|
|
interfaces:
|
|
GigabitEthernet1/0/0:
|
|
lcp: e0-0
|
|
addresses: [ 192.0.2.1/29, 2001:db8:1::1/64 ]
|
|
sub-interfaces:
|
|
100:
|
|
description: "Overlapping IP addresses are fine, if in the same prefix"
|
|
lcp: e0-0.100
|
|
addresses: [ 192.0.2.9/29, 192.0.2.10/29 ]
|
|
101:
|
|
description: ".. and for IPv6 also, provided the same prefix is used"
|
|
lcp: e0-0.101
|
|
addresses: [ 2001:db8:2::1/64, 2001:db8:2::2/64 ]
|
|
|
|
GigabitEthernet3/0/0:
|
|
mtu: 2000
|
|
|
|
loopbacks:
|
|
loop0:
|
|
lcp: "loop0"
|
|
addresses: [ 10.0.0.1/32, 2001:db8::1/128 ]
|
|
|
|
bridgedomains:
|
|
bd10:
|
|
description: "Bridge Domain 10"
|
|
mtu: 2000
|
|
lcp: "bvi10"
|
|
addresses: [ 10.0.0.2/32, 2001:db8::2/128 ]
|
|
interfaces: [ GigabitEthernet3/0/0 ]
|