Oops, the subject should have started with [PATCH] not [PATCH 04/10] On Mon, 21 May 2012 21:20:52 +0900 FUJITA Tomonori <[email protected]> wrote:
> > Signed-off-by: FUJITA Tomonori <[email protected]> > --- > ryu/ofproto/ofproto_v1_0.py | 2 +- > ryu/ofproto/ofproto_v1_0_parser.py | 18 ++++++++++++++++++ > 2 files changed, 19 insertions(+), 1 deletions(-) > > diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofproto/ofproto_v1_0.py > index 08d2599..cd8d432 100644 > --- a/ryu/ofproto/ofproto_v1_0.py > +++ b/ryu/ofproto/ofproto_v1_0.py > @@ -243,7 +243,7 @@ NXAST_BUNDLE = 12 > NXAST_BUNDLE_LOAD = 13 > NXAST_RESUBMIT_TABLE = 14 > NXAST_OUTPUT_REG = 15 > - > +NXAST_EXIT = 17 > > NX_ACTION_RESUBMIT_PACK_STR = '!HHIHHB3x' > NX_ACTION_RESUBMIT_SIZE = 16 > diff --git a/ryu/ofproto/ofproto_v1_0_parser.py > b/ryu/ofproto/ofproto_v1_0_parser.py > index d25dd6f..841941b 100644 > --- a/ryu/ofproto/ofproto_v1_0_parser.py > +++ b/ryu/ofproto/ofproto_v1_0_parser.py > @@ -707,6 +707,24 @@ class NXActionOutputReg(NXActionHeader): > return cls(ofs_nbits, src, max_len) > > > [email protected]_nx_action_subtype(ofproto_v1_0.NXAST_EXIT) > +class NXActionExit(NXActionHeader): > + def __init__(self): > + super(NXActionExit, self).__init__( > + ofproto_v1_0.NXAST_EXIT, > + ofproto_v1_0.NX_ACTION_HEADER_SIZE) > + > + def serialize(self, buf, offset): > + msg_pack_into(ofproto_v1_0.NX_ACTION_HEADER_PACK_STR, buf, offset, > + self.type, self.len, self.vendor, self.subtype) > + > + @classmethod > + def parser(cls, buf, offset): > + (type_, len_, vendor, subtype) = struct.unpack_from( > + ofproto_v1_0.NX_ACTION_HEADER_PACK_STR, buf, offset) > + return cls() > + > + > class OFPDescStats(collections.namedtuple('OFPDescStats', > ('mfr_desc', 'hw_desc', 'sw_desc', 'serial_num', 'dp_desc'))): > @classmethod > -- > 1.7.4.4 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
