X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fdcemulator%2Fnet.py;h=dbfde5ca2430cd271be1376d7950641315bdf656;hb=e8ca4ed9494c9268e0bd9a48f02b7edc150b6c57;hp=f237cb5b4f24a6d284a9017846c4defc2f4a9298;hpb=60670da78ec2167314af21fa527cd3b58d173c4c;p=osm%2Fvim-emu.git diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index f237cb5..dbfde5c 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -26,7 +26,7 @@ class DCNetwork(Dockernet): This class is used by topology definition scripts. """ - def __init__(self, controller=RemoteController, monitor=True, + def __init__(self, controller=RemoteController, monitor=False, dc_emulation_max_cpu=1.0, # fraction of overall CPU time for emulation dc_emulation_max_mem=512, # emulation max mem in MB **kwargs): @@ -282,7 +282,9 @@ class DCNetwork(Dockernet): #logging.info("add flow in switch: {0} in_port: {1} out_port: {2}".format(current_node.name, switch_inport, switch_outport)) # set of entry via ovs-ofctl - # TODO use rest API of ryu to set flow entries to correct witch dpid + # TODO use rest API of ryu to set flow entries to correct dpid + # TODO this only sets port in to out, no match, so this will give trouble when multiple services are deployed... + # TODO need multiple matches to do this (VLAN tags) if isinstance( current_node, OVSSwitch ): match = 'in_port=%s' % switch_inport