IPv4 and IPv6 validation for addresses and networks
Better validation for IP addresses / IP networks
Unfortunately it's not completely useful because validation happens on the YAML input. It would make more sense to apply it on the JSON output, because we generate many fields (especially for IPv6 on nodes).
See https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=12836 for discussion