watchd_cfg

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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: watchd

This YANG module augments the

Cisco-IOS-XR-config-mda-cfg

module with configuration data.

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watchd

type Watchd struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Length of timeout in seconds. The type is interface{} with range: 1..10.
	// Units are second.
	Timeout interface{}
}

Watchd watchd

func (*Watchd) GetEntityData

func (watchd *Watchd) GetEntityData() *types.CommonEntityData

type Watchdog

type Watchdog struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Disable critical event notification. The type is interface{}.
	OverloadNotification interface{}

	// Disable watchdog restart deadlock. The type is interface{}.
	RestartDeadlockDisable interface{}

	// Disable watchdog restart memory-hog. The type is interface{}.
	RestartMemoryhogDisable interface{}

	// Watchdog overload throttle timeout configuration. The type is interface{}
	// with range: 5..120. Units are second.
	OverloadThrottleTimeout interface{}

	// Memory thresholds.
	ThresholdMemory Watchdog_ThresholdMemory

	// Disk thresholds.
	DiskLimit Watchdog_DiskLimit
}

Watchdog Watchdog configuration commands

func (*Watchdog) GetEntityData

func (watchdog *Watchdog) GetEntityData() *types.CommonEntityData

type Watchdog_DiskLimit

type Watchdog_DiskLimit struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Threshold, Range (5, 40). The type is interface{} with range: 5..40.
	Minor interface{}

	// Threshold, Range (4, minor). The type is interface{} with range: 4..40.
	Severe interface{}

	// Threshold, Range (3, severe). The type is interface{} with range: 3..40.
	Critical interface{}
}

Watchdog_DiskLimit Disk thresholds

func (*Watchdog_DiskLimit) GetEntityData

func (diskLimit *Watchdog_DiskLimit) GetEntityData() *types.CommonEntityData

type Watchdog_ThresholdMemory

type Watchdog_ThresholdMemory struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Threshold, Range (5, 40). The type is interface{} with range: 5..40.
	Minor interface{}

	// Threshold, Range (4, minor). The type is interface{} with range: 4..40.
	Severe interface{}

	// Threshold, Range (3, severe). The type is interface{} with range: 3..40.
	Critical interface{}
}

Watchdog_ThresholdMemory Memory thresholds

func (*Watchdog_ThresholdMemory) GetEntityData

func (thresholdMemory *Watchdog_ThresholdMemory) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL