Cisco-IOS-XR-tunnel-ip-ea-oper

This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-ip-ea package operational data. This module conta...

  • Version: 2019-04-05

    Cisco-IOS-XR-tunnel-ip-ea-oper@2019-04-05


    
      module Cisco-IOS-XR-tunnel-ip-ea-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-ip-ea-oper";
    
        prefix tunnel-ip-ea-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-tunnel-gre-datatypes {
          prefix dt1;
        }
    
        include Cisco-IOS-XR-tunnel-ip-ea-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 tunnel-ip-ea package operational data.
    
    This module contains definitions
    for the following management objects:
      tunnel-ip-ea: Tunnel IP EA parameters
    
    Copyright (c) 2013-2019 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container tunnel-ip-ea {
          config false;
          description "Tunnel IP EA parameters";
          container nodes {
            description
              "Node table for node-specific operational data";
            list node {
              key "node-name";
              description
                "Node-specific data for a particular node";
              container summary {
                description
                  "EA summary information";
                leaf eaidb-count {
                  type uint16;
                  description "EA IDB count";
                }
    
                leaf eaqt-count {
                  type uint16;
                  description "EA QT count";
                }
    
                leaf num-idbs-to-retry-upd {
                  type uint16;
                  description
                    "Number of IDBs to retry PD update";
                }
    
                leaf num-idbs-to-retry-del {
                  type uint16;
                  description
                    "Number of IDBs to retry PD delete";
                }
    
                leaf num-idbs-retried-upd {
                  type uint16;
                  description
                    "Number of IDBs retried PD update";
                }
    
                leaf num-idbs-retried-del {
                  type uint16;
                  description
                    "Number of IDBs retried PD delete";
                }
    
                leaf num-idbs-retry-failed {
                  type uint16;
                  description
                    "Number of IDBs retry failed";
                }
              }  // container summary
    
              container endpoints {
                description
                  "GRE EA DB endpoints DB";
                list endpoint {
                  description
                    "GRE EA DB endpoints DB";
                  leaf tunnel-id {
                    type dt1:Tunl-id-range;
                    description "Tunnel ID";
                  }
    
                  leaf transport-ip-address {
                    type inet:ip-address-no-zone;
                    description
                      "Transport IP Address";
                  }
    
                  leaf overlay-ip-address {
                    type inet:ip-address-no-zone;
                    description
                      "Overlay IP Address";
                  }
    
                  leaf tunnel-id-xr {
                    type uint32;
                    description "Tunnel id";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf endpt-count {
                    type uint32;
                    description "Endpoint count";
                  }
    
                  list ted-db-array {
                    description
                      "Array of EA TED DB";
                    container transport-address {
                      description
                        "Transport Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container transport-address
    
                    list overlay-array {
                      description
                        "Overlay Address";
                      container overlay-address {
                        description
                          "Overlay Address";
                        leaf afi {
                          type Tunl-af-id;
                          description "AFI";
                        }
    
                        leaf ipv4 {
                          when
                            "../afi = 'tunl-af-id-ipv4'" {
                            description
                              "../AFI = 'TUNL_AF_ID_IPV4'";
                          }
                          type Tunl-in-addr;
                          description
                            "IPv4 address type";
                        }
    
                        leaf ipv6 {
                          when
                            "../afi = 'tunl-af-id-ipv6'" {
                            description
                              "../AFI = 'TUNL_AF_ID_IPV6'";
                          }
                          type Tunl-in6-addr;
                          description
                            "IPv6 address type";
                        }
                      }  // container overlay-address
    
                      leaf adjacency {
                        type uint32;
                        description "Adjacency";
                      }
    
                      leaf stale-flag {
                        type boolean;
                        description "Stale Flag";
                      }
                    }  // list overlay-array
                  }  // list ted-db-array
                }  // list endpoint
              }  // container endpoints
    
              container shared-memory-summary {
                description
                  "EA shared memory information";
                leaf shm-intialized {
                  type uint8;
                  description
                    "Shm Initialization";
                }
    
                leaf sh-mwin-id {
                  type uint32;
                  description "Shmwin Id";
                }
    
                leaf shm-version {
                  type uint32;
                  description "Shm Version";
                }
    
                leaf shm-base-addr {
                  type uint32;
                  description "Shm Base Address";
                }
    
                leaf platform-info {
                  type uint64;
                  description "Platform Info";
                }
    
                leaf tunnel-ipqt {
                  type uint64;
                  description "Tunnel IP QT";
                }
    
                leaf tunnel-idb {
                  type uint64;
                  description "Tunnel IP IDB";
                }
    
                leaf tunnel-idb-dummy {
                  type uint64;
                  description
                    "Tunnel IP IDB Dummy";
                }
              }  // container shared-memory-summary
    
              container qual-table {
                description "EA QT parameters";
                container tunnel-ids {
                  description "Tunnel ID list";
                  list tunnel-id {
                    key "tid";
                    description
                      "Tunnel interface id value";
                    leaf tid {
                      type dt1:Tunl-id-range;
                      description "Tunnel ID";
                    }
    
                    container source-address-xr {
                      description
                        "Source Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container source-address-xr
    
                    container destination-address-xr {
                      description
                        "Destination Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container destination-address-xr
    
                    leaf interface-type {
                      type xr:Interface-name;
                      description
                        "Interface Type";
                    }
    
                    leaf destination-address-length {
                      type uint8;
                      description
                        "Destination Address Length";
                    }
    
                    leaf tunnel-vrf-table-id {
                      type uint32;
                      description
                        "Tunnel VRF table ID";
                    }
    
                    leaf tunnel-mode-xr {
                      type Tunl-ip-mode;
                      description
                        "Mode of Tunnel";
                    }
    
                    leaf tunnel-mode-direction {
                      type Tunl-ip-mode-dir;
                      description
                        "Mode direction";
                    }
    
                    leaf bandwidth {
                      type uint32;
                      description "Bandwidth";
                    }
    
                    leaf key {
                      type uint32;
                      description
                        "Key Value for GRE Packet";
                    }
    
                    leaf key-entropy-length {
                      type uint8;
                      description
                        "Key entropy length for GRE Packet";
                    }
    
                    leaf platform-tunnel-id {
                      type uint16;
                      description
                        "Platform Tunnel ID";
                    }
    
                    leaf hw-retry-flags {
                      type Tunl-gre-plat-upd;
                      description
                        "HW Retry Flags";
                    }
    
                    leaf flags {
                      type uint32;
                      description
                        "Flags for don't fragment, TOS reflection";
                    }
    
                    leaf mtu {
                      type uint16;
                      description
                        "Maximum Transmission Unit";
                    }
    
                    leaf tos {
                      type uint8;
                      description
                        "Type Of Service";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "Time To Live";
                    }
    
                    leaf encapsulation-state {
                      type uint8;
                      description
                        "Encapsulation State";
                    }
    
                    leaf adjacent-flags {
                      type Tunl-ip-ea-flags;
                      description
                        "Adjacent Flags";
                    }
    
                    leaf output-ifhandle {
                      type xr:Interface-name;
                      description
                        "O/p Interface handle";
                    }
    
                    leaf next-pointer {
                      type uint32;
                      description
                        "Pointer to next Node";
                    }
                  }  // list tunnel-id
                }  // container tunnel-ids
    
                container qual-table-params {
                  description
                    "Qualification Table Parameter list";
                  list qual-table-param {
                    description
                      "Qualification Table parameters";
                    leaf source-address {
                      type inet:ip-address-no-zone;
                      description
                        "Source IP address";
                    }
    
                    leaf destination-address {
                      type inet:ip-address-no-zone;
                      description
                        "Destination IP address";
                    }
    
                    leaf rsi-table-id {
                      type uint32 {
                        range "0..4294967295";
                      }
                      description "RSI Table ID";
                    }
    
                    leaf tunnel-key {
                      type uint32 {
                        range "0..4294967295";
                      }
                      description "TunnelKey";
                    }
    
                    leaf tunnel-mode {
                      type dt1:Tunl-mode-enum;
                      description "Tunnel Mode";
                    }
    
                    container source-address-xr {
                      description
                        "Source Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container source-address-xr
    
                    container destination-address-xr {
                      description
                        "Destination Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container destination-address-xr
    
                    leaf interface-type {
                      type xr:Interface-name;
                      description
                        "Interface Type";
                    }
    
                    leaf destination-address-length {
                      type uint8;
                      description
                        "Destination Address Length";
                    }
    
                    leaf tunnel-vrf-table-id {
                      type uint32;
                      description
                        "Tunnel VRF table ID";
                    }
    
                    leaf tunnel-mode-xr {
                      type Tunl-ip-mode;
                      description
                        "Mode of Tunnel";
                    }
    
                    leaf tunnel-mode-direction {
                      type Tunl-ip-mode-dir;
                      description
                        "Mode direction";
                    }
    
                    leaf bandwidth {
                      type uint32;
                      description "Bandwidth";
                    }
    
                    leaf key {
                      type uint32;
                      description
                        "Key Value for GRE Packet";
                    }
    
                    leaf key-entropy-length {
                      type uint8;
                      description
                        "Key entropy length for GRE Packet";
                    }
    
                    leaf platform-tunnel-id {
                      type uint16;
                      description
                        "Platform Tunnel ID";
                    }
    
                    leaf hw-retry-flags {
                      type Tunl-gre-plat-upd;
                      description
                        "HW Retry Flags";
                    }
    
                    leaf flags {
                      type uint32;
                      description
                        "Flags for don't fragment, TOS reflection";
                    }
    
                    leaf mtu {
                      type uint16;
                      description
                        "Maximum Transmission Unit";
                    }
    
                    leaf tos {
                      type uint8;
                      description
                        "Type Of Service";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "Time To Live";
                    }
    
                    leaf encapsulation-state {
                      type uint8;
                      description
                        "Encapsulation State";
                    }
    
                    leaf adjacent-flags {
                      type Tunl-ip-ea-flags;
                      description
                        "Adjacent Flags";
                    }
    
                    leaf output-ifhandle {
                      type xr:Interface-name;
                      description
                        "O/p Interface handle";
                    }
    
                    leaf next-pointer {
                      type uint32;
                      description
                        "Pointer to next Node";
                    }
                  }  // list qual-table-param
                }  // container qual-table-params
              }  // container qual-table
    
              container database {
                description
                  "EA database parameters";
                container interface-names {
                  description
                    "Interface Names List";
                  list interface-name {
                    key "ifname";
                    description "Interface Name";
                    leaf ifname {
                      type xr:Interface-name;
                      description
                        "Tunnel Interface Name";
                    }
    
                    container source-address-xr {
                      description
                        "Source Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container source-address-xr
    
                    container destination-address-xr {
                      description
                        "Destination Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container destination-address-xr
    
                    leaf interface-type {
                      type xr:Interface-name;
                      description
                        "Interface Type";
                    }
    
                    leaf destination-address-length {
                      type uint8;
                      description
                        "Destination Address Length";
                    }
    
                    leaf tunnel-vrf-table-id {
                      type uint32;
                      description
                        "Tunnel VRF table ID";
                    }
    
                    leaf tunnel-mode-xr {
                      type Tunl-ip-mode;
                      description
                        "Mode of Tunnel";
                    }
    
                    leaf tunnel-mode-direction {
                      type Tunl-ip-mode-dir;
                      description
                        "Mode direction";
                    }
    
                    leaf bandwidth {
                      type uint32;
                      description "Bandwidth";
                    }
    
                    leaf key {
                      type uint32;
                      description
                        "Key Value for GRE Packet";
                    }
    
                    leaf key-entropy-length {
                      type uint8;
                      description
                        "Key entropy length for GRE Packet";
                    }
    
                    leaf platform-tunnel-id {
                      type uint16;
                      description
                        "Platform Tunnel ID";
                    }
    
                    leaf hw-retry-flags {
                      type Tunl-gre-plat-upd;
                      description
                        "HW Retry Flags";
                    }
    
                    leaf flags {
                      type uint32;
                      description
                        "Flags for don't fragment, TOS reflection";
                    }
    
                    leaf mtu {
                      type uint16;
                      description
                        "Maximum Transmission Unit";
                    }
    
                    leaf tos {
                      type uint8;
                      description
                        "Type Of Service";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "Time To Live";
                    }
    
                    leaf encapsulation-state {
                      type uint8;
                      description
                        "Encapsulation State";
                    }
    
                    leaf adjacent-flags {
                      type Tunl-ip-ea-flags;
                      description
                        "Adjacent Flags";
                    }
    
                    leaf output-ifhandle {
                      type xr:Interface-name;
                      description
                        "O/p Interface handle";
                    }
    
                    leaf next-pointer {
                      type uint32;
                      description
                        "Pointer to next Node";
                    }
                  }  // list interface-name
                }  // container interface-names
    
                container tunnel-ids {
                  description "Tunnel ID list";
                  list tunnel-id {
                    key "tid";
                    description "Tunnel ID";
                    leaf tid {
                      type dt1:Tunl-id-range;
                      description "Tunnel ID";
                    }
    
                    container source-address-xr {
                      description
                        "Source Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container source-address-xr
    
                    container destination-address-xr {
                      description
                        "Destination Address";
                      leaf afi {
                        type Tunl-af-id;
                        description "AFI";
                      }
    
                      leaf ipv4 {
                        when
                          "../afi = 'tunl-af-id-ipv4'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV4'";
                        }
                        type Tunl-in-addr;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../afi = 'tunl-af-id-ipv6'" {
                          description
                            "../AFI = 'TUNL_AF_ID_IPV6'";
                        }
                        type Tunl-in6-addr;
                        description
                          "IPv6 address type";
                      }
                    }  // container destination-address-xr
    
                    leaf interface-type {
                      type xr:Interface-name;
                      description
                        "Interface Type";
                    }
    
                    leaf destination-address-length {
                      type uint8;
                      description
                        "Destination Address Length";
                    }
    
                    leaf tunnel-vrf-table-id {
                      type uint32;
                      description
                        "Tunnel VRF table ID";
                    }
    
                    leaf tunnel-mode-xr {
                      type Tunl-ip-mode;
                      description
                        "Mode of Tunnel";
                    }
    
                    leaf tunnel-mode-direction {
                      type Tunl-ip-mode-dir;
                      description
                        "Mode direction";
                    }
    
                    leaf bandwidth {
                      type uint32;
                      description "Bandwidth";
                    }
    
                    leaf key {
                      type uint32;
                      description
                        "Key Value for GRE Packet";
                    }
    
                    leaf key-entropy-length {
                      type uint8;
                      description
                        "Key entropy length for GRE Packet";
                    }
    
                    leaf platform-tunnel-id {
                      type uint16;
                      description
                        "Platform Tunnel ID";
                    }
    
                    leaf hw-retry-flags {
                      type Tunl-gre-plat-upd;
                      description
                        "HW Retry Flags";
                    }
    
                    leaf flags {
                      type uint32;
                      description
                        "Flags for don't fragment, TOS reflection";
                    }
    
                    leaf mtu {
                      type uint16;
                      description
                        "Maximum Transmission Unit";
                    }
    
                    leaf tos {
                      type uint8;
                      description
                        "Type Of Service";
                    }
    
                    leaf ttl {
                      type uint8;
                      description "Time To Live";
                    }
    
                    leaf encapsulation-state {
                      type uint8;
                      description
                        "Encapsulation State";
                    }
    
                    leaf adjacent-flags {
                      type Tunl-ip-ea-flags;
                      description
                        "Adjacent Flags";
                    }
    
                    leaf output-ifhandle {
                      type xr:Interface-name;
                      description
                        "O/p Interface handle";
                    }
    
                    leaf next-pointer {
                      type uint32;
                      description
                        "Pointer to next Node";
                    }
                  }  // list tunnel-id
                }  // container tunnel-ids
              }  // container database
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
        }  // container tunnel-ip-ea
      }  // module Cisco-IOS-XR-tunnel-ip-ea-oper
    

© 2023 YumaWorks, Inc. All rights reserved.