Merge lp://staging/~jimbaker/pyjuju/expose-status into lp://staging/pyjuju
Proposed by
Jim Baker
Status: | Merged |
---|---|
Approved by: | Gustavo Niemeyer |
Approved revision: | 264 |
Merged at revision: | 272 |
Proposed branch: | lp://staging/~jimbaker/pyjuju/expose-status |
Merge into: | lp://staging/pyjuju |
Diff against target: |
222 lines (+77/-26) 2 files modified
ensemble/control/status.py (+11/-2) ensemble/control/tests/test_status.py (+66/-24) |
To merge this branch: | bzr merge lp://staging/~jimbaker/pyjuju/expose-status |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
Kapil Thangavelu (community) | Approve | ||
Review via email: mp+65718@code.staging.launchpad.net |
Description of the change
Small branch to add expose and open ports info to status output for YAML and JSON. (Does not address dot output, since this is necessarily a subset anyway.)
The one difference with the bug report is that exposed is written as "true" instead of "yes" for YAML. Probably this could be managed with appropriate settings to the YAML dump method, however, I found this to be poorly documented. In any event, "true" seems just reasonable a way to write this out from a user's perspective (reads similarly well).
To post a comment you must log in.
It doesn't appear there are any tests for non-exposed services or units without open ports.