Ejemplo n.º 1
0
def launch ():
        from log.level import launch
        launch(DEBUG=True)

        from samples.pretty_log import launch
        launch()
        
        from openflow.discovery import launch
        launch()

        from topoDiscovery import launch
        launch()

        from latencyMonitor import launch
        launch()
Ejemplo n.º 2
0
def launch (interval=3):
  from log.level import launch
#  launch(DEBUG=True)

  from samples.pretty_log import launch
  launch()

  from samples.spanning_tree import launch
  launch()

  from web.jsonrpc import launch
  launch()

  from netviz.webservice import launch
  launch()

  from netviz.discovery import launch
  launch(int(interval))
Ejemplo n.º 3
0
def launch(postfix=datetime.now().strftime("%Y%m%d%H%M%S")):
    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from openflow.keepalive import launch
    launch(interval=15)  # 15 seconds

    from openflow.discovery import launch
    launch()

    # we solved the flooding-problem in l2_multi_withstate
    # from openflow.spanning_tree import launch
    # launch(no_flood = True, hold_down = True)

    from Harry_SNSLab.forwarding import launch
    launch(l3_matching=False)
Ejemplo n.º 4
0
def launch ():
        from log.level import launch
        launch(DEBUG=True)

        from samples.pretty_log import launch
        launch()

        from openflow.keepalive import launch
        launch(interval=15) # 15 seconds

        from openflow.discovery import launch
        launch()

        #we solved the flooding-problem in l2_multi_withstate
        #from openflow.spanning_tree import launch
        #launch(no_flood = True, hold_down = True)
		
        from fw.forwarding import launch
        launch(l3_matching=False)
Ejemplo n.º 5
0
def launch():
    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from openflow.keepalive import launch
    launch(interval=15)  # 15 seconds

    from openflow.discovery import launch
    launch()

    #we solved the flooding-problem in l2_multi_withstate
    #from openflow.spanning_tree import launch
    #launch(no_flood = True, hold_down = True)

    from fw.forwarding import launch
    launch(l3_matching=False)
Ejemplo n.º 6
0
def launch(postfix=datetime.now().strftime("%Y%m%d%H%M%S")):
    from log.level import launch
    launch(DEBUG=False)

    from samples.pretty_log import launch
    launch()

    from pox.openflow.spanning_tree import launch
    launch()

    #from openflow.keepalive import launch
    #launch(interval=15) # 15 seconds

    from openflow.discovery import launch
    launch()
    core.registerNew(Forwarding)
Ejemplo n.º 7
0
def launch():

    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from setPacketSize import launch
    launch()

    p = Processor()
    core.register('protocols', p)
def launch (postfix=datetime.now().strftime("%Y%m%d%H%M%S")):
        from log.level import launch
        launch(DEBUG=True)
 
        from samples.pretty_log import launch
        launch()
 
        #from openflow.keepalive import launch
        #launch(interval=15) # 15 seconds
 
        from openflow.discovery import launch
        launch()
 
        core.registerNew(Forwarding)
Ejemplo n.º 9
0
def launch (postfix=datetime.now().strftime("%Y%m%d%H%M%S")):
        from log.level import launch
        launch(DEBUG=True)

        from samples.pretty_log import launch
        launch()

        from openflow.keepalive import launch
        launch(interval=15) # 15 seconds

        from openflow.discovery import launch
        launch()

        #we solved the flooding-problem in l2_multi_withstate
        #from openflow.spanning_tree import launch
        #launch(no_flood = True, hold_down = True)

        from opennetmon.forwarding import launch
        launch(l3_matching=False)

        from opennetmon.monitoring import launch
        launch(postfix=postfix)
Ejemplo n.º 10
0
def launch():
    #主程序入口
    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from openflow.keepalive import launch
    launch(interval=15)  # 15 seconds

    #发送LLDP数据包来发现topo
    from openflow.discovery import launch
    launch()

    # from pox.forwarding.l2_multi import launch
    # launch()
    # from openflow.spanning_tree import launch
    # launch()

    # 等待10.0.0.1的主机发送探测包
    # 检测到10.0.0.1的数据包通知opennetmon.monistoring配置流表
    from FL.forwarding import launch
    launch()

    #配置流表
    from FL.monitoring import launch
    launch()
Ejemplo n.º 11
0
    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from openflow.keepalive import launch
    launch(interval=15)  # 15 seconds

    #发送LLDP数据包来发现topo
    from openflow.discovery import launch
    launch()

    # from pox.forwarding.l2_multi import launch
    # launch()
    # from openflow.spanning_tree import launch
    # launch()

    # 等待10.0.0.1的主机发送探测包
    # 检测到10.0.0.1的数据包通知opennetmon.monistoring配置流表
    from FL.forwarding import launch
    launch()

    #配置流表
    from FL.monitoring import launch
    launch()


if __name__ == '__main__':
    launch()
Ejemplo n.º 12
0
def launch(postfix=datetime.now().strftime("%Y%m%d%H%M%S")):
    from log.level import launch
    launch(DEBUG=True)

    from samples.pretty_log import launch
    launch()

    from openflow.keepalive import launch
    launch(interval=15)  # 15 seconds

    from openflow.discovery import launch
    launch(no_flow=True, explicit_drop=False)
    #launch(no_flow = True, explicit_drop = False, eat_early_packets= True)

    #we solved the flooding-problem in l2_multi_withstate
    #from openflow.spanning_tree import launch
    #launch(no_flood = True, hold_down = True)

    from opennetmon.forwarding import launch
    launch(l3_matching=False)

    from opennetmon.monitoring import launch
    launch(postfix=postfix)