]> git.ipfire.org Git - thirdparty/systemd.git/commit
Networkd tests: add bridge link properties to test
authorSusant Sahani <susant@redhat.com>
Sun, 29 Apr 2018 04:02:22 +0000 (09:32 +0530)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 May 2018 17:41:30 +0000 (10:41 -0700)
commit4319c181d4fc29d82f9431e69c29d03e7beecc01
tree392a008112f240e5cc75f997c1951d65a2e72d3f
parent68f21002b4dcb4c306cc47cc978640cac7b7ea70
Networkd tests: add bridge link properties to test

Test the "[Bridge]" section keys

```
[Bridge]
UnicastFlood=true
HairPin=true
UseBPDU=true
FastLeave=true
AllowPortToBeRoot=true
Cost=555
Priority=23
```

```
test_bridge_init (__main__.BridgeTest) ... ok
test_bridge_port_priority (__main__.BridgeTest) ... ok
test_bridge_port_priority_set_zero (__main__.BridgeTest)
It should be possible to set the bridge port priority to 0 ... ok
test_bridge_port_property (__main__.BridgeTest)
Test the "[Bridge]" section keys ... ok

```
test/networkd-test.py