Hello Piotr Kliczewski, Francesco Romani, Andrej Krejcir,
I'd like you to do a code review. Please visit
https://gerrit.ovirt.org/63479
to review the following change.
Change subject: Add all MOM calls to jsonrpc client
......................................................................
Add all MOM calls to jsonrpc client
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1373832
Change-Id: I98839db856b0b450c5b09975a08c60b542f18b6a
Signed-off-by: Martin Sivak <msivak(a)redhat.com>
Reviewed-on:
https://gerrit.ovirt.org/60492
Reviewed-by: Francesco Romani <fromani(a)redhat.com>
Tested-by: Andrej Krejcir <akrejcir(a)redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
---
M lib/vdsm/jsonrpcvdscli.py
M lib/vdsm/rpc/Bridge.py
2 files changed, 9 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/79/63479/1
diff --git a/lib/vdsm/jsonrpcvdscli.py b/lib/vdsm/jsonrpcvdscli.py
index caffb9a..1854869 100644
--- a/lib/vdsm/jsonrpcvdscli.py
+++ b/lib/vdsm/jsonrpcvdscli.py
@@ -60,6 +60,8 @@
'getConnectedStoragePoolsList': 'Host.getConnectedStoragePools',
'getDeviceList': 'Host.getDeviceList',
'getImagesList': 'StorageDomain.getImages',
+ 'getIoTunePolicy': 'VM.getIoTunePolicy',
+ 'getIoTune': 'VM.getIoTune',
'getSpmStatus': 'StoragePool.getSpmStatus',
'getStorageDomainInfo': 'StorageDomain.getInfo',
'getStorageDomainsList': 'Host.getStorageDomains',
@@ -93,10 +95,12 @@
'setBalloonTarget': 'VM.setBalloonTarget',
'setCpuTunePeriod': 'VM.setCpuTunePeriod',
'setCpuTuneQuota': 'VM.setCpuTuneQuota',
+ 'setKsmTune': 'Host.setKsmTune',
'setMOMPolicy': 'Host.setMOMPolicy',
'setSafeNetworkConfig': 'Host.setSafeNetworkConfig',
'setupNetworks': 'Host.setupNetworks',
'setVmTicket': 'VM.setTicket',
+ 'setIoTune': 'VM.setIoTune',
'setVolumeDescription': 'Volume.setDescription',
'shutdown': 'VM.shutdown',
'spmStart': 'StoragePool.spmStart',
diff --git a/lib/vdsm/rpc/Bridge.py b/lib/vdsm/rpc/Bridge.py
index 273bd2e..192de42 100644
--- a/lib/vdsm/rpc/Bridge.py
+++ b/lib/vdsm/rpc/Bridge.py
@@ -349,7 +349,7 @@
'Host_getVMFullList': {'call': Host_getVMFullList_Call,
'ret': 'vmList'},
'Host_getAllVmStats': {'ret': 'statsList'},
'Host_setupNetworks': {'ret': 'status'},
- 'Host_setKsmTune': {'ret': 'taskStatus'},
+ 'Host_setKsmTune': {'ret': 'status'},
'Image_cloneStructure': {'ret': 'uuid'},
'Image_delete': {'ret': 'uuid'},
'Image_deleteVolumes': {'ret': 'uuid'},
@@ -402,11 +402,12 @@
'VM_migrationCreate': {'ret': VM_migrationCreate_Ret},
'VM_getMigrationStatus': {'ret': 'migrationStats'},
'VM_pause': {'ret': VM_running_state_change_Ret},
- 'VM_setCpuTunePeriod': {'ret': 'taskStatus'},
- 'VM_setCpuTuneQuota': {'ret': 'taskStatus'},
+ 'VM_setCpuTunePeriod': {'ret': 'status'},
+ 'VM_setCpuTuneQuota': {'ret': 'status'},
'VM_hotplugMemory': {'ret': 'vmList'},
'VM_setNumberOfCpus': {'ret': 'vmList'},
- 'VM_setIoTune': {'ret': 'taskStatus'},
+ 'VM_setIoTune': {'ret': 'status'},
+ 'VM_setBalloonTarget': {'ret': 'status'},
'VM_updateDevice': {'ret': 'vmList'},
'Volume_copy': {'ret': 'uuid'},
'Volume_create': {'ret': 'uuid'},
--
To view, visit
https://gerrit.ovirt.org/63479
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I98839db856b0b450c5b09975a08c60b542f18b6a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-4.0
Gerrit-Owner: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>