Hi,Zoltan,
That makes sense.Thanks. :-)
Regards,
Bruce
From: Zoltán Lajos Kis
Date: 2014-01-15 02:05
To: bruce.lo...@gmail.com; openflow-discuss
Subject: RE: RE: [openflow-discuss] Pushing mpls tags
Hi,
Turns out this is already fixed in OpenFlow 1.3.3: “The OXM prerequisites (see
7.2.3.6) cor
Hi,
Turns out this is already fixed in OpenFlow 1.3.3: “The OXM prerequisites (see
7.2.3.6) corresponding to the field to be set must be included in the flow
entry, otherwise an error must be generated (see 6.4). Each prerequisite either
must be included in the match of the flow entry or must be
Hi,
As awkward as it is, this is also according to the spec. It says that for set
field actions: “The match of the flow entry must contain the OXM prerequisite
corresponding to the field to be set, otherwise an error must be generated.”.
Now obviously you can’t match on eth_type=0x8847 in this f
Hi,Zoltan,
Thanks for your quick reply.
I am using CPqD ofsoftswitch13 from https://github.com/CPqD/ofsoftswitch13. I
use dpctl to insert flows.Here is its output.
***
bl@ubuntu:~$ sudo dpctl unix:/tmp/s1 flow-mod cmd=add,table=0
in_port=1,eth_type=0x0800,ip_dst=192.168.0.10 apply:pus
Hi Bruce,
That is the only way to push MPLS on packets: first you need to push a label,
which creates a zero label (unless there is already a label on the packet, in
which case that label is copied), and then you need a set action to specify the
label you want. This is described in 5.12.1 of [1]