summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-23 12:46:34 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-23 12:46:44 +0200
commit059eaab1744071cb4c170f7602cb9725e6c9fe16 (patch)
treedbb3c4d001c70505952cea0909005993ff02a100 /smoketest/scripts
parent6b81f048a0cd0dd7e9d407c96426f353317ec38a (diff)
downloadvyos-1x-059eaab1744071cb4c170f7602cb9725e6c9fe16.tar.gz
vyos-1x-059eaab1744071cb4c170f7602cb9725e6c9fe16.zip
smoketest: static: always remove all VRFs prior to the test
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_static.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py
index bc023f3f2..706663ce5 100755
--- a/smoketest/scripts/cli/test_protocols_static.py
+++ b/smoketest/scripts/cli/test_protocols_static.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2021-2022 VyOS maintainers and contributors
+# Copyright (C) 2021-2023 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -95,6 +95,7 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase):
@classmethod
def setUpClass(cls):
super(TestProtocolsStatic, cls).setUpClass()
+ cls.cli_delete(cls, ['vrf'])
cls.cli_set(cls, ['vrf', 'name', 'black', 'table', '43210'])
@classmethod