Hi Joe, It was CFI (more strictly, OFPVID_PRESENT bit in OF1.3.3) indeed which prevented me from pushing MPLS + VLAN using OF1.3 protocol. Now it seems OK, I have both sitting there.
Thank you very much for your help! On Dec 6, 2013, at 7:36 PM, Joe Stringer wrote: > 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