Hello, I have a case where i want to know list of all *OpenFlow* ports in the network when *OFPFeaturesRequest* and *OFPSwitchFeatures* are sent in between the controller and the switch. What more shall i add to below code to fetch the list of OpenFlow ports in the network with the reception of above two messages.
*@set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER) def switch_features_handler(self, ev): msg = ev.msg self.logger.info <http://self.logger.info>('OFPSwitchFeatures received: ' '\n\tdatapath_id=0x%016x n_buffers=%d ' '\n\tn_tables=%d auxiliary_id=%d ' '\n\tcapabilities=0x%08x', msg.datapath_id, msg.n_buffers, msg.n_tables, msg.auxiliary_id, msg.capabilities)* With Regards Mir Wajahat Hussain
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel