From be81adbbe2496b20be762a6ac31c701a46c9e732 Mon Sep 17 00:00:00 2001 From: hadik3r Date: Mon, 27 Jun 2016 19:03:36 +0200 Subject: [PATCH] add rest api --- src/emuvim/cli/rest/compute.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/emuvim/cli/rest/compute.py b/src/emuvim/cli/rest/compute.py index d3ab40e..bdef0ec 100644 --- a/src/emuvim/cli/rest/compute.py +++ b/src/emuvim/cli/rest/compute.py @@ -100,7 +100,7 @@ class RestApiClient(): parser = argparse.ArgumentParser(description='son-emu datacenter') parser.add_argument( "command", - choices=['start', 'stop', 'list', 'status', 'profile'], + choices=['start', 'stop', 'list', 'status'], help="Action to be executed.") parser.add_argument( "--datacenter", "-d", dest="datacenter", @@ -118,12 +118,6 @@ parser.add_argument( "--net", dest="network", help="Network properties of a compute instance e.g. \ '(id=input,ip=10.0.10.3/24),(id=output,ip=10.0.10.4/24)' for multiple interfaces.") -parser.add_argument( - "--input", "-in", dest="input", - help="input interface of the vnf to profile") -parser.add_argument( - "--output", "-out", dest="output", - help="output interface of the vnf to profile") parser.add_argument( "--endpoint", "-e", dest="endpoint", default="http://127.0.0.1:5000", -- 2.25.1