wd_oper

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR wd package operational data.

This module contains definitions for the following management objects:

watchdog: Watchdog information

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 MemoryState

type MemoryState string

MemoryState represents Memory state options

const (
	// Memory state unknown
	MemoryState_unknown MemoryState = "unknown"

	// Memory state normal
	MemoryState_normal MemoryState = "normal"

	// Memory state minor
	MemoryState_minor MemoryState = "minor"

	// Memory state severe
	MemoryState_severe MemoryState = "severe"

	// Memory state critical
	MemoryState_critical MemoryState = "critical"
)

type OverloadCtrlNotif

type OverloadCtrlNotif string

OverloadCtrlNotif represents Overload control notification

const (
	// Diabled
	OverloadCtrlNotif_disabled OverloadCtrlNotif = "disabled"

	// Enabled
	OverloadCtrlNotif_enabled OverloadCtrlNotif = "enabled"
)

type Watchdog

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

	// List of nodes.
	Nodes Watchdog_Nodes
}

Watchdog Watchdog information

func (*Watchdog) GetEntityData

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

type Watchdog_Nodes

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

	// Node ID. The type is slice of Watchdog_Nodes_Node.
	Node []*Watchdog_Nodes_Node
}

Watchdog_Nodes List of nodes

func (*Watchdog_Nodes) GetEntityData

func (nodes *Watchdog_Nodes) GetEntityData() *types.CommonEntityData

type Watchdog_Nodes_Node

type Watchdog_Nodes_Node struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Node name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// Threshold memory.
	ThresholdMemory Watchdog_Nodes_Node_ThresholdMemory

	// Memory state.
	MemoryState Watchdog_Nodes_Node_MemoryState

	// Display overload control state.
	OverloadState Watchdog_Nodes_Node_OverloadState
}

Watchdog_Nodes_Node Node ID

func (*Watchdog_Nodes_Node) GetEntityData

func (node *Watchdog_Nodes_Node) GetEntityData() *types.CommonEntityData

type Watchdog_Nodes_Node_MemoryState

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

	// Physical memory in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	PhysicalMemory interface{}

	// Free memory in bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	FreeMemory interface{}

	// State of memory. The type is MemoryState.
	MemoryState interface{}
}

Watchdog_Nodes_Node_MemoryState Memory state

func (*Watchdog_Nodes_Node_MemoryState) GetEntityData

func (memoryState *Watchdog_Nodes_Node_MemoryState) GetEntityData() *types.CommonEntityData

type Watchdog_Nodes_Node_OverloadState

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

	// State of overload control notification. The type is OverloadCtrlNotif.
	OverloadControlNotification interface{}

	// Default resmon throttle. The type is interface{} with range: 0..4294967295.
	DefaultWdsysmonThrottle interface{}

	// Configured resmon throttle. The type is interface{} with range:
	// 0..4294967295.
	ConfiguredWdsysmonThrottle interface{}

	// Current throttle information.
	CurrentThrottle Watchdog_Nodes_Node_OverloadState_CurrentThrottle

	// Last throttle information. The type is slice of
	// Watchdog_Nodes_Node_OverloadState_LastThrottle.
	LastThrottle []*Watchdog_Nodes_Node_OverloadState_LastThrottle
}

Watchdog_Nodes_Node_OverloadState Display overload control state

func (*Watchdog_Nodes_Node_OverloadState) GetEntityData

func (overloadState *Watchdog_Nodes_Node_OverloadState) GetEntityData() *types.CommonEntityData

type Watchdog_Nodes_Node_OverloadState_CurrentThrottle

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

	// Current throttle duration in seconds. The type is interface{} with range:
	// 0..4294967295. Units are second.
	ThrottleDuration interface{}

	// Current throttle start time in format :day-of-week month date-of-month
	// HH:MM:SS year eg: Thu Feb 1 18:32:14 2011. The type is string with length:
	// 0..25.
	StartTime interface{}
}

Watchdog_Nodes_Node_OverloadState_CurrentThrottle Current throttle information

func (*Watchdog_Nodes_Node_OverloadState_CurrentThrottle) GetEntityData

type Watchdog_Nodes_Node_OverloadState_LastThrottle

type Watchdog_Nodes_Node_OverloadState_LastThrottle struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Last throttle duration in seconds. The type is interface{} with range:
	// 0..4294967295. Units are second.
	ThrottleDuration interface{}

	// Last throttle start time in format :day-of-week month date-of-month
	// HH:MM:SS year eg: Thu Feb 1 18:32:14 2011. The type is string with length:
	// 0..25.
	StartTime interface{}

	// Last throttle stop time in format :day-of-week month date-of-month HH:MM:SS
	// year eg: Thu Feb 1 18:32:14 2011. The type is string with length: 0..25.
	StopTime interface{}
}

Watchdog_Nodes_Node_OverloadState_LastThrottle Last throttle information

func (*Watchdog_Nodes_Node_OverloadState_LastThrottle) GetEntityData

type Watchdog_Nodes_Node_ThresholdMemory

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

	// System default memory.
	Default Watchdog_Nodes_Node_ThresholdMemory_Default

	// Memory configured by user.
	Configured Watchdog_Nodes_Node_ThresholdMemory_Configured
}

Watchdog_Nodes_Node_ThresholdMemory Threshold memory

func (*Watchdog_Nodes_Node_ThresholdMemory) GetEntityData

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

type Watchdog_Nodes_Node_ThresholdMemory_Configured

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

	// Minor memory threshold in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	Minor interface{}

	// Severe memory threshold in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	Severe interface{}

	// Critical memory in bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Critical interface{}
}

Watchdog_Nodes_Node_ThresholdMemory_Configured Memory configured by user

func (*Watchdog_Nodes_Node_ThresholdMemory_Configured) GetEntityData

type Watchdog_Nodes_Node_ThresholdMemory_Default

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

	// Configured memory.
	ConfiguredMemory Watchdog_Nodes_Node_ThresholdMemory_Default_ConfiguredMemory

	// Memory Information.
	Memory Watchdog_Nodes_Node_ThresholdMemory_Default_Memory
}

Watchdog_Nodes_Node_ThresholdMemory_Default System default memory

func (*Watchdog_Nodes_Node_ThresholdMemory_Default) GetEntityData

type Watchdog_Nodes_Node_ThresholdMemory_Default_ConfiguredMemory

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

	// Minor memory threshold in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	Minor interface{}

	// Severe memory threshold in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	Severe interface{}

	// Critical memory in bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Critical interface{}
}

Watchdog_Nodes_Node_ThresholdMemory_Default_ConfiguredMemory Configured memory

func (*Watchdog_Nodes_Node_ThresholdMemory_Default_ConfiguredMemory) GetEntityData

type Watchdog_Nodes_Node_ThresholdMemory_Default_Memory

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

	// Physical memory in bytes. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	PhysicalMemory interface{}

	// Free memory in bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	FreeMemory interface{}

	// State of memory. The type is MemoryState.
	MemoryState interface{}
}

Watchdog_Nodes_Node_ThresholdMemory_Default_Memory Memory Information

func (*Watchdog_Nodes_Node_ThresholdMemory_Default_Memory) GetEntityData

Jump to

Keyboard shortcuts

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