Skip to content
Snippets Groups Projects
Commit f5c9793b authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

storage: fix naming

parent 6012fcd5
No related branches found
No related tags found
No related merge requests found
...@@ -252,7 +252,7 @@ class HVStorage(object): ...@@ -252,7 +252,7 @@ class HVStorage(object):
:type pool: libvirt.`virStoragePool` :type pool: libvirt.`virStoragePool`
''' '''
def get_pool_total_space(self, pool): def get_pool_space_total(self, pool):
''' '''
Returns the storage capacity of this pool in bytes Returns the storage capacity of this pool in bytes
...@@ -261,7 +261,7 @@ class HVStorage(object): ...@@ -261,7 +261,7 @@ class HVStorage(object):
:return: :class:`int` of capacity in bytes :return: :class:`int` of capacity in bytes
''' '''
def get_pool_available_space(self, pool): def get_pool_space_available(self, pool):
''' '''
Returns available space of this storage pool in bytes Returns available space of this storage pool in bytes
...@@ -270,7 +270,7 @@ class HVStorage(object): ...@@ -270,7 +270,7 @@ class HVStorage(object):
:return: :class:`int` of available free space in bytes :return: :class:`int` of available free space in bytes
''' '''
def get_pool_used_space(self, pool): def get_pool_space_used(self, pool):
''' '''
Returns current storage pool usage in bytes Returns current storage pool usage in bytes
......
...@@ -444,7 +444,7 @@ class LibvirtHVStorage(HVStorage): ...@@ -444,7 +444,7 @@ class LibvirtHVStorage(HVStorage):
except libvirt.libvirtError as e: except libvirt.libvirtError as e:
raise StorageError("Can't get pool state (%s)" % e) raise StorageError("Can't get pool state (%s)" % e)
def get_pool_total_space(self, pool): def get_pool_space_total(self, pool):
''' '''
Returns the storage capacity of this pool in bytes Returns the storage capacity of this pool in bytes
...@@ -457,7 +457,7 @@ class LibvirtHVStorage(HVStorage): ...@@ -457,7 +457,7 @@ class LibvirtHVStorage(HVStorage):
except libvirt.libvirtError as e: except libvirt.libvirtError as e:
raise StorageError("Can't get pool informations (%s)" % e) raise StorageError("Can't get pool informations (%s)" % e)
def get_pool_available_space(self, pool): def get_pool_space_available(self, pool):
''' '''
Returns available space of this storage pool in bytes Returns available space of this storage pool in bytes
...@@ -470,7 +470,7 @@ class LibvirtHVStorage(HVStorage): ...@@ -470,7 +470,7 @@ class LibvirtHVStorage(HVStorage):
except libvirt.libvirtError as e: except libvirt.libvirtError as e:
raise StorageError("Can't get pool informations (%s)" % e) raise StorageError("Can't get pool informations (%s)" % e)
def get_pool_used_space(self, pool): def get_pool_space_used(self, pool):
''' '''
Returns current storage pool usage in bytes Returns current storage pool usage in bytes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment