It is called with whatever the config source provided. It may be called with cidr, it could be an ipv6 netmask, or an ipv4 netmask.
Always return cidr. I guess it would be better named any2cidr() -- https://code.launchpad.net/~akaris/cloud-init/+git/cloud-init/+merge/322992 Your team cloud init development team is requested to review the proposed merge of ~akaris/cloud-init:bug1684349 into cloud-init:master. _______________________________________________ Mailing list: https://launchpad.net/~cloud-init-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~cloud-init-dev More help : https://help.launchpad.net/ListHelp

