Re: [Ryu-devel] Append fields in match

2018-04-11 Thread Marcos
Thanks! Soved my problem! ⁣Sent from BlueMail ​ On Apr 10, 2018, 2:20 AM, at 2:20 AM, Iwase Yusuke wrote: >Hi, > >Excuse me for jumping in. > >How about using "dict" to store temporary match fields like; > match_fields = { > 'in_port': in_port, > } > # Do something > mat

Re: [Ryu-devel] Append fields in match

2018-04-09 Thread Iwase Yusuke
Hi, Excuse me for jumping in. How about using "dict" to store temporary match fields like; match_fields = { 'in_port': in_port, } # Do something match_fields['vlan_vid'] = vlan_vid # Do something match = parser.OFPMatch(**match_fields) Thanks, Iwase On 2018年04月

Re: [Ryu-devel] Append fields in match

2018-04-09 Thread IWAMOTO Toshihiro
On Mon, 09 Apr 2018 23:30:32 +0900, marcosab...@inf.ufg.br 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