def _post_startup (): if _options.enable_openflow: if core._openflow_wanted: if not core.hasComponent("of_01"): # Launch a default of_01 import pox.openflow.of_01 pox.openflow.of_01.launch() else: logging.getLogger("boot").debug("Not launching of_01")
def _post_startup(): if _options.enable_openflow: if core._openflow_wanted: if not core.hasComponent("of_01"): # Launch a default of_01 import pox.openflow.of_01 pox.openflow.of_01.launch() else: logging.getLogger("boot").debug("Not launching of_01")
def _post_startup(): if _options.enable_openflow: # Se o openflow do objeto _options estiver habilitado if core._openflow_wanted: # Se o core estiver em espera if not core.hasComponent("of_01"): # Launch a default of_01 import pox.openflow.of_01 # Importa esse arquivo. pox.openflow.of_01.launch() # roda o openflow. else: logging.getLogger("boot").debug("Not launching of_01")