summaryrefslogtreecommitdiff
path: root/cloudinit/netinfo.py
AgeCommit message (Collapse)Author
2014-07-24pep8 fixes (2 unrelated to this mp)Scott Moser
2014-02-26netinfo.py: fix regression causing ubuntu to show 'addr:v.x.y.z'Scott Moser
after freebsd merge, ubuntu shows addr:v.x.y.z instead of v.x.y.z for the ipv4 address. This should fix that by just skipping the 'inet' (or inet6) token if the next token starts with 'addr:'. LP: #1285185
2014-01-24pylint and long line fixes.Scott Moser
This fixes up many long lines to be < 80 chars and some other pylint issues. pylint 1.1 (in trusty) is now complaining about the lazy logging, so I'll clean that up when I touch things.
2014-01-23pep8Scott Moser
2013-12-14fix: Fallback to check the interface state, specifically freebsd benefitsHarm Weites
of this.
2013-12-06new: FreeBSD module to support cloud-init on the FBSD10 platform. In itsHarm Weites
current form its still missing some modules though. Supported: -SSH-keys -growpart -growfs -adduser -powerstate
2012-06-29Readd the original prefix to the netinfo (if provided).Joshua Harlow
2012-06-16Unused import removedJoshua Harlow
2012-06-16For now just stick to using newline joining.Joshua Harlow
2012-06-15Logic test on split up line length (just incase).Joshua Harlow
Removed un-used pre debug info option, since this is not used in the prettytable case.
2012-06-11Fix copy right.Joshua Harlow
2012-06-11Use pretty table to get a parseable format out.Joshua Harlow
2012-06-11Start of cleaning this up.Joshua Harlow
2012-06-08Remove the main function from this, seems like it should also be in a test ↵Joshua Harlow
if needed.
2012-05-22remove usage of subprocess.check_outputScott Moser
in order to work on python 2.6, replace usage of check_output with util.subp.
2012-01-30netinfo.py: minor pylint complaint on unused 'devname'Scott Moser
2012-01-20in netinfo output (ci-info:), fill in empty fields with a "."Scott Moser
If you were trying to parse this output with something, an empty field would be difficult to handle, as you'd have to know the expected lengths of each field. The '.' means empty, but then all fields are non-whitespace delimited by one or more whitespace.
2012-01-18Add HP to Copyright, and Juerg Haefliger Authors.Scott Moser
This copyright change reflects previous changes that Juerg made for pylint and pep8 cleanups. From: Juerg Haefliger <juerg.haefliger@hp.com> Date: Mon, 16 Jan 2012 10:45:12 +0100
2012-01-17[PATCH] PEP8 coding style fixes.Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com> This pulls in the named patch for LP: #914739 with a few other changes.
2012-01-17[PATCH 3/4] Fix pylint conventions C0324 (comma not followed by a space)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 06/13] Fix pylint warnings W0612 (unused variable)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2012-01-12[PATCH 01/13] Fix pylint warnings W0311 (bad indentation)Scott Moser
From: Juerg Haefliger <juerg.haefliger@hp.com>
2011-10-31fix bug in netinfo.debug_info if no network devices availableScott Moser
LP: #883367
2011-08-22Add some network debug info printed to the consoleScott Moser
When 'cloud-init start' (network) runs, it will print information about the systems network info to the console. This will help in debugging instances. LP: #828186