Cisco-IOS-XR-ip-tcp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ip-tcp package operational data. This module contains de...

  • Version: 2020-05-15

    Cisco-IOS-XR-ip-tcp-oper@2020-05-15


    
      module Cisco-IOS-XR-ip-tcp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper";
    
        prefix ip-tcp-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ip-tcp-oper-sub5 {
          revision-date "2020-05-15";
        }
        include Cisco-IOS-XR-ip-tcp-oper-sub4 {
          revision-date "2020-05-15";
        }
        include Cisco-IOS-XR-ip-tcp-oper-sub3 {
          revision-date "2020-05-15";
        }
        include Cisco-IOS-XR-ip-tcp-oper-sub2 {
          revision-date "2020-05-15";
        }
        include Cisco-IOS-XR-ip-tcp-oper-sub1 {
          revision-date "2020-05-15";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
    Customer Service
    
    Postal: 170 West Tasman Drive
    San Jose, CA 95134
    
    Tel: +1 800 553-NETS
    
    E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
    for Cisco IOS-XR ip-tcp package operational data.
    
    This module contains definitions
    for the following management objects:
      tcp-connection: TCP connection operational data
      tcp: IP TCP Operational Data
      tcp-nsr: TCP NSR operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-05-15" {
          description
            "First SYN delay timer added";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-11-01" {
          description
            "Added socket async double free prevention count in tcp statistics summary";
        }
    
        revision "2018-02-14" {
          description
            "PCB_ID argument is passed in string format.";
        }
    
        revision "2018-02-14" {
          description
            "Added support for TCP-AO feature.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2016-02-26" {
          description "Descriptions updated.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Show {
          type enumeration {
            enum "all" {
              value 0;
              description "To dispay all";
            }
            enum "static-policy" {
              value 1;
              description
                "To display static policy";
            }
            enum "interface-filter" {
              value 2;
              description
                "To display interface filter";
            }
            enum "packet-filter" {
              value 3;
              description
                "To display packet type filter";
            }
          }
          description "Show";
        }
    
        container tcp-connection {
          config false;
          description
            "TCP connection operational data";
          container nodes {
            description
              "Table of information about all nodes present on
    the system";
            list node {
              key "id";
              description
                "Information about a single node";
              container statistics {
                description
                  "Statistics of all TCP connections";
                container clients {
                  description
                    "Table listing clients";
                  list client {
                    key "client-id";
                    description
                      "Describing Client ID";
                    leaf client-id {
                      type uint32 {
                        range "0..4294967295";
                      }
                      description
                        "Displaying client's aggregated statistics";
                    }
    
                    leaf client-jid {
                      type int32;
                      description
                        "Job ID of the transport client";
                    }
    
                    leaf client-name {
                      type string {
                        length "0..21";
                      }
                      description
                        "Transport client name";
                    }
    
                    leaf ipv4-received-packets {
                      type uint32;
                      description
                        "Total IPv4 packets received from client";
                    }
    
                    leaf ipv4-sent-packets {
                      type uint32;
                      description
                        "Total IPv4 packets sent to client";
                    }
    
                    leaf ipv6-received-packets {
                      type uint32;
                      description
                        "Total IPv6 packets received from app";
                    }
    
                    leaf ipv6-sent-packets {
                      type uint32;
                      description
                        "Total IPv6 packets sent to app";
                    }
                  }  // list client
                }  // container clients
    
                container pcbs {
                  description
                    "Table listing the TCP connections for which
    statistics are provided";
                  list pcb {
                    key "id";
                    description
                      "Protocol Control Block ID";
                    leaf id {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Displaying statistics associated with a
    particular PCB";
                    }
    
                    container read-io-counts {
                      description
                        "Read  I/O counts";
                      leaf io-count {
                        type uint32;
                        description
                          "Number of I/O operations done by application";
                      }
    
                      leaf arm-count {
                        type uint32;
                        description
                          "How many times socket was armed by application";
                      }
    
                      leaf unarm-count {
                        type uint32;
                        description
                          "How many times socket was unarmed by application";
                      }
    
                      leaf autoarm-count {
                        type uint32;
                        description
                          "How many times socket was auto-armed by TCP";
                      }
                    }  // container read-io-counts
    
                    container write-io-counts {
                      description
                        "Write I/O counts";
                      leaf io-count {
                        type uint32;
                        description
                          "Number of I/O operations done by application";
                      }
    
                      leaf arm-count {
                        type uint32;
                        description
                          "How many times socket was armed by application";
                      }
    
                      leaf unarm-count {
                        type uint32;
                        description
                          "How many times socket was unarmed by application";
                      }
    
                      leaf autoarm-count {
                        type uint32;
                        description
                          "How many times socket was auto-armed by TCP";
                      }
                    }  // container write-io-counts
    
                    container async-session-stats {
                      description
                        "Statistics of Async TCP Sessions";
                      leaf async-session {
                        type boolean;
                        description
                          "Flag of async session";
                      }
    
                      list data-write-success-num {
                        max-elements 2;
                        description
                          "Number of successful data write to XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of successful data write to XIPC";
                        }
                      }  // list data-write-success-num
    
                      list data-read-success-num {
                        max-elements 2;
                        description
                          "Number of successful data read from XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of successful data read from XIPC";
                        }
                      }  // list data-read-success-num
    
                      list data-write-error-num {
                        max-elements 2;
                        description
                          "Number of failed data write to XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of failed data write to XIPC";
                        }
                      }  // list data-write-error-num
    
                      list data-read-error-num {
                        max-elements 2;
                        description
                          "Number of failed data read from XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of failed data read from XIPC";
                        }
                      }  // list data-read-error-num
    
                      list control-write-success-num {
                        max-elements 5;
                        description
                          "Number of successful control write to XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of successful control write to XIPC";
                        }
                      }  // list control-write-success-num
    
                      list control-read-success-num {
                        max-elements 5;
                        description
                          "Number of successful control read to XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of successful control read to XIPC";
                        }
                      }  // list control-read-success-num
    
                      list control-write-error-num {
                        max-elements 5;
                        description
                          "Number of failed control write to XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of failed control write to XIPC";
                        }
                      }  // list control-write-error-num
    
                      list control-read-error-num {
                        max-elements 5;
                        description
                          "Number of failed control read from XIPC";
                        leaf entry {
                          type uint32;
                          description
                            "Number of failed control read from XIPC";
                        }
                      }  // list control-read-error-num
    
                      list data-write-byte {
                        max-elements 2;
                        description
                          "Number of bytes data has been written";
                        leaf entry {
                          type uint64;
                          units "byte";
                          description
                            "Number of bytes data has been written";
                        }
                      }  // list data-write-byte
    
                      list data-read-byte {
                        max-elements 2;
                        description
                          "Number of bytes data has been read";
                        leaf entry {
                          type uint64;
                          units "byte";
                          description
                            "Number of bytes data has been read";
                        }
                      }  // list data-read-byte
                    }  // container async-session-stats
    
                    leaf pcb {
                      type uint64;
                      description "PCB Address";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF Id";
                    }
    
                    leaf packets-sent {
                      type uint64;
                      description
                        "Packets received from application";
                    }
    
                    leaf xipc-pulse-received {
                      type uint64;
                      description
                        "XIPC pulses received from application";
                    }
    
                    leaf segment-instruction-received {
                      type uint32;
                      description
                        "Segment Instruction received from partner node";
                    }
    
                    leaf send-packets-queued {
                      type uint64;
                      description
                        "Packets queued to v4/v6 IO";
                    }
    
                    leaf send-packets-queued-net-io {
                      type uint64;
                      description
                        "Packets queued to NetIO";
                    }
    
                    leaf send-queue-failed {
                      type uint32;
                      description
                        "Packets failed to be queued to v4/v6 IO";
                    }
    
                    leaf send-queue-net-io-failed {
                      type uint32;
                      description
                        "Packets failed to be queued to NetIO";
                    }
    
                    leaf packets-received {
                      type uint64;
                      description
                        "Packets received from network";
                    }
    
                    leaf receive-queue-failed {
                      type uint32;
                      description
                        "Received packets failed to be queued to
    application";
                    }
    
                    leaf received-packets-queued {
                      type uint64;
                      description
                        "Received packets queued to application";
                    }
    
                    leaf send-window-shrink-ignored {
                      type uint32;
                      description
                        "No. of times send window shrinkage by peer was
    ignored";
                    }
    
                    leaf is-paw-socket {
                      type boolean;
                      description
                        "PAW or non-PAW socket?";
                    }
    
                    leaf read-io-time {
                      type uint32;
                      description
                        "Time at which receive buffer was last read from";
                    }
    
                    leaf write-io-time {
                      type uint32;
                      description
                        "Time at which send buffer was last written to";
                    }
    
                    leaf min-ttl-dropped {
                      type uint64;
                      description
                        "Received packets dropped due to minttl";
                    }
                  }  // list pcb
                }  // container pcbs
    
                container summary {
                  description
                    "Summary statistics across all TCP connections";
                  leaf syn-cache-count {
                    type uint32;
                    description
                      "Current number of SYN cache entries";
                  }
    
                  leaf num-open-sockets {
                    type uint32;
                    description
                      "Number of Open sockets";
                  }
    
                  leaf total-pakets-sent {
                    type uint32;
                    description
                      "Total packets sent";
                  }
    
                  leaf send-packets-dropped {
                    type uint32;
                    description
                      "Total transmit packets dropped due to general
    failures";
                  }
    
                  leaf send-auth-packets-dropped {
                    type uint32;
                    description
                      "Total transmit packets dropped due to
    authentication failures";
                  }
    
                  leaf data-pakets-sent {
                    type uint32;
                    description
                      "Data packets sent";
                  }
    
                  leaf data-bytes-sent {
                    type uint32;
                    units "byte";
                    description
                      "Data bytes sent";
                  }
    
                  leaf packets-retransmitted {
                    type uint32;
                    description
                      "Data packets retransmitted";
                  }
    
                  leaf bytes-retransmitted {
                    type uint32;
                    units "byte";
                    description
                      "Data bytes retransmitted";
                  }
    
                  leaf ack-only-packets-sent {
                    type uint32;
                    description
                      "Ack only packets sent (incl. delay)";
                  }
    
                  leaf delay-ack-packets-sent {
                    type uint32;
                    description
                      "Delay ack packets sent";
                  }
    
                  leaf urgent-only-packets-sent {
                    type uint32;
                    description
                      "Urgent only packets sent";
                  }
    
                  leaf window-probe-packets-sent {
                    type uint32;
                    description
                      "Window probe packets sent";
                  }
    
                  leaf window-update-packets-sent {
                    type uint32;
                    description
                      "Window update packets sent";
                  }
    
                  leaf control-packets-sent {
                    type uint32;
                    description
                      "Control (SYN|FIN|RST) packets sent";
                  }
    
                  leaf rst-packets-sent {
                    type uint32;
                    description
                      "RST packets sent";
                  }
    
                  leaf total-packets-received {
                    type uint32;
                    description
                      "Total packets received";
                  }
    
                  leaf received-packets-dropped {
                    type uint32;
                    description
                      "Received packets dropped due to general failures";
                  }
    
                  leaf synacl-match-pkts-dropped {
                    type uint32;
                    description
                      "Received packets dropped due to ACL DENY on SYN
    pkts";
                  }
    
                  leaf received-packets-dropped-stale-c-hdr {
                    type uint32;
                    description
                      "Received packets dropped due to stale cached
    header";
                  }
    
                  leaf received-auth-packets-dropped {
                    type uint32;
                    description
                      "Received packets dropped due to authentication
    failures";
                  }
    
                  leaf ack-packets-received {
                    type uint32;
                    description
                      "Ack packets received";
                  }
    
                  leaf ackbytes-received {
                    type uint32;
                    units "byte";
                    description
                      "Bytes acked by ack packets";
                  }
    
                  leaf duplicated-ack-packets-received {
                    type uint32;
                    description
                      "Duplicate ack packets";
                  }
    
                  leaf ack-packets-for-unsent-received {
                    type uint32;
                    description
                      "Ack packets for unsent data";
                  }
    
                  leaf data-packets-received-in-sequence {
                    type uint32;
                    description
                      "Data packets received in sequence";
                  }
    
                  leaf data-bytes-received-in-sequence {
                    type uint32;
                    units "byte";
                    description
                      "Data bytes received in sequence";
                  }
    
                  leaf duplicate-packets-received {
                    type uint32;
                    description
                      "Duplicate packets received";
                  }
    
                  leaf duplicate-bytes-received {
                    type uint32;
                    units "byte";
                    description
                      "Duplicate bytes received";
                  }
    
                  leaf partial-duplicate-ack-received {
                    type uint32;
                    description
                      "Packets with partial dup data";
                  }
    
                  leaf partial-duplicate-bytes-received {
                    type uint32;
                    units "byte";
                    description
                      "Bytes with partial dup data";
                  }
    
                  leaf out-of-order-packets-received {
                    type uint32;
                    description
                      "Out-of-order packets received";
                  }
    
                  leaf out-of-order-bytes-received {
                    type uint32;
                    units "byte";
                    description
                      "Out-of-order bytes received";
                  }
    
                  leaf after-window-packets-received {
                    type uint32;
                    description
                      "After-window packets received";
                  }
    
                  leaf after-window-bytes-received {
                    type uint32;
                    units "byte";
                    description
                      "After-window bytes received";
                  }
    
                  leaf window-probe-packets-received {
                    type uint32;
                    description
                      "Window probe packets received";
                  }
    
                  leaf window-update-packets-received {
                    type uint32;
                    description
                      "Window update packets received";
                  }
    
                  leaf packets-received-after-close-packet {
                    type uint32;
                    description
                      "Packets received after close";
                  }
    
                  leaf bad-checksum-packets-received {
                    type uint32;
                    description
                      "Packets received with bad checksum";
                  }
    
                  leaf too-short-packets-received {
                    type uint32;
                    description
                      "Packets received with too short size";
                  }
    
                  leaf malformed-packets-received {
                    type uint32;
                    description
                      "Packets received with malformed header";
                  }
    
                  leaf no-port-packets-received {
                    type uint32;
                    description
                      "Packets rcceived with no wild listener";
                  }
    
                  leaf connections-requested {
                    type uint32;
                    description
                      "Connection requests sent";
                  }
    
                  leaf connections-accepted {
                    type uint32;
                    description
                      "Connection requests accepted";
                  }
    
                  leaf connections-established {
                    type uint32;
                    description
                      "Connections established";
                  }
    
                  leaf connections-forcibly-closed {
                    type uint32;
                    description
                      "Connections forcibly closed";
                  }
    
                  leaf connections-closed {
                    type uint32;
                    description
                      "connections closed (incl. drops)";
                  }
    
                  leaf connections-dropped {
                    type uint32;
                    description
                      "connections dropped";
                  }
    
                  leaf embryonic-connection-dropped {
                    type uint32;
                    description
                      "Embryonic connections dropped";
                  }
    
                  leaf connections-failed {
                    type uint32;
                    description
                      "Connections failed";
                  }
    
                  leaf established-connections-reset {
                    type uint32;
                    description
                      "Established connections reset";
                  }
    
                  leaf retransmit-timeouts {
                    type uint32;
                    description
                      "Retransmit timeouts (incl. data packets)";
                  }
    
                  leaf retransmit-dropped {
                    type uint32;
                    description
                      "Connection drops during retransmit timeouts";
                  }
    
                  leaf keep-alive-timeouts {
                    type uint32;
                    description
                      "Keepalive timeouts";
                  }
    
                  leaf keep-alive-dropped {
                    type uint32;
                    description
                      "Connection drops due to keepalive timeouts";
                  }
    
                  leaf keep-alive-probes {
                    type uint32;
                    description
                      "Keepalive probes sent";
                  }
    
                  leaf paws-dropped {
                    type uint32;
                    description
                      "Segments dropped due to PAWS";
                  }
    
                  leaf persist-dropped {
                    type uint32;
                    description
                      "Segments dropped due to window probe";
                  }
    
                  leaf try-lock-dropped {
                    type uint32;
                    description
                      "Segments dropped due to trylock fail";
                  }
    
                  leaf connection-rate-limited {
                    type uint32;
                    description
                      "Connections rate-limited";
                  }
    
                  leaf syn-cache-added {
                    type uint32;
                    description
                      "SYN Cache entries added";
                  }
    
                  leaf syn-cache-completed {
                    type uint32;
                    description
                      "SYN Cache connections completed";
                  }
    
                  leaf syn-cache-timed-out {
                    type uint32;
                    description
                      "SYN Cache entries timed out";
                  }
    
                  leaf syn-cache-overflow {
                    type uint32;
                    description
                      "SYN Cache entries dropped due to overflow";
                  }
    
                  leaf syn-cache-reset {
                    type uint32;
                    description
                      "SYN Cache entries dropped due to RST";
                  }
    
                  leaf syn-cache-unreach {
                    type uint32;
                    description
                      "SYN Cache entries dropped due to ICMP unreach";
                  }
    
                  leaf syn-cache-bucket-oflow {
                    type uint32;
                    description
                      "SYN Cache entries dropped due to bucket overflow";
                  }
    
                  leaf syn-cache-aborted {
                    type uint32;
                    description
                      "SYN Cache entries aborted (no mem)";
                  }
    
                  leaf syn-cache-duplicate-sy-ns {
                    type uint32;
                    description
                      "SYN Cache duplicate SYNs received";
                  }
    
                  leaf syn-cache-dropped {
                    type uint32;
                    description
                      "SYN Cache entries dropped (no route/mem)";
                  }
    
                  leaf pulse-errors {
                    type uint32;
                    description
                      "Punt (down to ip) failures";
                  }
    
                  leaf socket-layer-packets {
                    type uint32;
                    description
                      "Packets owned by the socket layer";
                  }
    
                  leaf reassembly-packets {
                    type uint32;
                    description
                      "Packets owned by TCP reassembly";
                  }
    
                  leaf recovered-packets {
                    type uint32;
                    description
                      "Packets freed after starvation";
                  }
    
                  leaf packet-failures {
                    type uint32;
                    description
                      "Packet allocation errors";
                  }
    
                  leaf mss-up {
                    type uint32;
                    description
                      "Number of times MSS was increased";
                  }
    
                  leaf mss-down {
                    type uint32;
                    description
                      "Number of times MSS was decreased";
                  }
    
                  leaf truncated-write-iov {
                    type uint32;
                    description
                      "Segments truncated due to insufficient Write I/O
    vectors";
                  }
    
                  leaf no-throttle {
                    type uint32;
                    description
                      "Number of times throttle mode was off";
                  }
    
                  leaf low-water-mark-throttle {
                    type uint32;
                    description
                      "Number of times low water mark throttle was on";
                  }
    
                  leaf high-water-mark-throttle {
                    type uint32;
                    description
                      "Number of times high water mark throttle was on";
                  }
    
                  leaf stalled-timer-tickle-count {
                    type uint32;
                    description
                      "Number of times a stalled tcp timer was tickled";
                  }
    
                  leaf stalled-timer-tickle-time {
                    type uint32;
                    description
                      "Last timestamp when a stalled tcp timer was
    tickled";
                  }
    
                  leaf iq-sock-writes {
                    type uint32;
                    description
                      "Number of write attempts from socket-lib into an
    IQ";
                  }
    
                  leaf iq-sock-retries {
                    type uint32;
                    description
                      "Number of retried write attempts";
                  }
    
                  leaf iq-sock-aborts {
                    type uint32;
                    description
                      "Number of aborted socket-lib writes";
                  }
    
                  leaf iq-ingress-drops {
                    type uint32;
                    description
                      "Number of total ingress dropped packets";
                  }
    
                  leaf total-i-qs {
                    type uint32;
                    description
                      "Number of TCP internal queues in use";
                  }
    
                  leaf sockbuf-pak-res-cur {
                    type uint32;
                    description
                      "Current number of packets extended for scaled
    sockets";
                  }
    
                  leaf sockbuf-pak-res-max {
                    type uint32;
                    description
                      "Maximum number of packets extended for scaled
    sockets";
                  }
    
                  leaf sock-async-double-free-prevent-count {
                    type uint32;
                    description
                      "Total number of socket async buffer double free
    prevented";
                  }
    
                  list iqs-total-ingpacket {
                    max-elements 20;
                    description
                      "Total Number of Ingress packets on TCP iqs";
                    leaf entry {
                      type uint32;
                      description
                        "Total Number of Ingress packets on TCP iqs";
                    }
                  }  // list iqs-total-ingpacket
    
                  list iqs-total-egpacket {
                    max-elements 20;
                    description
                      "Total Number of Egress packets on TCP iqs";
                    leaf entry {
                      type uint32;
                      description
                        "Total Number of Egress packets on TCP iqs";
                    }
                  }  // list iqs-total-egpacket
                }  // container summary
              }  // container statistics
    
              container extended-information {
                description
                  "Extended Filter related Information";
                container display-types {
                  description
                    "Table listing display types";
                  list display-type {
                    key "disp-type";
                    description
                      "Describing particular display type";
                    leaf disp-type {
                      type Show;
                      description
                        "Specifying display type";
                    }
    
                    list connection-id {
                      key "pcb-id";
                      description
                        "Describing connection ID";
                      leaf pcb-id {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Displaying inforamtion based on selected
    display type associatedwith a particular
    PCB";
                      }
    
                      container local-address {
                        description
                          "Local IP address";
                        leaf af-name {
                          type Addr-family;
                          description "AFName";
                        }
    
                        leaf ipv4-address {
                          when
                            "../af-name = 'internetwork'" {
                            description
                              "../AFName = 'Internetwork'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 address";
                        }
    
                        leaf ipv6-address {
                          when
                            "../af-name = 'ip-version6'" {
                            description
                              "../AFName = 'IPVersion6'";
                          }
                          type Lpts-ipv6-address;
                          description
                            "IPv6 address";
                        }
                      }  // container local-address
    
                      container foreign-address {
                        description
                          "Remote IP address";
                        leaf af-name {
                          type Addr-family;
                          description "AFName";
                        }
    
                        leaf ipv4-address {
                          when
                            "../af-name = 'internetwork'" {
                            description
                              "../AFName = 'Internetwork'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 address";
                        }
    
                        leaf ipv6-address {
                          when
                            "../af-name = 'ip-version6'" {
                            description
                              "../AFName = 'IPVersion6'";
                          }
                          type Lpts-ipv6-address;
                          description
                            "IPv6 address";
                        }
                      }  // container foreign-address
    
                      container common {
                        description
                          "Common PCB information";
                        container lpts-pcb {
                          description
                            "LPTS PCB information";
                          container options {
                            description
                              "Receive options";
                            leaf is-receive-filter {
                              type boolean;
                              description
                                "Receive filter enabled";
                            }
    
                            leaf is-ip-sla {
                              type boolean;
                              description
                                "IP SLA";
                            }
                          }  // container options
    
                          container lpts-flags {
                            description
                              "LPTS flags";
                            leaf is-pcb-bound {
                              type boolean;
                              description
                                "PCB bound";
                            }
    
                            leaf is-local-address-ignore {
                              type boolean;
                              description
                                "Sent drop packets";
                            }
    
                            leaf is-ignore-vrf-filter {
                              type boolean;
                              description
                                "Ignore VRF Filter";
                            }
                          }  // container lpts-flags
    
                          container accept-mask {
                            description
                              "AcceptMask";
                            leaf is-interface {
                              type boolean;
                              description
                                "Set interface";
                            }
    
                            leaf is-packet-type {
                              type boolean;
                              description
                                "Set packet type";
                            }
    
                            leaf is-remote-address {
                              type boolean;
                              description
                                "Set Remote address";
                            }
    
                            leaf is-remote-port {
                              type boolean;
                              description
                                "Set Remote Port";
                            }
    
                            leaf is-local-address {
                              type boolean;
                              description
                                "Set Local Address";
                            }
    
                            leaf is-local-port {
                              type boolean;
                              description
                                "Set Local Port";
                            }
                          }  // container accept-mask
    
                          leaf ttl {
                            type uint8;
                            description
                              "Minimum TTL";
                          }
    
                          leaf flow-types-info {
                            type uint32;
                            description
                              "flow information";
                          }
    
                          list filter {
                            description
                              "Interface Filters";
                            container packet-type {
                              description
                                "Protocol-specific packet type";
                              leaf type {
                                type Packet;
                                description
                                  "Type";
                              }
    
                              leaf icmp-message-type {
                                when
                                  "../type = 'icmp'" {
                                  description
                                    "../Type = 'ICMP'";
                                }
                                type Message-icmp;
                                description
                                  "ICMP message type";
                              }
    
                              leaf icm-pv6-message-type {
                                when
                                  "../type = 'icm-pv6'" {
                                  description
                                    "../Type = 'ICMPv6'";
                                }
                                type Message-icmpv6;
                                description
                                  "ICMPv6 message type";
                              }
    
                              leaf igmp-message-type {
                                when
                                  "../type = 'igmp'" {
                                  description
                                    "../Type = 'IGMP'";
                                }
                                type Message-igmp;
                                description
                                  "IGMP message type";
                              }
    
                              leaf message-id {
                                when
                                  "../type = 'unknown'" {
                                  description
                                    "../Type = 'Unknown'";
                                }
                                type Message-id;
                                description
                                  "Message type in number";
                              }
                            }  // container packet-type
    
                            container remote-address {
                              description
                                "Remote address";
                              leaf af-name {
                                type Addr-family;
                                description
                                  "AFName";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../af-name = 'internetwork'" {
                                  description
                                    "../AFName = 'Internetwork'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../af-name = 'ip-version6'" {
                                  description
                                    "../AFName = 'IPVersion6'";
                                }
                                type Lpts-ipv6-address;
                                description
                                  "IPv6 address";
                              }
                            }  // container remote-address
    
                            container local-address {
                              description
                                "Local address";
                              leaf af-name {
                                type Addr-family;
                                description
                                  "AFName";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../af-name = 'internetwork'" {
                                  description
                                    "../AFName = 'Internetwork'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 address";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../af-name = 'ip-version6'" {
                                  description
                                    "../AFName = 'IPVersion6'";
                                }
                                type Lpts-ipv6-address;
                                description
                                  "IPv6 address";
                              }
                            }  // container local-address
    
                            leaf interface-name {
                              type xr:Interface-name;
                              description
                                "Interface name";
                            }
    
                            leaf remote-length {
                              type uint16;
                              description
                                "Remote address length";
                            }
    
                            leaf local-length {
                              type uint16;
                              description
                                "Local address length";
                            }
    
                            leaf receive-remote-port {
                              type uint16;
                              description
                                "Receive Remote port";
                            }
    
                            leaf receive-local-port {
                              type uint16;
                              description
                                "Receive Local port";
                            }
    
                            leaf priority {
                              type uint8;
                              description
                                "Priority";
                            }
    
                            leaf ttl {
                              type uint8;
                              description
                                "Minimum TTL";
                            }
    
                            leaf flow-types-info {
                              type uint32;
                              description
                                "flow information";
                            }
                          }  // list filter
                        }  // container lpts-pcb
    
                        leaf af-name {
                          type Addr-family;
                          description
                            "Address Family";
                        }
                      }  // container common
    
                      leaf l4-protocol {
                        type uint32;
                        description
                          "Layer 4 protocol";
                      }
    
                      leaf local-port {
                        type uint16;
                        description "Local port";
                      }
    
                      leaf foreign-port {
                        type uint16;
                        description
                          "Remote port";
                      }
                    }  // list connection-id
                  }  // list display-type
                }  // container display-types
              }  // container extended-information
    
              container detail-informations {
                description
                  "Table listing TCP connections for which
    detailed information is provided";
                list detail-information {
                  key "pcb-id";
                  description
                    "Protocol Control Block ID";
                  leaf pcb-id {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Detail information about TCP connection, put
    null for all";
                  }
    
                  container local-address {
                    description "Local address";
                    leaf af-name {
                      type Tcp-address-family;
                      description "AFName";
                    }
    
                    leaf ipv4-address {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type inet:ipv4-address;
                      description "IPv4 Address";
                    }
    
                    leaf ipv6-address {
                      when
                        "../af-name != 'ipv4'" {
                        description
                          "../AFName != 'IPv4'";
                      }
                      type Tcp-in6-addr;
                      description "IPv6 Address";
                    }
                  }  // container local-address
    
                  container foreign-address {
                    description
                      "Foreign address";
                    leaf af-name {
                      type Tcp-address-family;
                      description "AFName";
                    }
    
                    leaf ipv4-address {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type inet:ipv4-address;
                      description "IPv4 Address";
                    }
    
                    leaf ipv6-address {
                      when
                        "../af-name != 'ipv4'" {
                        description
                          "../AFName != 'IPv4'";
                      }
                      type Tcp-in6-addr;
                      description "IPv6 Address";
                    }
                  }  // container foreign-address
    
                  container socket-option-flags {
                    description
                      "Socket option flags";
                    leaf debug {
                      type boolean;
                      description
                        "Turn on debugging info recording";
                    }
    
                    leaf accept-connection {
                      type boolean;
                      description
                        "Socket has had listen()";
                    }
    
                    leaf reuse-address {
                      type boolean;
                      description
                        "Allow local address reuse";
                    }
    
                    leaf keep-alive {
                      type boolean;
                      description
                        "Keep connections alive";
                    }
    
                    leaf dont-route {
                      type boolean;
                      description
                        "Just use interface addresses";
                    }
    
                    leaf broadcast {
                      type boolean;
                      description
                        "Permit sending of broadcast msgs";
                    }
    
                    leaf use-loopback {
                      type boolean;
                      description
                        "Bypass hardware when possible";
                    }
    
                    leaf linger {
                      type boolean;
                      description
                        "Linger on close if data present";
                    }
    
                    leaf out-of-band-inline {
                      type boolean;
                      description
                        "Leave received Out-of-band data inline";
                    }
    
                    leaf reuse-port {
                      type boolean;
                      description
                        "Allow local address & port reuse";
                    }
    
                    leaf nonblocking-io {
                      type boolean;
                      description
                        "Nonblocking socket I/O operation";
                    }
    
                    leaf snd-buf-scaled {
                      type boolean;
                      description
                        "Send buffer scaled";
                    }
    
                    leaf rcv-buf-scaled {
                      type boolean;
                      description
                        "Receive buffer scaled";
                    }
                  }  // container socket-option-flags
    
                  container socket-state-flags {
                    description
                      "Socket state flags";
                    leaf no-file-descriptor-reference {
                      type boolean;
                      description
                        "No file descriptor ref";
                    }
    
                    leaf is-connected {
                      type boolean;
                      description
                        "Socket is connected to peer";
                    }
    
                    leaf is-connecting {
                      type boolean;
                      description
                        "Connecting in progress";
                    }
    
                    leaf is-disconnecting {
                      type boolean;
                      description
                        "Disconnecting in progress";
                    }
    
                    leaf cant-send-more {
                      type boolean;
                      description
                        "Can't send more data to peer";
                    }
    
                    leaf cant-receive-more {
                      type boolean;
                      description
                        "Can't recv more data from peer";
                    }
    
                    leaf received-at-mark {
                      type boolean;
                      description
                        "At mark on input";
                    }
    
                    leaf privileged {
                      type boolean;
                      description
                        "Privileged for broadcast, raw...";
                    }
    
                    leaf block-close {
                      type boolean;
                      description
                        "Close is blocked (i.e. socket is a replicated
    socket on a standby node";
                    }
    
                    leaf async-io-notify {
                      type boolean;
                      description
                        "Async i/o notify";
                    }
    
                    leaf is-confirming {
                      type boolean;
                      description
                        "Deciding to accept connection req";
                    }
    
                    leaf is-solock {
                      type boolean;
                      description
                        "Mutex acquired by solock()";
                    }
    
                    leaf is-detached {
                      type boolean;
                      description
                        "PCB and socket are detached";
                    }
    
                    leaf block-receive {
                      type boolean;
                      description
                        "Socket is blocked for receive - while going
    through SSO initial sync";
                    }
    
                    leaf block-send {
                      type boolean;
                      description
                        "Socket is blocked for send (if it is a
    replicated socket on a standby node)";
                    }
                  }  // container socket-state-flags
    
                  container feature-flags {
                    description
                      "Connection feature flags";
                    leaf selective-ack {
                      type boolean;
                      description
                        "Selective ack on?";
                    }
    
                    leaf md5 {
                      type boolean;
                      description
                        "MD5 option on?";
                    }
    
                    leaf timestamps {
                      type boolean;
                      description
                        "Timestamps on?";
                    }
    
                    leaf window-scaling {
                      type boolean;
                      description
                        "Window-scaling on?";
                    }
    
                    leaf nagle {
                      type boolean;
                      description
                        "Nagle algorithm on?";
                    }
    
                    leaf giveup-timer {
                      type boolean;
                      description
                        "Giveup timer is on?";
                    }
    
                    leaf connection-keep-alive-timer {
                      type boolean;
                      description
                        "Keepalive timer is on?";
                    }
    
                    leaf path-mtu-discovery {
                      type boolean;
                      description
                        "Path MTU Discovery feature is on?";
                    }
    
                    leaf mss-cisco {
                      type boolean;
                      description
                        "tcp mss feature is on?";
                    }
                  }  // container feature-flags
    
                  container state-flags {
                    description
                      "Connection state flags";
                    leaf nagle-wait {
                      type boolean;
                      description
                        "Nagle has delayed output";
                    }
    
                    leaf ack-needed {
                      type boolean;
                      description "Send an ACK";
                    }
    
                    leaf fin-sent {
                      type boolean;
                      description
                        "FIN has been sent";
                    }
    
                    leaf probing {
                      type boolean;
                      description
                        "Probing a closed window";
                    }
    
                    leaf need-push {
                      type boolean;
                      description
                        "Need to push data out";
                    }
    
                    leaf pushed {
                      type boolean;
                      description
                        "A segment is pushed due to MSG_PUSH";
                    }
    
                    leaf in-syn-cache {
                      type boolean;
                      description
                        "Connection is in SYN cache";
                    }
    
                    leaf path-mtu-ager {
                      type boolean;
                      description
                        "Path MTU aging timer is running";
                    }
                  }  // container state-flags
    
                  container request-flags {
                    description
                      "Connection request flags";
                    leaf selective-ack {
                      type boolean;
                      description
                        "Selective ack on?";
                    }
    
                    leaf md5 {
                      type boolean;
                      description
                        "MD5 option on?";
                    }
    
                    leaf timestamps {
                      type boolean;
                      description
                        "Timestamps on?";
                    }
    
                    leaf window-scaling {
                      type boolean;
                      description
                        "Window-scaling on?";
                    }
    
                    leaf nagle {
                      type boolean;
                      description
                        "Nagle algorithm on?";
                    }
    
                    leaf giveup-timer {
                      type boolean;
                      description
                        "Giveup timer is on?";
                    }
    
                    leaf connection-keep-alive-timer {
                      type boolean;
                      description
                        "Keepalive timer is on?";
                    }
    
                    leaf path-mtu-discovery {
                      type boolean;
                      description
                        "Path MTU Discovery feature is on?";
                    }
    
                    leaf mss-cisco {
                      type boolean;
                      description
                        "tcp mss feature is on?";
                    }
                  }  // container request-flags
    
                  container receive-buf-state-flags {
                    description
                      "Receive buffer state flags";
                    leaf locked {
                      type boolean;
                      description
                        "Lock on data queue (so_rcv only)";
                    }
    
                    leaf waiting-for-lock {
                      type boolean;
                      description
                        "Someone is waiting to lock";
                    }
    
                    leaf waiting-for-data {
                      type boolean;
                      description
                        "Someone is waiting for data/space";
                    }
    
                    leaf input-select {
                      type boolean;
                      description
                        "Buffer is selected for INPUT";
                    }
    
                    leaf async-io {
                      type boolean;
                      description "Async I/O";
                    }
    
                    leaf not-interruptible {
                      type boolean;
                      description
                        "Not interruptible";
                    }
    
                    leaf io-timer-set {
                      type boolean;
                      description
                        "Read/write timer set";
                    }
    
                    leaf delayed-wakeup {
                      type boolean;
                      description
                        "Want delayed wakeups";
                    }
    
                    leaf wakeup {
                      type boolean;
                      description
                        "Read/write wakeup pending";
                    }
    
                    leaf connect-wakeup {
                      type boolean;
                      description
                        "Connect wakeup pending";
                    }
    
                    leaf output-select {
                      type boolean;
                      description
                        "Buffer is selected for OUTPUT";
                    }
    
                    leaf out-of-band-select {
                      type boolean;
                      description
                        "Buffer is selected for OBAND";
                    }
    
                    leaf packet-extended {
                      type boolean;
                      description
                        "Packet Buffer is extended";
                    }
                  }  // container receive-buf-state-flags
    
                  container send-buf-state-flags {
                    description
                      "Send buffer state flags";
                    leaf locked {
                      type boolean;
                      description
                        "Lock on data queue (so_rcv only)";
                    }
    
                    leaf waiting-for-lock {
                      type boolean;
                      description
                        "Someone is waiting to lock";
                    }
    
                    leaf waiting-for-data {
                      type boolean;
                      description
                        "Someone is waiting for data/space";
                    }
    
                    leaf input-select {
                      type boolean;
                      description
                        "Buffer is selected for INPUT";
                    }
    
                    leaf async-io {
                      type boolean;
                      description "Async I/O";
                    }
    
                    leaf not-interruptible {
                      type boolean;
                      description
                        "Not interruptible";
                    }
    
                    leaf io-timer-set {
                      type boolean;
                      description
                        "Read/write timer set";
                    }
    
                    leaf delayed-wakeup {
                      type boolean;
                      description
                        "Want delayed wakeups";
                    }
    
                    leaf wakeup {
                      type boolean;
                      description
                        "Read/write wakeup pending";
                    }
    
                    leaf connect-wakeup {
                      type boolean;
                      description
                        "Connect wakeup pending";
                    }
    
                    leaf output-select {
                      type boolean;
                      description
                        "Buffer is selected for OUTPUT";
                    }
    
                    leaf out-of-band-select {
                      type boolean;
                      description
                        "Buffer is selected for OBAND";
                    }
    
                    leaf packet-extended {
                      type boolean;
                      description
                        "Packet Buffer is extended";
                    }
                  }  // container send-buf-state-flags
    
                  leaf address-family {
                    type Tcp-address-family;
                    description "Address Family";
                  }
    
                  leaf pcb {
                    type uint64;
                    description "PCB Address";
                  }
    
                  leaf so {
                    type uint64;
                    description "Socket Address";
                  }
    
                  leaf tcpcb {
                    type uint64;
                    description "TCPCB Address";
                  }
    
                  leaf vrf-id {
                    type uint32;
                    description "VRF Id";
                  }
    
                  leaf connection-state {
                    type Tcp-conn-state;
                    description
                      "Connection state";
                  }
    
                  leaf established-time {
                    type uint32;
                    description
                      "Time at which connection is established";
                  }
    
                  leaf local-pid {
                    type uint32;
                    description
                      "Id of the local process";
                  }
    
                  leaf local-port {
                    type uint16;
                    description "Local port";
                  }
    
                  leaf foreign-port {
                    type uint16;
                    description "Foreign port";
                  }
    
                  leaf packet-priority {
                    type Pak-prio;
                    description
                      "Priority given to packets on this socket";
                  }
    
                  leaf packet-tos {
                    type uint16;
                    description
                      "Type of Service value to be applied to
    transmistted packets";
                  }
    
                  leaf packet-ttl {
                    type uint16;
                    description
                      "TTL to be applied to transmited packets";
                  }
    
                  leaf hash-index {
                    type uint32;
                    description
                      "Index of the Hash Bucket";
                  }
    
                  leaf current-receive-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Current receive queue size in bytes";
                  }
    
                  leaf max-receive-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Max receive queue size in bytes";
                  }
    
                  leaf current-send-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Current send queue size in bytes";
                  }
    
                  leaf max-send-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Max send queue size in bytes";
                  }
    
                  leaf current-receive-queue-packet-size {
                    type uint32;
                    description
                      "Current receive queue size in packets";
                  }
    
                  leaf max-receive-queue-packet-size {
                    type uint32;
                    description
                      "Max receive queue size in packets";
                  }
    
                  leaf save-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Save queue (out-of seq data) size in bytes";
                  }
    
                  leaf send-initial-sequence-num {
                    type uint32;
                    description
                      "Initial send sequence number";
                  }
    
                  leaf send-unack-sequence-num {
                    type uint32;
                    description
                      "Sequence number of unacked data";
                  }
    
                  leaf send-next-sequence-num {
                    type uint32;
                    description
                      "Sequence number of next data to be sent";
                  }
    
                  leaf send-max-sequence-num {
                    type uint32;
                    description
                      "Highest sequence number sent";
                  }
    
                  leaf send-window-size {
                    type uint32;
                    units "byte";
                    description
                      "Send window size in bytes";
                  }
    
                  leaf send-congestion-window-size {
                    type uint32;
                    units "byte";
                    description
                      "Send congestion window size in bytes";
                  }
    
                  leaf receive-initial-sequence-num {
                    type uint32;
                    description
                      "Initial receive sequence number";
                  }
    
                  leaf receive-next-sequence-num {
                    type uint32;
                    description
                      "Next sequence number expected";
                  }
    
                  leaf receive-adv-window-size {
                    type uint32;
                    units "byte";
                    description
                      "Receive advertised window size in bytes";
                  }
    
                  leaf receive-window-size {
                    type uint32;
                    units "byte";
                    description
                      "Receive window size in bytes";
                  }
    
                  leaf mss {
                    type uint32;
                    units "byte";
                    description
                      "Max segment size calculated in bytes";
                  }
    
                  leaf peer-mss {
                    type uint32;
                    units "byte";
                    description
                      "Max segment size offered by the peer in bytes";
                  }
    
                  leaf srtt {
                    type uint32;
                    description
                      "Smoothed round trip time * 8 (msec)";
                  }
    
                  leaf rtto {
                    type uint32;
                    description
                      "Round trip timeout (msec)";
                  }
    
                  leaf krtt {
                    type uint32;
                    description
                      "Round trip time (karn algorithm) (msec)";
                  }
    
                  leaf srtv {
                    type uint32;
                    description
                      "Smoothed round trip time variance * 4 (msec)";
                  }
    
                  leaf min-rtt {
                    type uint32;
                    description "Min RTT (msec)";
                  }
    
                  leaf max-rtt {
                    type uint32;
                    description "Max RTT (msec)";
                  }
    
                  leaf retries {
                    type uint32;
                    description
                      "Number of retries";
                  }
    
                  leaf ack-hold-time {
                    type uint32;
                    description
                      "ACK hold time (msec)";
                  }
    
                  leaf giveup-time {
                    type uint32;
                    description
                      "Giveup time (msec)";
                  }
    
                  leaf keep-alive-time {
                    type uint32;
                    description
                      "Keepalive time (msec)";
                  }
    
                  leaf syn-wait-time {
                    type uint32;
                    description
                      "SYN wait time (msec)";
                  }
    
                  leaf rxsy-naclname {
                    type string {
                      length "0..64";
                    }
                    description
                      "RX Syn acl name";
                  }
    
                  leaf soft-error {
                    type int32;
                    description
                      "Error code from ICMP Notify";
                  }
    
                  leaf sock-error {
                    type int32;
                    description
                      "Socket error code";
                  }
    
                  leaf is-retrans-forever {
                    type boolean;
                    description
                      "Retransimit forever?";
                  }
    
                  leaf min-mss {
                    type uint32;
                    description
                      "Lowest MSS ever used";
                  }
    
                  leaf max-mss {
                    type uint32;
                    description
                      "Highest MSS ever used";
                  }
    
                  leaf connect-retries {
                    type uint16;
                    description
                      "Number of times connect will be retried?";
                  }
    
                  leaf connect-retry-interval {
                    type uint16;
                    units "second";
                    description
                      "Connect retry interval in seconds";
                  }
    
                  leaf receive-window-scale {
                    type uint32;
                    description
                      "Window scaling for receive window";
                  }
    
                  leaf send-window-scale {
                    type uint32;
                    description
                      "Window scaling for send window";
                  }
    
                  leaf request-receive-window-scale {
                    type uint32;
                    description
                      "Requested receive window scale";
                  }
    
                  leaf rqst-send-wnd-scale {
                    type uint32;
                    description
                      "Requested send window scale";
                  }
    
                  leaf time-stamp-recent {
                    type uint32;
                    description
                      "Timestamp from remote host";
                  }
    
                  leaf time-stamp-recent-age {
                    type uint32;
                    description
                      "Timestamp when last updated";
                  }
    
                  leaf last-ack-sent {
                    type uint32;
                    description
                      "ACK number of a sent segment";
                  }
    
                  leaf sendbuf-lowwat {
                    type uint32;
                    description
                      "Send buffer's low water mark";
                  }
    
                  leaf recvbuf-lowwat {
                    type uint32;
                    description
                      "Receive buffer's low water mark";
                  }
    
                  leaf sendbuf-hiwat {
                    type uint32;
                    description
                      "Send buffer's high water mark";
                  }
    
                  leaf recvbuf-hiwat {
                    type uint32;
                    description
                      "Receive buffer's high water mark";
                  }
    
                  leaf sendbuf-notify-thresh {
                    type uint32;
                    description
                      "Send buffer's notify threshold";
                  }
    
                  leaf recvbuf-datasize {
                    type uint32;
                    description
                      "Receive buffer's data size";
                  }
    
                  leaf queue-length {
                    type uint32;
                    description
                      "Incoming connection queue size";
                  }
    
                  leaf queue-zero-length {
                    type uint32;
                    description
                      "Incoming half-connection queue size";
                  }
    
                  leaf queue-limit {
                    type uint32;
                    description
                      "Incoming connection queue limit";
                  }
    
                  leaf socket-error {
                    type uint32;
                    description
                      "Socket error status";
                  }
    
                  leaf auto-rearm {
                    type uint32;
                    description
                      "Socket auto rearm state";
                  }
    
                  leaf send-pdu-count {
                    type uint32;
                    description
                      "# of PDU's in Send Buffer";
                  }
    
                  leaf output-ifhandle {
                    type uint32;
                    description
                      "Cached Outgoing interface  handle";
                  }
    
                  leaf fib-pd-ctx-size {
                    type uint32;
                    description
                      "Cached fib pd context size";
                  }
    
                  leaf num-labels {
                    type uint32;
                    description
                      "Number of labels returned by fib lookup";
                  }
    
                  leaf local-app-instance {
                    type uint32;
                    description
                      "Instance number of the local process";
                  }
    
                  list fib-pd-ctx {
                    max-elements 4;
                    description
                      "Cached fib pd context";
                    leaf entry {
                      type uint32;
                      description
                        "Cached fib pd context";
                    }
                  }  // list fib-pd-ctx
    
                  list fib-label-output {
                    max-elements 7;
                    description
                      "Cached Label stack";
                    leaf entry {
                      type uint32;
                      description
                        "Cached Label stack";
                    }
                  }  // list fib-label-output
    
                  list timer {
                    max-elements 9;
                    description "Timers";
                    leaf timer-type {
                      type Tcp-timer;
                      description "Timer Type";
                    }
    
                    leaf timer-activations {
                      type uint32;
                      description
                        "Count of timer activations";
                    }
    
                    leaf timer-expirations {
                      type uint32;
                      description
                        "Count of timer expirations";
                    }
    
                    leaf timer-next-activation {
                      type uint32;
                      description
                        "Timer next activation (msec)";
                    }
                  }  // list timer
    
                  list sack-blk {
                    max-elements 6;
                    description
                      "Seq nos. of sack blocks";
                    leaf start {
                      type uint32;
                      description
                        "Start seq no. of sack block";
                    }
    
                    leaf end {
                      type uint32;
                      description
                        "End   seq no. of sack block";
                    }
                  }  // list sack-blk
    
                  list send-sack-hole {
                    max-elements 6;
                    description
                      "Sorted list of sack holes";
                    leaf start {
                      type uint32;
                      description
                        "Start seq no. of hole";
                    }
    
                    leaf end {
                      type uint32;
                      description
                        "End   seq no. of hole";
                    }
    
                    leaf duplicated-ack {
                      type uint32;
                      description
                        "Number of dup (s)acks for this hole";
                    }
    
                    leaf retransmitted {
                      type uint32;
                      description
                        "Next seq. no in hole to be retransmitted";
                    }
                  }  // list send-sack-hole
                }  // list detail-information
              }  // container detail-informations
    
              container keychains {
                description
                  "Table listing keychains configured for TCP-AO.";
                list keychain {
                  key "keychain-name";
                  description
                    "Details of a keychain";
                  leaf keychain-name {
                    type xr:Cisco-ios-xr-string;
                    description "Keychain name";
                  }
    
                  leaf chain-name {
                    type string;
                    description "Keychain name";
                  }
    
                  leaf is-configured {
                    type boolean;
                    description
                      "Is keychain configured?";
                  }
    
                  leaf desired-key-available {
                    type boolean;
                    description
                      "Is desired key available?";
                  }
    
                  leaf desired-key-id {
                    type uint64;
                    description
                      "Desired key identifier";
                  }
    
                  list keys {
                    description
                      "Keys under this keychain";
                    leaf key-id {
                      type uint64;
                      description
                        "Key identifier";
                    }
    
                    leaf is-active {
                      type boolean;
                      description
                        "Is key active";
                    }
    
                    leaf is-expired {
                      type boolean;
                      description
                        "Is key expired";
                    }
    
                    leaf is-valid {
                      type boolean;
                      description "Is key valid";
                    }
    
                    leaf reason {
                      type Tcp-key-invalid-reason;
                      description
                        "Key invalid reason";
                    }
    
                    leaf send-id {
                      type uint8;
                      description "Send ID";
                    }
    
                    leaf recv-id {
                      type uint8;
                      description "Receive ID";
                    }
    
                    leaf crypt-algo {
                      type Tcp-mac-algo;
                      description
                        "Cryptography algorithm associated with the key";
                    }
    
                    leaf is-configured {
                      type boolean;
                      description
                        "Is key configured?";
                    }
    
                    leaf overlapping-key-available {
                      type boolean;
                      description
                        "Is overlapping key available?";
                    }
    
                    leaf overlapping-key {
                      type uint64;
                      description
                        "Overlapping key identifier";
                    }
    
                    list invalidated-key {
                      description
                        "List of keys invalidated";
                      leaf key-id {
                        type uint64;
                        description
                          "Key identifier";
                      }
                    }  // list invalidated-key
                  }  // list keys
    
                  list active-key {
                    description
                      "List of active keys";
                    leaf key-id {
                      type uint64;
                      description
                        "Key identifier";
                    }
                  }  // list active-key
    
                  list send-id {
                    description
                      "Send IDs under this keychain";
                    leaf id {
                      type uint8;
                      description "Identifier";
                    }
    
                    list keys {
                      description
                        "List of keys having this id";
                      leaf key-id {
                        type uint64;
                        description
                          "Key identifier";
                      }
                    }  // list keys
                  }  // list send-id
    
                  list receive-id {
                    description
                      "Receive IDs under this keychain";
                    leaf id {
                      type uint8;
                      description "Identifier";
                    }
    
                    list keys {
                      description
                        "List of keys having this id";
                      leaf key-id {
                        type uint64;
                        description
                          "Key identifier";
                      }
                    }  // list keys
                  }  // list receive-id
                }  // list keychain
              }  // container keychains
    
              container brief-informations {
                description
                  "Table listing connections for which brief
    information is provided.Note that not all
    connections are listed in the brief table.";
                list brief-information {
                  key "pcb-id";
                  description
                    "Brief information about a TCP connection";
                  leaf pcb-id {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Protocol Control Block ID";
                  }
    
                  container local-address {
                    description "Local address";
                    leaf af-name {
                      type Tcp-address-family;
                      description "AFName";
                    }
    
                    leaf ipv4-address {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type inet:ipv4-address;
                      description "IPv4 Address";
                    }
    
                    leaf ipv6-address {
                      when
                        "../af-name != 'ipv4'" {
                        description
                          "../AFName != 'IPv4'";
                      }
                      type Tcp-in6-addr;
                      description "IPv6 Address";
                    }
                  }  // container local-address
    
                  container foreign-address {
                    description
                      "Foreign address";
                    leaf af-name {
                      type Tcp-address-family;
                      description "AFName";
                    }
    
                    leaf ipv4-address {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type inet:ipv4-address;
                      description "IPv4 Address";
                    }
    
                    leaf ipv6-address {
                      when
                        "../af-name != 'ipv4'" {
                        description
                          "../AFName != 'IPv4'";
                      }
                      type Tcp-in6-addr;
                      description "IPv6 Address";
                    }
                  }  // container foreign-address
    
                  leaf af-name {
                    type Tcp-address-family;
                    description "Address family";
                  }
    
                  leaf pcb {
                    type uint64;
                    description "PCB Address";
                  }
    
                  leaf connection-state {
                    type Tcp-conn-state;
                    description
                      "Connection state";
                  }
    
                  leaf local-pid {
                    type uint32;
                    description
                      "Id of the local process";
                  }
    
                  leaf local-port {
                    type uint16;
                    description "Local port";
                  }
    
                  leaf foreign-port {
                    type uint16;
                    description "Foreign port";
                  }
    
                  leaf current-receive-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Current receive queue size in bytes";
                  }
    
                  leaf current-send-queue-size {
                    type uint32;
                    units "byte";
                    description
                      "Current send queue size in bytes";
                  }
    
                  leaf vrf-id {
                    type uint32;
                    description "VRF ID";
                  }
                }  // list brief-information
              }  // container brief-informations
    
              leaf id {
                type xr:Node-id;
                description
                  "Describing a location";
              }
            }  // list node
          }  // container nodes
        }  // container tcp-connection
    
        container tcp {
          config false;
          description "IP TCP Operational Data";
          container nodes {
            description
              "Node-specific TCP operational data";
            list node {
              key "node-name";
              description
                "TCP operational data for a particular node";
              container statistics {
                description
                  "Statistical TCP operational data for a node";
                container ipv4-traffic {
                  description
                    "TCP Traffic statistics for IPv4";
                  leaf tcp-input-packets {
                    type uint32;
                    description
                      "TCP packets received";
                  }
    
                  leaf tcp-checksum-error-packets {
                    type uint32;
                    description
                      "TCP packets with checksum errors";
                  }
    
                  leaf tcp-dropped-packets {
                    type uint32;
                    description
                      "TCP packets dropped (no port)";
                  }
    
                  leaf tcp-output-packets {
                    type uint32;
                    description
                      "TCP packets transmitted";
                  }
    
                  leaf tcp-retransmitted-packets {
                    type uint32;
                    description
                      "TCP packets retransmitted";
                  }
                }  // container ipv4-traffic
    
                container ipv6-traffic {
                  description
                    "TCP Traffic statistics for IPv6";
                  leaf tcp-input-packets {
                    type uint32;
                    description
                      "TCP packets received";
                  }
    
                  leaf tcp-checksum-error-packets {
                    type uint32;
                    description
                      "TCP packets with checksum errors";
                  }
    
                  leaf tcp-dropped-packets {
                    type uint32;
                    description
                      "TCP packets dropped (no port)";
                  }
    
                  leaf tcp-output-packets {
                    type uint32;
                    description
                      "TCP packets transmitted";
                  }
    
                  leaf tcp-retransmitted-packets {
                    type uint32;
                    description
                      "TCP packets retransmitted";
                  }
                }  // container ipv6-traffic
              }  // container statistics
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container tcp
    
        container tcp-nsr {
          config false;
          description "TCP NSR operational data";
          container nodes {
            description
              "Table of information about all nodes present on
    the system";
            list node {
              key "id";
              description
                "Information about a single node";
              container session {
                description
                  "Information about TCP NSR Sessions";
                container brief-sessions {
                  description
                    "Information about TCP NSR Sessions";
                  list brief-session {
                    key "id";
                    description
                      "Brief information about NSR Sessions";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Sesison";
                    }
    
                    leaf address-family {
                      type Addr-family;
                      description
                        "Address family";
                    }
    
                    leaf pcb {
                      type uint64;
                      description "PCB Address";
                    }
    
                    leaf sscb {
                      type uint64;
                      description "SSCB Address";
                    }
    
                    leaf local-port {
                      type uint16;
                      description "Local port";
                    }
    
                    leaf foreign-port {
                      type uint16;
                      description "Foreign port";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF Id";
                    }
    
                    leaf is-admin-configured-up {
                      type boolean;
                      description
                        "Is NSR administratively configured?";
                    }
    
                    leaf is-us-operational-up {
                      type Nsr-status;
                      description
                        "Is Upstream NSR operational?";
                    }
    
                    leaf is-ds-operational-up {
                      type Nsr-status;
                      description
                        "Is Downstream NSR operational?";
                    }
    
                    leaf is-only-receive-path-replication {
                      type boolean;
                      description
                        "Is replication limited to receive-path only";
                    }
    
                    list local-address {
                      max-elements 4;
                      description
                        "Local address";
                      leaf entry {
                        type inet:ipv4-address;
                        description
                          "Local address";
                      }
                    }  // list local-address
    
                    list foreign-address {
                      max-elements 4;
                      description
                        "Foreign address";
                      leaf entry {
                        type inet:ipv4-address;
                        description
                          "Foreign address";
                      }
                    }  // list foreign-address
                  }  // list brief-session
                }  // container brief-sessions
    
                container detail-sessions {
                  description
                    "Table about TCP NSR Sessions details";
                  list detail-session {
                    key "id";
                    description
                      "showing detailed information of NSR Sessions";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Sesison";
                    }
    
                    container set-information {
                      description
                        "Sesson-set information";
                      leaf sscb {
                        type uint64;
                        description
                          "Address of the Session Set Control Block";
                      }
    
                      leaf pid {
                        type uint32;
                        description
                          "PID of the Client that owns this Session-set";
                      }
    
                      leaf client-name {
                        type string;
                        description
                          "the name of Clinet that owns this Session-set";
                      }
    
                      leaf client-instance {
                        type uint32;
                        description
                          "Instance of the Client that owns this
    Session-set";
                      }
    
                      leaf set-id {
                        type uint32;
                        description
                          "ID of this Session-set";
                      }
    
                      leaf sso-role {
                        type uint32;
                        description
                          "TCP role for this set?";
                      }
    
                      leaf mode {
                        type uint32;
                        description
                          "Session-set mode";
                      }
    
                      leaf address-family {
                        type Addr-family;
                        description
                          "Address Family of the sessions in this set";
                      }
    
                      leaf well-known-port {
                        type uint16;
                        description
                          "Well Known Port of the client";
                      }
    
                      leaf local-node {
                        type xr:Node-id;
                        description
                          "Local node of this set";
                      }
    
                      leaf local-instance {
                        type uint32;
                        description
                          "Instance of the client application on the local
    node";
                      }
    
                      leaf protect-node {
                        type xr:Node-id;
                        description
                          "The node protecting this set";
                      }
    
                      leaf protect-instance {
                        type uint32;
                        description
                          "Instance of the client application on the
    protection node";
                      }
    
                      leaf number-of-sessions {
                        type uint32;
                        description
                          "Number of Sessions in the set";
                      }
    
                      leaf number-of-synced-sessions-up-stream {
                        type uint32;
                        description
                          "How many sessions are synced with upstream
    partner";
                      }
    
                      leaf number-of-synced-sessions-down-stream {
                        type uint32;
                        description
                          "How many sessions are synced with downstream
    partner";
                      }
    
                      leaf is-init-sync-in-progress {
                        type boolean;
                        description
                          "Is an initial sync in progress currently?";
                      }
    
                      leaf is-sscb-init-sync-ready {
                        type boolean;
                        description
                          "Is the SSCB ready for another initial sync?";
                      }
                    }  // container set-information
    
                    leaf address-family {
                      type Addr-family;
                      description
                        "Address family";
                    }
    
                    leaf pcb {
                      type uint64;
                      description "PCB Address";
                    }
    
                    leaf sscb {
                      type uint64;
                      description "SSCB Address";
                    }
    
                    leaf local-port {
                      type uint16;
                      description "Local port";
                    }
    
                    leaf foreign-port {
                      type uint16;
                      description "Foreign port";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF Id";
                    }
    
                    leaf is-admin-configured-up {
                      type boolean;
                      description
                        "Is NSR administratively configured?";
                    }
    
                    leaf is-us-operational-up {
                      type Nsr-status;
                      description
                        "Is Upstream NSR operational?";
                    }
    
                    leaf is-ds-operational-up {
                      type Nsr-status;
                      description
                        "Is Downstream NSR operational?";
                    }
    
                    leaf is-only-receive-path-replication {
                      type boolean;
                      description
                        "Is replication limited to receive-path only";
                    }
    
                    leaf cookie {
                      type uint64;
                      description
                        "Cookie provided by active APP";
                    }
    
                    leaf is-session-replicated {
                      type boolean;
                      description
                        "Has the session been replicated to standby?";
                    }
    
                    leaf is-session-synced {
                      type boolean;
                      description
                        "Has the session completed initial-sync?";
                    }
    
                    leaf fist-standby-sequence-number {
                      type uint32;
                      description
                        "If initial sync is completed, then the FSSN -
    First Standby Sequence Number";
                    }
    
                    leaf fssn-offset {
                      type uint32;
                      description
                        "Offset of FSSN in input stream";
                    }
    
                    leaf nsr-down-reason {
                      type Nsr-down-reason;
                      description
                        "If NSR is not up, the reason for it.";
                    }
    
                    leaf nsr-down-time {
                      type uint32;
                      description
                        "Time at which NSR went down";
                    }
    
                    leaf sequence-number-of-init-sync {
                      type uint32;
                      description
                        "ID of the Initial sync operation";
                    }
    
                    leaf is-init-sync-in-progress {
                      type boolean;
                      description
                        "Is initial-sync currently in progress?";
                    }
    
                    leaf is-init-sync-second-phase {
                      type boolean;
                      description
                        "Is initial sync in the second phase?";
                    }
    
                    leaf init-sync-error {
                      type string;
                      description
                        "Initial sync failure reason, if any";
                    }
    
                    leaf is-init-sync-error-local {
                      type boolean;
                      description
                        "Initial sync failed due to a local error or
    remote stack";
                    }
    
                    leaf init-sync-start-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    started (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf init-sync-end-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    ended (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf init-sync-flags {
                      type uint32;
                      description
                        "Init Sync flags for the session";
                    }
    
                    leaf sequence-number-of-init-sync-up-stream {
                      type uint32;
                      description
                        "ID of the Initial sync operation";
                    }
    
                    leaf peer-endp-hdl-up-stream {
                      type uint64;
                      description
                        "Peer NCD endp handle";
                    }
    
                    leaf init-sync-start-time-up-stream {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    started (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf init-sync-end-time-up-stream {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    ended (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf fist-standby-sequence-number-up-stream {
                      type uint32;
                      description
                        "FSSN for the upstream partner";
                    }
    
                    leaf nsr-down-reason-up-stream {
                      type Nsr-down-reason;
                      description
                        "The reason NSR is not up towards the upstream
    partner";
                    }
    
                    leaf nsr-down-time-up-stream {
                      type uint32;
                      description
                        "Time at which NSR went down";
                    }
    
                    leaf sequence-number-of-init-sync-down-stream {
                      type uint32;
                      description
                        "ID of the Initial sync operation";
                    }
    
                    leaf peer-endp-hdl-down-stream {
                      type uint64;
                      description
                        "Peer NCD endp handle";
                    }
    
                    leaf init-sync-start-time-down-stream {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    started (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf init-sync-end-time-down-stream {
                      type uint32;
                      units "second";
                      description
                        "Time at which the initial sync operation was
    ended (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf fist-standby-sequence-number-down-stream {
                      type uint32;
                      description
                        "FSSN for the upstream partner";
                    }
    
                    leaf nsr-down-reason-down-stream {
                      type Nsr-down-reason;
                      description
                        "The reason NSR is not up towards the upstream
    partner";
                    }
    
                    leaf nsr-down-time-down-stream {
                      type uint32;
                      description
                        "Time at which NSR went down";
                    }
    
                    leaf max-number-of-held-packet {
                      type int32;
                      description
                        "Max number of incoming packets have been held";
                    }
    
                    leaf max-number-of-held-packet-reach-time {
                      type uint32;
                      description
                        "Max number of held incoming packets reaches at";
                    }
    
                    leaf max-number-of-held-internal-ack {
                      type int32;
                      description
                        "Max number of internal acks have been held";
                    }
    
                    leaf max-number-of-held-internal-ack-reach-time {
                      type uint32;
                      description
                        "Max number of held internal acks reaches at";
                    }
    
                    list local-address {
                      max-elements 4;
                      description
                        "Local address";
                      leaf entry {
                        type inet:ipv4-address;
                        description
                          "Local address";
                      }
                    }  // list local-address
    
                    list foreign-address {
                      max-elements 4;
                      description
                        "Foreign address";
                      leaf entry {
                        type inet:ipv4-address;
                        description
                          "Foreign address";
                      }
                    }  // list foreign-address
    
                    list packet-hold-queue {
                      description
                        "Sequence Number and datalength of each node in
    hold_pakqueue";
                      leaf sequence-number {
                        type uint32;
                        description
                          "Sequence Number";
                      }
    
                      leaf data-length {
                        type uint32;
                        description
                          "Data Length";
                      }
    
                      leaf acknoledgement-number {
                        type uint32;
                        description "Ack Number";
                      }
                    }  // list packet-hold-queue
    
                    list internal-ack-hold-queue {
                      description
                        "Sequence Number and datalength of each node in
    hold_iackqueue";
                      leaf sequence-number {
                        type uint32;
                        description
                          "Sequence Number";
                      }
    
                      leaf data-length {
                        type uint32;
                        description
                          "Data Length";
                      }
    
                      leaf acknoledgement-number {
                        type uint32;
                        description "Ack Number";
                      }
                    }  // list internal-ack-hold-queue
                  }  // list detail-session
                }  // container detail-sessions
              }  // container session
    
              container client {
                description
                  "Information about TCP NSR Client";
                container detail-clients {
                  description
                    "Table about TCP NSR Client details";
                  list detail-client {
                    key "id";
                    description
                      "showing detailed information of NSR Clients";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR client";
                    }
    
                    leaf ccb {
                      type uint64;
                      description
                        "Address of the Client Control Block";
                    }
    
                    leaf pid {
                      type uint32;
                      description
                        "PID of the Client";
                    }
    
                    leaf process-name {
                      type string;
                      description
                        "Proc name of Clinet";
                    }
    
                    leaf job-id {
                      type int32;
                      description
                        "JOb ID of Client";
                    }
    
                    leaf instance {
                      type uint32;
                      description
                        "Instance of the Client";
                    }
    
                    leaf numberof-sets {
                      type uint32;
                      description
                        "Number of Sets owned by this client ";
                    }
    
                    leaf number-of-sessions {
                      type uint32;
                      description
                        "Number of sessions owned by this client ";
                    }
    
                    leaf number-of-up-sessions {
                      type uint32;
                      description
                        "Number of sessions with NSR up";
                    }
    
                    leaf connected-at {
                      type uint32;
                      units "second";
                      description
                        "Time of connect (in seconds since 1st Jan 1970
    00:00:00)";
                    }
    
                    leaf is-notification-registered {
                      type boolean;
                      description
                        "Registered with TCP for notifications?";
                    }
                  }  // list detail-client
                }  // container detail-clients
    
                container brief-clients {
                  description
                    "Information about TCP NSR Client";
                  list brief-client {
                    key "id";
                    description
                      "Brief information about NSR Client";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR client";
                    }
    
                    leaf ccb {
                      type uint64;
                      description
                        "Address of the Client Control Block";
                    }
    
                    leaf pid {
                      type uint32;
                      description
                        "PID of the Client";
                    }
    
                    leaf process-name {
                      type string;
                      description
                        "Proc name of Clinet";
                    }
    
                    leaf job-id {
                      type int32;
                      description
                        "JOb ID of Client";
                    }
    
                    leaf instance {
                      type uint32;
                      description
                        "Instance of the Client";
                    }
    
                    leaf numberof-sets {
                      type uint32;
                      description
                        "Number of Sets owned by this client ";
                    }
    
                    leaf number-of-sessions {
                      type uint32;
                      description
                        "Number of sessions owned by this client ";
                    }
    
                    leaf number-of-up-sessions {
                      type uint32;
                      description
                        "Number of sessions with NSR up ";
                    }
                  }  // list brief-client
                }  // container brief-clients
              }  // container client
    
              container session-set {
                description
                  "Information about TCP NSR Session Sets";
                container detail-sets {
                  description
                    "Table about TCP NSR Session Sets details";
                  list detail-set {
                    key "id";
                    description
                      "showing detailed information of NSR Session
    Sets";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Sesison Set";
                    }
    
                    leaf sscb {
                      type uint64;
                      description
                        "Address of the Session Set Control Block";
                    }
    
                    leaf pid {
                      type uint32;
                      description
                        "PID of the Client that owns this Session-set";
                    }
    
                    leaf set-id {
                      type uint32;
                      description
                        "ID of this Session-set";
                    }
    
                    leaf sso-role {
                      type uint32;
                      description
                        "TCP role for this set?";
                    }
    
                    leaf mode {
                      type uint32;
                      description
                        "Session-set mode";
                    }
    
                    leaf address-family {
                      type Addr-family;
                      description
                        "Address Family of the sessions in this set";
                    }
    
                    leaf well-known-port {
                      type uint16;
                      description
                        "Well Known Port of the client";
                    }
    
                    leaf local-node {
                      type xr:Node-id;
                      description
                        "Local node of this set";
                    }
    
                    leaf local-instance {
                      type uint32;
                      description
                        "Instance of the client application on the local
    node";
                    }
    
                    leaf protect-node {
                      type xr:Node-id;
                      description
                        "The node protecting this set";
                    }
    
                    leaf protect-instance {
                      type uint32;
                      description
                        "Instance of the client application on the
    protection node";
                    }
    
                    leaf number-of-sessions {
                      type uint32;
                      description
                        "Number of Sessions in the set";
                    }
    
                    leaf number-of-synced-sessions-up-stream {
                      type uint32;
                      description
                        "How many sessions are synced with upstream
    partner";
                    }
    
                    leaf number-of-synced-sessions-down-stream {
                      type uint32;
                      description
                        "How many sessions are synced with downstream
    partner";
                    }
    
                    leaf is-init-sync-in-progress {
                      type boolean;
                      description
                        "Is an initial sync in progress currently?";
                    }
    
                    leaf is-init-sync-second-phase {
                      type boolean;
                      description
                        "Is initial sync in the second phase?";
                    }
    
                    leaf sequence-number-of-init-sync {
                      type uint32;
                      description
                        "ID of the current or the last initial sync
    operation";
                    }
    
                    leaf init-sync-timer {
                      type uint32;
                      description
                        "Time left on the initial sync timer";
                    }
    
                    leaf total-number-of-init-sync-sessions {
                      type uint32;
                      description
                        "Number of sessions being synced as part of the
    current initial sync operation";
                    }
    
                    leaf number-of-init-synced-sessions {
                      type uint32;
                      description
                        "Number of sessions that are synced as part of
    the current initial sync operation";
                    }
    
                    leaf number-of-sessions-init-sync-failed {
                      type uint32;
                      description
                        "Number of sessions that failed to sync as part
    of the current initial sync operation";
                    }
    
                    leaf init-sync-error {
                      type string;
                      description
                        "Initial sync failure reason, if any";
                    }
    
                    leaf is-init-sync-error-local {
                      type boolean;
                      description
                        "Initial sync failed due to a local error or
    remote stack";
                    }
    
                    leaf init-sync-start-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which last or current initial sync
    operation was started (in seconds since 1st Jan
    1970 00:00:00)";
                    }
    
                    leaf init-sync-end-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the last initial sync operation
    was ended (in seconds since 1st Jan 1970 00:00
    :00)";
                    }
    
                    leaf is-sscb-init-sync-ready {
                      type boolean;
                      description
                        "Is the SSCB ready for another initial sync?";
                    }
    
                    leaf init-sync-ready-start-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the session was ready for initial
    sync last (in seconds since 1st Jan 1970 00:00
    :00)";
                    }
    
                    leaf init-sync-ready-end-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the session set last went
    not-ready for initial sync (in seconds since 1st
    Jan 1970 00:00:00)";
                    }
    
                    leaf nsr-reset-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which NSR was last reset on the session
    set (in seconds since 1st Jan 1970 00:00:00)";
                    }
    
                    leaf is-audit-in-progress {
                      type boolean;
                      description
                        "Is an audit in progress currently?";
                    }
    
                    leaf audit-seq-number {
                      type uint32;
                      description
                        "ID of the current or the last audit operation";
                    }
    
                    leaf audit-start-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which last or current audit operation
    was started (in seconds since 1st Jan 1970 00:00
    :00)";
                    }
    
                    leaf audit-end-time {
                      type uint32;
                      units "second";
                      description
                        "Time at which the last audit operation was ended
    (in seconds since 1st Jan 1970 00:00:00)";
                    }
                  }  // list detail-set
                }  // container detail-sets
    
                container brief-sets {
                  description
                    "Information about TCP NSR Session Sets";
                  list brief-set {
                    key "id";
                    description
                      "Brief information about NSR Session Sets";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Session Set";
                    }
    
                    leaf sscb {
                      type uint64;
                      description
                        "Address of the Session Set Control Block";
                    }
    
                    leaf pid {
                      type uint32;
                      description
                        "PID of the Client that owns this Session-set";
                    }
    
                    leaf client-name {
                      type string;
                      description
                        "the name of Clinet that owns this Session-set";
                    }
    
                    leaf client-instance {
                      type uint32;
                      description
                        "Instance of the Client that owns this
    Session-set";
                    }
    
                    leaf set-id {
                      type uint32;
                      description
                        "ID of this Session-set";
                    }
    
                    leaf sso-role {
                      type uint32;
                      description
                        "TCP role for this set?";
                    }
    
                    leaf mode {
                      type uint32;
                      description
                        "Session-set mode";
                    }
    
                    leaf address-family {
                      type Addr-family;
                      description
                        "Address Family of the sessions in this set";
                    }
    
                    leaf well-known-port {
                      type uint16;
                      description
                        "Well Known Port of the client";
                    }
    
                    leaf local-node {
                      type xr:Node-id;
                      description
                        "Local node of this set";
                    }
    
                    leaf local-instance {
                      type uint32;
                      description
                        "Instance of the client application on the local
    node";
                    }
    
                    leaf protect-node {
                      type xr:Node-id;
                      description
                        "The node protecting this set";
                    }
    
                    leaf protect-instance {
                      type uint32;
                      description
                        "Instance of the client application on the
    protection node";
                    }
    
                    leaf number-of-sessions {
                      type uint32;
                      description
                        "Number of Sessions in the set";
                    }
    
                    leaf number-of-synced-sessions-up-stream {
                      type uint32;
                      description
                        "How many sessions are synced with upstream
    partner";
                    }
    
                    leaf number-of-synced-sessions-down-stream {
                      type uint32;
                      description
                        "How many sessions are synced with downstream
    partner";
                    }
    
                    leaf is-init-sync-in-progress {
                      type boolean;
                      description
                        "Is an initial sync in progress currently?";
                    }
    
                    leaf is-sscb-init-sync-ready {
                      type boolean;
                      description
                        "Is the SSCB ready for another initial sync?";
                    }
                  }  // list brief-set
                }  // container brief-sets
              }  // container session-set
    
              container statistics {
                description
                  "Statis Information about TCP NSR connections";
                container summary {
                  description
                    "Summary statistics across all NSR connections";
                  container snd-counters {
                    description
                      "Aggregate Send path counters";
                    container common {
                      description
                        "Common send path counters";
                      leaf data-xfer-send {
                        type uint32;
                        description
                          "Number of successful DATA transfers";
                      }
    
                      leaf data-xfer-send-total {
                        type uint64;
                        description
                          "Amount of data transferred";
                      }
    
                      leaf data-xfer-send-drop {
                        type uint32;
                        description
                          "Number of failed DATA transfers";
                      }
    
                      leaf data-xfer-send-iov-alloc {
                        type uint32;
                        description
                          "Number of data transfer msgs., that required new
    IOV's to be allocated";
                      }
    
                      leaf data-xfer-rcv {
                        type uint32;
                        description
                          "Number of received DATA transfers";
                      }
    
                      leaf data-xfer-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received DATA transfers";
                      }
    
                      leaf data-xfer-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of received DATA transfers that had
    buffer trim failures";
                      }
    
                      leaf data-xfer-rcv-fail-snd-una-out-of-sync {
                        type uint32;
                        description
                          "Number of received DATA transfers that had
    failures because the send path was out of sync";
                      }
    
                      leaf seg-instr-send {
                        type uint32;
                        description
                          "Number of successful Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-send-units {
                        type uint32;
                        description
                          "Number of segement units transferred via the
    successful Segmentation instruction messages";
                      }
    
                      leaf seg-instr-send-drop {
                        type uint32;
                        description
                          "Number of failed Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-rcv {
                        type uint32;
                        description
                          "Number of received Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received Segmentation
    instruction messages";
                      }
    
                      leaf seg-instr-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of received Segmentation instructions
    that had buffer trim failures";
                      }
    
                      leaf seg-instr-rcv-fail-tcp-process {
                        type uint32;
                        description
                          "Number of received Segmentation instructions
    that had failures during TCP processing";
                      }
    
                      leaf nack-send {
                        type uint32;
                        description
                          "Number of successful NACK messages";
                      }
    
                      leaf nack-send-drop {
                        type uint32;
                        description
                          "Number of failed NACK messages";
                      }
    
                      leaf nack-rcv {
                        type uint32;
                        description
                          "Number of received NACK messages";
                      }
    
                      leaf nack-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received NACK messages";
                      }
    
                      leaf nack-rcv-fail-data-send {
                        type uint32;
                        description
                          "Number of received NACK messages that had
    failures when sending data in response to the
    NACK";
                      }
    
                      leaf cleanup-send {
                        type uint32;
                        description
                          "Number of successful Cleanup messages";
                      }
    
                      leaf cleanup-send-drop {
                        type uint32;
                        description
                          "Number of failed Cleanup messages";
                      }
    
                      leaf cleanup-rcv {
                        type uint32;
                        description
                          "Number of received Cleanup messages";
                      }
    
                      leaf cleanup-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received Cleanup messages";
                      }
    
                      leaf cleanup-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of Cleanup messages that had trim
    failures";
                      }
                    }  // container common
    
                    container aggr-only {
                      description
                        "Aggregate only send path counters";
                      leaf data-xfer-rcv-drop-no-pcb {
                        type uint32;
                        description
                          "Number of Data transfer messages dropped because
    PCB wasn't found";
                      }
    
                      leaf data-xfer-rcv-drop-no-scb-dp {
                        type uint32;
                        description
                          "Number of Data transfer messages dropped because
    SCB DP wasn't found";
                      }
    
                      leaf seg-instr-rcv-drop-no-pcb {
                        type uint32;
                        description
                          "Number of Segmentation instruction messages
    dropped because PCB wasn't found";
                      }
    
                      leaf seg-instr-rcv-drop-no-scb-dp {
                        type uint32;
                        description
                          "Number of Segmentation instruction messages
    dropped because SCB DP wasn't found";
                      }
    
                      leaf nack-rcv-drop-no-pcb {
                        type uint32;
                        description
                          "Number of NACK messages dropped because PCB
    wasn't found";
                      }
    
                      leaf nack-rcv-drop-no-scb-dp {
                        type uint32;
                        description
                          "Number of NACK messages dropped because SCB DP
    wasn't found";
                      }
    
                      leaf cleanup-rcv-drop-no-pcb {
                        type uint32;
                        description
                          "Number of Cleanup messages dropped because PCB
    wasn't found";
                      }
    
                      leaf cleanup-rcv-drop-no-scb-dp {
                        type uint32;
                        description
                          "Number of Cleanup messages dropped because SCB
    DP wasn't found";
                      }
                    }  // container aggr-only
                  }  // container snd-counters
    
                  container audit-counters {
                    description
                      "Aggregate Audit counters";
                    container common {
                      description
                        "Common audit counters";
                      leaf mark-session-set-send {
                        type uint32;
                        description
                          "Number of successful session-set Mark's sent by
    active";
                      }
    
                      leaf mark-session-set-send-drop {
                        type uint32;
                        description
                          "Number of failed session-set Mark's";
                      }
    
                      leaf mark-session-set-rcv {
                        type uint32;
                        description
                          "Number of successful session-set Mark's received
    by standby";
                      }
    
                      leaf mark-session-set-rcv-drop {
                        type uint32;
                        description
                          "Number of session-set Mark's dropped by standby";
                      }
    
                      leaf session-send {
                        type uint32;
                        description
                          "Number of successful session audits sent by
    active";
                      }
    
                      leaf session-send-drop {
                        type uint32;
                        description
                          "Number of session audits that couldn't be sent
    by active";
                      }
    
                      leaf session-rcv {
                        type uint32;
                        description
                          "Number of session audits received by standby";
                      }
    
                      leaf session-rcv-drop {
                        type uint32;
                        description
                          "Number of session audits dropped by standby";
                      }
    
                      leaf sweep-session-set-send {
                        type uint32;
                        description
                          "Number of successful session-set Sweep's sent by
    active";
                      }
    
                      leaf sweep-session-set-send-drop {
                        type uint32;
                        description
                          "Number of failed session-set Sweep's";
                      }
    
                      leaf sweep-session-set-rcv {
                        type uint32;
                        description
                          "Number of successful session-set Sweep's
    received by standby";
                      }
    
                      leaf sweep-session-set-rcv-drop {
                        type uint32;
                        description
                          "Number of session-set Sweep's dropped by standby";
                      }
    
                      leaf session-set-response-send {
                        type uint32;
                        description
                          "Number of successful audit responses sent by
    standby";
                      }
    
                      leaf session-set-response-send-drop {
                        type uint32;
                        description
                          "Number of audit responses that couldn't be sent
    by standby";
                      }
    
                      leaf session-set-response-rcv {
                        type uint32;
                        description
                          "Number of audit responses received by active";
                      }
    
                      leaf session-set-response-rcv-drop {
                        type uint32;
                        description
                          "Number of audit responses dropped by active";
                      }
    
                      leaf mark-session-set-ack-send {
                        type uint32;
                        description
                          "Number of successful audit mark acks sent by
    standby";
                      }
    
                      leaf mark-session-set-ack-send-drop {
                        type uint32;
                        description
                          "Number of audit mark acks that couldn't be sent
    by standby";
                      }
    
                      leaf mark-session-set-ack-rcv {
                        type uint32;
                        description
                          "Number of audit mark acks received by active";
                      }
    
                      leaf mark-session-set-ack-rcv-drop {
                        type uint32;
                        description
                          "Number of audit mark acks dropped by active";
                      }
    
                      leaf mark-session-set-nack-send {
                        type uint32;
                        description
                          "Number of successful audit mark nacks sent by
    standby";
                      }
    
                      leaf mark-session-set-nack-send-drop {
                        type uint32;
                        description
                          "Number of audit mark nacks that couldn't be sent
    by standby";
                      }
    
                      leaf mark-session-set-nack-rcv {
                        type uint32;
                        description
                          "Number of audit mark nacks received by active";
                      }
    
                      leaf mark-session-set-nack-rcv-drop {
                        type uint32;
                        description
                          "Number of audit mark nacks dropped by active";
                      }
    
                      leaf abort {
                        type uint32;
                        description
                          "Number of times the active aborted an audit
    session";
                      }
                    }  // container common
    
                    container aggr-only {
                      description
                        "Aggregate only audit counters";
                      leaf mark-session-set-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session-set Mark messages dropped by
    standby";
                      }
    
                      leaf session-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session audit messages dropped by
    standby";
                      }
    
                      leaf sweep-session-set-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session-set Sweep messages dropped by
    standby";
                      }
    
                      leaf session-set-response-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session-set response messages dropped
    by active";
                      }
    
                      leaf mark-session-set-ack-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session-set mark ack messages dropped
    by active";
                      }
    
                      leaf mark-session-set-nack-rcv-drop-aggr {
                        type uint32;
                        description
                          "Number of session-set mark nack messages dropped
    by active";
                      }
                    }  // container aggr-only
                  }  // container audit-counters
    
                  leaf last-cleared-time {
                    type uint32;
                    units "second";
                    description
                      "Time of last clear (in seconds since 1st Jan
    1970 00:00:00)";
                  }
    
                  leaf number-of-connected-clients {
                    type uint32;
                    description
                      "Number of disconnected clients";
                  }
    
                  leaf number-of-disconnected-clients {
                    type uint32;
                    description
                      "Number of disconnected clients";
                  }
    
                  leaf number-of-current-clients {
                    type uint32;
                    description
                      "Number of current  clients";
                  }
    
                  leaf number-of-created-session-sets {
                    type uint32;
                    description
                      "Number of created session sets";
                  }
    
                  leaf number-of-destroyed-session-sets {
                    type uint32;
                    description
                      "Number of destroyed session sets";
                  }
    
                  leaf number-of-current-session-sets {
                    type uint32;
                    description
                      "Number of current session sets";
                  }
    
                  leaf number-of-added-sessions {
                    type uint32;
                    description
                      "Number of added sessions";
                  }
    
                  leaf number-of-deleted-sessions {
                    type uint32;
                    description
                      "Number of deleted sessions";
                  }
    
                  leaf number-of-current-sessions {
                    type uint32;
                    description
                      "Number of current sessions";
                  }
    
                  leaf number-of-partner-node {
                    type uint32;
                    description
                      " Number of Parner Nodes";
                  }
    
                  leaf number-of-attempted-init-sync {
                    type uint32;
                    description
                      "no. of initial-sync attempts";
                  }
    
                  leaf number-of-succeeded-init-sync {
                    type uint32;
                    description
                      "no. of initial-sync successes";
                  }
    
                  leaf number-of-failed-init-sync {
                    type uint32;
                    description
                      "no. of initial-sync fails";
                  }
    
                  leaf number-of-held-packets {
                    type uint32;
                    description
                      "Number of Packets held by Active TCP";
                  }
    
                  leaf number-of-held-but-dropped-packets {
                    type uint32;
                    description
                      "Number of held packets dropped by Active TCP";
                  }
    
                  leaf number-of-held-internal-acks {
                    type uint32;
                    description
                      "Number of Internal Acks held by Active TCP";
                  }
    
                  leaf number-of-held-but-dropped-internal-acks {
                    type uint32;
                    description
                      "Number of held Internal Acks dropped by Active
    TCP";
                  }
    
                  leaf number-of-sent-internal-acks {
                    type uint32;
                    description
                      "Number of Internal Acks sent to Active TCP by
    Standby TCP";
                  }
    
                  leaf number-of-received-internal-acks {
                    type uint32;
                    description
                      "Number of Internal Acks received by Active TCP";
                  }
    
                  leaf number-of-qad-receive-messages-drops {
                    type uint32;
                    description
                      "Number of dropped messages from partner TCP
    stack(s)";
                  }
    
                  leaf number-of-qad-receive-messages-unknowns {
                    type uint32;
                    description
                      "Number of unknown messages from partner TCP
    stack(s)";
                  }
    
                  leaf number-of-qad-receive-messages-accepts {
                    type uint32;
                    description
                      "Number of messages accepted from partner TCP
    stack(s)";
                  }
    
                  leaf number-of-qad-stale-receive-messages-drops {
                    type uint32;
                    description
                      "Number of dropped messages from partner TCP
    stack(s) because they were out-of-order";
                  }
    
                  leaf number-of-qad-transfer-message-sent {
                    type uint32;
                    description
                      "Number of messages sent to partner TCP stack(s)";
                  }
    
                  leaf number-of-qad-transfer-message-drops {
                    type uint32;
                    description
                      "Number of messages failed to be sent to partner
    TCP stack(s)";
                  }
    
                  leaf number-of-internal-ack-drops-no-pcb {
                    type uint32;
                    description
                      "Number of iACKs dropped because there is no PCB";
                  }
    
                  leaf number-of-internal-ack-drops-no-scbdp {
                    type uint32;
                    description
                      "Number of iACKs dropped because there is no
    datapath SCB";
                  }
    
                  leaf internal-ack-drops-not-replicated {
                    type uint32;
                    description
                      "Number of iACKs dropped because session is not
    replicated";
                  }
    
                  leaf internal-ack-drops-initsync-first-phase {
                    type uint32;
                    description
                      "Number of iACKs dropped because init-sync is in
    1st phase";
                  }
    
                  leaf internal-ack-drops-stale {
                    type uint32;
                    description
                      "Number of stale iACKs dropped";
                  }
    
                  leaf internal-ack-drops-immediate-match {
                    type uint32;
                    description
                      "Number of iACKs not held because of an immediate
    match";
                  }
    
                  leaf held-packet-drops {
                    type uint32;
                    description
                      "Number of held packets dropped because of errors";
                  }
    
                  list notification-statistic {
                    description
                      "Various types of notification stats";
                    leaf queued-count {
                      type uint32;
                      description
                        "how many were queued";
                    }
    
                    leaf failed-count {
                      type uint32;
                      description
                        "Errors while queuing the notifs";
                    }
    
                    leaf delivered-count {
                      type uint32;
                      description
                        "How many were picked up by app?";
                    }
    
                    leaf dropped-count {
                      type uint32;
                      description
                        "How many were dropped because of timeout";
                    }
                  }  // list notification-statistic
                }  // container summary
    
                container statistic-clients {
                  description
                    "Table listing NSR connections for which
    statistic information is provided";
                  list statistic-client {
                    key "id";
                    description
                      "showing statistic information of NSR Clients";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Client";
                    }
    
                    leaf ccb {
                      type uint64;
                      description
                        "Address of the Client Control Block";
                    }
    
                    leaf pid {
                      type uint32;
                      description
                        "PID of the Client";
                    }
    
                    leaf process-name {
                      type string;
                      description
                        "Proc name of Clinet";
                    }
    
                    leaf job-id {
                      type int32;
                      description
                        "JOb ID of Client";
                    }
    
                    leaf instance {
                      type uint32;
                      description
                        "Instance of the Client";
                    }
    
                    leaf connected-at {
                      type uint32;
                      units "second";
                      description
                        "Time of connect (in seconds since 1st Jan 1970
    00:00:00)";
                    }
    
                    leaf number-of-created-sscb {
                      type uint32;
                      description
                        "Num of created session sets";
                    }
    
                    leaf number-of-deleted-sscb {
                      type uint32;
                      description
                        "Num of deleted session sets";
                    }
    
                    leaf last-cleared-time {
                      type uint32;
                      units "second";
                      description
                        "Time of last clear (in seconds since 1st Jan
    1970 00:00:00)";
                    }
    
                    list notification-statistic {
                      description
                        "Various types of notification stats";
                      leaf queued-count {
                        type uint32;
                        description
                          "how many were queued";
                      }
    
                      leaf failed-count {
                        type uint32;
                        description
                          "Errors while queuing the notifs";
                      }
    
                      leaf delivered-count {
                        type uint32;
                        description
                          "How many were picked up by app?";
                      }
    
                      leaf dropped-count {
                        type uint32;
                        description
                          "How many were dropped because of timeout";
                      }
                    }  // list notification-statistic
                  }  // list statistic-client
                }  // container statistic-clients
    
                container statistic-sets {
                  description
                    "Table listing NSR connections for which
    statistic information is provided";
                  list statistic-set {
                    key "id";
                    description
                      "showing statistic information of NSR Session
    Set";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of NSR Session Set";
                    }
    
                    leaf sscb {
                      type uint64;
                      description "SSCB Address";
                    }
    
                    leaf set-id {
                      type uint32;
                      description
                        "ID of this Session-set";
                    }
    
                    leaf number-of-attempted-init-sync {
                      type uint32;
                      description
                        "no. of initial-sync attempts";
                    }
    
                    leaf number-of-succeeded-init-sync {
                      type uint32;
                      description
                        "no. of initial-sync successes";
                    }
    
                    leaf number-of-failed-init-sync {
                      type uint32;
                      description
                        "no. of initial-sync failures";
                    }
    
                    leaf number-of-failover {
                      type uint32;
                      description
                        "Number of Switch-overs";
                    }
    
                    leaf number-of-nsr-resets {
                      type uint32;
                      description
                        "Number of times NSR was reset for the session";
                    }
    
                    leaf last-cleared-time {
                      type uint32;
                      units "second";
                      description
                        "Time of last clear (in seconds since 1st Jan
    1970 00:00:00)";
                    }
                  }  // list statistic-set
                }  // container statistic-sets
    
                container statistic-sessions {
                  description
                    "Table listing NSR connections for which
    statistic information is provided";
                  list statistic-session {
                    key "id";
                    description
                      "showing statistic information of TCP
    connections";
                    leaf id {
                      type xr:Hex-integer;
                      description
                        "ID of TCP connection";
                    }
    
                    container snd-counters {
                      description
                        "Send path counters for the PCB";
                      leaf data-xfer-send {
                        type uint32;
                        description
                          "Number of successful DATA transfers";
                      }
    
                      leaf data-xfer-send-total {
                        type uint64;
                        description
                          "Amount of data transferred";
                      }
    
                      leaf data-xfer-send-drop {
                        type uint32;
                        description
                          "Number of failed DATA transfers";
                      }
    
                      leaf data-xfer-send-iov-alloc {
                        type uint32;
                        description
                          "Number of data transfer msgs., that required new
    IOV's to be allocated";
                      }
    
                      leaf data-xfer-rcv {
                        type uint32;
                        description
                          "Number of received DATA transfers";
                      }
    
                      leaf data-xfer-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received DATA transfers";
                      }
    
                      leaf data-xfer-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of received DATA transfers that had
    buffer trim failures";
                      }
    
                      leaf data-xfer-rcv-fail-snd-una-out-of-sync {
                        type uint32;
                        description
                          "Number of received DATA transfers that had
    failures because the send path was out of sync";
                      }
    
                      leaf seg-instr-send {
                        type uint32;
                        description
                          "Number of successful Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-send-units {
                        type uint32;
                        description
                          "Number of segement units transferred via the
    successful Segmentation instruction messages";
                      }
    
                      leaf seg-instr-send-drop {
                        type uint32;
                        description
                          "Number of failed Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-rcv {
                        type uint32;
                        description
                          "Number of received Segmentation instruction
    messages";
                      }
    
                      leaf seg-instr-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received Segmentation
    instruction messages";
                      }
    
                      leaf seg-instr-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of received Segmentation instructions
    that had buffer trim failures";
                      }
    
                      leaf seg-instr-rcv-fail-tcp-process {
                        type uint32;
                        description
                          "Number of received Segmentation instructions
    that had failures during TCP processing";
                      }
    
                      leaf nack-send {
                        type uint32;
                        description
                          "Number of successful NACK messages";
                      }
    
                      leaf nack-send-drop {
                        type uint32;
                        description
                          "Number of failed NACK messages";
                      }
    
                      leaf nack-rcv {
                        type uint32;
                        description
                          "Number of received NACK messages";
                      }
    
                      leaf nack-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received NACK messages";
                      }
    
                      leaf nack-rcv-fail-data-send {
                        type uint32;
                        description
                          "Number of received NACK messages that had
    failures when sending data in response to the
    NACK";
                      }
    
                      leaf cleanup-send {
                        type uint32;
                        description
                          "Number of successful Cleanup messages";
                      }
    
                      leaf cleanup-send-drop {
                        type uint32;
                        description
                          "Number of failed Cleanup messages";
                      }
    
                      leaf cleanup-rcv {
                        type uint32;
                        description
                          "Number of received Cleanup messages";
                      }
    
                      leaf cleanup-rcv-success {
                        type uint32;
                        description
                          "Number of successfully received Cleanup messages";
                      }
    
                      leaf cleanup-rcv-fail-buffer-trim {
                        type uint32;
                        description
                          "Number of Cleanup messages that had trim
    failures";
                      }
                    }  // container snd-counters
    
                    leaf pcb {
                      type uint64;
                      description "PCB Address";
                    }
    
                    leaf number-of-times-nsr-up {
                      type uint32;
                      description
                        "no. of times nsr went up";
                    }
    
                    leaf number-of-timers-nsr-down {
                      type uint32;
                      description
                        "no. of times nsr went down";
                    }
    
                    leaf number-of-times-nsr-disabled {
                      type uint32;
                      description
                        "no. of times nsr was disabled";
                    }
    
                    leaf number-of-times-nsr-fail-over {
                      type uint32;
                      description
                        "no. of times fail-over occured";
                    }
    
                    leaf internal-ack-drops-not-replicated {
                      type uint64;
                      description
                        "Number of iACKs dropped because session is not
    replicated";
                    }
    
                    leaf internal-ack-drops-initsync-first-phase {
                      type uint64;
                      description
                        "Number of iACKs dropped because 1st phase of
    init-sync is in progress";
                    }
    
                    leaf internal-ack-drops-stale {
                      type uint64;
                      description
                        "Number of stale iACKs dropped";
                    }
    
                    leaf internal-ack-drops-immediate-match {
                      type uint64;
                      description
                        "Number of iACKs not held because of an immediate
    match";
                    }
    
                    leaf last-cleared-time {
                      type uint32;
                      units "second";
                      description
                        "Time of last clear (in seconds since 1st Jan
    1970 00:00:00)";
                    }
                  }  // list statistic-session
                }  // container statistic-sessions
              }  // container statistics
    
              leaf id {
                type xr:Node-id;
                description
                  "Describing a location";
              }
            }  // list node
          }  // container nodes
        }  // container tcp-nsr
      }  // module Cisco-IOS-XR-ip-tcp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.