Network extensions

@icecrime 
Well, I’m not quite ready to support that use case; it will come eventually, and we can sort it out then.

-Erik

> On Dec 4, 2014, at 5:15 PM, Arnaud Porterie <notifications@github.com> wrote:
> 
> In extensions/simplebridge/endpoint.go:
> 
> > @@ -24,10 +33,46 @@ func (b *BridgeEndpoint) Expose(portspec string, publish bool) error {
> >  	return nil
> >  }
> >  
> > -func (b *BridgeEndpoint) configure(s sandbox.Sandbox) error {
> > +func (b *BridgeEndpoint) configure(name string, s sandbox.Sandbox) error {
> > +	intVethName := fmt.Sprintf("%s-int", name)
> See comment above regarding endpoint name. Another potential issue I could imagine here would be the case where a single sandbox joins multiple networks managed by the simplebridge driver under the same name. If a sandbox links to networks A and B (both managed by the simplebridge driver) under the same name "sad_einstein", you'll have conflicting interfaces names. However that use case may be irrelevant, I don't know.
> 
> —
> Reply to this email directly or view it on GitHub <https://github.com/shykes/docker/pull/112/files#r21349623>.
>