Hi,
I need to understand access port functionality in OVS and matching with
flow entry created on switch
As mentioned in man-page :-
"Any packet with an 802.1Q header that ingresses on an access port is
dropped, regardless of whether the VLAN ID in the header is the access
port’s VLAN ID."
But when I have vnet1 (VM attached to bridge) as access port( vlan 3) by
following command and created a below flow entries in bridge.
ovs-vsctl set port vnet1 tag=3
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=263.359s, table=0, n_packets=1, n_bytes=60,
ip,dl_vlan=3,dl_src=11:22:33:44:55:66 actions=NORMAL
cookie=0x0, duration=65.157s, table=0, n_packets=1, n_bytes=60,
ip,dl_src=11:22:33:44:55:66 actions=NORMAL
interfaces : [7022006e-b4f1-4fd6-bb53-98679ce8c438]
lacp : []
mac : []
name : "vnet1"
other_config : {}
qos : []
tag : 3
trunks : []
_uuid : 74565bf3-697f-4e8a-8eca-aa2b6057f172
bond_downdelay : 0
bond_fake_iface : false
bond_mode : []
bond_updelay : 0
external_ids : {}
fake_bridge : false
interfaces : [c7de09b2-9027-4b73-b648-0ce093c7b2b7]
lacp : []
mac : []
name : "br0"
other_config : {}
qos : []
tag : []
trunks : []
1) When sending untag packet then packet is receiving on bridge after
adding tag 3,which is ok BUT hitting non-vlan entry only , it should hit
vlan 3 entry
2) When sending tag 3 packet from vnet1 to switch then vlan 3 entry is
hitting but as per definition of access port ,switch should not get tag
packet from access port.
3) When sending tag 4 packet from vnet1 to switch then non-vlan entry
is hitting ( or vlan 4 entry ,if created) but different vlan packet should
not forward from vlan
3 access port.
Please confirm.
This scenario is same on OVS 1.2.2 and latest release OVS 1.6.1
Regards,
Ed
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss