From 32343aa68464dc3a3ecf15f0eb91c6a09afb374b Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Sat, 28 Jan 2017 14:50:51 +0100 Subject: [PATCH] update son-emu-cli monitor cmds --- src/emuvim/cli/rest/monitor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, -- 2.25.1