> hello, i have a question. > > in ryu/ofproto/ofproto_v1_0.py, OFP_MSG_SIZE_MAX defined in line 77. > so i use the constant as 'max_len', the 2nd argument of OFPActionOutput to > use in OFPFlowMod. > > for example: > datapath.ofproto_parser.OFPActionOutput( > datapath.ofproto.OFPP_CONTROLLER, datapath.ofproto.OFP_MSG_SIZE_MAX) > > but the constant is not found in both ofproto_v1_2.py and ofproto_v1_3.py. > > what constant should i use as the 2nd argument of ActionOutput in > OpenFlow1.2/1.3?
OFP_MSG_SIZE_MAX is not appropriate. it's the maximum size of a single OF message. if you mean "send a complete packet", you can use 65535 for OF 1.0 and OFPCML_MAX or OFPCML_NO_BUFFER for OF 1.2/1.3. YAMAMOTO Takashi > > thanks. > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
