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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170403/d778636f/attachment.html>