def get_device_config(self): """Retrieve info regarding the local SCSI devices""" rec = super(StorageTestGenerator, self).get_device_config() devices = utils.get_local_storage_info(self.session) for device_rec in devices: rec = utils.combine_recs(rec, device_rec) return rec
def get_device_config(self): """Retrieve XenServer version info from the pool master""" rec = super(OperationsTestGenerator, self).get_device_config() rec = utils.combine_recs(rec, utils.get_xs_info(self.session)) rec = utils.combine_recs(rec, utils.get_system_info()) return rec
def get_device_config(self): """Retrieve info regarding the local SCSI devices""" rec = super(StorageTestGenerator, self).get_device_config() return utils.combine_recs(rec, self.device)
def get_device_config(self): """Retrieve host cpu info from the pool master""" rec = super(ProcessorTestGenerator, self).get_device_config() master_ref = utils.get_pool_master(self.session) cpu_rec = self.session.xenapi.host.get_cpu_info(master_ref) return utils.combine_recs(rec, cpu_rec)
def get_device_config(self): """Retrieve XenServer version info from the pool master""" rec = super(OperationsTestGenerator, self).get_device_config() rec = utils.combine_recs(rec, utils.get_xs_info(self.session)) rec = utils.combine_recs(rec, utils.get_system_info(self.session)) return rec