On Mon, 09 Apr 2018 23:30:32 +0900, [email protected] wrote: > > Hello, > > I used OpenFlow 1.3. > How i set new field in OFPmatch after i build the class? > For exemple: > > match = ofp.OFPMatch(in_port=port) > match.vlan_vid = vlan > > When i set like this OpenFlow set 'in_port' but not add 'vlan_vid' in match.
Please check the __init__ implementation of OFPMatch. It doesn't support such a coding style. You need to pass all the match fields to the constructor. -- IWAMOTO Toshihiro ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
