[openstack-dev] [openstack] How does tag gets allocated to VM ports ?

Akihiro Motoki amotoki at gmail.com
Mon Apr 3 09:47:46 UTC 2017


Tag is assigned per node basis and it is local to a node.
so ports on different nodes usually have different tags.

2017年4月3日(月) 18:19 Vikash Kumar <vikash.kumar at oneconvergence.com>:

> Hi Gary,
>
>    Thanks for pointing the source code. Does this has RFE ? I see for
> ports of same network, have different tags on different compute.
>
> On Mon, Apr 3, 2017 at 2:04 PM, Gary Kotton <gkotton at vmware.com> wrote:
>
> Hi,
>
> This is done by the agents. For example please see
> https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1639
>
> Thanks
>
> Gary
>
>
>
> *From: *Vikash Kumar <vikash.kumar at oneconvergence.com>
> *Reply-To: *OpenStack List <openstack-dev at lists.openstack.org>
> *Date: *Monday, April 3, 2017 at 9:46 AM
> *To: *OpenStack List <openstack-dev at lists.openstack.org>
> *Subject: *[openstack-dev] [openstack] How does tag gets allocated to VM
> ports ?
>
>
>
> Hi,
>
>    How does "tag" gets assigned to openvswitch port ?
>         Port "tap319bae97-0b"
>             *tag: 1*
>             Interface "tap319bae97-0b"
>
> It is done by openvswitch-agent, but can someone point me to the details?
> Is this has anything to do with network (segment-id) or is it just local to
> openvswitch ?
>
>
> --
>
> Regards,
>
> Vikash
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> --
> Regards,
> Vikash
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> 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/20170403/491df042/attachment.html>


More information about the OpenStack-dev mailing list