Cisco-IOS-XR-ip-udp-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ip-udp package operational data. Copyright (c) 2013-2...

  • Version: 2020-04-06

    Cisco-IOS-XR-ip-udp-oper-sub1@2020-04-06


    
      submodule Cisco-IOS-XR-ip-udp-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ip-udp-oper {
            prefix Cisco-IOS-XR-ip-udp-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR ip-udp package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-04-06" {
          description
            "min_ttl_dropped field is added to PCB_DETAIL output.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-08-09" {
          description
            "bind_local field is added to PCB_DETAIL output";
        }
    
        revision "2018-03-04" {
          description
            "PCB_ID argument is passed in string format.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        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 Udp-in6-addr {
          type inet:ipv6-address;
          description "Udp in6 addr";
        }
    
        typedef Udp-address-family {
          type enumeration {
            enum "ipv4" {
              value 2;
              description "IPv4";
            }
            enum "ipv6" {
              value 10;
              description "IPv6";
            }
          }
          description "Address Family Type";
        }
    
        grouping UDP-SH-BRIEF-BAG {
          description
            "UDP connection brief information";
          container local-address {
            description "Local address";
            uses UDP-ADDRESS-TYPE;
          }  // container local-address
    
          container foreign-address {
            description "Foreign address";
            uses UDP-ADDRESS-TYPE;
          }  // container foreign-address
    
          leaf af-name {
            type Udp-address-family;
            description "Address family";
          }
    
          leaf local-port {
            type uint16;
            description "Local port";
          }
    
          leaf foreign-port {
            type uint16;
            description "Foreign port";
          }
    
          leaf receive-queue {
            type uint32;
            description "Receive queue count";
          }
    
          leaf send-queue {
            type uint32;
            description "Send queue count";
          }
    
          leaf vrf-id {
            type uint32;
            description "VRF ID";
          }
        }  // grouping UDP-SH-BRIEF-BAG
    
        grouping UDP-PCB-FLAGS-BAG {
          description "UDP PCB flags";
          leaf recv-opts {
            type boolean;
            description "Receive input options";
          }
    
          leaf recv-ret-opts {
            type boolean;
            description
              "Receive input source-route options";
          }
    
          leaf recv-dest-addr {
            type boolean;
            description
              "Receive destination address";
          }
    
          leaf header-include {
            type boolean;
            description "Header include option";
          }
    
          leaf recv-intf {
            type boolean;
            description
              "Receive input interface";
          }
    
          leaf recv-header {
            type boolean;
            description "Receive header";
          }
    
          leaf mcast-loopback {
            type boolean;
            description
              "Loopback of multicast packet";
          }
    
          leaf recv-l2-header {
            type boolean;
            description "Receive L2 header";
          }
    
          leaf recv-packet-info {
            type boolean;
            description
              "Receive packet information";
          }
    
          leaf router-alert {
            type boolean;
            description
              "Receive router alert packets";
          }
    
          leaf recv-hop-limit {
            type boolean;
            description "Receive hop limit";
          }
    
          leaf recv-routing-header {
            type boolean;
            description "Receive routing header";
          }
    
          leaf recv-hop-header {
            type boolean;
            description
              "Receive hop by hop option header";
          }
    
          leaf recv-dest-header {
            type boolean;
            description
              "Receive destination option header";
          }
    
          leaf recv-traffic-class {
            type boolean;
            description "Receive traffic class";
          }
    
          leaf recv-ip-sec {
            type boolean;
            description
              "Receive IP security information";
          }
    
          leaf recv-tabel-id {
            type boolean;
            description
              "Receive table identifier";
          }
    
          leaf recv-pak-priority {
            type boolean;
            description
              "Receive packet priority";
          }
    
          leaf conn-limit {
            type boolean;
            description "Connection limit";
          }
    
          leaf opt-handled {
            type boolean;
            description "Option handled";
          }
    
          leaf bind-local {
            type boolean;
            description
              "Local node packet delivery";
          }
        }  // grouping UDP-PCB-FLAGS-BAG
    
        grouping UDP-ADDRESS-TYPE {
          description "UDP ADDRESS TYPE";
          leaf af-name {
            type Udp-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 Udp-in6-addr;
            description "IPv6 Address";
          }
        }  // grouping UDP-ADDRESS-TYPE
    
        grouping UDP-SH-TABLE-BAG {
          description
            "UDP detail pcb information";
          container local-address {
            description "Local address";
            uses UDP-ADDRESS-TYPE;
          }  // container local-address
    
          container foreign-address {
            description "Foreign address";
            uses UDP-ADDRESS-TYPE;
          }  // container foreign-address
    
          container pcb-flags {
            description "PCB flags";
            uses UDP-PCB-FLAGS-BAG;
          }  // container pcb-flags
    
          leaf af-name {
            type Udp-address-family;
            description "Address family";
          }
    
          leaf local-process-id {
            type uint32;
            description "ID of local process";
          }
    
          leaf local-port {
            type uint16;
            description "Local port";
          }
    
          leaf foreign-port {
            type uint16;
            description "Foreign port";
          }
    
          leaf receive-queue {
            type uint32;
            description "Receive queue count";
          }
    
          leaf send-queue {
            type uint32;
            description "Send queue count";
          }
    
          leaf vrf-id {
            type uint32;
            description "VRF ID";
          }
    
          leaf flow-label {
            type uint32;
            description "Flow label set ";
          }
    
          leaf traffic-class {
            type int32;
            description "Traffic Class set ";
          }
        }  // grouping UDP-SH-TABLE-BAG
    
        grouping UDP-PCB-RECEIVE-STATS-TYPE {
          description "UDP receive statistics";
          leaf received-network-packets {
            type uint64;
            description
              "Packets received from network";
          }
    
          leaf failed-queued-application-packets {
            type uint32;
            description
              "Packets failed queued to application";
          }
    
          leaf queued-application-packets {
            type uint64;
            description
              "Packets queued to application";
          }
    
          leaf failed-queued-application-socket-packets {
            type uint32;
            description
              "Packet that couldn't be queued to application.on
             socket";
          }
    
          leaf queued-application-socket-packets {
            type uint64;
            description
              "Packets queued to application on socket";
          }
    
          leaf min-ttl-dropped {
            type uint64;
            description
              "Received packets dropped due to minttl";
          }
        }  // grouping UDP-PCB-RECEIVE-STATS-TYPE
    
        grouping UDP-PCB-SEND-STATS-TYPE {
          description "UDP send statistics";
          leaf received-application-bytes {
            type uint64;
            units "byte";
            description
              "Bytes received from application";
          }
    
          leaf received-xipc-pulses {
            type uint64;
            description
              "XIPC pulses received from application";
          }
    
          leaf sent-network-packets {
            type uint64;
            description
              "Packets sent to network (v4/v6 IO)";
          }
    
          leaf sent-net-io-packets {
            type uint64;
            description
              "Packets sent to network (NetIO)";
          }
    
          leaf failed-queued-network-packets {
            type uint32;
            description
              "Packets failed getting queued to network (v4/v6
             IO)";
          }
    
          leaf failed-queued-net-io-packets {
            type uint32;
            description
              "Packets failed getting queued to network (NetIO)";
          }
        }  // grouping UDP-PCB-SEND-STATS-TYPE
    
        grouping UDP-SH-PCB-STATS-BAG {
          description "UDP statistics";
          container send {
            description "UDP send statistics";
            uses UDP-PCB-SEND-STATS-TYPE;
          }  // container send
    
          container receive {
            description "UDP receive statistics";
            uses UDP-PCB-RECEIVE-STATS-TYPE;
          }  // container receive
    
          leaf vrf-id {
            type uint32;
            description "VRF ID";
          }
    
          leaf is-paw-socket {
            type boolean;
            description "True if paw socket";
          }
        }  // grouping UDP-SH-PCB-STATS-BAG
    
        grouping UDP-SH-STATS-BAG {
          description "UDP statistics summary";
          leaf received-total-packets {
            type uint32;
            description "Total packets received";
          }
    
          leaf received-no-port-packets {
            type uint32;
            description
              "Packets received when no wild listener";
          }
    
          leaf received-bad-checksum-packets {
            type uint32;
            description
              "Packets received has bad checksum";
          }
    
          leaf received-too-short-packets {
            type uint32;
            description
              "Packets received is too short";
          }
    
          leaf received-drop-packets {
            type uint32;
            description
              "Packets dropped for other reasons";
          }
    
          leaf sent-total-packets {
            type uint32;
            description "Total packets sent";
          }
    
          leaf sent-error-packets {
            type uint32;
            description
              "Total send erorr packets";
          }
    
          leaf forward-broadcast-packets {
            type uint32;
            description
              "Total forwarding broadcast packets";
          }
    
          leaf cloned-packets {
            type uint32;
            description "Total cloned packets";
          }
    
          leaf failed-clone-packets {
            type uint32;
            description
              "Total failed cloned packets";
          }
        }  // grouping UDP-SH-STATS-BAG
      }  // submodule Cisco-IOS-XR-ip-udp-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.