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

renamed pyez modules to netconf

parent ca6d8efd
Branches
Tags
No related merge requests found
File moved
import os
from inventory_provider import pyez_test
from inventory_provider import netconf
from lxml import etree
TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
......@@ -32,5 +32,5 @@ def test_nr1(mocker, data_config):
import json
for r in data_config['routers']:
print(r['hostname'])
x = pyez_test.load_interfaces(r['hostname'], data_config['ssh'])
x = netconf.load_interfaces(r['hostname'], data_config['ssh'])
print(json.dumps(list(x), indent=4))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment