Skip to content
Snippets Groups Projects
Commit 101548c8 authored by Erik Reid's avatar Erik Reid
Browse files

use new api

parent f14f787b
Branches
Tags
No related merge requests found
......@@ -111,8 +111,8 @@ def snmp_refresh_interfaces(self, hostname, community):
@app.task(bind=InventoryTask)
def netconf_refresh_config(self, hostname):
InventoryTask.save_key(
InventoryTask.save_key_etree(
hostname,
"netconf",
netconf.load_config_str(hostname, InventoryTask.config["ssh"]))
netconf.load_config(hostname, InventoryTask.config["ssh"]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment