summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-12-01 12:32:46 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-12-01 12:32:46 -0800
commit9c2933d9cad323b786adc8338f045cb71cd258da (patch)
tree59e3284b31e92435edabc0251bf5db485413c60b /cloudinit/util.py
parent26af82a55325c460fdeb7eb6dceef7d433671e47 (diff)
parent07c2684be477cdc6341646469d4ae365b52a0c1e (diff)
downloadvyos-cloud-init-9c2933d9cad323b786adc8338f045cb71cd258da.tar.gz
vyos-cloud-init-9c2933d9cad323b786adc8338f045cb71cd258da.zip
Cleanups for netinfo.py
- Handle ipv6 route information not existing gracefully (for systems that don't have it) - Fix the getgateway function (broken due to ipv4/ipv6 keys now existing in route info) - Separate the centering of the route info ipv4 information from the centering of the ipv6 information so that this looks prettier... - Use try: except: else instead of settings value to None and then later checking for None (more pythonic this way)
Diffstat (limited to 'cloudinit/util.py')
0 files changed, 0 insertions, 0 deletions