<div dir="ltr">Sorry for coming a bit late to the party; I think the proposed format is nice for the current implementation plans where apps directly bind to a port in the main system.<div><br></div><div>[ I keep thinking this could be made less painful from an app implementation point of view: at the moment apps need to either develop specific code to negotiate a port, or find a way to inject the port in the config at startup time, restart the app if the port needs changing etc. etc.</div><div><br></div><div>There must be a way – perhaps with network namespaces? – to allow all bind() calls to succeed for an app, then handle the routing from real ports to app namespaces at the toplevel. First apps which needs port 80 in its config gets the routing. The other ones get a random other port or no port, but can still startup and bind, but nobody talks to them. ]</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 30, 2015 at 10:50 PM, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I wrote this proposal: <a href="https://gist.github.com/sergiusens/97e9ea2e31d5f0fcc09a" target="_blank">https://gist.github.com/<u></u>sergiusens/<u></u>97e9ea2e31d5f0fcc09a</a> for dealing with ports.<br>
<br>
Already discussed with a few folk before shooting it into the wild, and now 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 email.<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
Sergio<br>
<br>
-- <br>
snappy-devel mailing list<br>
<a href="mailto:snappy-devel@lists.ubuntu.com" target="_blank">snappy-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snappy-devel" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/snappy-devel</a><br>
</font></span></blockquote></div><br></div>