App-RouterColorizer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

 * [bugfix] Properly colorize Ciena alarms that have 5+ digit IIDs

1.223120  2022-11-08 18:18:36+00:00 UTC
 Joelle Maslak <jmaslak@antelope.net>
 * [feature] Colorize Ciena remote fault / far end faults as orange, not red

1.223080  2022-11-04 15:28:48+00:00 UTC
 Joelle Maslak <jmaslak@antelope.net>
 * [feature] Colorize Ciena "ptp show ptp <ptp> status" return loss

1.222970  2022-10-24 20:15:22+00:00 UTC
 Joelle Maslak <jmaslak@antelope.net>
 * [feature] Colorize Ciena "ptp show"

1.222772  2022-10-04 23:33:30+00:00 UTC
 Joelle Maslak <jmaslak@antelope.net>
 * [bugfix] Do not try to underline numbers in meta-mode xterm escape sequence

1.222771  2022-10-04 17:48:52+00:00 UTC
 Joelle Maslak <jmaslak@antelope.net>
 * [feature] Highlight additional interface types on JunOS "show int terse"

t/data/04-arista.input  view on Meta::CPAN

  Hardware is Ethernet, address is 012d.456e.7123 (bia 012d.456e.7123)
  Description: Router
  Ethernet MTU 9214 bytes, BW 1000000 kbit
  Full-duplex, 1Gb/s, auto negotiation: on, uni-link: n/a
  Up 23 days, 14 hours, 40 minutes, 1 second
  Loopback Mode : None
  8 link status changes since last clear
  Last clearing of "show interface" counters 202 days, 21:32:06 ago
  30 seconds input rate 349 kbps (0.0% with framing overhead), 171 packets/sec
  30 seconds output rate 369 kbps (0.0% with framing overhead), 188 packets/sec
     7280124668 packets input, 5724852052602 bytes
     Received 2656584 broadcasts, 8797546 multicast
     0 runts, 0 giants
     0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
     0 PAUSE input
     7498385311 packets output, 5852624293311 bytes
     Sent 117482104 broadcasts, 256424034 multicast
     0 output errors, 0 collisions
     0 late collision, 0 deferred, 616 output discards
     0 PAUSE output
Ethernet17 is up, line protocol is up (connected)

t/data/05-junos.input  view on Meta::CPAN

  Interface flags: SNMP-Traps Internal: 0x4000
  Current address: 12:35:67:89:68:45, Hardware address: 12:35:67:89:68:45
  Last flapped   : 2021-01-26 14:10:26 MST (28w6d 22:08 ago)
  Input rate     : 67152 bps (100 pps)
  Output rate    : 141968 bps (109 pps)

  Logical interface ae3.0 (Index 67) (SNMP ifIndex 567)
    Flags: Up SNMP-Traps 0x40004000 Encapsulation: ENET2
    Statistics        Packets        pps         Bytes          bps
    Bundle:
        Input :      45666719          0    6690424304            0
        Output:       5050861          0    2266596373            0
    Adaptive Statistics:
        Adaptive Adjusts:          0
        Adaptive Scans  :          0
        Adaptive Updates:          0
    Protocol eth-switch
      Flags: Trunk-Mode

Physical interface: ae4, Enabled, Physical link is Down
  Interface index: 131, SNMP ifIndex: 536

t/data/05-junos.input  view on Meta::CPAN

      Flags: Trunk-Mode

Physical interface: bme0, Enabled, Physical link is Up
  Interface index: 64, SNMP ifIndex: 37
  Type: Ethernet, Link-level type: Ethernet, MTU: 1576
  Device flags   : Present Running
  Link flags     : None
  Current address: 00:0b:ca:fe:00:01, Hardware address: 00:0b:ca:fe:00:00
  Last flapped   : Never
    Input packets : 0
    Output packets: 343092461

  Logical interface bme0.32768 (Index 5) (SNMP ifIndex 38)
    Flags: Encapsulation: ENET2
    Input packets : 292472790
    Output packets: 257352717
    Protocol inet, MTU: 1562
      Flags: Is-Primary
      Addresses, Flags: Primary Is-Default Is-Preferred Is-Primary
        Destination: 128/2, Local: 128.0.0.1, Broadcast: 191.255.255.255
      Addresses, Flags: Primary

t/data/07-cisco.input  view on Meta::CPAN

---------  -----------  -------  --------  --------
Te1/0/1      56.0       3.35      -3.2     -40.0   
Te1/0/2      54.0       3.28      -1.8      -1.7   


sw07#exit
sw07#terminal length 0
sw07#show int
Vlan1 is up, line protocol is up 
  Hardware is EtherSVI, address is cc5a.5373.32c0 (bia cc5a.5373.32c0)
  Internet address is 192.168.50.20/24
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 1y27w
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)

t/data/07-cisco.output  view on Meta::CPAN

---------  -----------  -------  --------  --------
Te1/0/1      56.0       3.35      -3.2     -40.0
Te1/0/2      54.0       3.28      -1.8      -1.7


sw07#exit
sw07#terminal length 0
sw07#show int
Vlan1 is up, line protocol is up 
  Hardware is EtherSVI, address is cc5a.5373.32c0 (bia cc5a.5373.32c0)
  Internet address is 192.168.50.20/24
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 1y27w
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)



( run in 1.311 second using v1.01-cache-2.11-cpan-7add2cbd662 )