'Ensure that the flags we care about are set.'

def _check_config(self):

    required_config = ['san_ip', 'san_login', 'san_password']
    for attr in required_config:
        if (not getattr(self.configuration, attr, None)):
            raise exception.InvalidInput(reason=(_('%s    is    not    set.') % attr))
