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

2017-04-03 Thread Akihiro Motoki
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.ku...@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 <gkot...@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.ku...@oneconvergence.com>
> *Reply-To: *OpenStack List <openstack-dev@lists.openstack.org>
> *Date: *Monday, April 3, 2017 at 9:46 AM
> *To: *OpenStack List <openstack-dev@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2017-04-03 Thread Vikash Kumar
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 <gkot...@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.ku...@oneconvergence.com>
> *Reply-To: *OpenStack List <openstack-dev@lists.openstack.org>
> *Date: *Monday, April 3, 2017 at 9:46 AM
> *To: *OpenStack List <openstack-dev@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2017-04-03 Thread Gary Kotton
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.ku...@oneconvergence.com>
Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
Date: Monday, April 3, 2017 at 9:46 AM
To: OpenStack List <openstack-dev@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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2017-04-03 Thread Vikash Kumar
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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev