summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/base_interfaces_test.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-01 19:15:33 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-01 19:15:41 +0200
commitb89183284f2638a4cfe8ee5e3996206c87970728 (patch)
treebd48e3879c8fec430c02196907d818fee2114a76 /smoketest/scripts/cli/base_interfaces_test.py
parent3d6e10019b4c9cd619f1f4dd444476b979eb9bad (diff)
downloadvyos-1x-b89183284f2638a4cfe8ee5e3996206c87970728.tar.gz
vyos-1x-b89183284f2638a4cfe8ee5e3996206c87970728.zip
smoketest: T2455: add interface smoketests
Diffstat (limited to 'smoketest/scripts/cli/base_interfaces_test.py')
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py
index 816ba6dcd..8acf52243 100644
--- a/smoketest/scripts/cli/base_interfaces_test.py
+++ b/smoketest/scripts/cli/base_interfaces_test.py
@@ -232,6 +232,9 @@ class BasicInterfaceTest:
for interface in self._interfaces:
base = self._base_path + [interface]
+ # just set the interface base without any option - some interfaces
+ # (VTI) do not require any option to be brought up
+ self.cli_set(base)
for option in self._options.get(interface, []):
self.cli_set(base + option.split())