added stop method to normal REST API
[osm/vim-emu.git] / src / emuvim / examples / sonata_y1_demo_topology_1.py
index b8bb487..a21fef8 100755 (executable)
@@ -59,7 +59,7 @@ def create_topology1():
     rapi1.start()
 
     # add the SONATA dummy gatekeeper to each DC
-    sdkg1 = SonataDummyGatekeeperEndpoint("0.0.0.0", 5000, deploy_sap=True)
+    sdkg1 = SonataDummyGatekeeperEndpoint("0.0.0.0", 5000, deploy_sap=False)
     sdkg1.connectDatacenter(dc1)
     sdkg1.connectDatacenter(dc2)
     # run the dummy gatekeeper (in another thread, don't block)
@@ -68,6 +68,7 @@ def create_topology1():
     # start the emulation platform
     net.start()
     net.CLI()
+    rapi1.stop()
     net.stop()