summaryrefslogtreecommitdiff
path: root/scripts/cli/base_interfaces_test.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-29 08:50:37 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-29 09:30:43 +0100
commitdae341a019335e22ea31b3e12934be08d9c00b8a (patch)
tree4a3c47bafcb540ac62326d3d08eb6dbf5b6b44ba /scripts/cli/base_interfaces_test.py
parent5baaa066ff35b673e2b8453ea4a88688ad70ca20 (diff)
downloadvyos-1x-dae341a019335e22ea31b3e12934be08d9c00b8a.tar.gz
vyos-1x-dae341a019335e22ea31b3e12934be08d9c00b8a.zip
interfaces: base: add rfc3021 test using /31 prefixes
Diffstat (limited to 'scripts/cli/base_interfaces_test.py')
-rw-r--r--scripts/cli/base_interfaces_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cli/base_interfaces_test.py b/scripts/cli/base_interfaces_test.py
index 12932605e..11a7031ef 100644
--- a/scripts/cli/base_interfaces_test.py
+++ b/scripts/cli/base_interfaces_test.py
@@ -25,7 +25,8 @@ class BasicInterfaceTest:
def setUp(self):
self.session = ConfigSession(os.getpid())
- self._test_addr = ['192.0.2.1/25', '2001:db8:1::ffff/64']
+ self._test_addr = ['192.0.2.1/26', '192.0.2.255/31', '192.0.2.64/32',
+ '2001:db8:1::ffff/64', '2001:db8:101::1/112']
self._test_mtu = False
def tearDown(self):