oB]c@s#ddlmZmZdZdS(i(tnet_prefix_to_ipv4_masktmask_and_ipv4_to_bcast_addrcCsg}xs|jD]e}|j}| s|jdrAqn|jdd}t|dkrkqn|j|qWg}i}xS|D]K\}}|dkr|r|j|i}n|||}|| kr| |jj }|r|||/usr/lib/python2.7/site-packages/cloudinit/distros/net_util.pyttranslate_networkJs                      %    N(tcloudinit.net.network_stateRRR7(((s>/usr/lib/python2.7/site-packages/cloudinit/distros/net_util.pytFs