Deepak C Shetty has posted comments on this change.
Change subject: Support for GLUSTERFS_DOMAIN
......................................................................
Patch Set 6: (2 inline comments)
....................................................
File vdsm/storage/glusterVolume.py
Line 21: VOLUME_TRANS_MAP = {'TCP': 'socket', 'RDMA': 'rdma'}
Line 22:
Line 23: # Extract the volume's transport using gluster cli
Line 24: svdsmProxy = svdsm.getProxy()
Line 25: volInfo = svdsmProxy.glusterVolumeInfo(volname)
As discussed on IRC, i will post the next patch w/o considering this.
There are packaging issues that need to be resolved which fsimonce prefered to
discuss over the next patch.
Line 26: volTrans =
VOLUME_TRANS_MAP[volInfo[volname]['transportType'][0]]
Line 27:
Line 28: # Use default port
Line 29: volPort = "0"
....................................................
File vdsm/storage/nfsSD.py
Line 121: def getVolumeClass(self):
Line 122: """
Line 123: Return a type specific volume generator object
Line 124: """
Line 125: if self.getType() == sd.GLUSTERFS_DOMAIN:
Done.
This involved creating new domain, connection classes and changes in cache
module to be able to find this domain.
Line 126: return glusterVolume.GlusterVolume
Line 127: else:
Line 128: return fileSD.FileStorageDomain.getVolumeClass(self)
Line 129:
--
To view, visit http://gerrit.ovirt.org/6856
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9ac37da88625f20d148beaf53bb6371c15b33ad7
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Deepak C Shetty <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Bala.FA <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Deepak C Shetty <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Royce Lv <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches