Modify provisioning agent so that port changes are made against a machine
Bug #809007 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Jim Baker |
Bug Description
Port changes on a machine may be required under the following two circumstances:
* open_close_ports is called for a given service unit
* the service units assigned to a machine changes (eg a service is destroyed)
This should then call the provider to make any actual port changes, after determining what ports should be open for all service units on that machine; and what ports are currently opened.
Related branches
lp://staging/~jimbaker/pyjuju/expose-provision-machines
- Kapil Thangavelu (community): Approve
- Gustavo Niemeyer: Approve
-
Diff: 740 lines (+444/-50)5 files modifiedensemble/agents/provision.py (+135/-30)
ensemble/agents/tests/test_provision.py (+287/-18)
ensemble/providers/dummy.py (+10/-1)
ensemble/state/service.py (+6/-1)
ensemble/state/tests/test_service.py (+6/-0)
Changed in ensemble: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jim Baker (jimbaker) |
milestone: | none → dublin |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.