[openstack-dev] [nova][neutron] bridge name generator for vif plugging

Ian Wells ijw.ubuntu at cack.org.uk
Mon Dec 15 11:08:17 UTC 2014


Let me write a spec and see what you both think.  I have a couple of things
we could address here and while it's a bit late it wouldn't be a dramatic
thing to fix and it might be acceptable.

On 15 December 2014 at 11:28, Daniel P. Berrange <berrange at redhat.com>
wrote:
>
> On Mon, Dec 15, 2014 at 11:15:56AM +0100, Ian Wells wrote:
> > Hey Ryota,
> >
> > A better way of describing it would be that the bridge name is, at
> present,
> > generated in *both* Nova *and* Neutron, and the VIF type semantics define
> > how it's calculated.  I think you're right that in both cases it would
> make
> > more sense for Neutron to tell Nova what the connection endpoint was
> going
> > to be rather than have Nova calculate it independently.  I'm not sure
> that
> > that necessarily requires two blueprints, and you don't have a spec there
> > at the moment, which is a problem because the Neutron spec deadline is
> upon
> > us, but the idea's a good one.  (You might get away without a Neutron
> spec,
> > since the change to Neutron to add the information should be small and
> > backward compatible, but that's not something I can make judgement on.)
>
> Yep, the fact that both Nova & Neutron calculat the bridge name is a
> historical accident. Originally Nova did it, because nova-network was
> the only solution. Then Neutron did it too, so it matched what Nova
> was doing. Clearly if we had Neutron right from the start, then it
> would have been Neutrons responsibility todo this. Nothing in Nova
> cares what the names are from a functional POV - it just needs to
> be told what to use.
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/
> :|
> |: http://libvirt.org              -o-             http://virt-manager.org
> :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/
> :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc
> :|
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141215/29c6d258/attachment.html>


More information about the OpenStack-dev mailing list