From 8b37d44cedf2b16ba4688f71db1c7429836d1c37 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Tue, 22 Aug 2023 21:12:59 -0400 Subject: [PATCH] Update library mappings to be correct order --- development_scripts.py | 48 ++++++++++---------- docs/user/lib_mapper/ansible.md | 2 +- docs/user/lib_mapper/ansible_reverse.md | 2 +- docs/user/lib_mapper/napalm.md | 2 +- docs/user/lib_mapper/napalm_reverse.md | 2 +- docs/user/lib_mapper/ntctemplates.md | 2 +- docs/user/lib_mapper/ntctemplates_reverse.md | 2 +- docs/user/lib_mapper/pyats.md | 2 +- docs/user/lib_mapper/pyats_reverse.md | 2 +- docs/user/lib_mapper/pyntc.md | 2 +- docs/user/lib_mapper/pyntc_reverse.md | 2 +- docs/user/lib_mapper/scrapli.md | 2 +- docs/user/lib_mapper/scrapli_reverse.md | 2 +- 13 files changed, 36 insertions(+), 36 deletions(-) diff --git a/development_scripts.py b/development_scripts.py index 326633a0..1ca53dab 100644 --- a/development_scripts.py +++ b/development_scripts.py @@ -35,74 +35,74 @@ MAPPER = { "LIB_MAPPER_TEMPLATE": { "ansible": { - "header_src": "NORMALIZED", - "header_dst": "ANSIBLE", + "header_src": "ANSIBLE", + "header_dst": "NORMALIZED", "_dict": lib_mapper.ANSIBLE_LIB_MAPPER, "_file": "docs/user/lib_mapper/ansible.md", }, "ansible_reverse": { - "header_src": "ANSIBLE", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "ANSIBLE", "_dict": lib_mapper.ANSIBLE_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/ansible_reverse.md", }, "napalm": { - "header_src": "NORMALIZED", - "header_dst": "NAPALM", + "header_src": "NAPALM", + "header_dst": "NORMALIZED", "_dict": lib_mapper.NAPALM_LIB_MAPPER, "_file": "docs/user/lib_mapper/napalm.md", }, "napalm_reverse": { - "header_src": "NAPALM", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "NAPALM", "_dict": lib_mapper.NAPALM_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/napalm_reverse.md", }, "ntctemplates": { - "header_src": "NORMALIZED", - "header_dst": "NTCTEMPLATES", + "header_src": "NTCTEMPLATES", + "header_dst": "NORMALIZED", "_dict": lib_mapper.NTCTEMPLATES_LIB_MAPPER, "_file": "docs/user/lib_mapper/ntctemplates.md", }, "ntctemplates_reverse": { - "header_src": "NTCTEMPLATES", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "NTCTEMPLATES", "_dict": lib_mapper.NTCTEMPLATES_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/ntctemplates_reverse.md", }, "pyats": { - "header_src": "NORMALIZED", - "header_dst": "PYATS", + "header_src": "PYATS", + "header_dst": "NORMALIZED", "_dict": lib_mapper.PYATS_LIB_MAPPER, "_file": "docs/user/lib_mapper/pyats.md", }, "pyats_reverse": { - "header_src": "PYATS", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "PYATS", "_dict": lib_mapper.PYATS_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/pyats_reverse.md", }, "pyntc": { - "header_src": "NORMALIZED", - "header_dst": "PYNTC", + "header_src": "PYNTC", + "header_dst": "NORMALIZED", "_dict": lib_mapper.PYNTC_LIB_MAPPER, "_file": "docs/user/lib_mapper/pyntc.md", }, "pyntc_reverse": { - "header_src": "PYNTC", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "PYNTC", "_dict": lib_mapper.PYNTC_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/pyntc_reverse.md", }, "scrapli": { - "header_src": "NORMALIZED", - "header_dst": "SCRAPLI", + "header_src": "SCRAPLI", + "header_dst": "NORMALIZED", "_dict": lib_mapper.SCRAPLI_LIB_MAPPER, "_file": "docs/user/lib_mapper/scrapli.md", }, "scrapli_reverse": { - "header_src": "SCRAPLI", - "header_dst": "NORMALIZED", + "header_src": "NORMALIZED", + "header_dst": "SCRAPLI", "_dict": lib_mapper.SCRAPLI_LIB_MAPPER_REVERSE, "_file": "docs/user/lib_mapper/scrapli_reverse.md", }, diff --git a/docs/user/lib_mapper/ansible.md b/docs/user/lib_mapper/ansible.md index 716de08b..0bb17484 100644 --- a/docs/user/lib_mapper/ansible.md +++ b/docs/user/lib_mapper/ansible.md @@ -1,4 +1,4 @@ -| NORMALIZED | | ANSIBLE | +| ANSIBLE | | NORMALIZED | | ---------- | -- | ------ | | arista.eos.eos | → | arista_eos | | arubanetworks.aoscx | → | aruba_aoscx | diff --git a/docs/user/lib_mapper/ansible_reverse.md b/docs/user/lib_mapper/ansible_reverse.md index 907c0dc8..c7c9c873 100644 --- a/docs/user/lib_mapper/ansible_reverse.md +++ b/docs/user/lib_mapper/ansible_reverse.md @@ -1,4 +1,4 @@ -| ANSIBLE | | NORMALIZED | +| NORMALIZED | | ANSIBLE | | ---------- | -- | ------ | | arista_eos | → | arista.eos.eos | | aruba_aoscx | → | arubanetworks.aoscx | diff --git a/docs/user/lib_mapper/napalm.md b/docs/user/lib_mapper/napalm.md index 4216e4c0..9a352b26 100644 --- a/docs/user/lib_mapper/napalm.md +++ b/docs/user/lib_mapper/napalm.md @@ -1,4 +1,4 @@ -| NORMALIZED | | NAPALM | +| NAPALM | | NORMALIZED | | ---------- | -- | ------ | | aoscx | → | aruba_aoscx | | asa | → | cisco_asa | diff --git a/docs/user/lib_mapper/napalm_reverse.md b/docs/user/lib_mapper/napalm_reverse.md index a4b7b8b3..1a2bad98 100644 --- a/docs/user/lib_mapper/napalm_reverse.md +++ b/docs/user/lib_mapper/napalm_reverse.md @@ -1,4 +1,4 @@ -| NAPALM | | NORMALIZED | +| NORMALIZED | | NAPALM | | ---------- | -- | ------ | | arista_eos | → | eos | | aruba_aoscx | → | aoscx | diff --git a/docs/user/lib_mapper/ntctemplates.md b/docs/user/lib_mapper/ntctemplates.md index e5d2ff86..61524043 100644 --- a/docs/user/lib_mapper/ntctemplates.md +++ b/docs/user/lib_mapper/ntctemplates.md @@ -1,4 +1,4 @@ -| NORMALIZED | | NTCTEMPLATES | +| NTCTEMPLATES | | NORMALIZED | | ---------- | -- | ------ | | a10 | → | a10 | | accedian | → | accedian | diff --git a/docs/user/lib_mapper/ntctemplates_reverse.md b/docs/user/lib_mapper/ntctemplates_reverse.md index 61524043..e5d2ff86 100644 --- a/docs/user/lib_mapper/ntctemplates_reverse.md +++ b/docs/user/lib_mapper/ntctemplates_reverse.md @@ -1,4 +1,4 @@ -| NTCTEMPLATES | | NORMALIZED | +| NORMALIZED | | NTCTEMPLATES | | ---------- | -- | ------ | | a10 | → | a10 | | accedian | → | accedian | diff --git a/docs/user/lib_mapper/pyats.md b/docs/user/lib_mapper/pyats.md index b6e7886f..1ee1d38c 100644 --- a/docs/user/lib_mapper/pyats.md +++ b/docs/user/lib_mapper/pyats.md @@ -1,4 +1,4 @@ -| NORMALIZED | | PYATS | +| PYATS | | NORMALIZED | | ---------- | -- | ------ | | asa | → | cisco_asa | | bigip | → | f5_tmsh | diff --git a/docs/user/lib_mapper/pyats_reverse.md b/docs/user/lib_mapper/pyats_reverse.md index 61acbd08..d26bd04f 100644 --- a/docs/user/lib_mapper/pyats_reverse.md +++ b/docs/user/lib_mapper/pyats_reverse.md @@ -1,4 +1,4 @@ -| PYATS | | NORMALIZED | +| NORMALIZED | | PYATS | | ---------- | -- | ------ | | cisco_asa | → | asa | | cisco_dnac | → | dnac | diff --git a/docs/user/lib_mapper/pyntc.md b/docs/user/lib_mapper/pyntc.md index 5ff18d52..e6bdde4f 100644 --- a/docs/user/lib_mapper/pyntc.md +++ b/docs/user/lib_mapper/pyntc.md @@ -1,4 +1,4 @@ -| NORMALIZED | | PYNTC | +| PYNTC | | NORMALIZED | | ---------- | -- | ------ | | arista_eos_eapi | → | arista_eos | | cisco_aireos_ssh | → | cisco_wlc | diff --git a/docs/user/lib_mapper/pyntc_reverse.md b/docs/user/lib_mapper/pyntc_reverse.md index 46495200..9615063b 100644 --- a/docs/user/lib_mapper/pyntc_reverse.md +++ b/docs/user/lib_mapper/pyntc_reverse.md @@ -1,4 +1,4 @@ -| PYNTC | | NORMALIZED | +| NORMALIZED | | PYNTC | | ---------- | -- | ------ | | arista_eos | → | arista_eos_eapi | | cisco_asa | → | cisco_asa_ssh | diff --git a/docs/user/lib_mapper/scrapli.md b/docs/user/lib_mapper/scrapli.md index bf296069..d08f35a7 100644 --- a/docs/user/lib_mapper/scrapli.md +++ b/docs/user/lib_mapper/scrapli.md @@ -1,4 +1,4 @@ -| NORMALIZED | | SCRAPLI | +| SCRAPLI | | NORMALIZED | | ---------- | -- | ------ | | arista_eos | → | arista_eos | | aruba_aoscx | → | aruba_aoscx | diff --git a/docs/user/lib_mapper/scrapli_reverse.md b/docs/user/lib_mapper/scrapli_reverse.md index 8cfa8840..ffb981a7 100644 --- a/docs/user/lib_mapper/scrapli_reverse.md +++ b/docs/user/lib_mapper/scrapli_reverse.md @@ -1,4 +1,4 @@ -| SCRAPLI | | NORMALIZED | +| NORMALIZED | | SCRAPLI | | ---------- | -- | ------ | | arista_eos | → | arista_eos | | aruba_aoscx | → | aruba_aoscx |