projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed _restapi.py example topo to support ping example mentioned in main README.md
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
zerorpc
/
compute.py
diff --git
a/src/emuvim/api/zerorpc/compute.py
b/src/emuvim/api/zerorpc/compute.py
old mode 100644
(file)
new mode 100755
(executable)
index
63786fa
..
a08c118
--- a/
src/emuvim/api/zerorpc/compute.py
+++ b/
src/emuvim/api/zerorpc/compute.py
@@
-119,12
+119,13
@@
class MultiDatacenterApi(object):
return ex.message
@zerorpc.stream
return ex.message
@zerorpc.stream
- def compute_profile(self, dc_label, compute_name,
image,
kwargs):
+ def compute_profile(self, dc_label, compute_name, kwargs):
# note: zerorpc does not support keyword arguments
## VIM/dummy gatekeeper's tasks:
# start vnf
# note: zerorpc does not support keyword arguments
## VIM/dummy gatekeeper's tasks:
# start vnf
- vnf_status = self.compute_action_start( dc_label, compute_name, image,
+ vnf_status = self.compute_action_start( dc_label, compute_name,
+ kwargs.get('image'),
kwargs.get('network'),
kwargs.get('command'))
# start traffic source (with fixed ip addres, no use for now...)
kwargs.get('network'),
kwargs.get('command'))
# start traffic source (with fixed ip addres, no use for now...)