Modify "ensemble status" to display exposed ports and whether a service is exposed or not
Bug #767414 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Jim Baker |
Bug Description
If a service has been exposed, then the ensemble status output is
suitably augmented. For the YAML serialization, for each exposed
service, the ``exposed`` key is added, with the value of ``yes``. For
each service unit of an exposed service with opened ports, the
``open-ports`` key is added, with its value a sequence of
``port/proto`` strings.
This will result in output similar to below::
services:
wordpress:
exposed: yes
formula: local:wordpress-42
relations: {db: mysql, state: up}
units:
machine: 2
state: started
Related branches
lp://staging/~jimbaker/pyjuju/expose-status
- Gustavo Niemeyer: Approve
- Kapil Thangavelu (community): Approve
-
Diff: 222 lines (+77/-26)2 files modifiedensemble/control/status.py (+11/-2)
ensemble/control/tests/test_status.py (+66/-24)
Changed in ensemble: | |
importance: | Undecided → Medium |
assignee: | nobody → Jim Baker (jimbaker) |
milestone: | none → budapest |
Changed in ensemble: | |
milestone: | budapest → dublin |
Changed in ensemble: | |
status: | New → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Released |
tags: | added: expose |
To post a comment you must log in.