Hi,
Adding flow for VLAN Match with PopVlan action doesnt work for me. I see
the error in wireshark (
OFPET_BAT_MATCH with OFPBMC_BAD_PREREQ code)
code snippet
==========
actions.append(parser.OFPActionPopVlan())
actions.append(parser.OFPActionOutput(out_port))
vid = vlan_id | ofproto_v1_3.OFPVID_PRESENT
match = parser.OFPMatch(in_port=in_port, vlan_vid=vid, ipv4_src=src,
ipv4_dst=dst)
if msg.buffer_id != ofproto.OFP_NO_BUFFER:
self.add_flow(datapath, 1, 0, match, actions, msg.buffer_id)
else:
self.add_flow(datapath, 1, 0, match, actions)
what could be wrong?
--
*Regards, *
*Knet solutions.*
https://github.com/knetsolutions/KNet
http://knet-topology-builder.readthedocs.io/
http://knetsolutions.in/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel