diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-01 19:09:12 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-01 19:10:15 +0100 |
commit | 42c011224e5aef3c27f9de6b5a74e594a404131e (patch) | |
tree | d80f1be872db781b18992851fe842a9b488fb4de /smoketest/scripts/cli/test_system_flow-accounting.py | |
parent | 258737a06509f2ff3be8bf21a8ce313ddc2ee191 (diff) | |
download | vyos-1x-42c011224e5aef3c27f9de6b5a74e594a404131e.tar.gz vyos-1x-42c011224e5aef3c27f9de6b5a74e594a404131e.zip |
flow-accounting: T4277: support sending flow-data via VRF interface
It should be possible to send the gathered data via a VRF bound interface to
the collector. This is somehow related to T3981 but it's the opposite side of
the netflow process.
set system flow-accounting vrf <name>
Diffstat (limited to 'smoketest/scripts/cli/test_system_flow-accounting.py')
-rwxr-xr-x | smoketest/scripts/cli/test_system_flow-accounting.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_system_flow-accounting.py b/smoketest/scripts/cli/test_system_flow-accounting.py index 857df1be6..84f17bcb0 100755 --- a/smoketest/scripts/cli/test_system_flow-accounting.py +++ b/smoketest/scripts/cli/test_system_flow-accounting.py @@ -39,6 +39,9 @@ class TestSystemFlowAccounting(VyOSUnitTestSHIM.TestCase): cls.cli_delete(cls, base_path) def tearDown(self): + # after service removal process must no longer run + self.assertTrue(process_named_running(PROCESS_NAME)) + self.cli_delete(base_path) self.cli_commit() @@ -213,9 +216,9 @@ class TestSystemFlowAccounting(VyOSUnitTestSHIM.TestCase): uacctd = read_file(uacctd_conf) tmp = [] - tmp.append('memory') for server, server_config in netflow_server.items(): tmp.append(f'nfprobe[nf_{server}]') + tmp.append('memory') self.assertIn('plugins: ' + ','.join(tmp), uacctd) for server, server_config in netflow_server.items(): |