summaryrefslogtreecommitdiff
path: root/cloudinit/net/eni.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2016-06-15 16:15:28 -0700
committerJoshua Harlow <harlowja@gmail.com>2016-06-15 16:15:28 -0700
commita454a6408b3c7ecc816073049d060632191099bb (patch)
tree87e3a05675a8951bb52838cfe530a70994863c69 /cloudinit/net/eni.py
parent459de83024b41c32823b75cf483da994fb1388b7 (diff)
downloadvyos-cloud-init-a454a6408b3c7ecc816073049d060632191099bb.tar.gz
vyos-cloud-init-a454a6408b3c7ecc816073049d060632191099bb.zip
Fix line length issues
Diffstat (limited to 'cloudinit/net/eni.py')
-rw-r--r--cloudinit/net/eni.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py
index 352f7dd5..c8adb1ae 100644
--- a/cloudinit/net/eni.py
+++ b/cloudinit/net/eni.py
@@ -308,19 +308,6 @@ class Renderer(renderer.Renderer):
self.netrules_path = config.get(
'netrules_path', 'etc/udev/rules.d/70-persistent-net.rules')
- def _render_persistent_net(self, network_state):
- """Given state, emit udev rules to map mac to ifname."""
- content = ""
- interfaces = network_state.get('interfaces')
- for iface in interfaces.values():
- # for physical interfaces write out a persist net udev rule
- if iface['type'] == 'physical' and \
- 'name' in iface and iface.get('mac_address'):
- content += generate_udev_rule(iface['name'],
- iface['mac_address'])
-
- return content
-
def _render_route(self, route, indent=""):
"""When rendering routes for an iface, in some cases applying a route
may result in the route command returning non-zero which produces