code: func (d *driver) restoreNetworkFromStore(nid string) *network {
  	n := d.getNetworkFromStore(nid)
  	if n != nil {
  		n.driver = d
  		n.endpoints = endpointTable{}
  		d.networks[nid] = n
  	}
  	return n
  }
docs: // Restore a network from the store to the driver if it is present.
  // Must be called with the driver locked!