Dear all

Could you tell me what is wrong with this code?

@set_ev_cls(ofp_event.EventOFPEchoReply, HANDSHAKE_DISPATCHER)

                     def send_table_stats_request(self, datapath):
                    ofp_parser = datapath.ofproto_parser

                    req = ofp_parser.OFPTableStatsRequest(datapath, 0)
                    datapath.send_msg(req)


When I try to apply it on mininet, The error comes with the first line in this 
code. (I am injecting this code in simple_switch_14.py, I also changed the 
ofproto to 1.5 since I need to work with it)

In this could I am trying to request the table stats every time receiving echo 
replay message from the switch.

Please advise.

Regards,
Randa
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to