From e31c2f6e816a70ae246ab04e07db745a3af31249 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 17 Aug 2026 13:32:42 +0200 Subject: flow-accounting: T9179: remove checks for source-interface is a VRF Checks ar enow handled generally in the CLI interface validation logic. --- smoketest/scripts/cli/test_system_flow-accounting.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'smoketest/scripts/cli') 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]) -- cgit v1.2.3