Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IsSecondary to IP Addresses document #12661

Merged
merged 4 commits into from
Feb 22, 2021

Conversation

manadart
Copy link
Member

This patch adds a new boolean, IsSecondary to the ipAddressDoc in state. Included are changes to handle the field in migrations.

Future patches will (1) populate this field when detecting local link-layer devices and (2) use it to ensure that primary addresses are sorted first in calls to network-get.

QA steps

Changes are mechanical at this point. QA for the ultimate feature will accompany future patches.

Unit tests cover changes-to-date.

Documentation changes

None.

Bug reference

Advances https://bugs.launchpad.net/juju/+bug/1863916

@manadart manadart added the 2.9 label Feb 22, 2021
@manadart
Copy link
Member Author

@manadart
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit f3e1921 into juju:2.9 Feb 22, 2021
@manadart manadart deleted the 2.9-add-is-secondary branch February 22, 2021 13:00
jujubot added a commit that referenced this pull request Feb 23, 2021
#12668

Merge from 2.9 to bring forward the following patches:
- #12663 from manadart/2.9-address-options
- #12661 from manadart/2.9-add-is-secondary
- #12636 from wallyworld/addk8s-existing
- #12643 from SimonRichardson/charmhub-status-fixes
- #12656 from benhoyt/run-pebble-as-root

Only conflict was the updated version of `juju/description`, which is further ahead on the develop branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants