# create the container and connect it to the given network
d = self.net.addDocker("%s" % (name), dimage=image)
self.net.addLink(d, self.switch, params1=network)
# create the container and connect it to the given network
d = self.net.addDocker("%s" % (name), dimage=image)
self.net.addLink(d, self.switch, params1=network)