environment_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 monitoring Environment of a Network Element. Copyright (c) 2016-2017 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 EnvironmentSensors

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

	// The list of components on the device chasis. The type is slice of
	// EnvironmentSensors_EnvironmentSensor.
	EnvironmentSensor []*EnvironmentSensors_EnvironmentSensor
}

EnvironmentSensors Data nodes for Environmental Monitoring

func (*EnvironmentSensors) GetEntityData

func (environmentSensors *EnvironmentSensors) GetEntityData() *types.CommonEntityData

type EnvironmentSensors_EnvironmentSensor

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

	// This attribute is a key. Name of the sensor component. This includes all
	// physical components of the chasis - both fixed and pluggable. The type is
	// string.
	Name interface{}

	// This attribute is a key. Sensor location. The type is string.
	Location interface{}

	// A description of the current state of the sensor. The type is string.
	State interface{}

	// Numerical value of the current sensor reading in sensor-units. The type is
	// interface{} with range: 0..4294967295.
	CurrentReading interface{}

	// Units corresponding to the current-reading value. The type is
	// SensorUnitsType.
	SensorUnits interface{}

	// Alarm threshold under which a critical alarm will be signaled. The type is
	// interface{} with range: -2147483648..2147483647.
	LowCriticalThreshold interface{}

	// No alarm above this threshold. The type is interface{} with range:
	// -2147483648..2147483647.
	LowNormalThreshold interface{}

	// No alarm below this threshold. The type is interface{} with range:
	// -2147483648..2147483647.
	HighNormalThreshold interface{}

	// Alarm threshold over which a critical  alarm will be signaled. The type is
	// interface{} with range: -2147483648..2147483647.
	HighCriticalThreshold interface{}
}

EnvironmentSensors_EnvironmentSensor The list of components on the device chasis

func (*EnvironmentSensors_EnvironmentSensor) GetEntityData

func (environmentSensor *EnvironmentSensors_EnvironmentSensor) GetEntityData() *types.CommonEntityData

type SensorUnitsType

type SensorUnitsType string

SensorUnitsType represents Units used by various sensors

const (
	SensorUnitsType_watts SensorUnitsType = "watts"

	SensorUnitsType_celsius SensorUnitsType = "celsius"

	SensorUnitsType_millivolts SensorUnitsType = "millivolts"

	SensorUnitsType_amperes SensorUnitsType = "amperes"

	SensorUnitsType_volts_dc SensorUnitsType = "volts-dc"

	SensorUnitsType_volts_ac SensorUnitsType = "volts-ac"

	SensorUnitsType_milliamperes SensorUnitsType = "milliamperes"

	SensorUnitsType_unknown SensorUnitsType = "unknown"

	SensorUnitsType_revolutions_per_minute SensorUnitsType = "revolutions-per-minute"
)

Jump to

Keyboard shortcuts

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