Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add juniper_junos_show_chassis_cluster_interfaces #296

1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]]
hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]]
hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]]

juniper_junos_show_chassis_cluster_interfaces.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]]
juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]]
juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]]
juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Value CONTROL_LINK_STATUS (\S+)
#Value CONTROL_INTERFACES_INDEX (\d+)
#Value CONTROL_INTERFACES_INTERFACE (\S+)
#Value CONTROL_INTERFACES_STATUS (\S+)
#Value CONTROL_INTERFACES_INTERNAL_SA (\S+)
Value FABRIC_LINK_STATUS (\S+)
#Value FABRIC_INTERFACES_NAME (\S+)
#Value FABRIC_INTERFACES_CHILD_INTERFACE (\S+)
#Value FABRIC_INTERFACES_STATUS ([\S\s]*)
#Value REDUNDANT_ETHERNET_INFO_NAME (\S+)
#Value REDUNDANT_ETHERNET_INFO_STATUS (\S+)
#Value REDUNDANT_ETHERNET_INFO_REDUNDANCY_GROUP (\S+)
#Value REDUNDANT_PSEUDO_INTERFACE_INFO_NAME (\S+)
#Value REDUNDANT_PSEUDO_INTERFACE_INFO_STATUS (\S+)
#Value REDUNDANT_PSEUDO_INTERFACE_INFO_REDUNDANCY_GROUP (\S+)
#Value INTERFACE_MONITORING_INTERFACE (\S+)
#Value INTERFACE_MONITORING_WEIGHT (\d+)
#Value INTERFACE_MONITORING_STATUS (\S+)
#Value INTERFACE_MONITORING_REDUNDANCY_GROUP (\d+)

Start
#^${CONTROL_INTERFACES_INDEX}\s+${CONTROL_INTERFACES_INTERFACE}\s+${CONTROL_INTERFACES_STATUS}\s+${CONTROL_INTERFACES_INTERNAL_SA}\s*$$
^Control link status:\s+${CONTROL_LINK_STATUS}
^Fabric link status:\s+${FABRIC_LINK_STATUS}
#^${FABRIC_INTERFACES_NAME}\s+${FABRIC_INTERFACES_CHILD_INTERFACE}\s+${FABRIC_INTERFACES_STATUS}
#^${REDUNDANT_ETHERNET_INFO_NAME}\s+${REDUNDANT_ETHERNET_INFO_STATUS}\s+${REDUNDANT_ETHERNET_INFO_REDUNDANCY_GROUP}
#^${REDUNDANT_PSEUDO_INTERFACE_INFO_NAME}\s+${REDUNDANT_PSEUDO_INTERFACE_INFO_STATUS}\s+${REDUNDANT_PSEUDO_INTERFACE_INFO_REDUNDANCY_GROUP}
#^${INTERFACE_MONITORING_INTERFACE}\s+${INTERFACE_MONITORING_WEIGHT}\s+${INTERFACE_MONITORING_STATUS}\s+${INTERFACE_MONITORING_REDUNDANCY_GROUP}


Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
parsed_sample:
- control_link_status: "Down"
fabric_link_status: "Down"
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Control link status: Down

Control interfaces:
Index Interface Status Internal-SA
0 fxp1 Down Disabled

Fabric link status: Down

Fabric interfaces:
Name Child-interface Status
(Physical/Monitored)
fab0 ge-0/0/2 Down / Down
fab0

Redundant-ethernet Information:
Name Status Redundancy-group
reth0 Up 1
reth1 Up 3
reth2 Down Not configured
reth3 Down Not configured
reth4 Down Not configured

Redundant-pseudo-interface Information:
Name Status Redundancy-group
lo0 Up 0

Interface Monitoring:
Interface Weight Status Redundancy-group
ge-11/0/0 255 Down 1
ge-2/0/0 255 Up 1