Cisco-IOS-XR-spirit-install-instmgr-oper-sub2

This submodule contains a collection of YANG definitions for Cisco IOS-XR spirit-install-instmgr package operational data. Copy...

  • Version: 2020-10-06

    Cisco-IOS-XR-spirit-install-instmgr-oper-sub2@2020-10-06


    
      submodule Cisco-IOS-XR-spirit-install-instmgr-oper-sub2 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-spirit-install-instmgr-oper {
            prefix
              Cisco-IOS-XR-spirit-install-instmgr-oper;
        }
    
        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 spirit-install-instmgr package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-10-06" {
          description
            "Fixing backward compatible addition of new leafs.";
        }
    
        revision "2020-03-03" {
          description
            "Fixing schema-describe support.
           2019-06-28
           Common yang action model between lindt and eXR install.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-11-29" {
          description
            "Structured the yang response for show CLIs.";
        }
    
        revision "2018-08-24" {
          description
            "Changed model structure for software version and deprecated img-info node.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-07-24" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "3.0.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
    
        typedef Node-role-et {
          type enumeration {
            enum "node-unknown" {
              value 0;
              description "Unknown";
            }
            enum "node-active" {
              value 1;
              description "Active";
            }
            enum "node-standby" {
              value 2;
              description "Standby";
            }
            enum "node-unusable" {
              value 3;
              description "Unusable";
            }
          }
          description "node role";
        }
    
        typedef Issudir-node-status-et {
          type enumeration {
            enum "not-issu-ready" {
              value 0;
              description "Not ISSU Ready";
            }
            enum "issu-ready" {
              value 1;
              description "ISSU Ready";
            }
            enum "isus-go" {
              value 2;
              description "ISSU Go";
            }
            enum "node-fail" {
              value 3;
              description "Node Fail";
            }
          }
          description "ISSU node status";
        }
    
        typedef Issu-node-role-et {
          type enumeration {
            enum "unknown-role" {
              value 0;
              description "Unknown";
            }
            enum "primary-role" {
              value 1;
              description "Primary";
            }
            enum "secondary-role" {
              value 2;
              description "Secondary";
            }
            enum "tertiary-role" {
              value 3;
              description "Tertiary";
            }
          }
          description "ISSU role";
        }
    
        typedef Card-type-et {
          type enumeration {
            enum "card-rp" {
              value 0;
              description "Card RP";
            }
            enum "card-drp" {
              value 1;
              description "Card DRP";
            }
            enum "card-lc" {
              value 2;
              description "Card LC";
            }
            enum "card-sc" {
              value 3;
              description "Card SC";
            }
            enum "card-sp" {
              value 4;
              description "Card SP";
            }
            enum "card-other" {
              value 5;
              description "Card Other";
            }
          }
          description "card type";
        }
    
        typedef Isd-error-et {
          type enumeration {
            enum "none" {
              value 0;
              description "ISD ERROR NONE";
            }
            enum "not-compatible" {
              value 1;
              description
                "ISD ERROR NOT COMPATIBLE";
            }
            enum "not-enough-resource" {
              value 2;
              description
                "ISD ERROR NOT ENOUGH RESOURCE";
            }
            enum "not-nsr-ready" {
              value 3;
              description
                "ISD ERROR NOT NSR READY";
            }
            enum "not-conn-sdrsm" {
              value 4;
              description
                "ISD ERROR NOT CONNECTED SDR SM";
            }
            enum "cmd-invalid" {
              value 5;
              description
                "ISD ERROR INST CMD INVALID";
            }
            enum "load-prep-fail" {
              value 6;
              description
                "ISD ERROR INST LOAD PREP FAILURE";
            }
            enum "error-timeout" {
              value 7;
              description "ISD ERROR TIMEOUT";
            }
            enum "err-node-down" {
              value 8;
              description "ISD ERROR NODE DOWN";
            }
            enum "node-not-ready" {
              value 9;
              description
                "ISD ERROR NODE NOT READY";
            }
            enum "err-node-new" {
              value 10;
              description "ISD ERROR NODE NEW";
            }
            enum "err-card-oir" {
              value 11;
              description "ISD ERROR CARD OIR";
            }
            enum "invalid-evt" {
              value 12;
              description
                "ISD ERROR INVALID EVT";
            }
            enum "disconn-from-calv" {
              value 13;
              description
                "ISD ERROR DISCONN FROM CALVADOS";
            }
            enum "gsp-down" {
              value 14;
              description "ISD ERROR GSP DOWN";
            }
            enum "abort-by-ism" {
              value 15;
              description
                "ISD ERROR ABORT BY ISM";
            }
            enum "rpfo" {
              value 16;
              description "ISD ERROR RPFO";
            }
            enum "pkg-null" {
              value 17;
              description "ISD ERROR PKG NULL";
            }
            enum "error-general" {
              value 18;
              description "ISD ERROR GENERAL";
            }
            enum "fsa-error" {
              value 19;
              description "ISD ERROR FSA ERROR";
            }
            enum "err-post-issu" {
              value 20;
              description "ISD ERROR POST ISSU";
            }
            enum "err-issu-dir-restart" {
              value 21;
              description
                "ISD ERROR ISSUDIR RESTART";
            }
          }
          description "isd error";
        }
    
        typedef Isd-issu-status-et {
          type enumeration {
            enum "ok" {
              value 0;
              description "ISSU STATUS OK";
            }
            enum "prep-done" {
              value 1;
              description
                "ISSU STATUS PREP DONE";
            }
            enum "big-bang" {
              value 2;
              description "ISSU STATUS BIG BANG";
            }
            enum "done" {
              value 3;
              description "ISSU STATUS DONE";
            }
            enum "abort" {
              value 4;
              description "ISSU STATUS ABORT";
            }
            enum "cmd-reject" {
              value 5;
              description
                "ISSU STATUS CMD REJECT";
            }
            enum "unknown" {
              value 6;
              description "ISSU STATUS UNKNOWN";
            }
            enum "abort-cleanup" {
              value 7;
              description
                "ISSU STATUS ABORT CLEANUP";
            }
            enum "abort-cmd-reject" {
              value 8;
              description
                "ISSU STATUS CMD ABORT REJECT";
            }
          }
          description "isd status";
        }
    
        typedef Isd-state-et {
          type enumeration {
            enum "none" {
              value 0;
              description "ISSU ST NONE";
            }
            enum "idle" {
              value 1;
              description "ISSU ST IDLE";
            }
            enum "init" {
              value 2;
              description "ISSU ST INIT";
            }
            enum "init-done" {
              value 3;
              description "ISSU ST INIT DONE";
            }
            enum "load-prep" {
              value 4;
              description "ISSU ST LOAD PREP";
            }
            enum "load-exec" {
              value 5;
              description "ISSU ST LOAD EXEC";
            }
            enum "load-issu-go" {
              value 6;
              description "ISSU ST LOAD ISSU GO";
            }
            enum "load-done" {
              value 7;
              description "ISSU ST LOAD DONE";
            }
            enum "run-prep-isd" {
              value 8;
              description "ISSU ST RUN PREP ISD";
            }
            enum "run-prep-ism" {
              value 9;
              description "ISSU ST RUN PREP ISM";
            }
            enum "big-bang" {
              value 10;
              description "ISSU ST RUN BIG BANG";
            }
            enum "run-done" {
              value 11;
              description "ISSU ST RUN DONE";
            }
            enum "cleanup" {
              value 12;
              description "ISSU ST CLEANUP";
            }
            enum "cleanup-done" {
              value 13;
              description "ISSU ST CLEANUP DONE";
            }
            enum "abort" {
              value 14;
              description "ISSU ST ABORT";
            }
            enum "abort-done" {
              value 15;
              description "ISSU ST ABORT DONE";
            }
            enum "abort-cleanup" {
              value 16;
              description
                "ISSU ST ABORT CLEANUP";
            }
            enum "unknown-state" {
              value 17;
              description "ISSU UNKNOWN STATE";
            }
          }
          description "isd state";
        }
    
        grouping ISD-INV-INFO {
          description
            "ISSU Inventory Information";
          leaf node-id {
            type int32;
            description "Node ID";
          }
    
          leaf node-type {
            type Card-type-et;
            description "Node Type";
          }
    
          leaf issu-node-role {
            type Issu-node-role-et;
            description "ISSU Node Role";
          }
    
          leaf node-state {
            type Issudir-node-status-et;
            description "Node State";
          }
    
          leaf node-role {
            type Node-role-et;
            description "Node role";
          }
        }  // grouping ISD-INV-INFO
    
        grouping ISD-INV-INFO-CONTAINER {
          description
            "ISSU Inventory Information all nodes";
          list invinfo {
            description "invinfo";
            uses ISD-INV-INFO;
          }  // list invinfo
        }  // grouping ISD-INV-INFO-CONTAINER
    
        grouping ISD-STAGE-INFO {
          description
            "ISSU Director stage Information";
          leaf state {
            type Isd-state-et;
            description "State";
          }
    
          leaf issu-node-cnt {
            type int32;
            description "ISSU Node Count";
          }
    
          leaf issu-ready-node-cnt {
            type int32;
            description "ISSU Ready Node Count";
          }
    
          leaf percentage {
            type int32;
            units "percentage";
            description "Percentage";
          }
    
          leaf issu-status {
            type Isd-issu-status-et;
            description "Abort Status";
          }
    
          leaf issu-error {
            type Isd-error-et;
            description "ISSU Error";
          }
        }  // grouping ISD-STAGE-INFO
      }  // submodule Cisco-IOS-XR-spirit-install-instmgr-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.