summaryrefslogtreecommitdiff
path: root/tests/unittests/test_net.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2018-03-16 14:00:15 -0400
committerScott Moser <smoser@brickies.net>2018-03-16 14:00:15 -0400
commitb7b7331b9c308d8e1cb0b3dfd4398e6e7cb1b60f (patch)
tree876fd67b90b67f95f9dfe8682d53c846d5874700 /tests/unittests/test_net.py
parent97012fbb5207ddf1d2dcbb1c5eae710c47ab8ec0 (diff)
downloadvyos-cloud-init-b7b7331b9c308d8e1cb0b3dfd4398e6e7cb1b60f.tar.gz
vyos-cloud-init-b7b7331b9c308d8e1cb0b3dfd4398e6e7cb1b60f.zip
netplan: render bridge port-priority values
Update netplan renderer to write out bridge port-priority values now that netplan supports the feature. LP: #1735821
Diffstat (limited to 'tests/unittests/test_net.py')
-rw-r--r--tests/unittests/test_net.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
index ac33e8ef..9cf11f2e 100644
--- a/tests/unittests/test_net.py
+++ b/tests/unittests/test_net.py
@@ -758,6 +758,9 @@ pre-down route del -net 10.0.0.0 netmask 255.0.0.0 gw 11.0.0.1 metric 3 || true
path-cost:
eth3: 50
eth4: 75
+ port-priority:
+ eth3: 28
+ eth4: 14
priority: 22
stp: false
routes: