<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 February 2015 at 19:52, Martin Albisetti <span dir="ltr"><<a href="mailto:martin.albisetti@canonical.com" target="_blank">martin.albisetti@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Fri, Jan 30, 2015 at 7:50 PM, Sergio Schvezov<br>
<<a href="mailto:sergio.schvezov@canonical.com">sergio.schvezov@canonical.com</a>> wrote:<br>
> I wrote this proposal:<br>
> <a href="https://gist.github.com/sergiusens/97e9ea2e31d5f0fcc09a" target="_blank">https://gist.github.com/sergiusens/97e9ea2e31d5f0fcc09a</a> for dealing with<br>
> ports.<br>
><br>
> Already discussed with a few folk before shooting it into the wild, and now<br>
> here it is. I'd appreciate some yea (+1) or nay's (-1).<br>
><br>
> Feel free to comment against the gist, create PRs or just reply to this<br>
> email.<br>
<br>
</span>Looks good and easy to understand.<br>
My only question is, how do you deal with multiple ports, or ranges of ports?<br>
<span class=""><font color="#888888"><br>
<br>
--<br>
Martin</font></span></blockquote><div><br></div><div>I created a fork of the gist with a few small improvements for formatting (fixed spec link markdown error and using GitHub Flavoured Markdown for syntax highlight of YAML blocks), and added an extra section proposing commas and dashes for indicating multiple ports and ranges:<br><a href="https://gist.github.com/1stvamp/e6e15767fb5af7eb6118">https://gist.github.com/1stvamp/e6e15767fb5af7eb6118</a> <br></div></div></div></div>