Cisco-IOS-XR-mpls-static-oper-sub1

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

  • Version: 2019-04-05

    Cisco-IOS-XR-mpls-static-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-mpls-static-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-mpls-static-oper {
            prefix
              Cisco-IOS-XR-mpls-static-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import cisco-semver {
          prefix semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This submodule contains a collection of YANG definitions
         for Cisco IOS-XR mpls-static package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        typedef Mgmt-mpls-static-path-status {
          type enumeration {
            enum "path-next-hop-none" {
              value 0;
              description
                "Path NextHop No Status";
            }
            enum "path-next-hop-interface-down" {
              value 1;
              description
                "Path NextHop Interface Down ";
            }
            enum "path-next-hop-valid" {
              value 2;
              description "Path NextHop Valid";
            }
            enum "resolve-failed" {
              value 3;
              description
                "Path NextHop Resolve Failed";
            }
            enum "frr-backup" {
              value 4;
              description "FRR Backup";
            }
            enum "backup" {
              value 5;
              description "Backup";
            }
          }
          description
            "Mgmt mpls static path status";
        }
    
        typedef Mgmt-static-lsp-afi {
          type enumeration {
            enum "not-applicable" {
              value 0;
              description "Not Applicable";
            }
            enum "ipv4" {
              value 1;
              description "IPv4";
            }
            enum "ipv6" {
              value 2;
              description "IPv6";
            }
          }
          description "Mgmt static lsp afi";
        }
    
        typedef Mpls-static-path-role {
          type enumeration {
            enum "primary" {
              value 0;
              description
                "Path is only for primary traffic";
            }
            enum "backup" {
              value 1;
              description
                "Path is only for backup traffic";
            }
            enum "primary-and-backup" {
              value 2;
              description
                "Path is for primary and backup traffic";
            }
          }
          description "Mpls static path role";
        }
    
        typedef Mgmt-static-path {
          type enumeration {
            enum "cross-connect-path" {
              value 0;
              description "Crossconnect Path";
            }
            enum "pop-lookup-path" {
              value 1;
              description "Pop and Lookup Path";
            }
          }
          description "Mgmt static path";
        }
    
        typedef Static-ipv6-address {
          type inet:ipv6-address;
          description "Static ipv6 address";
        }
    
        typedef Mgmt-static-addr {
          type enumeration {
            enum "not-applicable" {
              value 0;
              description "Not Applicable";
            }
            enum "ipv4" {
              value 1;
              description "IPv4";
            }
            enum "ipv6" {
              value 2;
              description "IPv6";
            }
          }
          description "Mgmt static addr";
        }
    
        typedef Mgmt-mpls-static-label-status {
          type enumeration {
            enum "not-created" {
              value 0;
              description "Label Not Created";
            }
            enum "vrf-down" {
              value 1;
              description
                "Label without active VRF";
            }
            enum "rewrite-vrf-down" {
              value 2;
              description
                "Rewrite without active VRF";
            }
            enum "lsd-disconnected" {
              value 3;
              description "LSD is disconnected";
            }
            enum "lsd-failed" {
              value 4;
              description "LSD operation failed";
            }
            enum "wait-for-lsd-reply" {
              value 5;
              description
                "Waiting for LSD operation";
            }
            enum "label-created" {
              value 6;
              description "Label Created";
            }
            enum "label-create-failed" {
              value 7;
              description
                "Label Creation Failed";
            }
            enum "label-rewrite-failed" {
              value 8;
              description
                "Rewrite Creation Failed";
            }
            enum
              "rewrite-next-hop-interface-down" {
              value 9;
              description
                "Rewrite NextHop Down ";
            }
            enum "label-discrepancy" {
              value 10;
              description "Label Discrepancy ";
            }
            enum "rewrite-discrepancy" {
              value 11;
              description "Rewrite Discrepancy ";
            }
            enum "rewrite-nexthop-unresolved" {
              value 12;
              description
                "Rewrite Nexthop Unresolved";
            }
            enum "label-status-unknown" {
              value 13;
              description "Label Status Unknown";
            }
          }
          description
            "Mgmt mpls static label status";
        }
    
        typedef Mgmt-mpls-static-label-mode {
          type enumeration {
            enum "none" {
              value 0;
              description "No Label Mode";
            }
            enum "per-prefix" {
              value 1;
              description "Per-prefix Label";
            }
            enum "per-vrf" {
              value 2;
              description "Per-VRF label";
            }
            enum "cross-connect" {
              value 3;
              description
                "Label with crossconnect";
            }
          }
          description
            "Mgmt mpls static label mode";
        }
      }  // submodule Cisco-IOS-XR-mpls-static-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.