Files
config
docs
intest
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-tap.yaml
correct-vxlan.yaml
error-address1.yaml
error-bondethernet1.yaml
error-bondethernet2.yaml
error-bondethernet3.yaml
error-bondethernet4.yaml
error-bondethernet5.yaml
error-bondethernet6.yaml
error-bondethernet7.yaml
error-bondethernet8.yaml
error-bondethernet9.yaml
error-bridgedomain1.yaml
error-bridgedomain2.yaml
error-bridgedomain3.yaml
error-bridgedomain4.yaml
error-bridgedomain5.yaml
error-bridgedomain6.yaml
error-bridgedomain7.yaml
error-bridgedomain8.yaml
error-bridgedomain9.yaml
error-interface-mtu1.yaml
error-interface-mtu2.yaml
error-interface1.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-loopback2.yaml
error-schema-field1.yaml
error-schema-field2.yaml
error-subinterface1.yaml
error-subinterface2.yaml
error-subinterface3.yaml
error-subinterface6.yaml
error-subinterface7.yaml
error-subinterface8.yaml
error-subinterface9.yaml
error-tap1.yaml
error-tap2.yaml
error-tap3.yaml
error-tap4.yaml
error-tap5.yaml
error-tap6.yaml
error-vxlan1.yaml
error-vxlan2.yaml
error-vxlan3.yaml
test_bondethernet.yaml
test_bridgedomain.yaml
test_interface.yaml
test_lcp.yaml
test_loopback.yaml
test_tap.yaml
test_vxlan_tunnel.yaml
vpp
.gitignore
LICENSE
README.md
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
vppcfg/unittest/yaml/error-tap5.yaml
2022-04-09 19:56:48 +00:00

35 lines
976 B
YAML

test:
description: "Creating bridge or namespace can only be asked if their name is specified"
errors:
expected:
- "tap .* bridge-create can only be set if bridge is set"
- "tap .* namespace-create can only be set if namespace is set"
count: 2
---
taps:
tap0:
description: "Cool, create bridge and namespace"
host:
mac: 02:00:00:00:00:00
name: vpp-tap0
bridge: vpp-br0
bridge-create: True
namespace: vpp-test
namespace-create: True
tap1:
description: "Cool, assuming the operator has created the bridge and namespace beforehand"
host:
name: vpp-tap1
bridge: vpp-br1
namespace: vpp-test
tap2:
description: "Not cool, asking to create a bridge without giving its name"
host:
name: vpp-tap2
bridge-create: True
tap3:
description: "Not cool, asking to create a namespace without giving its name"
host:
name: vpp-tap3
namespace-create: True