From b8f485969b2d808bb5b5a6d009058c6b2711dca0 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Tue, 5 Jul 2016 21:33:57 +0200 Subject: [PATCH] fix int-sdk-son-monitor ci test --- src/emuvim/examples/monitoring_demo_topology_restapi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emuvim/examples/monitoring_demo_topology_restapi.py b/src/emuvim/examples/monitoring_demo_topology_restapi.py index b010a03..c3e4cd6 100755 --- a/src/emuvim/examples/monitoring_demo_topology_restapi.py +++ b/src/emuvim/examples/monitoring_demo_topology_restapi.py @@ -42,6 +42,7 @@ def create_topology1(): instances aka. VNFs (represented by Docker containers), passing through different switches and datacenters of the emulated topology """ + # create monitoring api endpoint for backwards compatibility with zerorpc api mon_api = ZeroRpcApiEndpointDCNetwork("0.0.0.0", 5151) mon_api.connectDCNetwork(net) mon_api.start() @@ -89,6 +90,7 @@ def create_topology1(): zapi1.start() # create a new instance of a endpoint implementation + # the restapi handles all compute, networking and monitoring commands in one api endpoint api1 = RestApiEndpoint("0.0.0.0", 5001) # connect data centers to this endpoint api1.connectDatacenter(dc1) -- 2.17.1