Hi I need to generate the double Vlan tag and install the flow rules in IPv4 such that when packet comes to the switch , switch will add the double Vlan tag in the Packet header.
We are using the Floodlight as the controller. We are using EthType 8100 (VLAN_FRAME) as innervlan and 9100(Q_IN_Q) as outer vlan for setting the value. We have build the flowMod in the floolight , but we are getting the BAD_ARGUMENT Exception while writing the flow rule on switch Could you please help me to correct the Flow Rule for the ovs Switch? *Exception* :- OFBadActionErrorMsgVer13(xid=1700, code=BAD_ARGUMENT, *Flow Rule added on the switch:-* OFFlowAddVer13(xid=2396, cookie=0x0000000000000000, cookieMask=0x0000000000000000, tableId=0x0, idleTimeout=10, hardTimeout=3600, priority=2, bufferId=4294967295, outPort=2, outGroup=any, flags=[], match=OFMatchV3Ver13(in_port=1, eth_dst=00:00:00:00:00:05, eth_src=00:00:00:00:00:01, eth_type=800, ip_proto=6, ipv4_src=10.0.0.1, ipv4_dst=10.0.0.5, tcp_src=51110, tcp_dst=5001), instructions=[ OFInstructionApplyActionsVer13(actions=[OFActionPushVlanVer13(ethertype=800), OFActionSetFieldVer13(field=OFOxmVlanVidVer13(value=0x1001)), OFActionPushVlanVer13(ethertype=9100), OFActionSetFieldVer13(field= OFOxmVlanVidVer13(value=0x1002)), OFActionOutputVer13(port=1, maxLen=-1)])]OFActionPushVlanVer13(ethertype=8100), OFActionSetFieldVer13(field=OFOxmVlanVidVer13(value=0x1002))])]
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss