'Setup the Nimble Cinder volume driver.'

def do_setup(self, context):

    self._check_config()
    try:
        self.APIExecutor = NimbleRestAPIExecutor(username=self.configuration.san_login, password=self.configuration.san_password, ip=self.configuration.san_ip, verify=self.verify)
        if (self._storage_protocol == 'iSCSI'):
            group_info = self.APIExecutor.get_group_info()
            self._enable_group_scoped_target(group_info)
    except Exception:
        LOG.error('Failed    to    create    REST    client.    Check    san_ip,    username,    password    and    make    sure    the    array    version    is    compatible')
        raise
    self._update_existing_vols_agent_type(context)
