encodeAllowedIPs returns a function to encode allowed IP nested attributes.
(ipns []net.IPNet)
source not stored for this graph (policy: none)