summaryrefslogtreecommitdiff
path: root/cloudinit/netinfo.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-11 17:16:07 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-11 17:16:07 -0700
commit6a80e79a485aec3dcf1072be411441b415302038 (patch)
tree12ef4268966b9b2674e69b40ddf173fb68ee9329 /cloudinit/netinfo.py
parentebe5943575771be771657bdbc82a7e36669ff9a1 (diff)
downloadvyos-cloud-init-6a80e79a485aec3dcf1072be411441b415302038.tar.gz
vyos-cloud-init-6a80e79a485aec3dcf1072be411441b415302038.zip
Start of cleaning this up.
Diffstat (limited to 'cloudinit/netinfo.py')
-rw-r--r--cloudinit/netinfo.py5
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"])