projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fixed setting kafka's advertised IP"
[osm/vim-emu.git]
/
src
/
emuvim
/
dcemulator
/
node.py
diff --git
a/src/emuvim/dcemulator/node.py
b/src/emuvim/dcemulator/node.py
index
5a9c048
..
bf4417b
100755
(executable)
--- a/
src/emuvim/dcemulator/node.py
+++ b/
src/emuvim/dcemulator/node.py
@@
-256,7
+256,7
@@
class Datacenter(object):
properties['VNF_NAME'] = name
# create the container
d = self.net.addDocker(
properties['VNF_NAME'] = name
# create the container
d = self.net.addDocker(
-
"%s" %
(name),
+
str
(name),
dimage=image,
dcmd=command,
datacenter=self,
dimage=image,
dcmd=command,
datacenter=self,
@@
-293,7
+293,6
@@
class Datacenter(object):
cls=Link, intfName1=nw.get('id'))
# do bookkeeping
self.containers[name] = d
cls=Link, intfName1=nw.get('id'))
# do bookkeeping
self.containers[name] = d
-
return d # we might use UUIDs for naming later on
def stopCompute(self, name):
return d # we might use UUIDs for naming later on
def stopCompute(self, name):