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

fixed incorrect keys

parent d3778ea4
No related branches found
No related tags found
No related merge requests found
...@@ -243,12 +243,12 @@ def main( ...@@ -243,12 +243,12 @@ def main(
for _h in juniper_fqdns: for _h in juniper_fqdns:
_doc = juniper.get_interface_info_ncrpc( _doc = juniper.get_interface_info_ncrpc(
router_name=_h, router_name=_h,
ssh_config=app_config_params['ssh-config']) ssh_params=app_config_params['juniper'])
print(etree.tostring(_doc, pretty_print=True).decode('utf-8')) print(etree.tostring(_doc, pretty_print=True).decode('utf-8'))
for _h in nokia_fqdns: for _h in nokia_fqdns:
_doc = nokia.get_interface_info_ncrpc( _doc = nokia.get_interface_info_ncrpc(
router_name=_h, router_name=_h,
ssh_config=app_config_params['ssh-config']) ssh_params=app_config_params['nokia'])
print(etree.tostring(_doc, pretty_print=True).decode('utf-8')) print(etree.tostring(_doc, pretty_print=True).decode('utf-8'))
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment