Skip to content
Snippets Groups Projects
Commit 0e8c3232 authored by Neda Moeini's avatar Neda Moeini
Browse files

Made linter happy.

parent 3f89ed8a
No related branches found
No related tags found
1 merge request!37Feature/dboard3 921
......@@ -10,7 +10,6 @@ from jnpr.junos import Device
from jnpr.junos import exception as EzErrors
from lxml import etree
import netifaces
import requests
CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
......@@ -393,6 +392,7 @@ def interface_addresses(netconf_config):
"interface name": ifc['name']
}
def local_interfaces(
type=netifaces.AF_INET,
omit_link_local=True,
......
......@@ -454,6 +454,7 @@ def check_task_status(task_id, parent=None, forget=False):
yield result
@app.task(base=InventoryTask, bind=True, name='update_entry_point')
@log_task_entry_and_exit
def update_entry_point(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment