[ovs-discuss] vlan setfield failed

Ben Pfaff blp at nicira.com
Wed Apr 1 16:15:22 UTC 2015


On Wed, Apr 01, 2015 at 09:27:36AM +0800, 张晨 wrote:
> hi, dear all!
> 
> i use ryu to deploy my vlan policy,
> actions.append(ofp_parser.OFPActionPushVlan())
> actions.append(ofp_parser.OFPActionSetField(vlan_vid=10))
> 
> but ovs gives me an set-filed error, as you can see in the attached picture, how does it happen?

OpenFlow 1.2+ says that if vlan_vid is nonzero then the "present" bit
(with value 0x1000) has to be set.



More information about the discuss mailing list