mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
test: verify_all_interface_types: Add IP addresses
Having addresses configured is useful when using this test to collect representative system state for CLI testing.
This commit is contained in:
@@ -127,6 +127,17 @@ with infamy.Test() as test:
|
||||
"name": br_D,
|
||||
"type": "infix-if-type:bridge",
|
||||
"enabled": True,
|
||||
"ietf-ip:ipv4": {
|
||||
"address": [
|
||||
{ "ip": "192.168.20.1", "prefix-length": 24 },
|
||||
{ "ip": "10.0.0.1", "prefix-length": 8 },
|
||||
],
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"address": [
|
||||
{ "ip": "2001:db8::1", "prefix-length": 64 },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": veth_a_20,
|
||||
|
||||
Reference in New Issue
Block a user