We need a cross-provider way to allow units to get pub/priv address info
Bug #863816 reported by
Kapil Thangavelu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
Kapil Thangavelu |
Bug Description
This branch introduces unit-get with two defined keys atm public-address and
private-address. This allows units to query their addresses in a provider
independent fashion. Also updates the example charms.
Related branches
lp://qastaging/~hazmat/pyjuju/unit-info-cli
- Gustavo Niemeyer: Approve
- William Reade (community): Approve
-
Diff: 485 lines (+152/-32)14 files modifiedbin/unit-get (+12/-0)
examples/oneiric/mysql/hooks/db-relation-joined (+3/-6)
examples/oneiric/php/hooks/config-changed (+1/-1)
examples/oneiric/php/hooks/install (+1/-1)
examples/oneiric/wordpress/hooks/config-changed (+1/-1)
examples/oneiric/wordpress/hooks/db-relation-changed (+2/-5)
juju/hooks/commands.py (+19/-0)
juju/hooks/protocol.py (+42/-0)
juju/hooks/tests/test_arguments.py (+0/-1)
juju/hooks/tests/test_communications.py (+31/-7)
juju/hooks/tests/test_invoker.py (+35/-6)
juju/lib/lxc/__init__.py (+1/-0)
juju/lib/lxc/data/juju-create (+4/-3)
juju/state/tests/test_hook.py (+0/-1)
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
milestone: | none → eureka |
status: | New → In Progress |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.