This submodule contains a collection of YANG definitions for Cisco IOS-XR install-augmented package operational data. Copyright...
Version: 2021-03-22
submodule Cisco-IOS-XR-install-augmented-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-install-augmented-oper { prefix Cisco-IOS-XR-install-augmented-oper; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-install-augmented-oper-sub2 { revision-date "2021-03-22"; } 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 install-augmented package operational data. Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-03-22" { description "7.4.1 release features. 2020-09-30 7.3.1 release features."; } revision "2020-05-12" { description "Removal of compound from enum naming conventions to avoid confusion. 2019-12-11 Obsoleted the nodes list for history items. 2019-10-14 Combined platform updates including updates to show install rollback list-ids"; } revision "2019-10-13" { description "NCS540L 7.1.1 release 2019-10-12 8000 series 7.0.11 release"; } revision "2019-04-05" { description "Establish semantic version baseline."; } 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 Inst-req-state { type enumeration { enum "in-progress" { value 0; description "In progress"; } enum "success" { value 1; description "Success"; } enum "failure" { value 2; description "Failure"; } } description "Install request state type"; } typedef Inst-action { type enumeration { enum "install-package-add" { value 10; description "Package add"; } enum "install-package-remove" { value 11; description "Package remove"; } enum "install-package-upgrade" { value 12; description "Package upgrade"; } enum "install-package-downgrade" { value 13; description "Package downgrade"; } enum "install-package-replace" { value 14; description "Package replace"; } enum "install-package-rollback" { value 15; description "Rollback"; } enum "install-package-abort-latest" { value 20; description "Package abort latest"; } enum "install-package-abort-all-since-apply" { value 21; description "Package abort all since apply"; } enum "install-apply-restart" { value 30; description "Apply by process restart"; } enum "install-apply-reload" { value 31; description "Apply by reload"; } enum "install-commit" { value 40; description "Commit"; } enum "install-replace" { value 70; description "Replace and apply"; } enum "install-rollback" { value 71; description "Rollback and apply"; } enum "install-source" { value 72; description "Upgrade and apply packages from a source"; } enum "install-label" { value 90; description "Label"; } } description "Inst action"; } typedef Inst-notif-phase { type enumeration { enum "veto" { value 0; description "Veto"; } enum "prepare" { value 1; description "Prepare"; } enum "pre-pre-apply" { value 2; description "Pre pre apply"; } enum "pre-apply" { value 3; description "Pre apply"; } enum "apply" { value 4; description "Apply"; } enum "post-apply" { value 5; description "Post apply"; } enum "post-post-apply" { value 6; description "Post post apply"; } } description "Install notification phase type"; } typedef Inst-pkg-op-stage { type enumeration { enum "not-started" { value 0; description "No operation has yet begun"; } enum "preamble" { value 1; description "Preamble, including loading plugins"; } enum "resolving-dependencies" { value 2; description "Resolving dependencies"; } enum "transaction-check" { value 3; description "Package downloads and transaction check"; } enum "package-operations" { value 4; description "Package operations - installations and removals"; } enum "complete" { value 5; description "Operation has finished. This does not imply success"; } } description "Inst pkg op stage"; } typedef Inst-node-req { type enumeration { enum "veto-check" { value 0; description "Veto check"; } enum "begin-trans" { value 1; description "Begin transaction"; } enum "end-trans" { value 2; description "End transaction"; } enum "abort-trans" { value 3; description "Abort transaction"; } enum "begin-atomic" { value 4; description "Begin atomic operation"; } enum "abort-atomic" { value 5; description "Abort atomic operation"; } enum "pkg-install" { value 6; description "Package install operation"; } enum "pkg-replace" { value 7; description "Package replace operation"; } enum "undo-pkg-install" { value 8; description "Undo package install or undo other package operation"; } enum "apply-reload" { value 9; description "Apply by reload"; } enum "pre-pre-apply-restart" { value 10; description "Pre-pre-apply by restarting processes"; } enum "pre-apply-restart" { value 11; description "Pre-apply by restarting processes"; } enum "apply-and-post-apply-restart" { value 12; description "Apply and post-apply by restarting processes"; } enum "post-post-apply-restart" { value 13; description "Post-post-apply by restarting processes"; } enum "restart-infra" { value 14; description "Restart install infra"; } enum "abort-op" { value 15; description "Abort current operation"; } enum "node-idle" { value 16; description "Node is not handling a request"; } enum "status-unknown" { value 17; description "The node did not respond to the operational data request"; } enum "resync-remote-node" { value 18; description "Resyncing remote nodes with the active node"; } } description "Install node request type"; } typedef Inst-activity { type enumeration { enum "initiate-op" { value 0; description "Initiate operation"; } enum "begin-trans" { value 1; description "Begin transaction"; } enum "begin-atomic" { value 2; description "Begin atomic operation"; } enum "veto-check" { value 3; description "Veto check"; } enum "pkg-install" { value 4; description "Package add or other package operation"; } enum "apply-reload" { value 5; description "Apply by reload"; } enum "apply-restart" { value 6; description "Apply by restarting processes"; } enum "restart-infra" { value 7; description "Restart install infra"; } enum "commit-trans" { value 8; description "Commit transaction"; } enum "abort-op" { value 9; description "Abort operation"; } enum "abort-trans" { value 10; description "Abort transaction"; } enum "abort-atomic" { value 11; description "Abort atomic operation"; } enum "undo-pkg-inst" { value 12; description "Undo package install"; } enum "await-user-input" { value 13; description "Await user input"; } enum "await-recovery-input" { value 14; description "Failure, await user recovery input"; } enum "trans-complete" { value 15; description "Transaction complete"; } enum "no-op-in-progress" { value 16; description "No install operation in progress"; } enum "apply-reload-awaiting-node-readiness" { value 17; description "Cleanup after apply by reload"; } enum "automatic-recovery" { value 18; description "Automatic recovery"; } enum "apply" { value 19; description "Apply by restarting processes or reload"; } enum "begin-pkg-op" { value 20; description "Begin packaging operation"; } enum "begin-apply-op" { value 21; description "Begin apply operation"; } enum "apply-cleanup" { value 22; description "Post-apply operation cleanup"; } enum "download" { value 23; description "Verify input and download to internal repository if needed"; } enum "undo-download" { value 24; description "Undo download to internal repository if needed"; } } description "Install activity type"; } typedef Inst-fp-request-status { type enumeration { enum "generation-up-to-date" { value 0; description "Runtime fingerprint generation up to date."; } enum "generation-in-progress" { value 1; description "Runtime fingerprint generation in progress"; } enum "to-be-regenerated-at-apply" { value 2; description "Runtime fingerprints will be regenerated on apply"; } } description "package Fingerprint request status"; } typedef Install-opt-string { type string; description "Install opt string"; } typedef Inst-atomic-status { type enumeration { enum "in-progress" { value 0; description "In progress"; } enum "apply-in-progress" { value 1; description "Apply in progress"; } enum "success" { value 2; description "Success"; } enum "failure" { value 3; description "Failure"; } enum "aborting" { value 4; description "Aborting"; } enum "aborted" { value 5; description "Aborted"; } } description "Atomic change status type"; } typedef Inst-pkg-op-status { type enumeration { enum "in-progress" { value 0; description "In progress"; } enum "success" { value 1; description "Success"; } enum "failure" { value 2; description "Failure"; } enum "aborted" { value 3; description "Aborted"; } } description "Package operation status type"; } typedef Inst-req-reason { type enumeration { enum "user" { value 0; description "User request"; } enum "undoing-due-to-abort" { value 1; description "Undoing previous package operation due to user request"; } } description "Install request reason type"; } typedef Inst-disk-space-check-phase { type enumeration { enum "download" { value 0; description "Download"; } enum "iso-unpack" { value 1; description "ISO unpack"; } enum "tar-unpack" { value 2; description "Tar unpack"; } enum "veto" { value 3; description "Veto"; } enum "iso-copy" { value 4; description "This stage encompasses copying the ISO onto the router, and unpacking it, requiring 2x the size of the file"; } } description "Install disk space check phase type"; } typedef Inst-notif-res { type enumeration { enum "awaiting-response" { value 0; description "Awaiting response"; } enum "success" { value 1; description "Success"; } enum "veto-req" { value 2; description "Veto requested"; } enum "reload-req" { value 3; description "Reload requested"; } enum "extra-time" { value 4; description "Extra time requested"; } enum "failure" { value 5; description "Client failed to process notification"; } } description "Install client notification result type"; } typedef Inst-feature-change { type enumeration { enum "removed" { value 0; description "Removed"; } enum "added" { value 1; description "Added"; } } description "Inst feature change"; } typedef Inst-proc-change { type enumeration { enum "removed" { value 0; description "Removed"; } enum "modified" { value 1; description "Modified"; } } description "Inst proc change"; } typedef Inst-file-change { type enumeration { enum "removed" { value 0; description "Removed"; } enum "added" { value 1; description "Added"; } enum "modified" { value 2; description "Modified"; } } description "File change type"; } typedef Inst-client { type enumeration { enum "default" { value 0; description "Default client"; } enum "legacy" { value 1; description "Legacy client"; } } description "Install client type"; } typedef Inst-no-action-reason { type enumeration { enum "already-installed" { value 0; description "Package was already installed"; } enum "nothing-to-remove" { value 1; description "No matching package found to remove"; } enum "no-suitable-version" { value 2; description "No suitable package to upgrade to or downgrade to was found"; } } description "Install no action reason type"; } typedef Inst-pkg-op-act { type enumeration { enum "add" { value 0; description "Add"; } enum "remove" { value 1; description "Remove"; } enum "unknown" { value 255; description "Unknown"; } } description "Install package operation action type"; } typedef Inst-trans-status { type enumeration { enum "in-progress" { value 0; description "In progress"; } enum "commit-in-progress" { value 1; description "Commit in progress"; } enum "success" { value 2; description "Success"; } enum "failure" { value 3; description "Failure"; } enum "aborting" { value 4; description "Aborting"; } enum "aborted" { value 5; description "Aborted"; } enum "post-commit-cleanup" { value 6; description "Committed, cleaning up"; } enum "error-retry" { value 7; description "Error encountered, retrying"; } } description "Transaction status type"; } typedef Inst-request { type enumeration { enum "unknown" { value 0; description "Unknown, operation history not available"; } enum "add" { value 1; description "Add"; } enum "remove" { value 2; description "Remove"; } enum "upgrade" { value 3; description "Upgrade"; } enum "downgrade" { value 4; description "Downgrade"; } enum "replace" { value 5; description "Replace"; } enum "rollback" { value 6; description "Rollback"; } } description "Install request type"; } typedef Inst-node-event { type enumeration { enum "node-unavailable" { value 0; description "Node became unavailable"; } enum "node-available" { value 1; description "Node became available"; } enum "error" { value 2; description "Per-node error"; } enum "user-requested-reload" { value 3; description "User requested reload of this node to recover from a failure."; } } description "Install node event type"; } } // submodule Cisco-IOS-XR-install-augmented-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.