Merge ~raharper/cloud-init:add-netplan-bridge-stp into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | 1f080197c136db43edeb6923cb4c1656123aa31e | ||||
Merged at revision: | 1f080197c136db43edeb6923cb4c1656123aa31e | ||||
Proposed branch: | ~raharper/cloud-init:add-netplan-bridge-stp | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
110 lines (+24/-6) 4 files modified
cloudinit/net/eni.py (+3/-0) cloudinit/net/netplan.py (+3/-2) cloudinit/net/network_state.py (+15/-2) tests/unittests/test_net.py (+3/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Scott Moser | Approve | ||
Review via email: mp+331755@code.launchpad.net |
Description of the change
network: bridge_stp value not always correct
Update network_state to store the bridge_stp value as a boolean.
The various renderers then can map the boolean value to the correct
output as needed; eni uses 'on/off', sysconfig uses 'yes/no' and
netplan will use the boolean directly.
Update unittest values for sysconfig and netplan. Both contained
the network_state string value which resulted in not correctly enable/disable
STP in the target system.
Update network_state comment (fd -> forward-delay, add stp as boolean) on
bridge commands to match the expected format of a netplan bridge command.
LP: #1721157
To post a comment you must log in.
PASSED: Continuous integration, rev:b7a9a86e1bd 37102388298ee56 7391c21e42876a /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 377/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 377/rebuild
https:/