This module contains a collection of YANG definitions for Cisco IOS-XR watchd package configuration. This module contains defin...
Version: 2019-04-05
module Cisco-IOS-XR-watchd-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg"; prefix watchd-cfg; import Cisco-IOS-XR-config-mda-cfg { prefix node; } 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 module contains a collection of YANG definitions for Cisco IOS-XR watchd package configuration. This module contains definitions for the following management objects: watchdog: Watchdog configuration commands watchd: Watchdog configuration commands This YANG module augments the Cisco-IOS-XR-config-mda-cfg module with configuration data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } revision "2015-10-12" { description "Descriptions updated."; } semver:module-version "1.0.1"; grouping NODE-CFG { description "active/preconfigured nodes configuration"; container watchdog-node-threshold { description "Watchdog threshold configuration"; container disk-threshold { description "Disk thresholds"; leaf minor { type uint32 { range "5..40"; } description "Threshold, Range(5, 40)"; } leaf severe { type uint32 { range "4..40"; } description "Threshold, Range(4, minor)"; } leaf critical { type uint32 { range "3..40"; } description "Threshold, Range(3, severe)"; } } // container disk-threshold container memory-threshold { description "Memory thresholds"; leaf minor { type uint32 { range "5..40"; } description "Threshold, Range(5, 40)"; } leaf severe { type uint32 { range "4..40"; } description "Threshold, Range(4, minor)"; } leaf critical { type uint32 { range "3..40"; } description "Threshold, Range(3, severe)"; } } // container memory-threshold } // container watchdog-node-threshold } // grouping NODE-CFG augment /node:active-nodes/node:active-node { description "This augment extends active nodes configuration"; uses NODE-CFG; } augment /node:preconfigured-nodes/node:preconfigured-node { description "This augment extends preconfigured nodes configuration"; uses NODE-CFG; } container watchdog { description "Watchdog configuration commands"; container threshold-memory { description "Memory thresholds"; leaf minor { type uint32 { range "5..40"; } description "Threshold, Range (5, 40)"; } leaf severe { type uint32 { range "4..40"; } description "Threshold, Range (4, minor)"; } leaf critical { type uint32 { range "3..40"; } description "Threshold, Range (3, severe)"; } } // container threshold-memory container disk-limit { description "Disk thresholds"; leaf minor { type uint32 { range "5..40"; } description "Threshold, Range (5, 40)"; } leaf severe { type uint32 { range "4..40"; } description "Threshold, Range (4, minor)"; } leaf critical { type uint32 { range "3..40"; } description "Threshold, Range (3, severe)"; } } // container disk-limit leaf overload-notification { type empty; description "Disable critical event notification"; } leaf restart-deadlock-disable { type empty; description "Disable watchdog restart deadlock"; } leaf restart-memoryhog-disable { type empty; description "Disable watchdog restart memory-hog"; } leaf overload-throttle-timeout { type uint32 { range "5..120"; } units "second"; description "Watchdog overload throttle timeout configuration"; } } // container watchdog container watchd { description "Watchdog configuration commands"; leaf timeout { type uint32 { range "1..10"; } units "second"; description "Length of timeout in seconds"; } } // container watchd } // module Cisco-IOS-XR-watchd-cfg
© 2023 YumaWorks, Inc. All rights reserved.