On 6 December 2013 07:39, Nataliia Trifonova
<trifonova.nata...@gmail.com> wrote:
> ...
> should push MPLS label and then VLAN tag. Results are: when I just PushMpls,
> SetField(mpls_label) and PushVlan, then VLAN tag 0 is added, but when I want
> to add SetField(vlan_vid), VLAN tag is not added at all. But the rule looks
> like this:
>
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=8.339s, table=0, n_packets=7, n_bytes=686,
> hard_timeout=100, idle_age=2,
> priority=1,icmp,nw_src=10.0.0.1,nw_dst=10.10.10.1
> actions=load:0x8002709001b->NXM_OF_ETH_SRC[],load:0x80027b50738->NXM_OF_ETH_DST[],push_mpls:0x8847,load:0x66->OXM_OF_MPLS_LABEL[],load:0x4->OXM_OF_VLAN_VID[],output:2

OK, so what if you look at the flowmod message on-the-wire? Does it
include the push vlan action?

Does it make a difference if you set the CFI bit in your vlan_vid?

> ovs-ofctl: none of the usable flow formats (OXM,OpenFlow11) is among the
> allowed flow formats (OpenFlow10,NXM)

I think that set-field was introduced in OF1.2.. did you specify that
ovs-ofctl should send OF1.2/3 messages?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to