summaryrefslogtreecommitdiff
path: root/scripts/cli/base_interfaces_test.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-26 18:07:18 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-26 18:07:37 +0200
commitdc5c01765683433a2932bb76ac870651e3ac8904 (patch)
treee4aa5f45a71f5d101691e51c9cc3da936a61e452 /scripts/cli/base_interfaces_test.py
parent078da2c8c48d29d327740344bfa7c0182fa10986 (diff)
downloadvyos-1x-dc5c01765683433a2932bb76ac870651e3ac8904.tar.gz
vyos-1x-dc5c01765683433a2932bb76ac870651e3ac8904.zip
interfaces: base: add missing interface options to single IP test
Diffstat (limited to 'scripts/cli/base_interfaces_test.py')
-rw-r--r--scripts/cli/base_interfaces_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cli/base_interfaces_test.py b/scripts/cli/base_interfaces_test.py
index 4fef01236..53fe553bc 100644
--- a/scripts/cli/base_interfaces_test.py
+++ b/scripts/cli/base_interfaces_test.py
@@ -73,6 +73,8 @@ class BasicInterfaceTest:
addr = '192.0.2.0/31'
for intf in self._interfaces:
self.session.set(self._base_path + [intf, 'address', addr])
+ for option in self._options.get(intf, []):
+ self.session.set(self._base_path + [intf] + option.split())
self.session.commit()