Skip to content

Commit

Permalink
Update library mappings to be correct order (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
itdependsnetworks authored Aug 24, 2023
1 parent 227d2a2 commit 565e2ba
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 36 deletions.
48 changes: 24 additions & 24 deletions development_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/ansible.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | ANSIBLE |
| ANSIBLE | | NORMALIZED |
| ---------- | -- | ------ |
| arista.eos.eos || arista_eos |
| arubanetworks.aoscx || aruba_aoscx |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/ansible_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| ANSIBLE | | NORMALIZED |
| NORMALIZED | | ANSIBLE |
| ---------- | -- | ------ |
| arista_eos || arista.eos.eos |
| aruba_aoscx || arubanetworks.aoscx |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/napalm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | NAPALM |
| NAPALM | | NORMALIZED |
| ---------- | -- | ------ |
| aoscx || aruba_aoscx |
| asa || cisco_asa |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/napalm_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NAPALM | | NORMALIZED |
| NORMALIZED | | NAPALM |
| ---------- | -- | ------ |
| arista_eos || eos |
| aruba_aoscx || aoscx |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/ntctemplates.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | NTCTEMPLATES |
| NTCTEMPLATES | | NORMALIZED |
| ---------- | -- | ------ |
| a10 || a10 |
| accedian || accedian |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/ntctemplates_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NTCTEMPLATES | | NORMALIZED |
| NORMALIZED | | NTCTEMPLATES |
| ---------- | -- | ------ |
| a10 || a10 |
| accedian || accedian |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/pyats.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | PYATS |
| PYATS | | NORMALIZED |
| ---------- | -- | ------ |
| asa || cisco_asa |
| bigip || f5_tmsh |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/pyats_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| PYATS | | NORMALIZED |
| NORMALIZED | | PYATS |
| ---------- | -- | ------ |
| cisco_asa || asa |
| cisco_dnac || dnac |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/pyntc.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | PYNTC |
| PYNTC | | NORMALIZED |
| ---------- | -- | ------ |
| arista_eos_eapi || arista_eos |
| cisco_aireos_ssh || cisco_wlc |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/pyntc_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| PYNTC | | NORMALIZED |
| NORMALIZED | | PYNTC |
| ---------- | -- | ------ |
| arista_eos || arista_eos_eapi |
| cisco_asa || cisco_asa_ssh |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/scrapli.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| NORMALIZED | | SCRAPLI |
| SCRAPLI | | NORMALIZED |
| ---------- | -- | ------ |
| arista_eos || arista_eos |
| aruba_aoscx || aruba_aoscx |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/lib_mapper/scrapli_reverse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| SCRAPLI | | NORMALIZED |
| NORMALIZED | | SCRAPLI |
| ---------- | -- | ------ |
| arista_eos || arista_eos |
| aruba_aoscx || aruba_aoscx |
Expand Down

0 comments on commit 565e2ba

Please sign in to comment.