Esempio n. 1
0
	def get_fs_receiver(self, fs_sk=None):
		# Grab default private path from global config
		with open(vz_global_conf) as ifd:
			global_config = parse_vz_config(ifd.read())
		default_private = expand_veid_var(global_config["VE_PRIVATE"],
			self._ctid)
		# Create receiver
		fname_path = os.path.join(default_private, "root.hdd", "root.hds")
		return fs_haul_ploop.p_haul_fs_receiver(fname_path, fs_sk)
Esempio n. 2
0
 def get_fs_receiver(self, fs_sk=None):
     # Grab default private path from global config
     with open(vz_global_conf) as ifd:
         global_config = parse_vz_config(ifd.read())
     default_private = expand_veid_var(global_config["VE_PRIVATE"],
                                       self._ctid)
     # Create receiver
     fname_path = os.path.join(default_private, "root.hdd", "root.hds")
     return fs_haul_ploop.p_haul_fs_receiver(fname_path, fs_sk)
Esempio n. 3
0
	def get_fs_receiver(self, fdfs=None):
		deltas = self.__parse_fdfs_arg(fdfs)
		return fs_haul_ploop.p_haul_fs_receiver(deltas)
Esempio n. 4
0
	def get_fs_receiver(self, fdfs=None):
		deltas = self.__parse_fdfs_arg(fdfs)
		return fs_haul_ploop.p_haul_fs_receiver(deltas)