change rest api ip to 0.0.0.0:5000
authorstevenvanrossem <steven.vanrossem@intec.ugent.be>
Wed, 29 Jun 2016 08:40:43 +0000 (10:40 +0200)
committerstevenvanrossem <steven.vanrossem@intec.ugent.be>
Wed, 29 Jun 2016 08:40:43 +0000 (10:40 +0200)
src/emuvim/examples/monitoring_demo_topology_restapi.py

index 8f46bd2..cf273ae 100755 (executable)
@@ -89,7 +89,7 @@ def create_topology1():
     zapi1.start()
 
     # create a new instance of a endpoint implementation
-    api1 = RestApiEndpoint("127.0.0.1", 5000)
+    api1 = RestApiEndpoint("0.0.0.0", 5000)
     # connect data centers to this endpoint
     api1.connectDatacenter(dc1)
     api1.connectDatacenter(dc2)