summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorKyrylo Yatsenko <hedrok@gmail.com>2026-08-18 13:31:16 +0300
committerGitHub <noreply@github.com>2026-08-18 13:31:16 +0300
commitce8f2d49ea929a5935f162ea05d7c436a04444c0 (patch)
treebbb195b1c03ed7e21306191f636c8aea7b2c057b /smoketest/scripts/cli
parentde57cd205cfd846eb1689967af0dccc3f764b22c (diff)
parente31c2f6e816a70ae246ab04e07db745a3af31249 (diff)
downloadvyos-1x-ce8f2d49ea929a5935f162ea05d7c436a04444c0.tar.gz
vyos-1x-ce8f2d49ea929a5935f162ea05d7c436a04444c0.zip
Merge pull request #5393 from c-po/interface-no-vrf
xml: T9179: reject VRF names in interface-name constraint
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_system_flow-accounting.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_system_flow-accounting.py b/smoketest/scripts/cli/test_system_flow-accounting.py
index d2d3e87f2..a98fe917f 100755
--- a/smoketest/scripts/cli/test_system_flow-accounting.py
+++ b/smoketest/scripts/cli/test_system_flow-accounting.py
@@ -278,12 +278,9 @@ class TestSystemFlowAccounting(VyOSUnitTestSHIM.TestCase):
# A source-interface that names a VRF is not an interface and must be
# rejected
- self.cli_set(
- base_path
- + ['netflow', 'server', '198.51.100.9', 'source-interface', vrf_name]
- )
with self.assertRaises(ConfigSessionError):
- self.cli_commit()
+ self.cli_set(base_path + ['netflow', 'server', '198.51.100.9',
+ 'source-interface', vrf_name])
self.cli_delete(base_path + ['netflow', 'server', '198.51.100.9'])
self.cli_delete(['interfaces', 'dummy', dummy_if])