def net_unlock(self):
     for veth in self._veths:
         util.ifup(veth.pair)
         if veth.link and not self._bridged:
             util.bridge_add(veth.pair, veth.link)
示例#2
0
	def net_unlock(self):
		for veth in self._veths:
			util.ifup(veth.pair)
			if veth.link and not self._bridged:
				util.bridge_add(veth.pair, veth.link)