- self._home = "tun-%s" % self.guid
-
- @property
- def sock_name(self):
- return os.path.join(self.run_home, "tun.sock")
+ self._vif_prefix = "tun"
+ self._vif_type = "IFF_TUN"
+ self._vif_type_flag = LinuxTap.IFF_TUN
+ self._home = "%s-%s" % (self.vif_prefix, self.guid)