App-RouterColorizer

 view release on metacpan or  search on metacpan

bin/router-colorizer.pl  view on Meta::CPAN

                    # lag in interactive sessions.
                    print $colorizer->format_text($buffer);
                    $buffer = '';
                }
            } else {
                # End of file
                print $colorizer->format_text($buffer) unless $buffer eq '';
                exit;
            }
        } else {
            # Timeout!
            if ( $buffer ne "" ) {
                print $colorizer->format_text($buffer);
                $buffer = "";
            }
        }
    }
}

__END__

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

  Send-Q: 0/16384
  Outgoing Maximum Segment Size (MSS): 524
  Total Number of TCP retransmissions: 0
  Options:
    Timestamps enabled: no
    Selective Acknowledgments enabled: no
    Window Scale enabled: no
    Explicit Congestion Notification (ECN) enabled: no
 --More-- 
  Socket Statistics:
    Window Scale (wscale): 0,0
    Retransmission Timeout (rto): 1000.0ms
    Round-trip Time (rtt/rtvar): 0.0ms/250.0ms
    Delayed Ack Timeout (ato): 0.0ms
    Congestion Window (cwnd): 10

BGP neighbor is 192.0.2.1, remote AS 65000, internal link
 Description: "Raku BGP Test Session"
  BGP version 4, remote router ID 0.0.0.0, VRF default
  Last read never, last write never
  Hold time is 0, keepalive interval is 0 seconds
  Configured hold time is 180, keepalive interval is 60 seconds
  Hold timer is inactive
  Keepalive timer is inactive

t/data/91-junos-security-sessions.output  view on Meta::CPAN

Session ID: 323818, Policy name: P1/14, Timeout: 56, Valid
  In: 192.0.2.2/15851 --> 192.0.2.1/678;udp, Conn Tag: 0x0, If: st0.1, Pkts: 18275, Bytes: 1681208,
  Out: 192.0.2.1/678 --> 192.0.2.2/15851;udp, Conn Tag: 0x0, If: irb.1, Pkts: 18275, Bytes: 1736774,

Session ID: 326455, Policy name: P1/14, Timeout: 58, Valid
  In: 192.0.2.2/52454 --> 192.0.2.3/678;udp, Conn Tag: 0x0, If: st0.1, Pkts: 3500, Bytes: 321908,
  Out: 192.0.2.3/678 --> 192.0.2.2/52454;udp, Conn Tag: 0x0, If: irb.1, Pkts: 3500, Bytes: 344754,

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.481 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )