mixcoatl/infrastructure/volume.py
def describe_volume(cls, volume_id, endpoint=None, **kwargs):
        """Change the DCM meta-data of a volume

        :param volume_id: The volume to modify
        :type volume_id: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :param description: Change the description
        :type description: str.
        :param name: Change the name
        :type name: str.
        :param label: Change the label. To remove the label, set to `None`
        :type label: str.
        :returns: :class:`Volume`
        :raises: :class:`VolumeException`
        """
        if kwargs is None:
            pass
        else:
            v = Volume(volume_id, endpoint=endpoint)
            v.request_details = 'basic'
            for attr in kwargs:
                setattr(v, attr, kwargs[attr])
            v.update()
            return v
Change the DCM meta-data of a volume

        :param volume_id: The volume to modify
        :type volume_id: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :param description: Change the description
        :type description: str.
        :param name: Change the name
        :type name: str.
        :param label: Change the label. To remove the label, set to `None`
        :type label: str.
        :returns: :class:`Volume`
        :raises: :class:`VolumeException`
        
Change the DCM meta-data of a volume
Change the DCM meta - data of a volume
def describe_volume(cls, volume_id, endpoint=None, **kwargs):
        if kwargs is None:
            pass
        else:
            v = Volume(volume_id, endpoint=endpoint)
            v.request_details = 'basic'
            for attr in kwargs:
                setattr(v, attr, kwargs[attr])
            v.update()
            return v
def describe_volume ( cls , volume_id , endpoint = None , ** kwargs ) : if kwargs is None : pass else : v = Volume ( volume_id , endpoint = endpoint ) v . request_details = 'basic' for attr in kwargs : setattr ( v , attr , kwargs [ attr ] ) v . update ( ) return v
Change the DCM meta-data of a volume
Change the DCM meta - data of a volume
"""Change the DCM meta-data of a volume

        :param volume_id: The volume to modify
        :type volume_id: int.
        :param endpoint: The DCM endpoint
        :type endpoint: Endpoint
        :param description: Change the description
        :type description: str.
        :param name: Change the name
        :type name: str.
        :param label: Change the label. To remove the label, set to `None`
        :type label: str.
        :returns: :class:`Volume`
        :raises: :class:`VolumeException`
        """
None
None
cls
volume_id
The volume to modify
The volume to modify
endpoint
The DCM endpoint
The DCM endpoint
description
Change the description
Change the description
name
Change the name
Change the name
label
Change the label. To remove the label, set to `None`
Change the label . To remove the label set to ` None `