netplan bridge config doesn't support stp boolean
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
nplan (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Users of netplan may wish to specify a custom MTU value for a device.
[Test case]
- Run nplan integration tests on the release
- Validate that netplan generate && netplan apply alone, without config, behave as expected (no result)
- Validate that netplan generate && netplan apply with minimal config writes /run/NetworkMan
- Validate that netplan generate && netplan apply works with any existing configuation.
- Use the config below; ensure behavior is as expected (STP value is set on the interface; adjust device names as appropriate). There should be no errors at applying the requested configuration.
- Use the config below with the 'stp' key; the device should be brought up and include the default value set for the kernel.
[Regression potential]
STP default value should continue to be used for the bridge configured using netplan if STP is unset in configuration.
---
networkd supports setting STP value in Bridge type netdevs, but netplan does not accept the key.
root@ubuntu:
nplan:
Installed: 0.18
Candidate: 0.18
Version table:
*** 0.18 500
500 http://
100 /var/lib/
root@ubuntu:
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04
root@ubuntu:
network:
ethernets:
eth0:
- 10.11.12.13/24
match:
eth1:
match:
eth2:
match:
bridges:
br0:
- 192.168.14.2/24
- eth1
- eth2
version: 2
root@ubuntu:
Error in network definition //etc/netplan/
tags: | added: maas |
Changed in netplan: | |
status: | Triaged → In Progress |
description: | updated |
no longer affects: | ubuntu |
Changed in nplan (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in nplan (Ubuntu Zesty): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04.3 |
no longer affects: | systemd (Ubuntu Yakkety) |
tags: | added: id-596df0fafcee7c0b66ed241f |
Indeed, this appears to have been omitted. I believe default should be set to true though.