Skip to content

Commit

Permalink
remove netutils for nokia_srl add scrapli and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkala committed Nov 1, 2024
1 parent e3f6789 commit c5f28fe
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/user/lib_mapper/netutilsparser.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
| mikrotik_routeros || mikrotik_routeros |
| mrv_optiswitch || mrv_optiswitch |
| netscaler || netscaler |
| nokia_srl || nokia_srl |
| nokia_sros || nokia_sros |
| paloalto_panos || paloalto_panos |
| ruckus_fastiron || ruckus_fastiron |
Expand Down
1 change: 0 additions & 1 deletion docs/user/lib_mapper/netutilsparser_reverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
| mikrotik_routeros || mikrotik_routeros |
| mrv_optiswitch || mrv_optiswitch |
| netscaler || netscaler |
| nokia_srl || nokia_srl |
| nokia_sros || nokia_sros |
| paloalto_panos || paloalto_panos |
| ruckus_fastiron || ruckus_fastiron |
Expand Down
3 changes: 2 additions & 1 deletion docs/user/lib_mapper/scrapli.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
| cisco_iosxe || cisco_ios |
| cisco_iosxr || cisco_xr |
| cisco_nxos || cisco_nxos |
| juniper_junos || juniper_junos |
| juniper_junos || juniper_junos |
| nokia_srlinux || nokia_srl |
3 changes: 2 additions & 1 deletion docs/user/lib_mapper/scrapli_reverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
| cisco_nxos || cisco_nxos |
| cisco_xe || cisco_iosxe |
| cisco_xr || cisco_iosxr |
| juniper_junos || juniper_junos |
| juniper_junos || juniper_junos |
| nokia_srl || nokia_srlinux |
12 changes: 6 additions & 6 deletions netutils/lib_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@
"netapp_cdot": "netapp_cdot",
"netgear_prosafe": "netgear_prosafe",
"netscaler": "netscaler",
"nokia_sros": "nokia_sros",
"nokia_srl": "nokia_srl",
"nokia_sros": "nokia_sros",
"oneaccess_oneos": "oneaccess_oneos",
"ovs_linux": "ovs_linux",
"paloalto_panos": "paloalto_panos",
Expand Down Expand Up @@ -294,8 +294,8 @@
"nxos_ssh": "cisco_nxos", # no reverse
"panos": "paloalto_panos",
"ros": "mikrotik_routeros",
"sros": "nokia_sros",
"srl": "nokia_srl",
"sros": "nokia_sros",
"vyos": "vyos",
}

Expand Down Expand Up @@ -369,6 +369,7 @@
"cisco_iosxr": "cisco_xr",
"cisco_nxos": "cisco_nxos",
"juniper_junos": "juniper_junos",
"nokia_srlinux": "nokia_srl",
}

# HIERCONFIG | Normalized
Expand Down Expand Up @@ -403,7 +404,6 @@
"mrv_optiswitch": "mrv_optiswitch",
"netscaler": "netscaler",
"nokia_sros": "nokia_sros",
"nokia_srl": "nokia_srl",
"paloalto_panos": "paloalto_panos",
"ruckus_fastiron": "ruckus_fastiron",
"ubiquiti_airos": "ubiquiti_airos",
Expand Down Expand Up @@ -455,8 +455,8 @@
"huawei": "huawei_vrp",
"juniper_junos": "junos",
"mikrotik_routeros": "ros",
"nokia_sros": "sros",
"nokia_srl": "srl",
"nokia_sros": "sros",
"paloalto_panos": "panos",
"vyos": "vyos",
}
Expand Down Expand Up @@ -501,8 +501,8 @@
"lenovo_cnos": "community.network.cnos",
"lenovo_enos": "community.network.enos",
"mikrotik_routeros": "community.network.routeros",
"nokia_sros": "community.network.sros",
"nokia_srl": "nokia.srl",
"nokia_sros": "community.network.sros",
"paloalto_panos": "paloaltonetworks.panos.panos",
"pluribus": "community.network.netvisor",
"ruckus_icx": "community.network.icx",
Expand Down Expand Up @@ -534,6 +534,7 @@
"cisco_xe": "cisco_iosxe",
"cisco_xr": "cisco_iosxr",
"juniper_junos": "juniper_junos",
"nokia_srl": "nokia_srlinux",
}

# Normalized | HIERCONFIG
Expand Down Expand Up @@ -569,7 +570,6 @@
"mrv_optiswitch": "mrv_optiswitch",
"netscaler": "netscaler",
"nokia_sros": "nokia_sros",
"nokia_srl": "nokia_srl",
"paloalto_panos": "paloalto_panos",
"ruckus_fastiron": "ruckus_fastiron",
"ubiquiti_airos": "ubiquiti_airos",
Expand Down

0 comments on commit c5f28fe

Please sign in to comment.