'Validate provided params.'

def validate(self):

    res = super(CinderVolume, self).validate()
    if (res is not None):
        return res
    image = self.properties.get(self.IMAGE)
    imageRef = self.properties.get(self.IMAGE_REF)
    if (image and imageRef):
        raise exception.ResourcePropertyConflict(self.IMAGE, self.IMAGE_REF)
    if (not self.properties.get(self.BACKUP_ID)):
        self._validate_create_sources()
