cisco_power_ethernet_ext_mib

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

A MIB module for extending the POWER-ETHERNET-MIB (RFC3621) to add objects which provide additional management information about Power Sourcing Equipment (PSE) not available in POWER-ETHERNET-MIB.

Glossary

Power Sourcing Equipment (PSE)

These are devices supplying electrical power to
other equipment. They are, for example, inline power
switches, inline power daughterboards and power patch
panels.

Powered Device (PD)

These are devices receiving their electrical power
supply from Power Sourcing Equipment. They are, for
example, IP telephones and wireless access points
or bridges.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISCOPOWERETHERNETEXTMIB

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

	CpeExtMIBObjects CISCOPOWERETHERNETEXTMIB_CpeExtMIBObjects

	CpeExtPdStatistics CISCOPOWERETHERNETEXTMIB_CpeExtPdStatistics

	// This table contains the additional information for the main PSE group in
	// pethMainPseTable.
	CpeExtMainPseTable CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable

	// This table contains the statistics information of the powered devices
	// fallen into different power classifications in the system.
	CpeExtPdStatsTable CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable

	// A table provides the Link Layer Discovery Protocol (LLDP) based Data Link
	// Layer (DLL) power classification characteristics of PSE ports and PDs
	// attached to them.
	CpeExtPsePortLldpTable CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable
}

CISCOPOWERETHERNETEXTMIB

func (*CISCOPOWERETHERNETEXTMIB) GetEntityData

func (cISCOPOWERETHERNETEXTMIB *CISCOPOWERETHERNETEXTMIB) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtMIBObjects

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

	// This object indicates the default inline power allocation per port. This is
	// a global configuration parameter that applies to all inline power capable
	// ports in the system.  The system must consider this object as well as the
	// per port configuration object, cpeExtPsePortPwrMax, when determining how
	// much power to allocate to a port. The system will use the lower of the two
	// numbers. The type is interface{} with range: 0..4294967295. Units are
	// milliwatts.
	CpeExtDefaultAllocation interface{}

	// This object is used to enable/disable the the cpeExtPolicingNotif
	// notification. The type is bool.
	CpeExtPolicingNotifEnable interface{}

	// This object is the global control of the power priority feature on the
	// device. 'true' indicates that the power priority feature is globally
	// enabled. 'false' indicates that the power priority feature is globally
	// disabled. The type is bool.
	CpeExtPowerPriorityEnable interface{}
}

CISCOPOWERETHERNETEXTMIB_CpeExtMIBObjects

func (*CISCOPOWERETHERNETEXTMIB_CpeExtMIBObjects) GetEntityData

func (cpeExtMIBObjects *CISCOPOWERETHERNETEXTMIB_CpeExtMIBObjects) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable

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

	// A cpeExtMainPseEntry contains information about a particular
	// pethMainPseGroupIndex. An entry is created by the agent when a main PSE
	// group is added to the pethMainPseTable. An entry is deleted by the agent
	// when a main PSE group is removed from the pethMainPseTable. The type is
	// slice of CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable_CpeExtMainPseEntry.
	CpeExtMainPseEntry []*CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable_CpeExtMainPseEntry
}

CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable This table contains the additional information for the main PSE group in pethMainPseTable.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable) GetEntityData

