code: func (na *cnmNetworkAllocator) AllocateAttachment(node *api.Node, networkAttachment *api.NetworkAttachment) error {
  
  	if err := na.allocateNetworkIPs(networkAttachment); err != nil {
  		return err
  	}
  
  	if na.nodes[node.ID] == nil {
  		na.nodes[node.ID] = make(map[string]struct{})
  	}
  	na.nodes[node.ID][networkAttachment.Network.ID] = struct{}{}
  
  	return nil
  }
docs: // AllocateAttachment allocates the IP addresses for a LB in a network
  // on a given node