Modify "ensemble status" to display exposed ports and whether a service is exposed or not

Bug #767414 reported by Jim Baker
6
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:
        wordpress/0:
          machine: 2
          open-ports: [80/tcp]
          state: started

Tags: expose

Related branches

Jim Baker (jimbaker)
Changed in ensemble:
importance: Undecided → Medium
assignee: nobody → Jim Baker (jimbaker)
milestone: none → budapest
Changed in ensemble:
milestone: budapest → dublin
Jim Baker (jimbaker)
Changed in ensemble:
status: New → In Progress
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Fix Released
tags: added: expose
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.