Skip to content

Commit 828e3eb

Browse files
authored
Add JunOS and Vyatta to HierConfig mappers (#490)
* feat: ✨ Add JunOS and Vyatta to HierConfig mappers
1 parent 61de1b6 commit 828e3eb

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

docs/user/lib_mapper/hierconfig.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
| ios || cisco_ios |
66
| iosxe || cisco_xe |
77
| iosxr || cisco_xr |
8-
| nxos || cisco_nxos |
8+
| junos || juniper_junos |
9+
| nxos || cisco_nxos |
10+
| vyos || brocade_vyos |
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
| NORMALIZED | | HIERCONFIG |
22
| ---------- | -- | ------ |
33
| arista_eos || eos |
4+
| brocade_vyos || vyos |
45
| cisco_ios || ios |
56
| cisco_nxos || nxos |
67
| cisco_xe || iosxe |
78
| cisco_xr || iosxr |
9+
| juniper_junos || junos |
810
| ruckus_fastiron || fastiron |

netutils/lib_mapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,9 @@
354354
"ios": "cisco_ios",
355355
"iosxe": "cisco_xe",
356356
"iosxr": "cisco_xr",
357+
"junos": "juniper_junos",
357358
"nxos": "cisco_nxos",
359+
"vyos": "brocade_vyos",
358360
}
359361

360362
# Netutils Parser | Normalized
@@ -497,10 +499,12 @@
497499
# Normalized | HIERCONFIG
498500
HIERCONFIG_LIB_MAPPER_REVERSE = {
499501
"arista_eos": "eos",
502+
"brocade_vyos": "vyos",
500503
"cisco_ios": "ios",
501504
"cisco_nxos": "nxos",
502505
"cisco_xe": "iosxe",
503506
"cisco_xr": "iosxr",
507+
"juniper_junos": "junos",
504508
"ruckus_fastiron": "fastiron",
505509
}
506510

0 commit comments

Comments
 (0)