[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Fix naming of methods in ESX storage backends to follow public APIs



From: "Daniel P. Berrange" <berrange redhat com>

The previous update of method naming missed the ESX storage
backend files. Update them is that the driver impl methods
follow the naming of the public API but with s/vir/esx/

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 src/esx/esx_storage_backend_iscsi.c | 104 ++++++++++++++++++------------------
 src/esx/esx_storage_backend_vmfs.c  | 104 ++++++++++++++++++------------------
 2 files changed, 104 insertions(+), 104 deletions(-)

diff --git a/src/esx/esx_storage_backend_iscsi.c b/src/esx/esx_storage_backend_iscsi.c
index a22adb4..d91d7b0 100644
--- a/src/esx/esx_storage_backend_iscsi.c
+++ b/src/esx/esx_storage_backend_iscsi.c
@@ -51,7 +51,7 @@ verify(MD5_DIGEST_SIZE == VIR_UUID_BUFLEN);
 
 
 static int
-esxStorageBackendISCSINumberOfPools(virConnectPtr conn)
+esxConnectNumOfStoragePools(virConnectPtr conn)
 {
     bool success = false;
     int count = 0;
@@ -95,8 +95,8 @@ esxStorageBackendISCSINumberOfPools(virConnectPtr conn)
 
 
 static int
-esxStorageBackendISCSIListPools(virConnectPtr conn, char **const names,
-                                const int maxnames)
+esxConnectListStoragePools(virConnectPtr conn, char **const names,
+                           const int maxnames)
 {
     bool success = false;
     int count = 0;
@@ -154,8 +154,8 @@ esxStorageBackendISCSIListPools(virConnectPtr conn, char **const names,
 
 
 static virStoragePoolPtr
-esxStorageBackendISCSIPoolLookupByName(virConnectPtr conn,
-                                       const char *name)
+esxStoragePoolLookupByName(virConnectPtr conn,
+                           const char *name)
 {
     esxPrivate *priv = conn->storagePrivateData;
     esxVI_HostInternetScsiHbaStaticTarget *target = NULL;
@@ -196,8 +196,8 @@ esxStorageBackendISCSIPoolLookupByName(virConnectPtr conn,
 
 
 static virStoragePoolPtr
-esxStorageBackendISCSIPoolLookupByUUID(virConnectPtr conn,
-                                       const unsigned char *uuid)
+esxStoragePoolLookupByUUID(virConnectPtr conn,
+                           const unsigned char *uuid)
 {
     virStoragePoolPtr pool = NULL;
     esxPrivate *priv = conn->storagePrivateData;
@@ -245,8 +245,8 @@ esxStorageBackendISCSIPoolLookupByUUID(virConnectPtr conn,
 
 
 static int
-esxStorageBackendISCSIPoolRefresh(virStoragePoolPtr pool,
-                                  unsigned int flags)
+esxStoragePoolRefresh(virStoragePoolPtr pool,
+                      unsigned int flags)
 {
     int result = -1;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -280,8 +280,8 @@ esxStorageBackendISCSIPoolRefresh(virStoragePoolPtr pool,
 
 
 static int
-esxStorageBackendISCSIPoolGetInfo(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
-                                  virStoragePoolInfoPtr info)
+esxStoragePoolGetInfo(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
+                      virStoragePoolInfoPtr info)
 {
     /* These fields are not valid for iSCSI pool */
     info->allocation = info->capacity = info->available = 0;
@@ -293,7 +293,7 @@ esxStorageBackendISCSIPoolGetInfo(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
 
 
 static char *
-esxStorageBackendISCSIPoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
+esxStoragePoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
 {
     char *xml = NULL;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -358,7 +358,7 @@ esxStorageBackendISCSIPoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
 
 
 static int
-esxStorageBackendISCSIPoolNumberOfVolumes(virStoragePoolPtr pool)
+esxStoragePoolNumOfVolumes(virStoragePoolPtr pool)
 {
     int count = 0;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -384,8 +384,8 @@ esxStorageBackendISCSIPoolNumberOfVolumes(virStoragePoolPtr pool)
 
 
 static int
-esxStorageBackendISCSIPoolListVolumes(virStoragePoolPtr pool, char **const names,
-                                      int maxnames)
+esxStoragePoolListVolumes(virStoragePoolPtr pool, char **const names,
+                          int maxnames)
 {
     bool success = false;
     int count = 0;
@@ -444,8 +444,8 @@ esxStorageBackendISCSIPoolListVolumes(virStoragePoolPtr pool, char **const names
 
 
 static virStorageVolPtr
-esxStorageBackendISCSIVolumeLookupByName(virStoragePoolPtr pool,
-                                         const char *name)
+esxStorageVolLookupByName(virStoragePoolPtr pool,
+                          const char *name)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -491,7 +491,7 @@ esxStorageBackendISCSIVolumeLookupByName(virStoragePoolPtr pool,
 
 
 static virStorageVolPtr
-esxStorageBackendISCSIVolumeLookupByPath(virConnectPtr conn, const char *path)
+esxStorageVolLookupByPath(virConnectPtr conn, const char *path)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = conn->storagePrivateData;
@@ -539,7 +539,7 @@ esxStorageBackendISCSIVolumeLookupByPath(virConnectPtr conn, const char *path)
 
 
 static virStorageVolPtr
-esxStorageBackendISCSIVolumeLookupByKey(virConnectPtr conn, const char *key)
+esxStorageVolLookupByKey(virConnectPtr conn, const char *key)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = conn->storagePrivateData;
@@ -552,7 +552,7 @@ esxStorageBackendISCSIVolumeLookupByKey(virConnectPtr conn, const char *key)
 
     /* key may be LUN device path */
     if (STRPREFIX(key, "/")) {
-        return esxStorageBackendISCSIVolumeLookupByPath(conn, key);
+        return esxStorageVolLookupByPath(conn, key);
     }
 
     if (esxVI_LookupScsiLunList(priv->primary, &scsiLunList) < 0) {
@@ -594,9 +594,9 @@ esxStorageBackendISCSIVolumeLookupByKey(virConnectPtr conn, const char *key)
 
 
 static virStorageVolPtr
-esxStorageBackendISCSIVolumeCreateXML(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
-                                      const char *xmldesc ATTRIBUTE_UNUSED,
-                                      unsigned int flags)
+esxStorageVolCreateXML(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
+                       const char *xmldesc ATTRIBUTE_UNUSED,
+                       unsigned int flags)
 {
     virCheckFlags(0, NULL);
 
@@ -609,10 +609,10 @@ esxStorageBackendISCSIVolumeCreateXML(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
 
 
 static virStorageVolPtr
-esxStorageBackendISCSIVolumeCreateXMLFrom(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
-                                          const char *xmldesc ATTRIBUTE_UNUSED,
-                                          virStorageVolPtr sourceVolume ATTRIBUTE_UNUSED,
-                                          unsigned int flags)
+esxStorageVolCreateXMLFrom(virStoragePoolPtr pool ATTRIBUTE_UNUSED,
+                           const char *xmldesc ATTRIBUTE_UNUSED,
+                           virStorageVolPtr sourceVolume ATTRIBUTE_UNUSED,
+                           unsigned int flags)
 {
     virCheckFlags(0, NULL);
 
@@ -625,8 +625,8 @@ esxStorageBackendISCSIVolumeCreateXMLFrom(virStoragePoolPtr pool ATTRIBUTE_UNUSE
 
 
 static char *
-esxStorageBackendISCSIVolumeGetXMLDesc(virStorageVolPtr volume,
-                                       unsigned int flags)
+esxStorageVolGetXMLDesc(virStorageVolPtr volume,
+                        unsigned int flags)
 {
     char *xml = NULL;
     esxPrivate *priv = volume->conn->storagePrivateData;
@@ -701,8 +701,8 @@ esxStorageBackendISCSIVolumeGetXMLDesc(virStorageVolPtr volume,
 
 
 static int
-esxStorageBackendISCSIVolumeDelete(virStorageVolPtr volume ATTRIBUTE_UNUSED,
-                                   unsigned int flags)
+esxStorageVolDelete(virStorageVolPtr volume ATTRIBUTE_UNUSED,
+                    unsigned int flags)
 {
     virCheckFlags(0, -1);
 
@@ -715,8 +715,8 @@ esxStorageBackendISCSIVolumeDelete(virStorageVolPtr volume ATTRIBUTE_UNUSED,
 
 
 static int
-esxStorageBackendISCSIVolumeWipe(virStorageVolPtr volume ATTRIBUTE_UNUSED,
-                                 unsigned int flags)
+esxStorageVolWipe(virStorageVolPtr volume ATTRIBUTE_UNUSED,
+                  unsigned int flags)
 {
     virCheckFlags(0, -1);
 
@@ -730,7 +730,7 @@ esxStorageBackendISCSIVolumeWipe(virStorageVolPtr volume ATTRIBUTE_UNUSED,
 
 
 static char *
-esxStorageBackendISCSIVolumeGetPath(virStorageVolPtr volume)
+esxStorageVolGetPath(virStorageVolPtr volume)
 {
     char *path;
 
@@ -741,22 +741,22 @@ esxStorageBackendISCSIVolumeGetPath(virStorageVolPtr volume)
 
 
 virStorageDriver esxStorageBackendISCSI = {
-    .connectNumOfStoragePools = esxStorageBackendISCSINumberOfPools, /* 1.0.1 */
-    .connectListStoragePools = esxStorageBackendISCSIListPools, /* 1.0.1 */
-    .storagePoolLookupByName = esxStorageBackendISCSIPoolLookupByName, /* 1.0.1 */
-    .storagePoolLookupByUUID = esxStorageBackendISCSIPoolLookupByUUID, /* 1.0.1 */
-    .storagePoolRefresh = esxStorageBackendISCSIPoolRefresh, /* 1.0.1 */
-    .storagePoolGetInfo = esxStorageBackendISCSIPoolGetInfo, /* 1.0.1 */
-    .storagePoolGetXMLDesc = esxStorageBackendISCSIPoolGetXMLDesc, /* 1.0.1 */
-    .storagePoolNumOfVolumes = esxStorageBackendISCSIPoolNumberOfVolumes, /* 1.0.1 */
-    .storagePoolListVolumes = esxStorageBackendISCSIPoolListVolumes, /* 1.0.1 */
-    .storageVolLookupByName = esxStorageBackendISCSIVolumeLookupByName, /* 1.0.1 */
-    .storageVolLookupByPath = esxStorageBackendISCSIVolumeLookupByPath, /* 1.0.1 */
-    .storageVolLookupByKey = esxStorageBackendISCSIVolumeLookupByKey, /* 1.0.1 */
-    .storageVolCreateXML = esxStorageBackendISCSIVolumeCreateXML, /* 1.0.1 */
-    .storageVolCreateXMLFrom = esxStorageBackendISCSIVolumeCreateXMLFrom, /* 1.0.1 */
-    .storageVolGetXMLDesc = esxStorageBackendISCSIVolumeGetXMLDesc, /* 1.0.1 */
-    .storageVolDelete = esxStorageBackendISCSIVolumeDelete, /* 1.0.1 */
-    .storageVolWipe = esxStorageBackendISCSIVolumeWipe, /* 1.0.1 */
-    .storageVolGetPath = esxStorageBackendISCSIVolumeGetPath, /* 1.0.1 */
+    .connectNumOfStoragePools = esxConnectNumOfStoragePools, /* 1.0.1 */
+    .connectListStoragePools = esxConnectListStoragePools, /* 1.0.1 */
+    .storagePoolLookupByName = esxStoragePoolLookupByName, /* 1.0.1 */
+    .storagePoolLookupByUUID = esxStoragePoolLookupByUUID, /* 1.0.1 */
+    .storagePoolRefresh = esxStoragePoolRefresh, /* 1.0.1 */
+    .storagePoolGetInfo = esxStoragePoolGetInfo, /* 1.0.1 */
+    .storagePoolGetXMLDesc = esxStoragePoolGetXMLDesc, /* 1.0.1 */
+    .storagePoolNumOfVolumes = esxStoragePoolNumOfVolumes, /* 1.0.1 */
+    .storagePoolListVolumes = esxStoragePoolListVolumes, /* 1.0.1 */
+    .storageVolLookupByName = esxStorageVolLookupByName, /* 1.0.1 */
+    .storageVolLookupByPath = esxStorageVolLookupByPath, /* 1.0.1 */
+    .storageVolLookupByKey = esxStorageVolLookupByKey, /* 1.0.1 */
+    .storageVolCreateXML = esxStorageVolCreateXML, /* 1.0.1 */
+    .storageVolCreateXMLFrom = esxStorageVolCreateXMLFrom, /* 1.0.1 */
+    .storageVolGetXMLDesc = esxStorageVolGetXMLDesc, /* 1.0.1 */
+    .storageVolDelete = esxStorageVolDelete, /* 1.0.1 */
+    .storageVolWipe = esxStorageVolWipe, /* 1.0.1 */
+    .storageVolGetPath = esxStorageVolGetPath, /* 1.0.1 */
 };
diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c
index dd638ad..63974ab 100644
--- a/src/esx/esx_storage_backend_vmfs.c
+++ b/src/esx/esx_storage_backend_vmfs.c
@@ -111,7 +111,7 @@ esxLookupVMFSStoragePoolType(esxVI_Context *ctx, const char *poolName,
 
 
 static int
-esxStorageBackendVMFSNumberOfPools(virConnectPtr conn)
+esxConnectNumOfStoragePools(virConnectPtr conn)
 {
     int count = 0;
     esxPrivate *priv = conn->storagePrivateData;
@@ -135,8 +135,8 @@ esxStorageBackendVMFSNumberOfPools(virConnectPtr conn)
 
 
 static int
-esxStorageBackendVMFSListPools(virConnectPtr conn, char **const names,
-                               const int maxnames)
+esxConnectListStoragePools(virConnectPtr conn, char **const names,
+                           const int maxnames)
 {
     bool success = false;
     esxPrivate *priv = conn->storagePrivateData;
@@ -199,8 +199,8 @@ esxStorageBackendVMFSListPools(virConnectPtr conn, char **const names,
 
 
 static virStoragePoolPtr
-esxStorageBackendVMFSPoolLookupByName(virConnectPtr conn,
-                                      const char *name)
+esxStoragePoolLookupByName(virConnectPtr conn,
+                           const char *name)
 {
     esxPrivate *priv = conn->storagePrivateData;
     esxVI_ObjectContent *datastore = NULL;
@@ -252,8 +252,8 @@ esxStorageBackendVMFSPoolLookupByName(virConnectPtr conn,
 
 
 static virStoragePoolPtr
-esxStorageBackendVMFSPoolLookupByUUID(virConnectPtr conn,
-                                      const unsigned char *uuid)
+esxStoragePoolLookupByUUID(virConnectPtr conn,
+                           const unsigned char *uuid)
 {
     esxPrivate *priv = conn->storagePrivateData;
     esxVI_String *propertyNameList = NULL;
@@ -321,7 +321,7 @@ esxStorageBackendVMFSPoolLookupByUUID(virConnectPtr conn,
 
 
 static int
-esxStorageBackendVMFSPoolRefresh(virStoragePoolPtr pool, unsigned int flags)
+esxStoragePoolRefresh(virStoragePoolPtr pool, unsigned int flags)
 {
     int result = -1;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -346,8 +346,8 @@ esxStorageBackendVMFSPoolRefresh(virStoragePoolPtr pool, unsigned int flags)
 
 
 static int
-esxStorageBackendVMFSPoolGetInfo(virStoragePoolPtr pool,
-                                 virStoragePoolInfoPtr info)
+esxStoragePoolGetInfo(virStoragePoolPtr pool,
+                      virStoragePoolInfoPtr info)
 {
     int result = -1;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -407,7 +407,7 @@ esxStorageBackendVMFSPoolGetInfo(virStoragePoolPtr pool,
 
 
 static char *
-esxStorageBackendVMFSPoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
+esxStoragePoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
 {
     esxPrivate *priv = pool->conn->storagePrivateData;
     esxVI_String *propertyNameList = NULL;
@@ -527,7 +527,7 @@ esxStorageBackendVMFSPoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
 
 
 static int
-esxStorageBackendVMFSPoolNumberOfVolumes(virStoragePoolPtr pool)
+esxStoragePoolNumOfVolumes(virStoragePoolPtr pool)
 {
     bool success = false;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -561,8 +561,8 @@ esxStorageBackendVMFSPoolNumberOfVolumes(virStoragePoolPtr pool)
 
 
 static int
-esxStorageBackendVMFSPoolListVolumes(virStoragePoolPtr pool, char **const names,
-                                     int maxnames)
+esxStoragePoolListVolumes(virStoragePoolPtr pool, char **const names,
+                          int maxnames)
 {
     bool success = false;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -642,8 +642,8 @@ esxStorageBackendVMFSPoolListVolumes(virStoragePoolPtr pool, char **const names,
 
 
 static virStorageVolPtr
-esxStorageBackendVMFSVolumeLookupByName(virStoragePoolPtr pool,
-                                        const char *name)
+esxStorageVolLookupByName(virStoragePoolPtr pool,
+                          const char *name)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -673,7 +673,7 @@ esxStorageBackendVMFSVolumeLookupByName(virStoragePoolPtr pool,
 
 
 static virStorageVolPtr
-esxStorageBackendVMFSVolumeLookupByPath(virConnectPtr conn, const char *path)
+esxStorageVolLookupByPath(virConnectPtr conn, const char *path)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = conn->storagePrivateData;
@@ -705,7 +705,7 @@ esxStorageBackendVMFSVolumeLookupByPath(virConnectPtr conn, const char *path)
 
 
 static virStorageVolPtr
-esxStorageBackendVMFSVolumeLookupByKey(virConnectPtr conn, const char *key)
+esxStorageVolLookupByKey(virConnectPtr conn, const char *key)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = conn->storagePrivateData;
@@ -725,7 +725,7 @@ esxStorageBackendVMFSVolumeLookupByKey(virConnectPtr conn, const char *key)
 
     if (STRPREFIX(key, "[")) {
         /* Key is probably a datastore path */
-        return esxStorageBackendVMFSVolumeLookupByPath(conn, key);
+        return esxStorageVolLookupByPath(conn, key);
     }
 
     if (!priv->primary->hasQueryVirtualDiskUuid) {
@@ -842,9 +842,9 @@ esxStorageBackendVMFSVolumeLookupByKey(virConnectPtr conn, const char *key)
 
 
 static virStorageVolPtr
-esxStorageBackendVMFSVolumeCreateXML(virStoragePoolPtr pool,
-                                     const char *xmldesc,
-                                     unsigned int flags)
+esxStorageVolCreateXML(virStoragePoolPtr pool,
+                       const char *xmldesc,
+                       unsigned int flags)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -1071,10 +1071,10 @@ esxStorageBackendVMFSVolumeCreateXML(virStoragePoolPtr pool,
 
 
 static virStorageVolPtr
-esxStorageBackendVMFSVolumeCreateXMLFrom(virStoragePoolPtr pool,
-                                         const char *xmldesc,
-                                         virStorageVolPtr sourceVolume,
-                                         unsigned int flags)
+esxStorageVolCreateXMLFrom(virStoragePoolPtr pool,
+                           const char *xmldesc,
+                           virStorageVolPtr sourceVolume,
+                           unsigned int flags)
 {
     virStorageVolPtr volume = NULL;
     esxPrivate *priv = pool->conn->storagePrivateData;
@@ -1268,7 +1268,7 @@ esxStorageBackendVMFSVolumeCreateXMLFrom(virStoragePoolPtr pool,
 
 
 static int
-esxStorageBackendVMFSVolumeDelete(virStorageVolPtr volume, unsigned int flags)
+esxStorageVolDelete(virStorageVolPtr volume, unsigned int flags)
 {
     int result = -1;
     esxPrivate *priv = volume->conn->storagePrivateData;
@@ -1313,7 +1313,7 @@ esxStorageBackendVMFSVolumeDelete(virStorageVolPtr volume, unsigned int flags)
 
 
 static int
-esxStorageBackendVMFSVolumeWipe(virStorageVolPtr volume, unsigned int flags)
+esxStorageVolWipe(virStorageVolPtr volume, unsigned int flags)
 {
     int result = -1;
     esxPrivate *priv = volume->conn->storagePrivateData;
@@ -1358,8 +1358,8 @@ esxStorageBackendVMFSVolumeWipe(virStorageVolPtr volume, unsigned int flags)
 
 
 static int
-esxStorageBackendVMFSVolumeGetInfo(virStorageVolPtr volume,
-                                   virStorageVolInfoPtr info)
+esxStorageVolGetInfo(virStorageVolPtr volume,
+                     virStorageVolInfoPtr info)
 {
     int result = -1;
     esxPrivate *priv = volume->conn->storagePrivateData;
@@ -1405,8 +1405,8 @@ esxStorageBackendVMFSVolumeGetInfo(virStorageVolPtr volume,
 
 
 static char *
-esxStorageBackendVMFSVolumeGetXMLDesc(virStorageVolPtr volume,
-                                      unsigned int flags)
+esxStorageVolGetXMLDesc(virStorageVolPtr volume,
+                        unsigned int flags)
 {
     esxPrivate *priv = volume->conn->storagePrivateData;
     virStoragePoolDef pool;
@@ -1489,7 +1489,7 @@ esxStorageBackendVMFSVolumeGetXMLDesc(virStorageVolPtr volume,
 
 
 static char *
-esxStorageBackendVMFSVolumeGetPath(virStorageVolPtr volume)
+esxStorageVolGetPath(virStorageVolPtr volume)
 {
     char *path;
 
@@ -1504,23 +1504,23 @@ esxStorageBackendVMFSVolumeGetPath(virStorageVolPtr volume)
 
 
 virStorageDriver esxStorageBackendVMFS = {
-    .connectNumOfStoragePools = esxStorageBackendVMFSNumberOfPools, /* 0.8.2 */
-    .connectListStoragePools = esxStorageBackendVMFSListPools, /* 0.8.2 */
-    .storagePoolLookupByName = esxStorageBackendVMFSPoolLookupByName, /* 0.8.2 */
-    .storagePoolLookupByUUID = esxStorageBackendVMFSPoolLookupByUUID, /* 0.8.2 */
-    .storagePoolRefresh = esxStorageBackendVMFSPoolRefresh, /* 0.8.2 */
-    .storagePoolGetInfo = esxStorageBackendVMFSPoolGetInfo, /* 0.8.2 */
-    .storagePoolGetXMLDesc = esxStorageBackendVMFSPoolGetXMLDesc, /* 0.8.2 */
-    .storagePoolNumOfVolumes = esxStorageBackendVMFSPoolNumberOfVolumes, /* 0.8.4 */
-    .storagePoolListVolumes = esxStorageBackendVMFSPoolListVolumes, /* 0.8.4 */
-    .storageVolLookupByName = esxStorageBackendVMFSVolumeLookupByName, /* 0.8.4 */
-    .storageVolLookupByPath = esxStorageBackendVMFSVolumeLookupByPath, /* 0.8.4 */
-    .storageVolLookupByKey = esxStorageBackendVMFSVolumeLookupByKey, /* 0.8.4 */
-    .storageVolCreateXML = esxStorageBackendVMFSVolumeCreateXML, /* 0.8.4 */
-    .storageVolCreateXMLFrom = esxStorageBackendVMFSVolumeCreateXMLFrom, /* 0.8.7 */
-    .storageVolDelete = esxStorageBackendVMFSVolumeDelete, /* 0.8.7 */
-    .storageVolWipe = esxStorageBackendVMFSVolumeWipe, /* 0.8.7 */
-    .storageVolGetInfo = esxStorageBackendVMFSVolumeGetInfo, /* 0.8.4 */
-    .storageVolGetXMLDesc = esxStorageBackendVMFSVolumeGetXMLDesc, /* 0.8.4 */
-    .storageVolGetPath = esxStorageBackendVMFSVolumeGetPath, /* 0.8.4 */
+    .connectNumOfStoragePools = esxConnectNumOfStoragePools, /* 0.8.2 */
+    .connectListStoragePools = esxConnectListStoragePools, /* 0.8.2 */
+    .storagePoolLookupByName = esxStoragePoolLookupByName, /* 0.8.2 */
+    .storagePoolLookupByUUID = esxStoragePoolLookupByUUID, /* 0.8.2 */
+    .storagePoolRefresh = esxStoragePoolRefresh, /* 0.8.2 */
+    .storagePoolGetInfo = esxStoragePoolGetInfo, /* 0.8.2 */
+    .storagePoolGetXMLDesc = esxStoragePoolGetXMLDesc, /* 0.8.2 */
+    .storagePoolNumOfVolumes = esxStoragePoolNumOfVolumes, /* 0.8.4 */
+    .storagePoolListVolumes = esxStoragePoolListVolumes, /* 0.8.4 */
+    .storageVolLookupByName = esxStorageVolLookupByName, /* 0.8.4 */
+    .storageVolLookupByPath = esxStorageVolLookupByPath, /* 0.8.4 */
+    .storageVolLookupByKey = esxStorageVolLookupByKey, /* 0.8.4 */
+    .storageVolCreateXML = esxStorageVolCreateXML, /* 0.8.4 */
+    .storageVolCreateXMLFrom = esxStorageVolCreateXMLFrom, /* 0.8.7 */
+    .storageVolDelete = esxStorageVolDelete, /* 0.8.7 */
+    .storageVolWipe = esxStorageVolWipe, /* 0.8.7 */
+    .storageVolGetInfo = esxStorageVolGetInfo, /* 0.8.4 */
+    .storageVolGetXMLDesc = esxStorageVolGetXMLDesc, /* 0.8.4 */
+    .storageVolGetPath = esxStorageVolGetPath, /* 0.8.4 */
 };
-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]