<div>Tag is assigned per node basis and it is local to a node.</div><div>so ports on different nodes usually have different tags.</div><div><br><div class="gmail_quote"><div>2017年4月3日(月) 18:19 Vikash Kumar <<a href="mailto:vikash.kumar@oneconvergence.com">vikash.kumar@oneconvergence.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:verdana,sans-serif">Hi Gary,<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:verdana,sans-serif"> Thanks for pointing the source code. Does this has RFE ? I see for ports of same network, have different tags on different compute. <br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Mon, Apr 3, 2017 at 2:04 PM, Gary Kotton <span class="gmail_msg"><<a href="mailto:gkotton@vmware.com" class="gmail_msg" target="_blank">gkotton@vmware.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US" class="gmail_msg">
<div class="m_-8872187655318422515m_8291530587724125466WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Hi,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">This is done by the agents. For example please see
<a href="https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1639" class="gmail_msg" target="_blank">
https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1639</a><u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Thanks<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Gary<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in" class="gmail_msg">
<p class="MsoNormal gmail_msg"><b class="gmail_msg"><span style="font-family:Calibri;color:black" class="gmail_msg">From: </span>
</b><span style="font-family:Calibri;color:black" class="gmail_msg">Vikash Kumar <<a href="mailto:vikash.kumar@oneconvergence.com" class="gmail_msg" target="_blank">vikash.kumar@oneconvergence.com</a>><br class="gmail_msg">
<b class="gmail_msg">Reply-To: </b>OpenStack List <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>><br class="gmail_msg">
<b class="gmail_msg">Date: </b>Monday, April 3, 2017 at 9:46 AM<br class="gmail_msg">
<b class="gmail_msg">To: </b>OpenStack List <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>><br class="gmail_msg">
<b class="gmail_msg">Subject: </b>[openstack-dev] [openstack] How does tag gets allocated to VM ports ?<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
</div><div class="gmail_msg"><div class="m_-8872187655318422515h5 gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-bottom:12.0pt"><span style="font-family:Verdana" class="gmail_msg">Hi,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-family:Verdana" class="gmail_msg"> How does "tag" gets assigned to openvswitch port ?
<br class="gmail_msg">
Port "tap319bae97-0b"<br class="gmail_msg">
<b class="gmail_msg">tag: 1</b><br class="gmail_msg">
Interface "tap319bae97-0b"<br class="gmail_msg">
<br class="gmail_msg">
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 ?<br clear="all" class="gmail_msg">
<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
</div>
<p class="MsoNormal gmail_msg"><br class="gmail_msg">
-- <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-family:"Trebuchet MS"" class="gmail_msg">Regards,</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<p class="MsoNormal gmail_msg"><span style="font-family:"Trebuchet MS"" class="gmail_msg">Vikash</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br class="gmail_msg">__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="gmail_msg" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><br class="gmail_msg">-- <br class="gmail_msg"><div class="m_-8872187655318422515gmail_signature gmail_msg" data-smartmail="gmail_signature"><div class="gmail_msg"><div class="gmail_msg"><span style="font-family:trebuchet ms,sans-serif" class="gmail_msg">Regards,<br class="gmail_msg"></span></div><span style="font-family:trebuchet ms,sans-serif" class="gmail_msg">Vikash</span><br class="gmail_msg"></div></div>
</div>
__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="gmail_msg" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="gmail_msg">
</blockquote></div></div>