[ovs-discuss] Help for Hybrid vlan patch

Neeraj Mehta mehtaneeraj07 at gmail.com
Thu Sep 14 09:37:00 UTC 2017


Dear Ken san,

This mail is with respect to the functionality of Hybrid VLAN shared by you
on ovs community.
https://mail.openvswitch.org/pipermail/ovs-dev/2015-March/295915.html

I found the functionality very interesting and tried to implement the same
on my environment of OVS-2.6.1. then after I ran the testcases of test suit
everything run fine except the test case of packet in.

==============================================================
AT_SETUP([hybrid-vlan - Packet In])
HYB_VLAN_SETUP

# Packet In tagged from trunk
AT_CHECK([ovs-ofctl monitor br0 65534 --detach --no-chdir --pidfile 2>
ofctl_monitor.log])
AT_CHECK([ovs-appctl netdev-dummy/receive p01
'in_port(1),eth(src=40:44:44:44:00:01,dst=ff:ff:ff:ff:ff:ff),eth_type(0x8100),vlan(vid=2001,pcp=6),encap(eth_type(0x0806))'],
[0], [stdout])
sleep 2
OVS_WAIT_UNTIL([ovs-appctl -t ovs-ofctl exit])
AT_CHECK([cat ofctl_monitor.log], [0], [dnl
dnl
dnl Original (== Tagged) frame should packet in
dnl
NXT_PACKET_IN (xid=0x0): cookie=0x0 total_len=60 in_port=1 (via action)
data_len=60 (unbuffered)
arp,metadata=0,in_port=0,dl_vlan=2001,dl_vlan_pcp=6,dl_src=40:44:44:44:00:01,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=0.0.0.0,arp_tpa=0.0.0.0,arp_sha=00:00:00:00:00:00,arp_tha=00:00:00:00:00:00
])

# Packet In from access
AT_CHECK([ovs-ofctl monitor br0 65534 --detach --no-chdir --pidfile 2>
ofctl_monitor.log])
AT_CHECK([ovs-appctl netdev-dummy/receive p11
'in_port(11),eth(src=40:44:44:44:00:01,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806)'],
[0], [stdout])
sleep 2
OVS_WAIT_UNTIL([ovs-appctl -t ovs-ofctl exit])
AT_CHECK([cat ofctl_monitor.log], [0], [dnl
dnl
dnl Original (== Untagged) frame should packet in
dnl
NXT_PACKET_IN (xid=0x0): cookie=0x0 total_len=60 in_port=11 (via action)
data_len=60 (unbuffered)
arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=40:44:44:44:00:01,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=0.0.0.0,arp_tpa=0.0.0.0,arp_sha=00:00:00:00:00:00,arp_tha=00:00:00:00:00:00
])
=============================================================
I collected the logs and tried to analyse them but failed to do so. Is it
possible for you to help me with the failure cause?

I have enclosed the logs of test suite for your reference. It will be a
great help if you can help me out of this.

Regards
Neeraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170914/7cfdec90/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hybrid_vlanPacketIN.zip
Type: application/zip
Size: 11062 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170914/7cfdec90/attachment-0001.zip>


More information about the discuss mailing list