Cisco-IOS-XR-tunnel-ip-ma-oper

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

  • Version: 2021-02-25

    Cisco-IOS-XR-tunnel-ip-ma-oper@2021-02-25


    
      module Cisco-IOS-XR-tunnel-ip-ma-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-ip-ma-oper";
    
        prefix tunnel-ip-ma-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-ma-oper-sub1 {
          revision-date "2021-02-25";
        }
    
        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-ma package operational data.
    
    This module contains definitions
    for the following management objects:
      tunnel-ip-ma: Tunnel Ip ma parameters
    
    Copyright (c) 2013-2021 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-02-25" {
          description
            "Added an entry for src addr db in bag";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-10-09" {
          description
            "Modified hierarchy for endpoints, gspnode-db and application-db-stats";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        container tunnel-ip-ma {
          config false;
          description "Tunnel Ip ma parameters";
          container gsp-node-db-summary {
            description
              "GRE MA GSP Node DB summary";
            list gspdb-array {
              description "GSP_DB array";
              leaf node-state {
                type uint16;
                description "Node state";
              }
    
              leaf nodeid {
                type uint32;
                description "Node id";
              }
    
              leaf leaf-timer-flag {
                type boolean;
                description "leaf timer flag";
              }
            }  // list gspdb-array
          }  // container gsp-node-db-summary
    
          container database {
            description
              "Tunnel Ip ma parameters";
            container transport-vrf-datas {
              description
                "GRE/IPinIP Tunnel Transport VRF DB";
              list transport-vrf-data {
                description
                  "GRE/IPinIP Tunnel Transport VRF DB";
                leaf vrf-name {
                  type xr:Cisco-ios-xr-string;
                  description "VRF Name";
                }
    
                leaf address-family {
                  type dt1:Tunl-addr-family-list;
                  description "Address Family";
                }
    
                list idb-array {
                  description "Array of MA IDB";
                  container source-address {
                    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
    
                  container destination-address {
                    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
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf source-interface-name {
                    type string;
                    description
                      "Source Interface Name";
                  }
    
                  leaf tunnel-src-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel Source VRF table ID";
                  }
    
                  leaf destination-address-length {
                    type uint8;
                    description
                      "Destination Address Length";
                  }
    
                  leaf destination-prefix-list {
                    type string;
                    description
                      "Destination Prefix List";
                  }
    
                  leaf tunnel-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel VRF table ID";
                  }
    
                  leaf tunnel-vrfid {
                    type uint32;
                    description "Tunnel VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf tunnel-mode-direction {
                    type Tunl-ip-mode-dir;
                    description "Mode direction";
                  }
    
                  leaf flags {
                    type Tunl-ip-tunl-flag;
                    description
                      "Flags for don't fragment, TOS reflection";
                  }
    
                  leaf mtu {
                    type uint16;
                    description
                      "Max Transferable Unit";
                  }
    
                  leaf tos {
                    type uint8;
                    description
                      "Type Of Service";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time To Live";
                  }
    
                  leaf interface-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf keepalive-maximum-retries {
                    type uint8;
                    description
                      "Keepalive Retries";
                  }
    
                  leaf keepalive-period {
                    type uint16;
                    description
                      "Keepalive Period";
                  }
    
                  leaf platform-tunnel-id {
                    type uint16;
                    description
                      "Platform Tunnel ID";
                  }
    
                  leaf bandwidth {
                    type uint32;
                    description "Bandwidth";
                  }
    
                  leaf flags-other {
                    type uint32;
                    description "Other Flags";
                  }
    
                  leaf key {
                    type uint32;
                    description
                      "Key Value for GRE Packet";
                  }
    
                  leaf key-entropy-length {
                    type uint8;
                    description
                      "Key Entropy Length for GRE Packet";
                  }
    
                  leaf transport-proto {
                    type Tunl-ip-transport-proto;
                    description
                      "Tunnel Transport Protocol";
                  }
    
                  leaf op-ifhandle {
                    type xr:Interface-name;
                    description
                      "Output Interface handle";
                  }
    
                  leaf flag-bits {
                    type Tunl-ip-tunl-flag-bits;
                    description "Flags for BFD";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "Tunnel Interface State";
                  }
    
                  leaf base-caps-state {
                    type string;
                    description
                      "Base Caps State";
                  }
    
                  leaf bfd-session-state {
                    type string;
                    description
                      "BFD Session State";
                  }
                }  // list idb-array
              }  // list transport-vrf-data
            }  // container transport-vrf-datas
    
            container tunnel-ids {
              description
                "MA database parameters";
              list tunnel-id {
                key "tid";
                description "Tunnel ID";
                leaf tid {
                  type dt1:Tunl-id-range;
                  description "Tunnel ID";
                }
    
                list idb-array {
                  description "Array of MA IDB";
                  container source-address {
                    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
    
                  container destination-address {
                    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
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf source-interface-name {
                    type string;
                    description
                      "Source Interface Name";
                  }
    
                  leaf tunnel-src-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel Source VRF table ID";
                  }
    
                  leaf destination-address-length {
                    type uint8;
                    description
                      "Destination Address Length";
                  }
    
                  leaf destination-prefix-list {
                    type string;
                    description
                      "Destination Prefix List";
                  }
    
                  leaf tunnel-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel VRF table ID";
                  }
    
                  leaf tunnel-vrfid {
                    type uint32;
                    description "Tunnel VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf tunnel-mode-direction {
                    type Tunl-ip-mode-dir;
                    description "Mode direction";
                  }
    
                  leaf flags {
                    type Tunl-ip-tunl-flag;
                    description
                      "Flags for don't fragment, TOS reflection";
                  }
    
                  leaf mtu {
                    type uint16;
                    description
                      "Max Transferable Unit";
                  }
    
                  leaf tos {
                    type uint8;
                    description
                      "Type Of Service";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time To Live";
                  }
    
                  leaf interface-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf keepalive-maximum-retries {
                    type uint8;
                    description
                      "Keepalive Retries";
                  }
    
                  leaf keepalive-period {
                    type uint16;
                    description
                      "Keepalive Period";
                  }
    
                  leaf platform-tunnel-id {
                    type uint16;
                    description
                      "Platform Tunnel ID";
                  }
    
                  leaf bandwidth {
                    type uint32;
                    description "Bandwidth";
                  }
    
                  leaf flags-other {
                    type uint32;
                    description "Other Flags";
                  }
    
                  leaf key {
                    type uint32;
                    description
                      "Key Value for GRE Packet";
                  }
    
                  leaf key-entropy-length {
                    type uint8;
                    description
                      "Key Entropy Length for GRE Packet";
                  }
    
                  leaf transport-proto {
                    type Tunl-ip-transport-proto;
                    description
                      "Tunnel Transport Protocol";
                  }
    
                  leaf op-ifhandle {
                    type xr:Interface-name;
                    description
                      "Output Interface handle";
                  }
    
                  leaf flag-bits {
                    type Tunl-ip-tunl-flag-bits;
                    description "Flags for BFD";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "Tunnel Interface State";
                  }
    
                  leaf base-caps-state {
                    type string;
                    description
                      "Base Caps State";
                  }
    
                  leaf bfd-session-state {
                    type string;
                    description
                      "BFD Session State";
                  }
                }  // list idb-array
              }  // list tunnel-id
            }  // container tunnel-ids
    
            container interface-handles {
              description
                "GRE/IPinIP Tunnel ifhandle DB";
              list interface-handle {
                key "if-handle";
                description
                  "GRE/IPinIP Tunnel ifhandle DB";
                leaf if-handle {
                  type xr:Interface-name;
                  description
                    "Interface Handle value";
                }
    
                list idb-array {
                  description "Array of MA IDB";
                  container source-address {
                    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
    
                  container destination-address {
                    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
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf source-interface-name {
                    type string;
                    description
                      "Source Interface Name";
                  }
    
                  leaf tunnel-src-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel Source VRF table ID";
                  }
    
                  leaf destination-address-length {
                    type uint8;
                    description
                      "Destination Address Length";
                  }
    
                  leaf destination-prefix-list {
                    type string;
                    description
                      "Destination Prefix List";
                  }
    
                  leaf tunnel-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel VRF table ID";
                  }
    
                  leaf tunnel-vrfid {
                    type uint32;
                    description "Tunnel VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf tunnel-mode-direction {
                    type Tunl-ip-mode-dir;
                    description "Mode direction";
                  }
    
                  leaf flags {
                    type Tunl-ip-tunl-flag;
                    description
                      "Flags for don't fragment, TOS reflection";
                  }
    
                  leaf mtu {
                    type uint16;
                    description
                      "Max Transferable Unit";
                  }
    
                  leaf tos {
                    type uint8;
                    description
                      "Type Of Service";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time To Live";
                  }
    
                  leaf interface-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf keepalive-maximum-retries {
                    type uint8;
                    description
                      "Keepalive Retries";
                  }
    
                  leaf keepalive-period {
                    type uint16;
                    description
                      "Keepalive Period";
                  }
    
                  leaf platform-tunnel-id {
                    type uint16;
                    description
                      "Platform Tunnel ID";
                  }
    
                  leaf bandwidth {
                    type uint32;
                    description "Bandwidth";
                  }
    
                  leaf flags-other {
                    type uint32;
                    description "Other Flags";
                  }
    
                  leaf key {
                    type uint32;
                    description
                      "Key Value for GRE Packet";
                  }
    
                  leaf key-entropy-length {
                    type uint8;
                    description
                      "Key Entropy Length for GRE Packet";
                  }
    
                  leaf transport-proto {
                    type Tunl-ip-transport-proto;
                    description
                      "Tunnel Transport Protocol";
                  }
    
                  leaf op-ifhandle {
                    type xr:Interface-name;
                    description
                      "Output Interface handle";
                  }
    
                  leaf flag-bits {
                    type Tunl-ip-tunl-flag-bits;
                    description "Flags for BFD";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "Tunnel Interface State";
                  }
    
                  leaf base-caps-state {
                    type string;
                    description
                      "Base Caps State";
                  }
    
                  leaf bfd-session-state {
                    type string;
                    description
                      "BFD Session State";
                  }
                }  // list idb-array
              }  // list interface-handle
            }  // container interface-handles
    
            container keep-alives {
              description
                "show tunnel ip keepalive data";
              list keep-alive {
                description
                  "Show tunnel ip keepalive data";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "Interface Handle value";
                }
    
                leaf tunnel-id {
                  type dt1:Tunl-id-range;
                  description "Tunnel ID";
                }
    
                container source-address {
                  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
    
                container destination-address {
                  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
    
                leaf tunnel-id-xr {
                  type uint32;
                  description "Tunnel id";
                }
    
                leaf interface-type {
                  type xr:Interface-name;
                  description "Interface Type";
                }
    
                leaf gre-key {
                  type uint32;
                  description "GRE key";
                }
    
                leaf tunnel-vrfid {
                  type uint32;
                  description "Tunnel VRF ID";
                }
    
                leaf tunnel-vrf-table-id {
                  type uint32;
                  description
                    "Tunnel VRF table ID";
                }
    
                leaf flags {
                  type Tunl-ip-tunl-flag;
                  description
                    "Flags for interface/line protocol state";
                }
    
                leaf keepalive-period {
                  type uint16;
                  description "Keepalive Period";
                }
    
                leaf keepalive-maximum-retries {
                  type uint8;
                  description
                    "Keepalive Maximum Retries";
                }
    
                leaf keepalive-fail {
                  type uint8;
                  description
                    "Keepalive Fail Count";
                }
    
                leaf ttl {
                  type uint8;
                  description "Tunnel TTL";
                }
    
                leaf keepalive-state {
                  type Tunl-gre-ka-states;
                  description "keepalive State";
                }
    
                leaf ka-sent-packets {
                  type uint32;
                  description
                    "Number of keepalive packets sent";
                }
    
                leaf ka-received-packets {
                  type uint32;
                  description
                    "Number of keepalive packets received";
                }
    
                leaf ka-sent-time {
                  type uint32;
                  description
                    "Timestamp of Keepalive packets sent";
                }
    
                leaf ka-received-time {
                  type uint32;
                  description
                    "Timestamp of Keepalive packets received";
                }
              }  // list keep-alive
            }  // container keep-alives
    
            container rib-convergences {
              description
                "GRE/IPinIP Tunnel RIB converge DB";
              list rib-convergence {
                key "table-id";
                description
                  "GRE/IPinIP Tunnel RIB converge DB";
                leaf table-id {
                  type uint32;
                  description "RSI Table ID";
                }
    
                leaf tunnel-vrf-table-id {
                  type uint32;
                  description
                    "Tunnel VRF table ID";
                }
    
                leaf afi {
                  type uint32;
                  description
                    "Transport VRF AFI";
                }
    
                leaf vrf-name {
                  type string;
                  description
                    "Transport VRF Name";
                }
    
                leaf convergence-state {
                  type boolean;
                  description
                    "IS Table Convergence State";
                }
              }  // list rib-convergence
            }  // container rib-convergences
    
            container tunnel-sources {
              description
                "GRE/IPinIP Tunnel Source interface name DB";
              list tunnel-source {
                description
                  "GRE/IPinIP Tunnel Source interface name DB";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "Tunnel Source Interface Name";
                }
    
                leaf address-family {
                  type dt1:Tunl-addr-family-list;
                  description "AddressFamily";
                }
    
                list idb-array {
                  description "Array of MA IDB";
                  container source-address {
                    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
    
                  container destination-address {
                    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
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf source-interface-name {
                    type string;
                    description
                      "Source Interface Name";
                  }
    
                  leaf tunnel-src-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel Source VRF table ID";
                  }
    
                  leaf destination-address-length {
                    type uint8;
                    description
                      "Destination Address Length";
                  }
    
                  leaf destination-prefix-list {
                    type string;
                    description
                      "Destination Prefix List";
                  }
    
                  leaf tunnel-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel VRF table ID";
                  }
    
                  leaf tunnel-vrfid {
                    type uint32;
                    description "Tunnel VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf tunnel-mode-direction {
                    type Tunl-ip-mode-dir;
                    description "Mode direction";
                  }
    
                  leaf flags {
                    type Tunl-ip-tunl-flag;
                    description
                      "Flags for don't fragment, TOS reflection";
                  }
    
                  leaf mtu {
                    type uint16;
                    description
                      "Max Transferable Unit";
                  }
    
                  leaf tos {
                    type uint8;
                    description
                      "Type Of Service";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time To Live";
                  }
    
                  leaf interface-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf keepalive-maximum-retries {
                    type uint8;
                    description
                      "Keepalive Retries";
                  }
    
                  leaf keepalive-period {
                    type uint16;
                    description
                      "Keepalive Period";
                  }
    
                  leaf platform-tunnel-id {
                    type uint16;
                    description
                      "Platform Tunnel ID";
                  }
    
                  leaf bandwidth {
                    type uint32;
                    description "Bandwidth";
                  }
    
                  leaf flags-other {
                    type uint32;
                    description "Other Flags";
                  }
    
                  leaf key {
                    type uint32;
                    description
                      "Key Value for GRE Packet";
                  }
    
                  leaf key-entropy-length {
                    type uint8;
                    description
                      "Key Entropy Length for GRE Packet";
                  }
    
                  leaf transport-proto {
                    type Tunl-ip-transport-proto;
                    description
                      "Tunnel Transport Protocol";
                  }
    
                  leaf op-ifhandle {
                    type xr:Interface-name;
                    description
                      "Output Interface handle";
                  }
    
                  leaf flag-bits {
                    type Tunl-ip-tunl-flag-bits;
                    description "Flags for BFD";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "Tunnel Interface State";
                  }
    
                  leaf base-caps-state {
                    type string;
                    description
                      "Base Caps State";
                  }
    
                  leaf bfd-session-state {
                    type string;
                    description
                      "BFD Session State";
                  }
                }  // list idb-array
              }  // list tunnel-source
            }  // container tunnel-sources
    
            container check-points {
              description "GRE MA Checkpoint";
              list check-point {
                key "check-point-id";
                description "GRE MA Checkpoint";
                leaf check-point-id {
                  type uint32;
                  description
                    "Object-ID of GRE MA checkpoint record";
                }
    
                container source-address {
                  description
                    "Tunnel Source Interface 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
    
                leaf tunnel-id {
                  type uint32;
                  description "Tunnel ID";
                }
    
                leaf flags {
                  type uint32;
                  description
                    "Interface State and Basecap State flags";
                }
    
                leaf platform-tunnel-id {
                  type uint16;
                  description
                    "Platform Tunnel ID";
                }
    
                leaf object-id {
                  type uint64;
                  description "chkpt object ID";
                }
    
                leaf tunnel-app-id {
                  type uint32;
                  description "Tunnel App ID";
                }
    
                leaf ep-app-id {
                  type uint32;
                  description "EP App ID";
                }
              }  // list check-point
            }  // container check-points
    
            container tunnel-destinations {
              description
                "GRE/IPinIP Tunnel Destination DB";
              list tunnel-destination {
                description
                  "GRE/IPinIP Tunnel Destination DB";
                leaf ip {
                  type inet:ip-address-no-zone;
                  description
                    "Tunnel Destination IP Address";
                }
    
                leaf length {
                  type dt1:Tunl-addr-length-range;
                  description
                    "Destination Address Length";
                }
    
                leaf vrf {
                  type xr:Cisco-ios-xr-string;
                  description
                    "Transport VRF Name";
                }
    
                list idb-array {
                  description "Array of MA IDB";
                  container source-address {
                    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
    
                  container destination-address {
                    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
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf interface-type {
                    type xr:Interface-name;
                    description "Interface Type";
                  }
    
                  leaf source-interface-name {
                    type string;
                    description
                      "Source Interface Name";
                  }
    
                  leaf tunnel-src-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel Source VRF table ID";
                  }
    
                  leaf destination-address-length {
                    type uint8;
                    description
                      "Destination Address Length";
                  }
    
                  leaf destination-prefix-list {
                    type string;
                    description
                      "Destination Prefix List";
                  }
    
                  leaf tunnel-vrf-table-id {
                    type uint32;
                    description
                      "Tunnel VRF table ID";
                  }
    
                  leaf tunnel-vrfid {
                    type uint32;
                    description "Tunnel VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf tunnel-mode {
                    type Tunl-ip-mode;
                    description "Mode of Tunnel";
                  }
    
                  leaf tunnel-mode-direction {
                    type Tunl-ip-mode-dir;
                    description "Mode direction";
                  }
    
                  leaf flags {
                    type Tunl-ip-tunl-flag;
                    description
                      "Flags for don't fragment, TOS reflection";
                  }
    
                  leaf mtu {
                    type uint16;
                    description
                      "Max Transferable Unit";
                  }
    
                  leaf tos {
                    type uint8;
                    description
                      "Type Of Service";
                  }
    
                  leaf ttl {
                    type uint8;
                    description "Time To Live";
                  }
    
                  leaf interface-name {
                    type string;
                    description "Interface Name";
                  }
    
                  leaf keepalive-maximum-retries {
                    type uint8;
                    description
                      "Keepalive Retries";
                  }
    
                  leaf keepalive-period {
                    type uint16;
                    description
                      "Keepalive Period";
                  }
    
                  leaf platform-tunnel-id {
                    type uint16;
                    description
                      "Platform Tunnel ID";
                  }
    
                  leaf bandwidth {
                    type uint32;
                    description "Bandwidth";
                  }
    
                  leaf flags-other {
                    type uint32;
                    description "Other Flags";
                  }
    
                  leaf key {
                    type uint32;
                    description
                      "Key Value for GRE Packet";
                  }
    
                  leaf key-entropy-length {
                    type uint8;
                    description
                      "Key Entropy Length for GRE Packet";
                  }
    
                  leaf transport-proto {
                    type Tunl-ip-transport-proto;
                    description
                      "Tunnel Transport Protocol";
                  }
    
                  leaf op-ifhandle {
                    type xr:Interface-name;
                    description
                      "Output Interface handle";
                  }
    
                  leaf flag-bits {
                    type Tunl-ip-tunl-flag-bits;
                    description "Flags for BFD";
                  }
    
                  leaf interface-state {
                    type string;
                    description
                      "Tunnel Interface State";
                  }
    
                  leaf base-caps-state {
                    type string;
                    description
                      "Base Caps State";
                  }
    
                  leaf bfd-session-state {
                    type string;
                    description
                      "BFD Session State";
                  }
                }  // list idb-array
              }  // list tunnel-destination
            }  // container tunnel-destinations
    
            container summary {
              description "Tunnel IP MA summary";
              leaf gre-cap-platform-supported {
                type boolean;
                description
                  "Is Platform Supported";
              }
    
              leaf gre-cap-max-tunnels-supported {
                type uint32;
                description
                  "Max Tunnel Supported";
              }
    
              leaf gre-cap-max-mtu-supported {
                type uint32;
                description "Max MTU Supported";
              }
    
              leaf gre-cap-multi-encap-supported {
                type boolean;
                description
                  "Multi Encap Supported";
              }
    
              leaf gre-cap-key-supported {
                type boolean;
                description "Is Key Supported";
              }
    
              leaf gre-cap-ipv4-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf gre-cap-ipv6-transport-supported {
                type boolean;
                description
                  "Is GRE IPV6 Supported";
              }
    
              leaf gre-cap-mgre-ipv4-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf gre-cap-mgre-ipv6-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf cap-ipv4-transport-supported {
                type boolean;
                description "Is IPV4 Supported";
              }
    
              leaf cap-ipv6-transport-supported {
                type boolean;
                description "Is IPV6 Supported";
              }
    
              leaf gre-cap-checksum-supported {
                type boolean;
                description
                  "Is Checksum Supported";
              }
    
              leaf gre-cap-seq-num-supported {
                type boolean;
                description
                  "Is Sequence Number Supported";
              }
    
              leaf gre-cap-shm-reset-supported {
                type boolean;
                description
                  "Is Shmem reset Supported";
              }
    
              leaf gre-tid-db-count {
                type uint32;
                description
                  "Number of Tunnels in Tunnel ID DB";
              }
    
              leaf gre-ifh-db-count {
                type uint32;
                description
                  "Number of Tunnels in Ifhandle DB";
              }
    
              leaf gre-dst-db-count {
                type uint32;
                description
                  "Number of Tunnels in Destination DB";
              }
    
              leaf gre-src-db-count {
                type uint32;
                description
                  "Number of Tunnels in Source DB";
              }
    
              leaf gre-trans-vrf-db-count {
                type uint32;
                description
                  "Number of Tunnels in Transport VRF DB";
              }
    
              leaf gre-chkpt-db-count {
                type uint32;
                description
                  "Number of Tunnels in Checkpoint DB";
              }
    
              leaf gre-ka-db-count {
                type uint32;
                description
                  "Number of Tunnels in Keepalive DB";
              }
    
              leaf gre-im-dpc-bulk-count {
                type uint32;
                description
                  "Number of bulk DPC messages";
              }
    
              leaf gre-im-dpc-total-count {
                type uint32;
                description
                  "Number of Total DPC messages";
              }
    
              leaf gre-im-dpc-error-count {
                type uint32;
                description
                  "Number of DPC error messages";
              }
    
              leaf gre-intf-state-up-up {
                type uint32;
                description
                  "Number of interfaces in UP/UP state";
              }
    
              leaf gre-intf-state-up-down {
                type uint32;
                description
                  "Number of interfaces in UP/DOWN state";
              }
    
              leaf gre-intf-state-down-down {
                type uint32;
                description
                  "Number of interfaces in DOWN/DOWN state";
              }
    
              leaf gre-src-addr-db-count {
                type uint32;
                description
                  "Number of Tunnels in Source addr DB";
              }
            }  // container summary
          }  // container database
    
          container application-db-stats {
            description "GRE MA APP DB summary";
            list app-prod-array {
              description "APP_PROD array";
              leaf is-valid {
                type boolean;
                description "Is valid flag";
              }
    
              leaf reg-status {
                type boolean;
                description "Register status";
              }
    
              leaf eod-recvd {
                type boolean;
                description "EOD received";
              }
    
              leaf endpt-prod {
                type boolean;
                description "Is endpt producer";
              }
    
              leaf is-tmr-run {
                type boolean;
                description "Is timer running";
              }
    
              leaf endpt-count {
                type uint32;
                description "Endpt count";
              }
            }  // list app-prod-array
          }  // container application-db-stats
    
          container standby-database {
            description
              "Tunnel Ip ma parameters";
            container summary {
              description "Tunnel IP MA summary";
              leaf gre-cap-platform-supported {
                type boolean;
                description
                  "Is Platform Supported";
              }
    
              leaf gre-cap-max-tunnels-supported {
                type uint32;
                description
                  "Max Tunnel Supported";
              }
    
              leaf gre-cap-max-mtu-supported {
                type uint32;
                description "Max MTU Supported";
              }
    
              leaf gre-cap-multi-encap-supported {
                type boolean;
                description
                  "Multi Encap Supported";
              }
    
              leaf gre-cap-key-supported {
                type boolean;
                description "Is Key Supported";
              }
    
              leaf gre-cap-ipv4-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf gre-cap-ipv6-transport-supported {
                type boolean;
                description
                  "Is GRE IPV6 Supported";
              }
    
              leaf gre-cap-mgre-ipv4-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf gre-cap-mgre-ipv6-transport-supported {
                type boolean;
                description
                  "Is GRE IPV4 Supported";
              }
    
              leaf cap-ipv4-transport-supported {
                type boolean;
                description "Is IPV4 Supported";
              }
    
              leaf cap-ipv6-transport-supported {
                type boolean;
                description "Is IPV6 Supported";
              }
    
              leaf gre-cap-checksum-supported {
                type boolean;
                description
                  "Is Checksum Supported";
              }
    
              leaf gre-cap-seq-num-supported {
                type boolean;
                description
                  "Is Sequence Number Supported";
              }
    
              leaf gre-cap-shm-reset-supported {
                type boolean;
                description
                  "Is Shmem reset Supported";
              }
    
              leaf gre-tid-db-count {
                type uint32;
                description
                  "Number of Tunnels in Tunnel ID DB";
              }
    
              leaf gre-ifh-db-count {
                type uint32;
                description
                  "Number of Tunnels in Ifhandle DB";
              }
    
              leaf gre-dst-db-count {
                type uint32;
                description
                  "Number of Tunnels in Destination DB";
              }
    
              leaf gre-src-db-count {
                type uint32;
                description
                  "Number of Tunnels in Source DB";
              }
    
              leaf gre-trans-vrf-db-count {
                type uint32;
                description
                  "Number of Tunnels in Transport VRF DB";
              }
    
              leaf gre-chkpt-db-count {
                type uint32;
                description
                  "Number of Tunnels in Checkpoint DB";
              }
    
              leaf gre-ka-db-count {
                type uint32;
                description
                  "Number of Tunnels in Keepalive DB";
              }
    
              leaf gre-im-dpc-bulk-count {
                type uint32;
                description
                  "Number of bulk DPC messages";
              }
    
              leaf gre-im-dpc-total-count {
                type uint32;
                description
                  "Number of Total DPC messages";
              }
    
              leaf gre-im-dpc-error-count {
                type uint32;
                description
                  "Number of DPC error messages";
              }
    
              leaf gre-intf-state-up-up {
                type uint32;
                description
                  "Number of interfaces in UP/UP state";
              }
    
              leaf gre-intf-state-up-down {
                type uint32;
                description
                  "Number of interfaces in UP/DOWN state";
              }
    
              leaf gre-intf-state-down-down {
                type uint32;
                description
                  "Number of interfaces in DOWN/DOWN state";
              }
    
              leaf gre-src-addr-db-count {
                type uint32;
                description
                  "Number of Tunnels in Source addr DB";
              }
            }  // container summary
          }  // container standby-database
    
          container endpoints {
            description "GRE MA DB endpoints";
            list endpoint {
              description "GRE MA DB endpoints";
              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 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 MA 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 tunnel-ip-ma
      }  // module Cisco-IOS-XR-tunnel-ip-ma-oper
    

© 2023 YumaWorks, Inc. All rights reserved.