diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-18 13:06:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 13:06:44 +0200 |
commit | 05d418fed94ce94ff21f05ea85ad1a4922fdcbcf (patch) | |
tree | a46a73eaba45f0eb38ed4fcf70347246dbf53315 /test/test-network/systemd-networkd-tests.py | |
parent | 1bdecfb8e779d945aa995be866b358a694fd7460 (diff) | |
parent | 9f773037a05a086db00350c52808dae35bf7a97f (diff) | |
download | systemd-05d418fed94ce94ff21f05ea85ad1a4922fdcbcf.tar.gz |
Merge pull request #17085 from yuwata/network-configure-mdb-entries-on-bridge-master
network: allow to configure mdb entries on bridge master
Diffstat (limited to 'test/test-network/systemd-networkd-tests.py')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 6bed8cccdd..3e57b335ce 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -2969,6 +2969,11 @@ class NetworkdBridgeTests(unittest.TestCase, Utilities): self.assertRegex(output, 'dev bridge99 port test1 grp ff02:aaaa:fee5::1:3 permanent *vid 4064') self.assertRegex(output, 'dev bridge99 port test1 grp 224.0.1.1 permanent *vid 4065') + # Old kernel may not support bridge MDB entries on bridge master + if call('bridge mdb add dev bridge99 port bridge99 grp 224.0.1.3 temp vid 4068', stderr=subprocess.DEVNULL) == 0: + self.assertRegex(output, 'dev bridge99 port bridge99 grp ff02:aaaa:fee5::1:4 temp *vid 4066') + self.assertRegex(output, 'dev bridge99 port bridge99 grp 224.0.1.2 temp *vid 4067') + def test_bridge_property(self): copy_unit_to_networkd_unit_path('11-dummy.netdev', '12-dummy.netdev', '26-bridge.netdev', '26-bridge-slave-interface-1.network', '26-bridge-slave-interface-2.network', |