Commit f5c9793b authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

storage: fix naming

parent 6012fcd5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ class HVStorage(object):
        :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
        
@@ -261,7 +261,7 @@ class HVStorage(object):
        :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
        
@@ -270,7 +270,7 @@ class HVStorage(object):
        :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
        
+3 −3
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ class LibvirtHVStorage(HVStorage):
        except libvirt.libvirtError as 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
        
@@ -457,7 +457,7 @@ class LibvirtHVStorage(HVStorage):
        except libvirt.libvirtError as 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
        
@@ -470,7 +470,7 @@ class LibvirtHVStorage(HVStorage):
        except libvirt.libvirtError as 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