what decides a tap belong to which port?

asked 2013-10-15 03:40:54 -0600

anonymous user


updated 2013-10-15 03:55:35 -0600

Just as shown in the figure(page 17) ,the tap xxx and qr-yyy belong to the port vlan tag :1 while qr-zzz and tap www belong to the port vlan tag:2.And I want to know what decide this allocation?(http://openstack.jp/assets/files/20121222/quantumunderthehood20121208-121208020414-phpapp02.pdf)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-15 04:25:54 -0600

darragh-oreilly gravatar image

That diagram is bad as it suggests that the tapXXX and qr-YYY share the same port. Actually each interface gets its own port on br-int. It is the VIF driver called by the dhcp-agent that creates the tapXXX interface and port. It is the VIF driver called by the l3-agent that creates qr-YYY interface and port. The ovs-plugin-agent then puts them in specific vlans on br-int for isolation - see here. So maybe the diagram is just trying to convey that the ports are in the same VLAN.

edit flag offensive delete link more


Thank you for your help !Well,if I creat a new instance named cm004 and intend to put it into net02, what do the work to put the tap of cm004 into port vlan tag:2 ?

SnowWolf gravatar imageSnowWolf ( 2013-10-15 04:35:33 -0600 )edit

You do not need to do any work. The ovs plugin does it for you.

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-10-15 07:53:55 -0600 )edit

Thank you ! Now I know the openstack better.Looking forward to more communication with you !

SnowWolf gravatar imageSnowWolf ( 2013-10-15 21:48:46 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-15 03:40:54 -0600

Seen: 128 times

Last updated: Oct 15 '13