diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-11 17:16:07 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-11 17:16:07 -0700 |
commit | 6a80e79a485aec3dcf1072be411441b415302038 (patch) | |
tree | 12ef4268966b9b2674e69b40ddf173fb68ee9329 | |
parent | ebe5943575771be771657bdbc82a7e36669ff9a1 (diff) | |
download | vyos-cloud-init-6a80e79a485aec3dcf1072be411441b415302038.tar.gz vyos-cloud-init-6a80e79a485aec3dcf1072be411441b415302038.zip |
Start of cleaning this up.
-rw-r--r-- | cloudinit/netinfo.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cloudinit/netinfo.py b/cloudinit/netinfo.py index 1f0fa571..541d2911 100644 --- a/cloudinit/netinfo.py +++ b/cloudinit/netinfo.py @@ -22,6 +22,11 @@ import cloudinit.util as util +class NetInfo(object): + def __init__(self): + pass + + def netdev_info(empty=""): fields = ("hwaddr", "addr", "bcast", "mask") (ifcfg_out, _err) = util.subp(["ifconfig", "-a"]) |