Expose needs support for managing a service unit's open ports
Bug #785352 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Jim Baker |
Bug Description
Expose needs support for managing a service unit's open ports. This should implement the following scheme:
async methods
ServiceUnit.
ServiceUnit.
ServiceUnit.
ServiceUnit.
with data stored in units/<service unit internal id>/ports, using the format
{ "open": [{ "port": PORT, "proto": PROTO}, ...}]}
Changes are immediate and use our standard retry approach to ensure appropriate merging.
Related branches
lp://staging/~jimbaker/pyjuju/expose-open-ports-node
- Gustavo Niemeyer: Approve
-
Diff: 340 lines (+308/-0)2 files modifiedensemble/state/service.py (+106/-0)
ensemble/state/tests/test_service.py (+202/-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 |
tags: | added: expose |
To post a comment you must log in.