From: stevenvanrossem Date: Fri, 5 May 2017 09:26:15 +0000 (+0200) Subject: put example topology file back in original state X-Git-Tag: v3.1~29^2~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e62b278e53b51618ea352e76b64591a3696f2aa0;p=osm%2Fvim-emu.git put example topology file back in original state --- diff --git a/src/emuvim/examples/sonata_simple_topology.py b/src/emuvim/examples/sonata_simple_topology.py index bf3cc20..31dd76f 100755 --- a/src/emuvim/examples/sonata_simple_topology.py +++ b/src/emuvim/examples/sonata_simple_topology.py @@ -47,7 +47,7 @@ logging.basicConfig(level=logging.INFO) def create_topology1(): # create topology - net = DCNetwork(controller=RemoteController, monitor=False, enable_learning=True) + net = DCNetwork(controller=RemoteController, monitor=True, enable_learning=True) dc1 = net.addDatacenter("dc1") @@ -59,15 +59,8 @@ def create_topology1(): rapi1.start() - # specify a vnfd file to be deployed as internal SAP: - sap_vnfd = 'vepc_sap_vnfd.yml' - dir_path = os.path.dirname(__file__) - sap_vnfd_path = os.path.join(dir_path, sap_vnfd) - # sap_vnfd_path = None # add the SONATA dummy gatekeeper to each DC - sdkg1 = SonataDummyGatekeeperEndpoint("0.0.0.0", 5000, deploy_sap=True, auto_deploy=True, - docker_management=True, auto_delete=True, - sap_vnfd_path=sap_vnfd_path) + sdkg1 = SonataDummyGatekeeperEndpoint("0.0.0.0", 5000, deploy_sap=True) sdkg1.connectDatacenter(dc1) # run the dummy gatekeeper (in another thread, don't block) sdkg1.start()