Deprecate and ultimately remove local_address and the concept of a "default" interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned | ||
charms.openstack |
New
|
Undecided
|
Unassigned |
Bug Description
Juju is deprecating unit-get. Network-get juju-info is an invalid attempt to get the "default" binding and it is non-deterministic or if it is it is alphanumberic sorted. The Juju team has asked us to use an explicit binding for all network-get calls. It is their opinion that the charm should not know what the "default" binding is.
* We should deprecate local_address immediately
* Check for all calls to local_address and attempt to replace them with network-get and an explicit binding
* Check for all calls to unit-get and attempt to replace them with network-get and an explicit binding
* As a last resort, if we are not successful with the above we can add an extra binding for a fallback.
Changed in charms.openstack: | |
status: | New → Incomplete |
status: | Incomplete → New |
Charm helpers deprecation of local_address: https:/ /github. com/juju/ charm-helpers/ pull/569