func (cpeExtMainPseTable *CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable_CpeExtMainPseEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to
	// power_ethernet_mib.POWERETHERNETMIB_PethMainPseTable_PethMainPseEntry_PethMainPseGroupIndex
	PethMainPseGroupIndex interface{}

	// The entPhysicalIndex value that uniquely identifies the main PSE group. If
	// the main PSE group does not have a corresponding physical entry in
	// entPhysicalTable or if the entPhysicalTable is not supported by the
	// management system, then this object has the value of zero. The type is
	// interface{} with range: 0..2147483647.
	CpeExtMainPseEntPhyIndex interface{}

	// A textual string containing information about the Power Source Equipment
	// (PSE) group. The type is string.
	CpeExtMainPseDescr interface{}

	// This object indicates if the given group is capable of monitoring the power
	// consumption of the interfaces that belong to the group. The value 'true'
	// means that the group is capable. The value 'false' means that the group in
	// not capable. The type is bool.
	CpeExtMainPsePwrMonitorCapable interface{}

	// This object indicates used power expressed in miliwatts. The type is
	// interface{} with range: 0..4294967295. Units are miliwatts.
	CpeExtMainPseUsedPower interface{}

	// This object indicates remaining power expressed in miliwatts, this
	// parameter is calculated as pethMainPsePower minus cpeExtMainPseUsedPower.
	// The type is interface{} with range: 0..4294967295. Units are miliwatts.
	CpeExtMainPseRemainingPower interface{}
}

CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable_CpeExtMainPseEntry A cpeExtMainPseEntry contains information about a particular pethMainPseGroupIndex. An entry is created by the agent when a main PSE group is added to the pethMainPseTable. An entry is deleted by the agent when a main PSE group is removed from the pethMainPseTable.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtMainPseTable_CpeExtMainPseEntry) GetEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPdStatistics

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

	// This object indicates the total number of the powered devices with any
	// power classifications in the system.  Classification is a way to tag
	// different terminals on the Power over LAN network according to their power
	// consumption. Devices such as IP telephones, WLAN access points and others,
	// will be classified according to their power requirements. The type is
	// interface{} with range: 0..4294967295.
	CpeExtPdStatsTotalDevices interface{}
}

CISCOPOWERETHERNETEXTMIB_CpeExtPdStatistics

func (*CISCOPOWERETHERNETEXTMIB_CpeExtPdStatistics) GetEntityData

func (cpeExtPdStatistics *CISCOPOWERETHERNETEXTMIB_CpeExtPdStatistics) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable

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

	// A cpeExtPdStatsEntry contains the statistics information about a particular
	// power classification defined in cpeExtPdStatsIndex. The type is slice of
	// CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry.
	CpeExtPdStatsEntry []*CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry
}

CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable This table contains the statistics information of the powered devices fallen into different power classifications in the system.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable) GetEntityData

func (cpeExtPdStatsTable *CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry

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

	// This attribute is a key. The power classification as the index for the
	// statistics information for powered devices.  A value of 'cisco' indicates
	// that the powered devices are CISCO proprietary and their power
	// classification does not fall into any class in IEEE specifications.  A
	// value of 'class0' indicates that the power  classification of the powered
	// devices falls into class 0 in IEEE specifications.  A value of 'class1'
	// indicates that the power classification of the powered devices falls into
	// class 1 in IEEE specifications.  A value of 'class2' indicates that the
	// power classification of the powered devices falls into class 2 in IEEE
	// specifications.  A value of 'class3' indicates that the power
	// classification of the powered devices falls into class 3 in IEEE
	// specifications.  A value of 'class4' indicates that the power
	// classification of the powered devices falls into class 4 in IEEE
	// specifications. The type is CpeExtPdStatsClass.
	CpeExtPdStatsClass interface{}

	// This object indicates the count of the powered devices whose power
	// classification falls into  a specific value of cpeExtPdStatsIndex. The type
	// is interface{} with range: 0..4294967295.
	CpeExtPdStatsDeviceCount interface{}
}

CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry A cpeExtPdStatsEntry contains the statistics information about a particular power classification defined in cpeExtPdStatsIndex.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry) GetEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass

type CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass string

CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass represents class 4 in IEEE specifications.

const (
	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_cisco CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "cisco"

	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_class0 CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "class0"

	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_class1 CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "class1"

	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_class2 CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "class2"

	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_class3 CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "class3"

	CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass_class4 CISCOPOWERETHERNETEXTMIB_CpeExtPdStatsTable_CpeExtPdStatsEntry_CpeExtPdStatsClass = "class4"
)

type CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable

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

	// A cpeExtPsePortLldpEntry entry contains the LLDP based 802.3at DLL power
	// classification characteristics for a particular PSE and the PD attached to
	// it.   A PSE has its entry here when all of the following conditions are
	// satisfied: - The LLDP power classification is globally enabled. - It has a
	// PD attached. - LLDP is the operational power negotiation protocol between
	// the PSE and the PD attached. The type is slice of
	// CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry.
	CpeExtPsePortLldpEntry []*CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry
}

CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable A table provides the Link Layer Discovery Protocol (LLDP) based Data Link Layer (DLL) power classification characteristics of PSE ports and PDs attached to them.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable) GetEntityData

func (cpeExtPsePortLldpTable *CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable) GetEntityData() *types.CommonEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to
	// power_ethernet_mib.POWERETHERNETMIB_PethPsePortTable_PethPsePortEntry_PethPsePortGroupIndex
	PethPsePortGroupIndex interface{}

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to
	// power_ethernet_mib.POWERETHERNETMIB_PethPsePortTable_PethPsePortEntry_PethPsePortIndex
	PethPsePortIndex interface{}

	// The DTE Power via MDI type of the local system (PSE). The type is
	// CpeExtLldpPwrType.
	CpeExtPsePortLldpPwrType interface{}

	// The DTE Power via MDI type of the remote system (PD). The type is
	// CpeExtLldpPwrType.
	CpeExtPsePortLldpPdPwrType interface{}

	// The power source of the local system (PSE). The type is CpeExtLldpPwrSrc.
	CpeExtPsePortLldpPwrSrc interface{}

	// The power source of the remote system (PD). The type is CpeExtLldpPwrSrc.
	CpeExtPsePortLldpPdPwrSrc interface{}

	// The power priority of the local system (PSE). The type is
	// CpeExtPwrPriority.
	CpeExtPsePortLldpPwrPriority interface{}

	// The power priority of the remote system (PD). The type is
	// CpeExtPwrPriority.
	CpeExtPsePortLldpPdPwrPriority interface{}

	// The requested PD power value that the local system (PSE) mirrors back to
	// the remote system (PD). The type is interface{} with range: 0..4294967295.
	// Units are milliwatts.
	CpeExtPsePortLldpPwrReq interface{}

	// The PD requested power value received from the remote system (PD). The type
	// is interface{} with range: 0..4294967295. Units are milliwatts.
	CpeExtPsePortLldpPdPwrReq interface{}

	// The PSE allocated power value for the remote system (PD). The type is
	// interface{} with range: 0..4294967295. Units are milliwatts.
	CpeExtPsePortLldpPwrAlloc interface{}

	// The PSE allocated power value received from the remote system (PD). The
	// type is interface{} with range: 0..4294967295. Units are milliwatts.
	CpeExtPsePortLldpPdPwrAlloc interface{}

	// The PSE power classification sent to the remote PD via MDI TLV in LLDP
	// Protocol. The type is CpeExtLldpPwrClassOrZero.
	CpeExtPsePortLldpPwrClass interface{}

	// This power classification received from the remote system (PD). The type is
	// CpeExtLldpPwrClassOrZero.
	CpeExtPsePortLldpPdPwrClass interface{}

	// This object indicates the power support mode received from the remote PD
	// via MDI TLV in LLDP protocol.  'portClass'          - This bit is set if
	// the port is                        operating as PSE.  Otherwise, it is
	// operating as PD.  'pseMdiPwrSupport'   - This bit is set if power is
	// supported in                        MDI TLV.  'pseMdiPwrState'     - This
	// bit is set if power is enabled.  'psePairCtrlAbility' - This bit is set if
	// pair selection can                        be controlled. The type is
	// map[string]bool.
	CpeExtPsePortLldpPdPwrSupport interface{}

	// This object indicates the pinout pairs in use received from the remote PD
	// via MDI TLV in LLDP Protocol.  'unknown' - information is not available
	// 'signal'  - the signal pairs are in use.  'spare'   - the spare pairs are
	// in use. The type is CpeExtPsePortLldpPdPwrPairsOrZero.
	CpeExtPsePortLldpPdPwrPairsOrZero interface{}
}

CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry A cpeExtPsePortLldpEntry entry contains the LLDP based 802.3at DLL power classification characteristics for a particular PSE and the PD attached to it.

A PSE has its entry here when all of the following conditions are satisfied:

  • The LLDP power classification is globally enabled.
  • It has a PD attached.
  • LLDP is the operational power negotiation protocol between the PSE and the PD attached.

func (*CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry) GetEntityData

type CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero

type CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero string

CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero represents 'spare' - the spare pairs are in use.

const (
	CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero_unknown CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero = "unknown"

	CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero_signal CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero = "signal"

	CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero_spare CISCOPOWERETHERNETEXTMIB_CpeExtPsePortLldpTable_CpeExtPsePortLldpEntry_CpeExtPsePortLldpPdPwrPairsOrZero = "spare"
)

type CpeExtLldpPwrClassOrZero

type CpeExtLldpPwrClassOrZero string

CpeExtLldpPwrClassOrZero represents class 4 in IEEE specifications.

const (
	CpeExtLldpPwrClassOrZero_unknown CpeExtLldpPwrClassOrZero = "unknown"

	CpeExtLldpPwrClassOrZero_class0 CpeExtLldpPwrClassOrZero = "class0"

	CpeExtLldpPwrClassOrZero_class1 CpeExtLldpPwrClassOrZero = "class1"

	CpeExtLldpPwrClassOrZero_class2 CpeExtLldpPwrClassOrZero = "class2"

	CpeExtLldpPwrClassOrZero_class3 CpeExtLldpPwrClassOrZero = "class3"

	CpeExtLldpPwrClassOrZero_class4 CpeExtLldpPwrClassOrZero = "class4"
)

type CpeExtLldpPwrSrc

type CpeExtLldpPwrSrc string

CpeExtLldpPwrSrc represents unknown.

const (
	CpeExtLldpPwrSrc_pseAndLocal CpeExtLldpPwrSrc = "pseAndLocal"

	CpeExtLldpPwrSrc_local CpeExtLldpPwrSrc = "local"

	CpeExtLldpPwrSrc_pse CpeExtLldpPwrSrc = "pse"

	CpeExtLldpPwrSrc_backupSrc CpeExtLldpPwrSrc = "backupSrc"

	CpeExtLldpPwrSrc_primarySrc CpeExtLldpPwrSrc = "primarySrc"

	CpeExtLldpPwrSrc_unknown CpeExtLldpPwrSrc = "unknown"
)

type CpeExtLldpPwrType

type CpeExtLldpPwrType string

CpeExtLldpPwrType represents or a Type 2 PD.

const (
	CpeExtLldpPwrType_type1Pd CpeExtLldpPwrType = "type1Pd"

	CpeExtLldpPwrType_type1Pse CpeExtLldpPwrType = "type1Pse"

	CpeExtLldpPwrType_type2Pd CpeExtLldpPwrType = "type2Pd"

	CpeExtLldpPwrType_type2Pse CpeExtLldpPwrType = "type2Pse"
)

type CpeExtPwrPriority

type CpeExtPwrPriority string

CpeExtPwrPriority represents 'unknown' - power priority level is unknown.

const (
	CpeExtPwrPriority_critical CpeExtPwrPriority = "critical"

	CpeExtPwrPriority_high CpeExtPwrPriority = "high"

	CpeExtPwrPriority_low CpeExtPwrPriority = "low"

	CpeExtPwrPriority_unknown CpeExtPwrPriority = "unknown"
)

Jump to

Keyboard shortcuts

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