Merge ~raharper/cloud-init:fix/netinfo-scope6-from-address into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chad Smith | ||||
Approved revision: | 9ad6de52fff2b145630dd9a6c972df1471a2e154 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~raharper/cloud-init:fix/netinfo-scope6-from-address | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
104 lines (+47/-2) 4 files modified
cloudinit/netinfo.py (+5/-2) cloudinit/tests/test_netinfo.py (+14/-0) tests/data/netinfo/freebsd-ifconfig-output (+17/-0) tests/data/netinfo/freebsd-netdev-formatted-output (+11/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+362813@code.launchpad.net |
Commit message
netinfo: Adjust ifconfig output parsing for FreeBSD ipv6 entries
FreeBSD ifconfig output for ipv6 addrs doesn't find scopeid values
when present in the output and the pformat rendering assumes that
an ipv6 address will have a 'scope6' entry in the netdev info
dictionary. This patch finds the scopeid value, which is not
always inside <>, and in some cases v6 addrs don't have a scopeid
value in the output, so when rendering the table, allow scope6 value
to be replaced with the empty value.
LP: #1779672
To post a comment you must log in.
PASSED: Continuous integration, rev:a2b7a846294 ffba67385cad398 31b33e2902ab37 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 556/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 556/rebuild
https:/