Re: [Ryu-devel] [PATCH] ofproto: Avoid emitting illegal instruction sets

2017-07-21 Thread FUJITA Tomonori
On Wed, 5 Jul 2017 14:37:55 +0900 IWAMOTO Toshihiro wrote: > The OpenFlow spec forbids multiple occurences of a same instruction > type within a mod_flow message, so make sure > ofp_instruction_from_jsondict doesn't emit such an instruction set. > > Signed-off-by: IWAMOTO Toshihiro > --- > ry

[Ryu-devel] [PATCH] ofproto: Avoid emitting illegal instruction sets

2017-07-04 Thread IWAMOTO Toshihiro
The OpenFlow spec forbids multiple occurences of a same instruction type within a mod_flow message, so make sure ofp_instruction_from_jsondict doesn't emit such an instruction set. Signed-off-by: IWAMOTO Toshihiro --- ryu/ofproto/ofproto_parser.py | 28 +--- ryu