From ddc8282dd78ed23ce6f503b46013b2f5419c679d Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 16 Jan 2025 22:58:14 +0100 Subject: [PATCH] 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. --- .../verify_all_interface_types/test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/case/ietf_interfaces/verify_all_interface_types/test.py b/test/case/ietf_interfaces/verify_all_interface_types/test.py index 90a4645a..2901d1a1 100755 --- a/test/case/ietf_interfaces/verify_all_interface_types/test.py +++ b/test/case/ietf_interfaces/verify_all_interface_types/test.py @@ -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,