diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-04-15 14:15:14 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-15 14:41:29 +0000 |
commit | 67bc10841f088e4ccabc30b1442b43f8d5902f5e (patch) | |
tree | b098e58ffa76d254c9403d79997bb719f9b942cf /smoketest/scripts/cli/test_system_ip.py | |
parent | 8034e76f6b8d0813ad1a447935809efcd203be47 (diff) | |
download | vyos-1x-67bc10841f088e4ccabc30b1442b43f8d5902f5e.tar.gz vyos-1x-67bc10841f088e4ccabc30b1442b43f8d5902f5e.zip |
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos
(cherry picked from commit 76dcecafca977b640dd16d8e68c4a050ca1af4fb)
Diffstat (limited to 'smoketest/scripts/cli/test_system_ip.py')
-rwxr-xr-x | smoketest/scripts/cli/test_system_ip.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/smoketest/scripts/cli/test_system_ip.py b/smoketest/scripts/cli/test_system_ip.py index ac8b74236..5b0090237 100755 --- a/smoketest/scripts/cli/test_system_ip.py +++ b/smoketest/scripts/cli/test_system_ip.py @@ -38,17 +38,6 @@ class TestSystemIP(VyOSUnitTestSHIM.TestCase): self.assertEqual(read_file(all_forwarding), '0') - def test_system_ip_directed_broadcast_forwarding(self): - # Test if IPv4 directed broadcast forwarding can be disabled globally, - # default is '1' which means forwarding enabled - bc_forwarding = '/proc/sys/net/ipv4/conf/all/bc_forwarding' - self.assertEqual(read_file(bc_forwarding), '1') - - self.cli_set(base_path + ['disable-directed-broadcast']) - self.cli_commit() - - self.assertEqual(read_file(bc_forwarding), '0') - def test_system_ip_multipath(self): # Test IPv4 multipathing options, options default to off -> '0' use_neigh = '/proc/sys/net/ipv4/fib_multipath_use_neigh' |