From: stevenvanrossem Date: Sat, 28 Jan 2017 13:50:51 +0000 (+0100) Subject: update son-emu-cli monitor cmds X-Git-Tag: v3.1~45^2~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=32343aa68464dc3a3ecf15f0eb91c6a09afb374b;p=osm%2Fvim-emu.git update son-emu-cli monitor cmds --- diff --git a/src/emuvim/cli/rest/monitor.py b/src/emuvim/cli/rest/monitor.py index 858aad7..7af1fbb 100755 --- a/src/emuvim/cli/rest/monitor.py +++ b/src/emuvim/cli/rest/monitor.py @@ -49,7 +49,7 @@ class RestApiClient(): vnf_name = self._parse_vnf_name(args.get("vnf_name")) vnf_interface = self._parse_vnf_interface(args.get("vnf_name")) - response = put("%s/restapi/monitor/%s/%s/%s" % + response = put("%s/restapi/monitor/interface/%s/%s/%s" % (args.get("endpoint"), vnf_name, vnf_interface, @@ -60,7 +60,7 @@ class RestApiClient(): vnf_name = self._parse_vnf_name(args.get("vnf_name")) vnf_interface = self._parse_vnf_interface(args.get("vnf_name")) - response = delete("%s/restapi/monitor/%s/%s/%s" % + response = delete("%s/restapi/monitor/interface/%s/%s/%s" % (args.get("endpoint"), vnf_name, vnf_interface, @@ -71,7 +71,7 @@ class RestApiClient(): vnf_name = self._parse_vnf_name(args.get("vnf_name")) vnf_interface = self._parse_vnf_interface(args.get("vnf_name")) - response = put("%s/restapi/monitor/%s/%s/%s/%s" % + response = put("%s/restapi/monitor/flow/%s/%s/%s/%s" % (args.get("endpoint"), vnf_name, vnf_interface, @@ -84,7 +84,7 @@ class RestApiClient(): vnf_name = self._parse_vnf_name(args.get("vnf_name")) vnf_interface = self._parse_vnf_interface(args.get("vnf_name")) - response = delete("%s/restapi/monitor/%s/%s/%s/%s" % + response = delete("%s/restapi/monitor/flow/%s/%s/%s/%s" % (args.get("endpoint"), vnf_name, vnf_interface,