summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Clausen <jac@nordu.net>2018-08-28 15:36:34 +0200
committerJon Clausen <jac@nordu.net>2018-08-28 15:36:34 +0200
commit828ca202f73d2eb6aeb21ba118a0b79eb2ccdd9d (patch)
tree9d5aae594d093ae8debdce6dc63c30372d471e74
parent028a7391392688b1c7c767056f4dc967e174aad8 (diff)
add 'JNP204' as recognized model
-rwxr-xr-xcode/vlanscrape3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/vlanscrape b/code/vlanscrape
index 56b8b0a..0f4adce 100755
--- a/code/vlanscrape
+++ b/code/vlanscrape
@@ -207,6 +207,9 @@ def is_juniper(hostName):
elif "MX" in model:
vlanList=look_in_juniper_interfaces(hostName, hostConfig)
check_out_vs_dst(hostName, vlanList)
+ elif "JNP204" in model:
+ vlanList=look_in_juniper_interfaces(hostName, hostConfig)
+ check_out_vs_dst(hostName, vlanList)
elif "SRX" in model:
vlanListInterfaces=look_in_juniper_interfaces(hostName, hostConfig)
vlanListVlanSection=look_in_juniper_vlans_section(hostName, hostConfig)