← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:cleanup/mask2cidr into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:cleanup/mask2cidr into cloud-init:master has been updated.

Commit Message changed to:

net: normalize data in network_state object

the network_state object's network and route keys would have different
information depending upon how the network_state object was populated.

This change cleans that up.  Now,
  * address will always contain an IP address.
  * prefix will always include an integer value that is the network_prefix
    for the address.
  * netmask will be present only if the address is ipv4, and its
    value will always correlate to the 'prefix'.

    TODO: maybe this will be present also for ipv6

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324677
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:cleanup/mask2cidr into cloud-init:master.


References