diff --git a/templates/index b/templates/index index 41cd05c310..88df16baaa 100644 --- a/templates/index +++ b/templates/index @@ -255,6 +255,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_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] diff --git a/templates/juniper_junos_show_chassis_cluster_interfaces.template b/templates/juniper_junos_show_chassis_cluster_interfaces.template new file mode 100644 index 0000000000..3ff9d1e237 --- /dev/null +++ b/templates/juniper_junos_show_chassis_cluster_interfaces.template @@ -0,0 +1,90 @@ +Value Filldown CONTROL_LINK_STATUS (\S+) +Value Filldown FABRIC_LINK_STATUS (\S+) +Value Filldown LINK_TYPE (\S+) +Value INDEX (\d+) +Value INTERFACE (\S+) +Value STATUS ((\S+\s*\/\s*\S+|\S+)) +Value SECURITY (\S+) +Value CHILD_INTERFACE (\S+) +Value REDUNDANCY_GROUP (\d+|[Nn]ot\s+[Cc]onfigured) +Value WEIGHT (\d+) + + +Start + ^[Cc]ontrol\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ -> Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^[Ii]nterface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^. -> Error + +Control + ^${LINK_TYPE}\s+interfaces:\s*$$ + ^\s*Index\s+Interface\s+Monitored-Status\s+Security\s*$$ + ^\s*Index\s+Interface\s+Monitored-Status\s+Internal-SA\s*$$ + ^\s*Index\s+Interface\s+Status\s+Internal-SA\s*$$ + ^\s*${INDEX}\s+${INTERFACE}\s+${STATUS}\s+${SECURITY}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^. -> Error + +Fabric + ^${LINK_TYPE}\s+interfaces:\s*$$ + ^\s*Name\s+Child-interface\s+Status\s+Security\s*$$ + ^\s*Name\s+Child-interface\s+Status\s*$$ + ^\s*\(Physical\/Monitored\)\s*$$ + ^\s*${INTERFACE}\s+${CHILD_INTERFACE}\s+${STATUS}\s+${SECURITY}\s*$$ -> Record + ^\s*${INTERFACE}\s+${CHILD_INTERFACE}\s+${STATUS}\s*$$ -> Record + ^\s*\S+\s*$$ + ^\s+\w+\d+\s*$$ + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^. -> Error + +RedEth + ^\s*Name\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${STATUS}\s+${REDUNDANCY_GROUP}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information -> Continue + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^. -> Error + +RedPse + ^\s*Name\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${STATUS}\s+${REDUNDANCY_GROUP}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information -> Continue + ^[Ii]nterface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^[Rr]edundant-ethernet -> RedEth + ^. -> Error + +IntMon + ^\s*Interface\s+Weight\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${WEIGHT}\s+${STATUS}(?:\s+${REDUNDANCY_GROUP}|)\s*$$ -> Record + ^\s*$$ + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^. -> Error diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed new file mode 100644 index 0000000000..b2a8a2ebfd --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed @@ -0,0 +1,192 @@ +--- +parsed_sample: +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up / Down" + security: "" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up/Down" + security: "" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw new file mode 100644 index 0000000000..af66962c39 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw @@ -0,0 +1,40 @@ +Control link status: Up + +Control interfaces: + Index Interface Monitored-Status Internal-SA + 0 em0 Up Disabled + 1 em1 Down Disabled + +Fabric link status: Up + +Fabric interfaces: + Name Child-interface Status + (Physical/Monitored) + fab0 ge-0/1/0 Up / Down + fab0 + fab1 ge-6/1/0 Up/Down + fab1 + +Redundant-ethernet Information: + Name Status Redundancy-group + reth0 Up 1 + reth1 Up 2 + reth2 Down Not configured + reth3 Down Not configured + reth4 Down Not configured + reth5 Down Not configured + reth6 Down Not configured + reth7 Down Not configured + reth8 Down Not configured + reth9 Down Not configured + reth10 Down Not configured + reth11 Down Not configured + +Redundant-pseudo-interface Information: + Name Status Redundancy-group + lo0 Up 1 + +Interface Monitoring: + Interface Weight Status Redundancy-group + ge-0/1/9 100 Up 0 + ge-0/1/9 100 Up \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed new file mode 100644 index 0000000000..f8ed5253e4 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed @@ -0,0 +1,102 @@ +--- +parsed_sample: +- control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw new file mode 100644 index 0000000000..8bfaa8f91c --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw @@ -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 diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed new file mode 100644 index 0000000000..1b9829160b --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed @@ -0,0 +1,192 @@ +--- +parsed_sample: +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up" + security: "Disabled" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up" + security: "Disabled" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw new file mode 100644 index 0000000000..dfce0b79d6 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw @@ -0,0 +1,33 @@ +Control link status: Up +Control interfaces: + Index Interface Monitored-Status Security + 0 em0 Up Disabled + 1 em1 Down Disabled +Fabric link status: Up +Fabric interfaces: + Name Child-interface Status Security + fab0 ge-0/1/0 Up Disabled + fab0 + fab1 ge-6/1/0 Up Disabled + fab1 +Redundant-ethernet Information: + Name Status Redundancy-group + reth0 Up 1 + reth1 Up 2 + reth2 Down Not configured + reth3 Down Not configured + reth4 Down Not configured + reth5 Down Not configured + reth6 Down Not configured + reth7 Down Not configured + reth8 Down Not configured + reth9 Down Not configured + reth10 Down Not configured + reth11 Down Not configured +Redundant-pseudo-interface Information: + Name Status Redundancy-group + lo0 Up 1 +Interface Monitoring: + Interface Weight Status Redundancy-group + ge-0/1/9 100 Up 0 + ge-0/1/9 100 Up \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed new file mode 100644 index 0000000000..f8ed5253e4 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed @@ -0,0 +1,102 @@ +--- +parsed_sample: +- control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw new file mode 100644 index 0000000000..8bfaa8f91c --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw @@ -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