Expose needs support for managing a service unit's open ports

Bug #785352 reported by Jim Baker
6
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.open_port(self, port, proto)
ServiceUnit.close_port(self, port, proto)
ServiceUnit.get_open_ports(self)
ServiceUnit.watch_ports(self)

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.

Tags: expose

Related branches

Jim Baker (jimbaker)
Changed in ensemble:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jim Baker (jimbaker)
milestone: none → dublin
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.