unittest
correct-bondethernet.yaml
correct-bridgedomain.yaml
correct-example1.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-interface-field.yaml
error-interface-mtu1.yaml
error-interface-mtu2.yaml
error-subinterface1.yaml
error-subinterface2.yaml
error-subinterface3.yaml
error-subinterface4.yaml
error-subinterface5.yaml
error-subinterface6.yaml
error-subinterface7.yaml
validator
.gitignore
README.md
example.yaml
schema.yaml
tests.py
vppcfg
18 lines
395 B
YAML
18 lines
395 B
YAML
test:
|
|
description: "The length of the generated child LCP name is too long"
|
|
errors:
|
|
expected:
|
|
- "sub-interface .* has LCP with too long name"
|
|
---
|
|
interfaces:
|
|
GigabitEthernet1/0/0:
|
|
lcp: "e01234"
|
|
sub-interfaces:
|
|
100:
|
|
description: "QinQ subinterface"
|
|
addresses: [ 192.0.2.1/24 ]
|
|
encapsulation:
|
|
dot1q: 1234
|
|
inner-dot1q: 2345
|
|
|