Cisco-IOS-XR-ipv4-ospf-oper-sub2

This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv4-ospf package operational data. Copyright (c) 201...

  • Version: 2021-06-01

    Cisco-IOS-XR-ipv4-ospf-oper-sub2@2021-06-01


    
      submodule Cisco-IOS-XR-ipv4-ospf-oper-sub2 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ipv4-ospf-oper {
            prefix Cisco-IOS-XR-ipv4-ospf-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This submodule contains a collection of YANG definitions
         for Cisco IOS-XR ipv4-ospf package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-06-01" {
          description
            "Added changes to show if a FAD contains unknown parameters
           2020-09-15
             Added changes for Delay Anomaly
           2020-07-15
             Added changes for SRTE automatic path capability";
        }
    
        revision "2020-03-19" {
          description
            "Added changes for Delay Normalization
           2020-02-04
           Added changes for Conditional Advertising
           2019-09-30
           Added changes for Weighted SRLG";
        }
    
        revision "2019-07-26" {
          description
            "Added new fields in redistribution container to display more information.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-01-07" {
          description
            "Modified for Programmability 2.0";
        }
    
        revision "2018-04-18" {
          description
            "Added keychain name to be displayed in show ospf interface bag";
        }
    
        revision "2017-10-26" {
          description
            "Fixed some field name and values for better interpretation";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2017-01-02" {
          description "IOS XR 6.2.1 revision.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Ospf-sh-opq-ri-pce-addr-types {
          type enumeration {
            enum
              "mgmt-ospf-opq-pce-addr-type-invalid" {
              value 0;
              description "Invalid PCE Address";
            }
            enum
              "mgmt-ospf-opq-pce-addr-type-ipv4" {
              value 1;
              description "IPv4 PCE Address";
            }
            enum
              "mgmt-ospf-opq-pce-addr-type-ipv6" {
              value 2;
              description "IPv6 PCE Address";
            }
          }
          description "OSPF PCE Address Type";
        }
    
        typedef Ospf-sh-opq-ri-tlv-types {
          type enumeration {
            enum
              "mgmt-ospf-opq-ri-tlv-type-unknown" {
              value 0;
              description "Unknown";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-rtrcap" {
              value 1;
              description "Router Capabilities";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-pce-discovery" {
              value 2;
              description "PCE Discovery";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-sr-algo" {
              value 3;
              description
                "Segment Routing Algorithm";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-sr-range" {
              value 4;
              description
                "Segment Routing SID Range";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-node-msd" {
              value 5;
              description
                "Node MSD (Max SID Depth)";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-srlb" {
              value 6;
              description
                "Segment Routing Local Block";
            }
            enum "mgmt-ospf-opq-ri-tlv-type-fad" {
              value 7;
              description
                "Segment Routing FLEX ALGO DEF";
            }
            enum
              "mgmt-ospf-opq-ri-tlv-type-host-name" {
              value 8;
              description "Dynamic Hostname";
            }
          }
          description
            "OSPF Router Information TLV types";
        }
    
        typedef Ospf-lsa-opq-ri-scope {
          type enumeration {
            enum "mgmt-lsa-opq-ri-scope-link" {
              value 9;
              description
                "Link-local Router Information LSA";
            }
            enum "mgmt-lsa-opq-ri-scope-area" {
              value 10;
              description
                "Area-scope Router Information LSA";
            }
            enum "mgmt-lsa-opq-ri-scope-as" {
              value 11;
              description
                "AS-scope Router Information LSA";
            }
          }
          description
            "OSPF Router Information LSA scope types";
        }
    
        typedef Ospf-gr-reason {
          type enumeration {
            enum "mgmt-gr-reason-unknown" {
              value 0;
              description "Unknown";
            }
            enum "mgmt-gr-reason-sw-restart" {
              value 1;
              description "Software restart";
            }
            enum "mgmt-gr-reason-sw-upgrade" {
              value 2;
              description
                "Software reload/upgrade";
            }
            enum "mgmt-gr-reason-switchover" {
              value 3;
              description
                "Switch to redundant control processor";
            }
          }
          description "Ospf gr reason";
        }
    
        typedef Stlv {
          type enumeration {
            enum "mgmt-rrr-link-type" {
              value 1;
              description "Link Type";
            }
            enum "mgmt-rrr-link-id" {
              value 2;
              description "Link ID";
            }
            enum "mgmt-rrr-link-local-if-addr" {
              value 3;
              description
                "Local interface IP address";
            }
            enum "mgmt-rrr-link-remote-if-addr" {
              value 4;
              description
                "Remote interface IP address";
            }
            enum "mgmt-rrr-link-metric" {
              value 5;
              description
                "Traffic Engineering metric";
            }
            enum "mgmt-rrr-link-max-bw" {
              value 6;
              description
                "Maximum Link Bandwidth";
            }
            enum
              "mgmt-rrr-link-max-reservable-bw" {
              value 7;
              description
                "Maximum Reservable bandwidth";
            }
            enum "mgmt-rrr-link-unreserved-bw" {
              value 8;
              description "Unreserved Bandwidth";
            }
            enum "mgmt-rrr-link-re-source-class" {
              value 9;
              description "Administrative group";
            }
            enum "mgmt-rrr-link-in-out-if-id" {
              value 11;
              description
                "Link Local/Remote Identifiers";
            }
            enum
              "mgmt-rrr-link-if-switching-cap-desc" {
              value 15;
              description
                "Interface Switching Capability Descriptor";
            }
            enum "mgmt-ospf-rrr-link-srlg" {
              value 16;
              description
                "Shared Risk Link Group";
            }
            enum
              "mgmt-rrr-link-bw-constraints-sub" {
              value 17;
              description
                "Bandwidth constraints";
            }
            enum
              "mgmt-ospf-rrr-link-ext-admin-sub" {
              value 26;
              description "Extended admin";
            }
            enum "mgmt-ospf-rrr-link-uni-delay" {
              value 27;
              description
                "Unidirectional link delay";
            }
            enum
              "mgmt-ospf-rrr-link-uni-min-max-delay" {
              value 28;
              description
                "Unidirectional min-max delay";
            }
            enum
              "mgmt-ospf-rrr-link-uni-delay-var-iance" {
              value 29;
              description
                "Unidirectional delay variance";
            }
            enum
              "mgmt-ospf-rrr-link-uni-link-loss" {
              value 30;
              description
                "Unidirectional link loss";
            }
            enum
              "mgmt-ospf-rrr-link-uni-residual-bw" {
              value 31;
              description
                "Unidirectional residual bandwidth";
            }
            enum
              "mgmt-ospf-rrr-link-uni-available-bw" {
              value 32;
              description
                "Unidirectional available delay";
            }
            enum
              "mgmt-ospf-rrr-link-uni-utilized-bw" {
              value 33;
              description
                "Unidirectional utilized bandwidth";
            }
            enum
              "mgmt-ospf-rrr-link-max-reservable-bw-sub" {
              value 32768;
              description
                "Maximum reservable sub-pool bandwidth";
            }
            enum
              "mgmt-ospf-rrr-link-unreserved-bw-sub" {
              value 32769;
              description
                "Unreserved sub-pool bandwidth";
            }
            enum "mgmt-rrr-link-igp-metric" {
              value 32770;
              description "IGP Link Metric";
            }
            enum
              "mgmt-ospf-rrr-link-ext-admin-sub-backward" {
              value 32771;
              description
                "Extended admin backward";
            }
          }
          description
            "OSPF Opaque-area Type 1 sub TLV types";
        }
    
        typedef Ex-metric {
          type enumeration {
            enum "mgmt-ex-metric-type-none" {
              value 0;
              description "No metric type";
            }
            enum "mgmt-ex-metric-type-1" {
              value 1;
              description "Type 1 External";
            }
            enum "mgmt-ex-metric-type-2" {
              value 2;
              description "Type 2 External";
            }
          }
          description "Ex metric";
        }
    
        typedef Ospf-link-types {
          type enumeration {
            enum "mgmt-rtr-link" {
              value 1;
              description "Link to a Router";
            }
            enum "mgmt-trans-link" {
              value 2;
              description
                "Link to a transit network";
            }
            enum "mgmt-stub-net" {
              value 3;
              description "Link to Stub network";
            }
            enum "mgmt-vitural-link" {
              value 4;
              description "Link to Virtual Link";
            }
          }
          description "Type of router LSA links";
        }
    
        typedef Ospf-internal-lsa-types {
          type enumeration {
            enum "mgmt-rtr-type" {
              value 1;
              description "Router LSA";
            }
            enum "mgmt-ntwk-type" {
              value 2;
              description "Network LSA";
            }
            enum "mgmt-sum-type" {
              value 3;
              description
                "Summary and ASBR summary LSA";
            }
            enum "mgmt-ext-type" {
              value 4;
              description
                "Type 5 and NSSA external LSA";
            }
            enum "mgmt-opq-type" {
              value 5;
              description
                "Generic AS/Area Opaque LSA";
            }
            enum "mgmt-opq-link-type" {
              value 6;
              description
                "Generic Link Opaque LSA";
            }
            enum "mgmt-opq-rrr-type" {
              value 7;
              description
                "Opaque Area type 1 LSA";
            }
            enum "mgmt-opq-gr-type" {
              value 8;
              description
                "Opaque link type 1 LSA";
            }
            enum "mgmt-opq-ri-type" {
              value 9;
              description
                "Opaque Router Information LSA";
            }
            enum "mgmt-opq-epl-type" {
              value 10;
              description "Opaque Area type 128";
            }
            enum "mgmt-opq-ell-type" {
              value 11;
              description "Opaque Area type 8";
            }
          }
          description "OSPF LSA format types";
        }
    
        typedef Timer {
          type enumeration {
            enum "mgmt-db-stop" {
              value 0;
              description "Timer stopped";
            }
            enum "mgmt-db-refresh" {
              value 1;
              description "Refresh";
            }
            enum "mgmt-db-checksum" {
              value 2;
              description "Checksum";
            }
            enum "mgmt-db-max-age" {
              value 3;
              description "Maxage";
            }
          }
          description
            "The LSA timer running can be refresh, checksum or
           maxage";
        }
    
        typedef Timer-table {
          type enumeration {
            enum "mgmt-db-no-table" {
              value 0;
              description "Not in time table";
            }
            enum "mgmt-db-sec-table" {
              value 1;
              description "In second table";
            }
            enum "mgmt-db-buffer-table" {
              value 2;
              description "In buffer table";
            }
            enum "mgmt-db-min-table" {
              value 3;
              description "In minute table";
            }
          }
          description
            "The throttled LSA can be in second, buffer or
           minute timer table";
        }
    
        typedef Ospf-srlb-status {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown";
            }
            enum "not-allocated" {
              value 1;
              description "Not allocated";
            }
            enum "allocated" {
              value 2;
              description "Allocated";
            }
          }
          description "Ospf srlb status";
        }
    
        typedef Ospf-srgb-status {
          type enumeration {
            enum "not-allocated" {
              value 0;
              description "Not allocated";
            }
            enum "pending" {
              value 1;
              description "Allocation pending";
            }
            enum "allocated" {
              value 2;
              description "Allocated";
            }
          }
          description "Ospf srgb status";
        }
    
        typedef Uloop-avoidance {
          type enumeration {
            enum "none" {
              value 0;
              description "No uloop avoidance";
            }
            enum "protected-prefixes" {
              value 1;
              description
                "Apply Local uloop avoidance only for protected
               prefixes";
            }
            enum "all-prefixes" {
              value 2;
              description
                "Apply Local uloop avoidance for all prefixes";
            }
            enum "segment-routing-uloop" {
              value 3;
              description
                "Apply segment routing uloop avoidance";
            }
          }
          description "Uloop avoidance";
        }
    
        typedef Gs-state {
          type enumeration {
            enum "mgmt-gs-init" {
              value 0;
              description
                "Process in initialization ";
            }
            enum "mgmt-gs-normal" {
              value 1;
              description
                "Graceful Shutdown not running";
            }
            enum "mgmt-gs-delay" {
              value 2;
              description
                "Delaying  before Graceful Shutdown";
            }
            enum "mgmt-gs-flush" {
              value 3;
              description
                "Flushing self originated LSAs";
            }
            enum "mgmt-gs-hello" {
              value 4;
              description "Sending empty hellos";
            }
            enum "mgmt-gs-quiet" {
              value 5;
              description "Shutdown mode.";
            }
          }
          description "Gs state";
        }
    
        typedef Max-metric-unset-reason {
          type enumeration {
            enum "mgmt-max-metric-unset-none" {
              value 0;
              description "none";
            }
            enum "mgmt-max-metric-unset-bgp" {
              value 1;
              description "BGP converged";
            }
            enum "mgmt-max-metric-unset-timer" {
              value 2;
              description "timer expired";
            }
            enum "mgmt-max-metric-unset-cfg" {
              value 3;
              description "unconfigured";
            }
            enum
              "mgmt-max-metric-unset-process-cleared" {
              value 4;
              description "process cleared";
            }
            enum
              "mgmt-max-metric-unset-over-write" {
              value 5;
              description "set for other reason";
            }
          }
          description "Max metric unset reason";
        }
    
        typedef Ospf-max-metric-abr-off-reasons {
          type enumeration {
            enum
              "ospf-max-metric-abr-off-reason-none" {
              value 0;
              description "No reason";
            }
            enum
              "ospf-max-metric-abr-off-reason-no-nbr" {
              value 1;
              description
                "No neighbors seen yet";
            }
            enum
              "ospf-max-metric-abr-off-reason-new-nbr" {
              value 2;
              description
                "New neighbor seen recently";
            }
            enum
              "ospf-max-metric-abr-off-reason-nbr-full" {
              value 4;
              description
                "Adjacency FULL seen recently";
            }
            enum
              "ospf-max-metric-abr-off-reason-flush-p-end" {
              value 8;
              description "LSA flushes pending";
            }
          }
          description
            "Ospf max metric abr off reasons";
        }
    
        typedef Max-metric-set-reason {
          type enumeration {
            enum
              "mgmt-max-metric-on-proc-migration" {
              value 0;
              description "proc migration";
            }
            enum
              "mgmt-max-metric-on-proc-restart" {
              value 1;
              description "proc restart";
            }
            enum "mgmt-max-metric-on-switchover" {
              value 2;
              description "switch over";
            }
            enum "mgmt-max-metric-on-startup" {
              value 3;
              description "start up";
            }
            enum "mgmt-max-metric-always" {
              value 4;
              description "always";
            }
            enum "mgmt-max-metric-reason-none" {
              value 5;
              description "none";
            }
          }
          description "Max metric set reason";
        }
    
        typedef Sr-uloop-event {
          type enumeration {
            enum "none" {
              value 0;
              description "No SR uloop event";
            }
            enum "link-down" {
              value 1;
              description
                "SR Uloop Event Link Down";
            }
            enum "link-up" {
              value 2;
              description
                "SR Uloop Event Link Up";
            }
          }
          description "Sr uloop event";
        }
    
        typedef Sr-dp {
          type enumeration {
            enum "mgmt-ospf-sr-dp-none" {
              value 0;
              description "SR Disable";
            }
            enum "mgmt-ospf-sr-dp-mpls" {
              value 1;
              description "SR MPLS";
            }
          }
          description "Sr dp";
        }
    
        typedef Ospf-br {
          type enumeration {
            enum "mgmt-d-type-abr-asbr" {
              value 0;
              description
                "Both Area Border Router and AS Border Router";
            }
            enum "mgmt-d-type-asbr" {
              value 1;
              description "AS Border Router";
            }
            enum "mgmt-d-type-abr" {
              value 2;
              description "Area Border Router";
            }
          }
          description "Ospf br";
        }
    
        typedef Ospf-sr-adj-sid-inactive-reason {
          type enumeration {
            enum "ospf-adj-sid-inactive-none" {
              value 0;
              description "None";
            }
            enum "ospf-adj-sid-inactive-no-nbr" {
              value 1;
              description
                "No neighbors on interface";
            }
            enum
              "ospf-adj-sid-inactive-no-nbr-addr" {
              value 2;
              description
                "Neighbor address not specified for multiple
               neighbors";
            }
            enum
              "ospf-adj-sid-inactive-nbr-not-found" {
              value 3;
              description
                "Neighbor with specified address not found";
            }
            enum
              "ospf-adj-sid-inactive-out-of-srlb" {
              value 4;
              description "Adj SID out of SRLB";
            }
            enum
              "ospf-adj-sid-inactive-lsd-alloc-pending" {
              value 5;
              description
                "LSD allocation pending";
            }
            enum "ospf-adj-sid-inactive-no-srlb" {
              value 6;
              description "SRLB not allocated";
            }
            enum
              "ospf-adj-sid-inactive-sr-not-enable" {
              value 7;
              description
                "Segment routing not enabled";
            }
            enum "ospf-adj-sid-inactive-dadj" {
              value 8;
              description
                "Active in Deleted Adjacency Protection";
            }
          }
          description
            "Ospf sr adj sid inactive reason";
        }
    
        typedef Ipfrr-tbrkr {
          type enumeration {
            enum "downstream" {
              value 0;
              description "Downsteram";
            }
            enum "line-card-disjoint" {
              value 1;
              description "LC Disjoint";
            }
            enum "backup-metric" {
              value 2;
              description "Backup metric";
            }
            enum "node-protect" {
              value 3;
              description "Node protection";
            }
            enum "primary-path" {
              value 4;
              description "Primary path";
            }
            enum "secondary-path" {
              value 5;
              description "Secondary path";
            }
            enum "srlg-disjoint" {
              value 6;
              description "SRLG disjoint";
            }
            enum "interface-disjoint" {
              value 7;
              description "Interface disjoint";
            }
            enum "tunnel" {
              value 8;
              description "Tunnel";
            }
            enum "post-convergence" {
              value 9;
              description "Post Convergence";
            }
          }
          description "FRR Tiebreakers";
        }
    
        typedef Ipfrr {
          type enumeration {
            enum "none" {
              value 0;
              description "Disabled";
            }
            enum "per-link" {
              value 1;
              description "Per link";
            }
            enum "per-prefix" {
              value 2;
              description "Per prefix";
            }
          }
          description "FRR Types";
        }
    
        typedef Interface-state {
          type enumeration {
            enum "mgmt-ifs-unknown" {
              value 0;
              description
                "Interface state unknown";
            }
            enum "mgmt-ifs-admin-down" {
              value 1;
              description
                "Interface is administratively down";
            }
            enum "mgmt-ifs-down" {
              value 2;
              description "Interface is down";
            }
            enum "mgmt-ifs-up" {
              value 3;
              description "Interface is up";
            }
            enum "mgmt-ifs-shutdown" {
              value 4;
              description
                "Interface is administratively down";
            }
          }
          description "Interface state";
        }
    
        typedef Ospf-crytographic-algo {
          type enumeration {
            enum "mgmt-not-configured" {
              value 0;
              description "Not configured";
            }
            enum "mgmt-aes-128-cmac-96" {
              value 1;
              description "AES 128 CMAC 96";
            }
            enum "mgmt-hmac-sha1-12" {
              value 2;
              description "HAMC SHA1 12";
            }
            enum "mgmt-md5-16" {
              value 3;
              description "MD5 16";
            }
            enum "mgmt-sha1-20" {
              value 4;
              description "SHA1 20";
            }
            enum "mgmt-hmac-md5-16" {
              value 5;
              description "HMAC MD5 16";
            }
            enum "mgmt-hmac-sha1-20" {
              value 6;
              description "HMAC SHA1 20";
            }
            enum "mgmt-aes-128-cmac" {
              value 7;
              description "AES 128 CMAC";
            }
            enum "mgmt-aes-256-cmac" {
              value 8;
              description "AES 256 CMAC";
            }
            enum "mgmt-hmac-sha1-96" {
              value 9;
              description "HMAC SHA1 96";
            }
            enum "mgmt-hmac-sha-256" {
              value 10;
              description "HMAC SHA 256";
            }
            enum "mgmt-hmac-sha1" {
              value 11;
              description "HMAC SHA1";
            }
          }
          description "Cryptographic algorithm";
        }
    
        typedef Authentication {
          type enumeration {
            enum "mgmt-ospf-auth-none" {
              value 0;
              description "No Authentication";
            }
            enum "mgmt-ospf-auth-ct" {
              value 1;
              description "Clear Text";
            }
            enum "mgmt-ospf-auth-md" {
              value 2;
              description "MD5";
            }
            enum "mgmt-ospf-auth-kc" {
              value 3;
              description "Keychain";
            }
          }
          description "Authentication";
        }
    
        typedef Ospf-interface-state {
          type enumeration {
            enum "mgmt-ospf-ifs-down" {
              value 0;
              description "Down";
            }
            enum "mgmt-ospf-ifs-loop-back" {
              value 1;
              description "Loopback";
            }
            enum "mgmt-ospf-ifs-waiting" {
              value 2;
              description "Waiting";
            }
            enum
              "mgmt-ospf-ifs-point-to-m-point" {
              value 3;
              description "Point to multipoint";
            }
            enum "mgmt-ospf-ifs-point-to-point" {
              value 4;
              description "Point to point";
            }
            enum "mgmt-ospf-ifs-dr" {
              value 5;
              description "DesignatedRouter";
            }
            enum "mgmt-ospf-ifs-backup" {
              value 6;
              description
                "Backup Designated Router";
            }
            enum "mgmt-ospf-ifs-other" {
              value 7;
              description
                "Designated Router Other";
            }
          }
          description "Ospf interface state";
        }
    
        typedef String1 {
          type string;
          description "String1";
        }
    
        typedef Redist-protocol {
          type enumeration {
            enum "mgmt-rib-protocol-all" {
              value 0;
              description "Unknown";
            }
            enum "mgmt-rib-protocol-connected" {
              value 1;
              description "Connected";
            }
            enum "mgmt-rib-protocol-local" {
              value 2;
              description "Local";
            }
            enum "mgmt-rib-protocol-static" {
              value 3;
              description "Static";
            }
            enum "mgmt-rib-protocol-bgp" {
              value 4;
              description "BGP";
            }
            enum "mgmt-rib-protocol-rip" {
              value 5;
              description "RIP";
            }
            enum "mgmt-rib-protocol-isis" {
              value 6;
              description "ISIS";
            }
            enum "mgmt-rib-protocol-ospf" {
              value 7;
              description "OSPF";
            }
            enum "mgmt-rib-protocol-eigrp" {
              value 8;
              description "EIGRP";
            }
            enum "mgmt-rib-protocol-dagr" {
              value 9;
              description "DAGR";
            }
            enum "mgmt-rib-protocol-subscriber" {
              value 10;
              description "Subscriber";
            }
            enum "mgmt-rib-protocol-application" {
              value 11;
              description "Application";
            }
            enum "mgmt-rib-protocol-mobile" {
              value 12;
              description "Mobile";
            }
          }
          description "Redist protocol";
        }
    
        typedef Ospf-sh-nnh-val-types {
          type enumeration {
            enum "mgmt-nnh-val-type-ip-addr" {
              value 1;
              description "NNH IP Address";
            }
            enum "mgmt-nnh-val-type-if-index" {
              value 2;
              description "NNH Interface Index";
            }
          }
          description
            "OSPF Neighbor Next Hop Value Types";
        }
    
        typedef Lfa {
          type enumeration {
            enum "mgmt-ospf-unknown-lfa" {
              value 0;
              description "Unknown LFA";
            }
            enum "mgmt-ospf-direct-lfa" {
              value 1;
              description "Direct LFA";
            }
            enum "mgmt-ospf-ti-lfa" {
              value 2;
              description "TI LFA";
            }
            enum "mgmt-ospf-remote-lfa" {
              value 3;
              description "Remote LFA";
            }
          }
          description "Lfa";
        }
    
        typedef Ospf-route {
          type enumeration {
            enum "mgmt-r-type-none" {
              value 0;
              description "No route type";
            }
            enum "mgmt-r-type-other" {
              value 1;
              description "Not set";
            }
            enum "mgmt-r-type-intra" {
              value 2;
              description "Intra-area route";
            }
            enum "mgmt-r-type-inter" {
              value 4;
              description "Inter-area route";
            }
            enum "mgmt-r-type-extern1" {
              value 8;
              description
                "Type 1 External route";
            }
            enum "mgmt-r-type-extern2" {
              value 16;
              description
                "Type 2 External route";
            }
            enum "mgmt-r-type-isis-sum" {
              value 32;
              description "IS-IS summary route";
            }
            enum "mgmt-r-type-isis-l1" {
              value 64;
              description "IS-IS level 1 route";
            }
            enum "mgmt-r-type-isis-l2" {
              value 128;
              description "IS-IS level 2 route";
            }
            enum "mgmt-r-type-isis-l1-ia" {
              value 256;
              description
                "IS-IS level 1 inter-area route";
            }
            enum "mgmt-r-type-bgp-int" {
              value 512;
              description "iBGP route";
            }
            enum "mgmt-r-type-bgp-ext" {
              value 1024;
              description "eBGP route";
            }
            enum "mgmt-r-type-bgp-loc" {
              value 2048;
              description "BGP local route";
            }
            enum "mgmt-r-type-nssa1" {
              value 4096;
              description "Type 1 NSSA route";
            }
            enum "mgmt-r-type-nssa2" {
              value 8192;
              description "Type 2 NSSA route";
            }
            enum "mgmt-r-type-i-grp2-int" {
              value 16384;
              description "EIGRP internal route";
            }
            enum "mgmt-r-type-i-grp2-ext" {
              value 32768;
              description "EIGRP external route";
            }
          }
          description "Ospf route";
        }
    
        typedef Nsf-rtr {
          type enumeration {
            enum "mgmt-nsf-rtr-none" {
              value 0;
              description "None";
            }
            enum "mgmt-nsf-rtr-requester" {
              value 1;
              description "Requester";
            }
            enum "mgmt-nsf-rtr-receiver" {
              value 2;
              description "Receiver";
            }
          }
          description "Nsf rtr";
        }
    
        typedef Interface {
          type enumeration {
            enum "mgmt-if-broadcast" {
              value 1;
              description "Broadcast";
            }
            enum "mgmt-if-nonbroadcast" {
              value 2;
              description
                "Non broadcast multi access";
            }
            enum "mgmt-if-point-to-point" {
              value 3;
              description "Point to Point";
            }
            enum "mgmt-if-point-to-m-point" {
              value 4;
              description "Point to multipoint";
            }
            enum "mgmt-if-p2mp-non-bcast" {
              value 5;
              description
                "Non broadcast point to multipoint";
            }
            enum "mgmt-if-virtual-link" {
              value 6;
              description "Virtual link";
            }
            enum "mgmt-if-sham-link" {
              value 7;
              description "Sham link";
            }
            enum "mgmt-if-loop-back" {
              value 8;
              description "Loopback";
            }
          }
          description "Interface";
        }
    
        typedef Dr-bdr-state {
          type enumeration {
            enum "mgmt-dbdr-none" {
              value 0;
              description "None";
            }
            enum "mgmt-dbdr-dr" {
              value 1;
              description "Designated Router";
            }
            enum "mgmt-dbdr-bdr" {
              value 2;
              description
                "Backup Designated Router";
            }
            enum "mgmt-dbdr-dr-other" {
              value 3;
              description
                "Designated Router Other";
            }
          }
          description "Dr bdr state";
        }
    
        typedef Neighbor-state {
          type enumeration {
            enum "mgmt-nbr-down" {
              value 0;
              description "Down";
            }
            enum "mgmt-nbr-attempt" {
              value 1;
              description "Attempt";
            }
            enum "mgmt-nbr-init" {
              value 2;
              description "Init";
            }
            enum "mgmt-nbr-2way" {
              value 3;
              description "2 Way";
            }
            enum "mgmt-nbr-ex-start" {
              value 4;
              description "Exstart";
            }
            enum "mgmt-nbr-ex-change" {
              value 5;
              description "Exchange";
            }
            enum "mgmt-nbr-load-ing" {
              value 6;
              description "Loading";
            }
            enum "mgmt-nbr-full" {
              value 7;
              description "Full";
            }
            enum "mgmt-nbr-sc-virtual" {
              value 8;
              description "SCvirtual";
            }
          }
          description "Neighbor state";
        }
    
        typedef Mpls-te-opt-tlv {
          type enumeration {
            enum "mpls-te-opt-tlv-type-none" {
              value 0;
              description "None";
            }
            enum "mpls-te-opt-tlv-type-srlg" {
              value 1;
              description "SRLGs";
            }
            enum "mpls-te-opt-tlv-type-bc" {
              value 2;
              description
                "Bandwidth Constraints";
            }
            enum "mpls-te-opt-tlv-type-ixcd" {
              value 3;
              description
                "Intarface Switching Capability Descriptor";
            }
            enum
              "mpls-te-opt-tlv-type-uni-delay" {
              value 4;
              description
                "Unidirectional Link Delay";
            }
          }
          description "Mpls te opt tlv";
        }
    
        typedef Igpte-lib-bw-model {
          type enumeration {
            enum "rdm" {
              value 0;
              description "Russian Dolls Model";
            }
            enum "mam" {
              value 1;
              description
                "Maximum Allocation Model";
            }
            enum "not-set" {
              value 2;
              description "No model set";
            }
          }
          description "Bandwidth model";
        }
    
        typedef Link-subnet {
          type enumeration {
            enum "mgmt-igp-subnet-type-none" {
              value 0;
              description "None";
            }
            enum "mgmt-igp-subnet-type-p2p" {
              value 1;
              description "Point to Point";
            }
            enum
              "mgmt-igp-subnet-type-broadcast" {
              value 2;
              description "Broadcast";
            }
            enum "mgmt-igp-subnet-type-nbma" {
              value 3;
              description
                "Non Broadcast Multi Access";
            }
            enum "mgmt-igp-subnet-type-p2mp" {
              value 4;
              description "Point to multipoint";
            }
            enum
              "mgmt-igp-subnet-type-loop-back" {
              value 5;
              description "Loopback";
            }
            enum "mgmt-igp-subnet-type-max" {
              value 6;
              description "Unsupported";
            }
          }
          description "Link subnet";
        }
    
        typedef Ospf-sr-endp-res-fail-reason {
          type enumeration {
            enum "ospf-se-res-fail-none" {
              value 0;
              description "None";
            }
            enum "ospf-se-res-fail-no-route" {
              value 1;
              description "No route";
            }
            enum
              "ospf-se-res-fail-inv-route-type" {
              value 2;
              description
                "Route type is not valid";
            }
            enum
              "ospf-se-res-fail-default-route" {
              value 3;
              description
                "Default route not used";
            }
            enum
              "ospf-se-res-fail-intra-multi-home-d" {
              value 4;
              description
                "Multihomed intra prefix";
            }
            enum "ospf-se-res-fail-no-path" {
              value 5;
              description "No path found";
            }
            enum "ospf-se-res-fail-no-epl" {
              value 6;
              description "No EPL found";
            }
            enum
              "ospf-se-res-fail-area-not-sr-enable" {
              value 7;
              description "Area not SR enabled";
            }
            enum
              "ospf-se-res-fail-epl-multi-home-d" {
              value 8;
              description
                "Multihomed EPL origin";
            }
            enum "ospf-se-res-fail-no-n-bit-epl" {
              value 9;
              description
                "No EPL with N-bit found";
            }
            enum
              "ospf-se-res-fail-no-na-bit-epl" {
              value 10;
              description
                "No EPL with NA-bit found";
            }
            enum
              "ospf-se-res-fail-area-mismatch" {
              value 11;
              description "Area mismatch";
            }
            enum "ospf-se-res-fail-rid-mismatch" {
              value 12;
              description "Router ID mismatch";
            }
          }
          description
            "Ospf sr endp res fail reason";
        }
    
        typedef Ospf-sr-pol-metric-mode {
          type enumeration {
            enum "mgmt-ospf-metric-mode-none" {
              value 0;
              description "Metric Mode None";
            }
            enum
              "mgmt-ospf-metric-mode-relative" {
              value 1;
              description "Relative Metric";
            }
            enum
              "mgmt-ospf-metric-mode-constant" {
              value 3;
              description "Constant Metric";
            }
            enum
              "mgmt-ospf-metric-mode-absolute" {
              value 4;
              description "Absolute Metric";
            }
          }
          description "Ospf sr pol metric mode";
        }
    
        typedef Lsa {
          type enumeration {
            enum "mgmt-lsa-type-rtr" {
              value 1;
              description "Router LSA";
            }
            enum "mgmt-lsa-type-net" {
              value 2;
              description "Network LSA";
            }
            enum "mgmt-lsa-type-sum-net" {
              value 3;
              description "Summary LSA";
            }
            enum "mgmt-lsa-type-sum-asb" {
              value 4;
              description "Summary-ASBR LSA";
            }
            enum "mgmt-lsa-type-ext" {
              value 5;
              description "AS external LSA";
            }
            enum "mgmt-lsa-type-mospf" {
              value 6;
              description "MOSPF LSA";
            }
            enum "mgmt-lsa-type-7-ase" {
              value 7;
              description "Type-7 External LSA";
            }
            enum "mgmt-lsa-type-8-ignore" {
              value 8;
              description "Invalid type";
            }
            enum "mgmt-lsa-type-opq-link" {
              value 9;
              description "Opaque link LSA";
            }
            enum "mgmt-lsa-type-opq-area" {
              value 10;
              description "Opaque Area LSA";
            }
            enum "mgmt-lsa-type-opq-as" {
              value 11;
              description "Opaque AS LSA";
            }
          }
          description "Lsa";
        }
      }  // submodule Cisco-IOS-XR-ipv4-ospf-oper-sub2
    

© 2024 YumaWorks, Inc. All rights reserved.