summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_geneve.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
commitce809eee91aa2b7f2980dbfd191cdb9ad2947674 (patch)
tree50848321ebe3e86505b2ae9767a18c0a3ecd7039 /smoketest/scripts/cli/test_interfaces_geneve.py
parentc4c6fcb45e67685da2f1db273bf590c8fb147cb3 (diff)
downloadvyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.tar.gz
vyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.zip
smoketest: mirror: T3169: re-add mirror / SPAN test case
Commit ef629504d4 ("smoketest: mirror: drop testcase") dropped the smoketests entirely as they have been programmed in a wrong way leading to outages on live development systems which used dummy interfaces for management traffic.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_geneve.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_geneve.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_geneve.py b/smoketest/scripts/cli/test_interfaces_geneve.py
index 7e0389a63..98f55210f 100755
--- a/smoketest/scripts/cli/test_interfaces_geneve.py
+++ b/smoketest/scripts/cli/test_interfaces_geneve.py
@@ -14,24 +14,20 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import os
import unittest
-from vyos.configsession import ConfigSession, ConfigSessionError
+from vyos.configsession import ConfigSession
from base_interfaces_test import BasicInterfaceTest
-
class GeneveInterfaceTest(BasicInterfaceTest.BaseTest):
def setUp(self):
- super().setUp()
-
self._base_path = ['interfaces', 'geneve']
self._options = {
'gnv0': ['vni 10', 'remote 127.0.1.1'],
'gnv1': ['vni 20', 'remote 127.0.1.2'],
}
self._interfaces = list(self._options)
-
+ super().setUp()
if __name__ == '__main__':
unittest.main(verbosity=2)