@@ -494,7 +494,7 @@ The IDs used for bridge and port names are truncated.
494494 | tbr-trunk-id |
495495 | |
496496 | tpt-parent-id spt-subport-id |
497- | (tag 100) |
497+ | (tag 0) (tag 100) |
498498 +-----+-----------------+--------+
499499 | |
500500 | |
@@ -514,27 +514,27 @@ spi-subport-id: int bridge side of the patch port that implements a subport.
514514Trunk creation
515515++++++++++++++
516516
517- A VM is spawned passing to Nova the port-id of a parent port associated with
518- a trunk. Neutron will pass to Nova the bridge where to plug the vif as part of the vif details.
519- The os-vif driver creates the trunk bridge tbr-trunk-id if it does not exist in plug().
520- It will create the tap interface tap1 and plug it into tbr-trunk-id setting the parent port ID in the external-ids.
521- The OVS agent will be monitoring the creation of ports on the trunk bridges. When it detects
522- that a new port has been created on the trunk bridge, it will do the following:
517+ A VM is spawned passing to Nova the port-id of a parent port associated
518+ with a trunk. Neutron will pass to Nova the bridge where to plug the
519+ vif as part of the vif details. The os-vif driver creates the trunk
520+ bridge tbr-trunk-id if it does not exist in plug(). It will create the
521+ tap interface tap1 and plug it into tbr-trunk-id setting the parent port
522+ ID in the external-ids. The trunk driver will wire the parent port via
523+ a patch port to connect the trunk bridge to the integration bridge:
523524
524525::
525526
526- ovs-vsctl add-port tbr-trunk-id tpt-parent-id -- set Interface tpt-parent-id type=patch options:peer=tpi-parent-id
527- ovs-vsctl add-port br-int tpi-parent-id tag=3 -- set Interface tpi-parent-id type=patch options:peer=tpt-parent-id
527+ ovs-vsctl add-port tbr-trunk-id tpt-parent-id -- set Interface tpt-parent-id type=patch options:peer=tpi-parent-id -- set Port tpt-parent-id vlan_mode=access tag=0
528+ ovs-vsctl add-port br-int tpi-parent-id -- set Interface tpi-parent-id type=patch options:peer=tpt-parent-id
528529
529530
530- A patch port is created to connect the trunk bridge to the integration bridge.
531- tpt-parent-id, the trunk bridge side of the patch is not associated to any
532- tag. It will carry untagged traffic.
533- tpi-parent-id, the br-int side the patch port is tagged with VLAN 3. We assume that the
534- trunk is on network1 that on this host is associated with VLAN 3.
535- The OVS agent will set the trunk ID in the external-ids of tpt-parent-id and tpi-parent-id.
536- If the parent port is associated with one or more subports the agent will process them as
537- described in the next paragraph.
531+ tpt-parent-id, the trunk bridge side of the patch will carry untagged
532+ traffic (vlan_mode=access tag=0). The OVS agent will be monitoring the
533+ creation of ports on the integration bridge. tpi-parent-id, the br-int
534+ side the patch port is tagged with VLAN 3 by ovs-agent. We assume that
535+ the trunk is on network1 that on this host is associated with VLAN 3.
536+ If the parent port is associated with one or more subports the agent
537+ will process them as described in the next paragraph.
538538
539539Subport creation
540540++++++++++++++++
0 commit comments