Madhusudan, You can get some pointers from http://horms.org/pleb_blossom/permalink/2013/2013-10-16T10_00_55.shtml for MPLS related code.
-Vasu On Thu, Feb 6, 2014 at 7:54 PM, Madhusudhan Kandadai < [email protected]> wrote: > I came to know that, the packets are not flowing from in_port to output > after I push a flow with MPLS label. I tried using OVS2.0. The exact > problem is, the packets are not coming at the output from in_port. > > Am I doing wrong with this? I would appreciate if you can shed some light > on this regard and also how to see the packets flowing.. > > Thanks, > > Madhusudhan > > > On Thursday, February 6, 2014 2:18 PM, Vasu Dasari <[email protected]> > wrote: > I have been using >= 2.0 for quite sometime. Not sure in which > baseline, the feature is introduced or where the regression could be in (if > there is one). > > -Vasu > > > On Thu, Feb 6, 2014 at 5:04 PM, Madhusudhan Kandadai < > [email protected]> wrote: > > Thanks Vasu. It worked when I program the flows from OpenDaylight to > OVS2.0 and I could see the flows as well in the switch. > > But,when I try to replicate the same thing from OpenDaylight to OVS1.12 > and I am not able to see the flows in the switch. > > Have you seen this issue before? > > Thanks, > > Madhusudhan > > > On Thursday, February 6, 2014 9:46 AM, Vasu Dasari <[email protected]> > wrote: > Can you try this? > sudo ovs-ofctl add-flow br0 \ > in_port=13,dl_dst=00:00:00:00:00:13,dl_type=0x800,nw_dst= > 11.1.1.0/24,dl_vlan=201,actions=push_mpls:0x8847,set_field:100-\<http://11.1.1.0/24,dl_vlan=201,actions=push_mpls:0x8847,set_field:100-/> > >mpls_label,mod_vlan_vid:20,mod_dl_src:00:00:00:00:00:14,mod_dl_dst:00:00:00:00:00:04,output:14 > > > > On Wed, Feb 5, 2014 at 7:41 PM, Madhusudhan Kandadai < > [email protected]> wrote: > > Hello, > > I am not sure whether this question has resolved. If you think this is the > repeated question, I appreciate if you can point me to the right person. > > I actually trying to add a flow for MPLS (Push MPLS type and set MPLS > label) > > sudo ovs-ofctl add-flow s2 > in_port=1,dl_type=0x0800,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00,actions=push_mpls:0x8847,set_mpls_label:10,output:2 > -O OpenFlow13 > > It is throwing me an error: > ovs-ofctl: Unknown action: set_mpls_label > > But, I try to add a flow without using set_mpls_label:10, i.e., > > sudo ovs-ofctl add-flow s2 > in_port=1,dl_type=0x0800,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00,actions=push_mpls:0x8847,output:2 > -O OpenFlow13 > > sudo ovs-ofctl dump-flows s2 -O OpenFlow13OFPST_FLOW reply (OF1.3) > (xid=0x2): > cookie=0x0, duration=8.422s, table=0, n_packets=0, n_bytes=0, > ip,in_port=1,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00 > actions=push_mpls:0x8847,output:2 > > OVS version used here is :2.0 > > Thanks, > Madhusudhan > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > > > > > > > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
