Change in vdsm[master]: gluster: Fix arguments name for geo-replication status verb.

dnarayan at redhat.com dnarayan at redhat.com
Thu Mar 26 10:55:18 UTC 2015


Darshan N has uploaded a new change for review.

Change subject: gluster: Fix arguments name for geo-replication status verb.
......................................................................

gluster: Fix arguments name for geo-replication status verb.

Fixed arguments name in apiwrapper and vdsmapi-gluster-schema
for geo-replication status verb.

Change-Id: I2f2b935caae97d3f70ae002d9b66288f30a42c14
Signed-off-by: Darshan N <dnarayan at redhat.com>
---
M vdsm/gluster/apiwrapper.py
M vdsm/rpc/vdsmapi-gluster-schema.json
2 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/22/39222/1

diff --git a/vdsm/gluster/apiwrapper.py b/vdsm/gluster/apiwrapper.py
index 1a05d89..50ba40b 100644
--- a/vdsm/gluster/apiwrapper.py
+++ b/vdsm/gluster/apiwrapper.py
@@ -201,15 +201,15 @@
                                                      remoteVolumeName,
                                                      force)
 
-    def geoRepSessionStatus(self, masterVolumeName, remoteHost,
+    def geoRepSessionStatus(self, volumeName, remoteHost,
                             remoteVolumeName):
-        return self._gluster.volumeGeoRepSessionStatus(masterVolumeName,
+        return self._gluster.volumeGeoRepSessionStatus(volumeName,
                                                        remoteHost,
                                                        remoteVolumeName)
 
-    def geoRepSessionList(self, masterVolumeName=None, remoteHost=None,
+    def geoRepSessionList(self, volumeName=None, remoteHost=None,
                           remoteVolumeName=None):
-        return self._gluster.volumeGeoRepSessionList(masterVolumeName,
+        return self._gluster.volumeGeoRepSessionList(volumeName,
                                                      remoteHost,
                                                      remoteVolumeName)
 
diff --git a/vdsm/rpc/vdsmapi-gluster-schema.json b/vdsm/rpc/vdsmapi-gluster-schema.json
index 86b677c..81a0d9a 100644
--- a/vdsm/rpc/vdsmapi-gluster-schema.json
+++ b/vdsm/rpc/vdsmapi-gluster-schema.json
@@ -1498,7 +1498,7 @@
 # Since: 4.17.0
 ##
 {'command': {'class': 'GlusterVolume', 'name': 'geoRepSessionStatus'},
- 'data': {'VolumeName': 'str', 'remoteHost': 'str',
+ 'data': {'volumeName': 'str', 'remoteHost': 'str',
           'remoteVolumeName': 'str'},
  'returns': 'GlusterGeoRepSessionMap'}
 


-- 
To view, visit https://gerrit.ovirt.org/39222
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f2b935caae97d3f70ae002d9b66288f30a42c14
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan at redhat.com>


More information about the vdsm-patches mailing list