juju/juju — pull request #851 by dimitern (2014-09-27 10:08:49+00:00)
Title: uniter: open-port and close-port accept ranges

Hook tools "open-port" and "close-port" changed to accept
both "\[/\]" and "\-\[/\]".
Uniter hook context changed to call unit.OpenPorts and
unit.ClosePorts. Added more tests and better validation.

When this lands, charms can start opening and closing
port ranges instead of single ports.

NOTE: Already approved as http://reviews.vapour.ws/r/112/.
This PR just re-targets the branch against juju:master