X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fdcemulator%2Fnode.py;h=09dca9cb6c23672da273541222d478dac9f26f03;hb=5b37641a26aef3691b6f5ad2e3d1b768841eee8f;hp=41da62704cf2c3cb04687d6ba9396483e63da9aa;hpb=e66ef121ed968d234bf984d01ee92ecdf6b21a72;p=osm%2Fvim-emu.git diff --git a/src/emuvim/dcemulator/node.py b/src/emuvim/dcemulator/node.py index 41da627..09dca9c 100755 --- a/src/emuvim/dcemulator/node.py +++ b/src/emuvim/dcemulator/node.py @@ -169,7 +169,8 @@ class Datacenter(object): # this results in 1 default interface with a default ip address for nw in network: # TODO we cannot use TCLink here (see: https://github.com/mpeuster/dockernet/issues/3) - self.net.addLink(d, self.switch, params1=nw, cls=Link) + logging.info('nw: {0}'.format(nw)) + self.net.addLink(d, self.switch, params1=nw, cls=Link, intfName1=nw.get('id')) # do bookkeeping self.containers[name] = d return d # we might use UUIDs for naming later on