code: func (a *Allocator) getAddrSpace(as string) (*addrSpace, error) {
  	a.Lock()
  	defer a.Unlock()
  	aSpace, ok := a.addrSpaces[as]
  	if !ok {
  		return nil, types.BadRequestErrorf("cannot find address space %s (most likely the backing datastore is not configured)", as)
  	}
  	return aSpace, nil
  }
docs: // Given the address space, returns the local or global PoolConfig based on whether the
  // address space is local or global. AddressSpace locality is registered with IPAM out of band.