search for: cluster_service

Displaying 4 results from an estimated 4 matches for "cluster_service".

Did you mean: clusters_service
2019 Sep 16
0
[PATCH 3/8] v2v: -o rhv-upload: improve lookup of specified resources (RHBZ#1612653)
...into the OVF doc. -sds_service = system_service.storage_domains_service() -sd = sds_service.list(search=("name=%s" % params['output_storage']))[0] -sd_uuid = sd.id - -ovf = ovf.replace("@SD_UUID@", sd_uuid) +# Get the cluster. +cluster = system_service.clusters_service().cluster_service(params['rhv_cluster_uuid']) +cluster = cluster.get() vms_service = system_service.vms_service() vm = vms_service.add( types.Vm( - cluster=types.Cluster(name = params['rhv_cluster']), + cluster=cluster, initialization=types.Initialization(...
2019 Sep 19
2
[PATCH] v2v: -o rhv-upload: adapt phony ovirtsdk4 module to recent changes
...stemService(object): def vms_service(self): return VmsService() +class ClusterService(object): + def get(self): + return types.Cluster() + class ClustersService(object): - def list(self, search=None, case_sensitive=False): - return ["Default"] + def cluster_service(self, id): + return ClusterService() class DataCentersService(object): def list(self, search=None, case_sensitive=False): - return [] + return [types.DataCenter()] class DiskService(object): def __init__(self, disk_id): self._disk_id = disk_id de...
2020 Jan 10
7
[v2v PATCH 0/6] Various Python pycodestyle fixes
Fixes the majority of the pycodestyle issues in the Python scripts, and fix the existing test-v2v-python-syntax.sh to use pycodestyle to actually perform style checks. Pino Toscano (6): PEP 8: adapt whitespaces in lines PEP 8: move imports at the top PEP 8: adapt empty lines tests: find all the Python scripts for syntax checks -o rhv-upload: remove unused Python imports Revamp check
2019 Sep 16
16
[PATCH 0/8] v2v: various fixed for -o rhv-upload
This patch series fixes various issues in the rhv-upload output mode: - properly find and use RHV resources - cleanup orphan disks, and possibly the current disk transfer on failure In reality, the first 4 patches deal with resources, and the other 4 with cleanups. The latter block can be theoretically sent alone -- I just happened to start working on it as part of my "let's fix