Files
unittest
correct-address.yaml
correct-bondethernet.yaml
correct-bridgedomain.yaml
correct-example1.yaml
correct-loopback.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-interface-mtu1.yaml
error-interface-mtu2.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
validator
.gitignore
LICENSE
README.md
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
vppcfg/unittest/error-bondethernet3.yaml

21 lines
388 B
YAML

test:
description: "Members of a BondEthernet can't have an LCP"
errors:
expected:
- "bondethernet .* member .* has an LCP"
count: 1
---
bondethernets:
BondEthernet0:
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet1/0/1 ]
interfaces:
GigabitEthernet1/0/0:
mtu: 3000
lcp: "e1-0-0"
GigabitEthernet1/0/1:
mtu: 3000
BondEthernet0:
mtu: 3000