Ejemplo n.º 1
0
def launch (address='', port=8000, static=False, ssl_server_key=None,
            ssl_server_cert=None, ssl_client_certs=None):
  import pox.web.webcore as wc
  wc.launch(address, port, static=static,
            ssl_server_key=ssl_server_key,
            ssl_server_cert=ssl_server_cert,
            ssl_client_certs=ssl_client_certs)
Ejemplo n.º 2
0
def launch(home):
    readPolicy(home)
    # Send full packets to controller
    core.openflow.miss_send_len = 0xffff
    discovery.launch(explicit_drop='False')
    webcore.launch()
    webservice.launch()
    core.registerNew(FW)
    core.WebServer.set_handler("/FW/", FWRequestHandler)
Ejemplo n.º 3
0
def launch (address='', port=8000, static=False):
  import pox.web.webcore as wc
  wc.launch(address, port, static)