'Validate the provided params.'

def validate(self):

    super(ClusterTemplate, self).validate()
    coe = self.properties[self.COE]
    volume_driver = self.properties[self.VOLUME_DRIVER]
    value = self.SUPPORTED_VOLUME_DRIVER[coe]
    if ((volume_driver is not None) and (volume_driver not in value)):
        msg = (_('Volume    driver    type    %(driver)s    is    not    supported    by    COE:%(coe)s,    expecting    a    %(supported_volume_driver)s    volume    driver.') % {'driver': volume_driver, 'coe': coe, 'supported_volume_driver': value})
        raise exception.StackValidationFailed(message=msg)
