summaryrefslogtreecommitdiff
path: root/cloudinit/net/network_state.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 /cloudinit/net/network_state.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 'cloudinit/net/network_state.py')
-rw-r--r--cloudinit/net/network_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/net/network_state.py b/cloudinit/net/network_state.py
index fe667d88..1dd7ded7 100644
--- a/cloudinit/net/network_state.py
+++ b/cloudinit/net/network_state.py
@@ -47,7 +47,7 @@ NET_CONFIG_TO_V2 = {
'bridge_maxage': 'max-age',
'bridge_maxwait': None,
'bridge_pathcost': 'path-cost',
- 'bridge_portprio': None,
+ 'bridge_portprio': 'port-priority',
'bridge_stp': 'stp',
'bridge_waitport': None}}