code: func getNetworks(p *pkgPod.Pod) []*v1alpha.Network {
  	var networks []*v1alpha.Network
  	for _, n := range p.Nets {
  		networks = append(networks, &v1alpha.Network{
  			Name: n.NetName,
  			// There will be IPv6 support soon so distinguish between v4 and v6
  			Ipv4: n.IP.String(),
  		})
  	}
  	return networks
  }
docs: // getNetworks returns the list of the info of the network that the pod belongs to.