code: func (na *cnmNetworkAllocator) DeallocateAttachment(node *api.Node, networkAttachment *api.NetworkAttachment) error {
  
  	delete(na.nodes[node.ID], networkAttachment.Network.ID)
  	if len(na.nodes[node.ID]) == 0 {
  		delete(na.nodes, node.ID)
  	}
  
  	return na.releaseEndpoints([]*api.NetworkAttachment{networkAttachment})
  }
docs: // DeallocateAttachment deallocates the IP addresses for a LB in a network to
  // which the node is attached.