'Update a volume\'s QOS profile
Changes the volume setting to use a different QOS Profile.
:param scvolume: The Storage Center volume to be updated.
:param qosprofile: The requested QOS profile name.
:param grouptype: Is this a group QOS profile?
:returns: True if successful, False otherwise.'

def update_qos_profile(self, scvolume, qosprofile, grouptype=False):

    profiletype = ('groupQosProfile' if grouptype else 'volumeQosProfile')
    profile = self._find_qos_profile(qosprofile, grouptype)
    return self._update_profile(scvolume, profile, qosprofile, 'Qos    Profile', profiletype, 'allowQosProfileSelection', grouptype)
