Hi All,

We are trying to get MPLS push/pop operations working with kernel support using 
openvswitch devel/mpls-v2.52 branch but having issues. please find the detailed 
description below and let us know if we are missing anything.
We tried various combinations of --protocols=XX and --flow-format=YY, where XX= 
OpenFlow13,OpenFlow12, OpenFlow11 and YY = OXM-OpenFlow13 and OXM-OpenFlow12
as described at 
http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities/ovs-ofctl.8 with no 
luck.  At the same time,  we had NO issues with userspace implementation of the 
switch.

So my question are.

1.  Are MPLS push/pop operations known to work with devel/mpls-v2.52 kernel 
support ?

2. If no, is there any other branch I should try ?

3. If yes, what's wrong with our configuration.  And If someone has a working 
configuration, can you please post ?

Description:
========

openvswitch branch:  devel/mpls-v2.52

kernel version:

3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 
x86_64 x86_64 GNU/Linux

OpenFlow Protocol version tried: OpenFlow11, OpenFlow12, OpenFlow13.

configuration used:

sudo ovs-vsctl add-br br0
sudo ovs-vsctl set bridge br0 
protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13
sudo ovs-vsctl add-port br0 eth0
sudo ovs-vsctl add-port br0 eth1

sudo ovs-ofctl --protocols=OpenFlow13 --flow-format=OXM-OpenFlow13 add-flow br0 
in_port=2,actions=mod_dl_src=00:0c:29:2b:9c:82,mod_dl_dst=00:0c:29:08:4d:d0,push_mpls:0x8847,set_field:100-\>mpls_label,output:1
sudo ovs-ofctl add-flow br0 
in_port=1,dl_type=0x8847,actions=mod_dl_src=00:0c:29:2b:9c:8c,mod_dl_dst=00:0c:29:44:86:6c,pop_mpls:0x800,output:2

As mentioned above the same configuration work well with openvswitch userspace 
implementation.

thanks for your help,

Regards
Raghu.


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to