projects
/
osm
/
vim-emu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
525c164
)
add rest api
author
hadik3r
<hadi.razzaghi@uni-paderborn.de>
Mon, 27 Jun 2016 17:03:36 +0000
(19:03 +0200)
committer
hadik3r
<hadi.razzaghi@uni-paderborn.de>
Mon, 27 Jun 2016 17:03:36 +0000
(19:03 +0200)
src/emuvim/cli/rest/compute.py
patch
|
blob
|
history
diff --git
a/src/emuvim/cli/rest/compute.py
b/src/emuvim/cli/rest/compute.py
index
d3ab40e
..
bdef0ec
100644
(file)
--- 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",
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",
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.")
"--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",
parser.add_argument(
"--endpoint", "-e", dest="endpoint",
default="http://127.0.0.1:5000",