def install(self): """ Install """ self.register_for_datapath_join(self.datapath_join_handler) self.register_for_datapath_leave(self.datapath_leave_handler) self.register_for_packet_in(self.packet_in_handler) self.register_for_flow_mod(self.flow_mod_handler) self.register_for_flow_removed(self.flow_removed_handler) self.register_handler(Link_event.static_get_name(), self.link_event_handler) self.register_handler(Host_auth_event.static_get_name(), self.host_auth_handler) self.register_handler(Host_bind_event.static_get_name(), self.host_bind_handler) self.register_handler(nxw_utils.Pckt_flowEntryEvent.NAME, self.flow_entry_handler) self.register_handler(nxw_utils.Pckt_delFlowEntryEvent.NAME, self.delete_flow_entry_handler) self.spanning_ = self.resolve(Spanning_Tree) LOG.debug("%s started..." % str(self.__class__.__name__))
def install(self): """ Install """ self.register_for_datapath_join(self.datapath_join_handler) self.register_for_datapath_leave(self.datapath_leave_handler) self.register_for_packet_in(self.packet_in_handler) self.register_for_flow_mod(self.flow_mod_handler) self.register_for_flow_removed(self.flow_removed_handler) self.register_handler(Link_event.static_get_name(), self.link_event_handler) self.register_handler(Host_auth_event.static_get_name(), self.host_auth_handler) self.register_handler(Host_bind_event.static_get_name(), self.host_bind_handler) self.register_for_table_stats_in(self.table_stats_handler) self.register_for_port_stats_in(self.port_stats_handler) self.register_for_aggregate_stats_in(self.aggr_stats_handler) self.mysql_enable() self.pce_topology_enable() self.pce_routing_enable() self.bindings = self.resolve(pybindings_storage) LOG.debug("%s started..." % str(self.__class__.__name__))