This module contains a collection of YANG definitions for Cisco IOS-XR config-cfgmgr-exec package operational data. This module...
Version: 2020-06-26
module Cisco-IOS-XR-config-cfgmgr-exec-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper"; prefix config-cfgmgr-exec-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1 { revision-date "2020-06-26"; } 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 config-cfgmgr-exec package operational data. This module contains definitions for the following management objects: config-manager: Show Configuration <*> Global path information Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-06-26" { description "Updated schema to restrict user-access based on taskgroup."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.1"; semver:module-version "1.0.1"; container config-manager { config false; description "Show Configuration <*> Global path information"; container global { description "Show Configuration <*> Global path information"; container config-commit { description "Show Configuration Commit <*> Global path information"; container commits { description "Show Configuration Commit List Detail"; list commit { key "commit"; description "Commit information for a specific commit entry"; leaf commit { type xr:Cisco-ios-xr-string; description "Each Session Details"; } leaf timestamp { type string; description "Timestamp"; } leaf commit-id { type string; description "CommitId"; } leaf user-id { type string; description "UserId"; } leaf line { type string; description "Line"; } leaf client-name { type string; description "Client name"; } leaf label { type string; description "Label"; } leaf comment { type string; description "Comment"; } } // list commit } // container commits leaf last-commit-id { type string; description "Identifier for the last commit in devices with a system admin console. A client can use this to detect if the config datastore is modified in either the XR or the system admin VMs."; } } // container config-commit container history-tables { description "Show Configuration History <*> Global path information"; list history-table { key "history-type"; description "List of possible type of History"; leaf history-type { type xr:Cisco-ios-xr-string; description "Type of History"; } list history { key "history"; description "History summary information for a specific type of history"; leaf history { type xr:Cisco-ios-xr-string; description "History Record"; } container info { description "Content of the history"; container alarm-info { when "../type = 'cfghist-bag-record-alarm'" { description "../type = 'CFGHIST_BAG_RECORD_ALARM'"; } description "alarm info"; leaf state { type string; description "State"; } leaf where { type string; description "Where"; } } // container alarm-info container cfscheck-info { when "../type = 'cfghist-bag-record-cfs-check'" { description "../type = 'CFGHIST_BAG_RECORD_CFSCHECK'"; } description "cfscheck info"; leaf user-id { type string; description "UserId"; } leaf line { type string; description "Line"; } } // container cfscheck-info container commit-info { when "../type = 'cfghist-bag-record-commit'" { description "../type = 'CFGHIST_BAG_RECORD_COMMIT'"; } description "commit info"; leaf commit-id { type string; description "CommitId"; } leaf user-id { type string; description "UserId"; } leaf line { type string; description "Line"; } leaf client-name { type string; description "Client name"; } leaf label { type string; description "Label"; } leaf comment { type string; description "Comment"; } } // container commit-info container oir-info { when "../type = 'cfghist-bag-record-oir'" { description "../type = 'CFGHIST_BAG_RECORD_OIR'"; } description "oir info"; leaf config-type { type string; description "Config Type"; } leaf operation { type string; description "Operation"; } leaf config-name { type string; description "Config Name"; } } // container oir-info container shutdown-info { when "../type = 'cfghist-bag-record-shutdown'" { description "../type = 'CFGHIST_BAG_RECORD_SHUTDOWN'"; } description "shutdown info"; leaf comment { type string; description "Comment"; } } // container shutdown-info container startup-info { when "../type = 'cfghist-bag-record-startup'" { description "../type = 'CFGHIST_BAG_RECORD_STARTUP'"; } description "startup info"; leaf how-booted { type string; description "How Booted"; } leaf boot-path { type string; description "Boot Path"; } } // container startup-info container backup-info { when "../type = 'cfghist-bag-record-backup'" { description "../type = 'CFGHIST_BAG_RECORD_BACKUP'"; } description "backup info"; leaf comment { type string; description "Comment"; } } // container backup-info leaf type { type Hist-record; description "type"; } leaf a { when "../type != 'cfghist-bag-record-alarm' and ../type != 'cfghist-bag-record-cfs-check' and ../type != 'cfghist-bag-record-commit' and ../type != 'cfghist-bag-record-oir' and ../type != 'cfghist-bag-record-shutdown' and ../type != 'cfghist-bag-record-startup' and ../type != 'cfghist-bag-record-backup'" { description "../type != 'CFGHIST_BAG_RECORD_ALARM' and . ./type != 'CFGHIST_BAG_RECORD_CFSCHECK' and . ./type != 'CFGHIST_BAG_RECORD_COMMIT' and . ./type != 'CFGHIST_BAG_RECORD_OIR' and ../type != 'CFGHIST_BAG_RECORD_SHUTDOWN' and ../type != 'CFGHIST_BAG_RECORD_STARTUP' and ../type != 'CFGHIST_BAG_RECORD_BACKUP'"; } type uint32; description "B"; } } // container info leaf timestamp { type string; description "Timestamp"; } } // list history } // list history-table } // container history-tables container config-session { description "Show Configuration Session <*> Global path information"; container sessions { description "Show Configuration Session Detail"; list session { key "session"; description "Session information for a specific session entry"; leaf session { type xr:Cisco-ios-xr-string; description "Each Session Details"; } leaf session-id { type string; description "Session Id"; } leaf client-name { type string; description "Client Name"; } leaf user-id { type string; description "UserId"; } leaf tty-name { type string; description "TtyName"; } leaf timestamp { type string; description "Timestamp"; } leaf lock-flag { type string; description "Lock Flag"; } leaf trial-flag { type string; description "Trial Flag"; } leaf pid { type uint32; description "PID"; } leaf process-name { type string; description "Process Name"; } leaf node-name { type string; description "Node Name"; } leaf elapsed-time { type string; description "Elapsed Time"; } } // list session } // container sessions } // container config-session } // container global } // container config-manager } // module Cisco-IOS-XR-config-cfgmgr-exec-oper
© 2023 YumaWorks, Inc. All rights reserved.