Skip to content

Commit 2f3fb2e

Browse files
alagouttelaf
andauthored
Update Aruba(CX) to add Transceiver dom info (temperature, power, voltage, bias) (librenms#18254)
* mibs: Update arubaos-cx mibs MIB from ArubaOS CX 10.16.x * arubaos-cx(discovery.yaml): Add DOM (transceiver) info * Temperature * Power (TX/RX) * Voltage * BIAS (TX) * Disable limit * Add Tests with ArubaOSCX variant 10.16 * arubaos-cx: temperature fix num_oid and enable back warn/limit * arubaos-cx: fix display of Desc (display interface name) * Updated test data and some small tweaks to discovery --------- Co-authored-by: Neil Lathwood <[email protected]>
1 parent 0887eef commit 2f3fb2e

File tree

8 files changed

+12738
-38
lines changed

8 files changed

+12738
-38
lines changed

mibs/arubaos-cx/ARUBAWIRED-NETWORKING-OID

Lines changed: 592 additions & 3 deletions
Large diffs are not rendered by default.

mibs/arubaos-cx/ARUBAWIRED-PM-MIB

Lines changed: 569 additions & 4 deletions
Large diffs are not rendered by default.

mibs/arubaos-cx/ARUBAWIRED-POE-MIB

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--**MOD+************************************************************************
22
--* Module: ARUBAWIRED-POE-MIB :POE MIB file
33
--*
4-
--* (c) Copyright 2019-2020 Hewlett Packard Enterprise Development LP
4+
--* (c) Copyright 2019-2024 Hewlett Packard Enterprise Development LP
55
--* All Rights Reserved.
66
--*
77
--* The contents of this software are proprietary and confidential
@@ -27,7 +27,7 @@ IMPORTS
2727
FROM POWER-ETHERNET-MIB;
2828

2929
arubaWiredPoeMIB MODULE-IDENTITY
30-
LAST-UPDATED "201906240000Z" -- June 24, 2019
30+
LAST-UPDATED "202411270000Z" -- November 27, 2024
3131
ORGANIZATION "HPE/Aruba Networking Division"
3232
CONTACT-INFO "Hewlett Packard Company
3333
8000 Foothills Blvd.
@@ -37,6 +37,10 @@ arubaWiredPoeMIB MODULE-IDENTITY
3737
that manage Power Source Equipment (PSE).
3838
This is the MIB module related to HPE Aruba PoE "
3939

40+
REVISION "202411270000Z" -- November 27, 2024
41+
DESCRIPTION "Added arubaWiredPoePethMainPseAveragePoePower and
42+
arubaWiredPoePethPsePortAveragePoePower to the MIB"
43+
4044
REVISION "201906240000Z" -- June 24, 2019
4145
DESCRIPTION "Initial revision."
4246
::= { wndFeatures 8 }
@@ -91,7 +95,8 @@ ArubaWiredPoePethPsePortEntry ::=
9195
arubaWiredPoePethPsePortPdSignature INTEGER,
9296
arubaWiredPoePethPsePortPowerClassification INTEGER,
9397
arubaWiredPoePethPsePortPseAssignedClass INTEGER,
94-
arubaWiredPoePethPsePortPoECycle Integer32
98+
arubaWiredPoePethPsePortPoECycle Integer32,
99+
arubaWiredPoePethPsePortAveragePoePower Integer32
95100
}
96101

97102
arubaWiredPoePethPsePortPowerAllocateBy OBJECT-TYPE
@@ -211,7 +216,11 @@ arubaWiredPoePethPsePortOperStatus OBJECT-TYPE
211216
}
212217
MAX-ACCESS read-only
213218
STATUS current
214-
DESCRIPTION "This field specifies the operational status of the port."
219+
DESCRIPTION "This field specifies the operational status of the port.
220+
deny: A PD is connected, but the PSE does not have sufficient power balance,
221+
to power this port.
222+
on: A PD is connected and the PSE is delivering the power.
223+
off: PSE interface in disabled / searching / power_down / fault state."
215224
DEFVAL { 2 }
216225
::= { arubaWiredPoePethPsePortEntry 10 }
217226

@@ -304,6 +313,15 @@ arubaWiredPoePethPsePortPoECycle OBJECT-TYPE
304313
DEFVAL { 1 }
305314
::= { arubaWiredPoePethPsePortEntry 14 }
306315

316+
arubaWiredPoePethPsePortAveragePoePower OBJECT-TYPE
317+
SYNTAX Integer32
318+
UNITS "Watts"
319+
MAX-ACCESS read-only
320+
STATUS current
321+
DESCRIPTION
322+
"Average instantaneous PoE power used by the port, expressed in Watts"
323+
::= { arubaWiredPoePethPsePortEntry 15 }
324+
307325
-- **********************************************************************
308326
-- PSE Objects extension for Four pair related parameters on poe port
309327
-- (AUGMENTS pethPsePortTable)
@@ -592,7 +610,8 @@ ArubaWiredPoePethMainPseEntry ::=
592610
SEQUENCE {
593611
arubaWiredPoePethMainPseReservedPower Integer32,
594612
arubaWiredPoePethMainPseFailoverPower Integer32,
595-
arubaWiredPoePethMainPseRedundantPower Integer32
613+
arubaWiredPoePethMainPseRedundantPower Integer32,
614+
arubaWiredPoePethMainPseAveragePoePower Integer32
596615
}
597616

598617
arubaWiredPoePethMainPseReservedPower OBJECT-TYPE
@@ -633,6 +652,14 @@ arubaWiredPoePethMainPseRedundantPower OBJECT-TYPE
633652
DEFVAL { 0 }
634653
::= { arubaWiredPoePethMainPseEntry 3 }
635654

655+
arubaWiredPoePethMainPseAveragePoePower OBJECT-TYPE
656+
SYNTAX Integer32
657+
UNITS "Watts"
658+
MAX-ACCESS read-only
659+
STATUS current
660+
DESCRIPTION "Average instantaneous PoE power expressed in Watts."
661+
::= { arubaWiredPoePethMainPseEntry 4 }
662+
636663
-- **********************************************************************
637664
-- AlwaysOnPOE Information on module - applies
638665
-- to each module equipment of switch.
@@ -755,7 +782,8 @@ arubaWiredPoePethPsePortTableGroup OBJECT-GROUP
755782
arubaWiredPoePethPsePortPdSignature,
756783
arubaWiredPoePethPsePortPowerClassification,
757784
arubaWiredPoePethPsePortPseAssignedClass,
758-
arubaWiredPoePethPsePortPoECycle
785+
arubaWiredPoePethPsePortPoECycle,
786+
arubaWiredPoePethPsePortAveragePoePower
759787
}
760788
STATUS current
761789
DESCRIPTION "A collection of objects display configuration, status,
@@ -789,7 +817,8 @@ arubaWiredPoePethMainPseTableGroup OBJECT-GROUP
789817
OBJECTS {
790818
arubaWiredPoePethMainPseReservedPower,
791819
arubaWiredPoePethMainPseFailoverPower,
792-
arubaWiredPoePethMainPseRedundantPower
820+
arubaWiredPoePethMainPseRedundantPower,
821+
arubaWiredPoePethMainPseAveragePoePower
793822
}
794823
STATUS current
795824
DESCRIPTION "A Collection of Object(s) that provide information about

mibs/arubaos-cx/ARUBAWIRED-POWERSUPPLY-MIB

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--**MOD+************************************************************************
22
--* Module: ARUBAWIRED-POWERSUPPLY-MIB :POWERSUPPLY MIB file
33
--*
4-
--* (c) Copyright 2020,2023 Hewlett Packard Enterprise Development LP
4+
--* (c) Copyright 2020,2023-2025 Hewlett Packard Enterprise Development LP
55
--* All Rights Reserved.
66
--*
77
--* The contents of this software are proprietary and confidential
@@ -27,7 +27,7 @@ IMPORTS
2727
FROM ARUBAWIRED-CHASSIS-MIB;
2828

2929
arubaWiredPowerSupply MODULE-IDENTITY
30-
LAST-UPDATED "202305090000Z" -- May 9, 2023
30+
LAST-UPDATED "202502260000Z" -- February 26, 2025
3131
ORGANIZATION "HPE/Aruba Networking Division"
3232
CONTACT-INFO "Hewlett Packard Company
3333
8000 Foothills Blvd.
@@ -36,6 +36,12 @@ arubaWiredPowerSupply MODULE-IDENTITY
3636
"This MIB module describes management objects that manage Power
3737
Supply Units."
3838

39+
REVISION "202502260000Z" -- February 26, 2025
40+
DESCRIPTION "Added additional states in arubaWiredPSUStateEnum"
41+
42+
REVISION "202412160000Z" -- December 16, 2024
43+
DESCRIPTION "Added additional states in arubaWiredPSUStateEnum"
44+
3945
REVISION "202305090000Z" -- May 9, 2023
4046
DESCRIPTION "Added states in arubaWiredPSUStateEnum."
4147

@@ -198,20 +204,23 @@ arubaWiredPSUAirflowDirection OBJECT-TYPE
198204

199205
arubaWiredPSUStateEnum OBJECT-TYPE
200206
SYNTAX INTEGER {
201-
ok (1),
202-
faultAbsent (2),
203-
faultInput (3),
204-
faultOutput (4),
205-
faultPOE (5),
206-
faultNoRecov (6),
207-
alert (7),
208-
unknown (8),
209-
unsupported (9),
210-
warning (10),
211-
init (11),
212-
empty (12),
213-
faultAirflow (13),
214-
faultRedundancy(14)
207+
ok (1),
208+
faultAbsent (2),
209+
faultInput (3),
210+
faultOutput (4),
211+
faultPOE (5),
212+
faultNoRecov (6),
213+
alert (7),
214+
unknown (8),
215+
unsupported (9),
216+
warning (10),
217+
init (11),
218+
empty (12),
219+
faultAirflow (13),
220+
faultRedundancy (14),
221+
faultMixedInput (15),
222+
overvoltage (16),
223+
undervoltage (17)
215224
}
216225
MAX-ACCESS read-only
217226
STATUS current

mibs/arubaos-cx/ARUBAWIRED-VSFv2-MIB

Lines changed: 96 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--**MOD+************************************************************************
44
--* Module: ARUBAWIRED-VSFv2-MIB :VSF MIB file
55
--*
6-
--* (c) Copyright 2019-2023 Hewlett Packard Enterprise Development LP
6+
--* (c) Copyright 2019-2025 Hewlett Packard Enterprise Development LP
77
--* All Rights Reserved.
88
--*
99
--* The contents of this software are proprietary and confidential
@@ -32,14 +32,17 @@ IMPORTS
3232
FROM ARUBAWIRED-NETWORKING-OID;
3333

3434
arubaWiredVsfv2MIB MODULE-IDENTITY
35-
LAST-UPDATED "202305160000Z" -- May 16, 2023
35+
LAST-UPDATED "202501160000Z" -- January 16, 2025
3636
ORGANIZATION "HPE/Aruba Networking Division"
3737
CONTACT-INFO "Hewlett Packard Company 8000 Foothills Blvd. Roseville,
3838
CA 95747"
3939

4040
DESCRIPTION "This MIB module describes objects used to manage Virtual
4141
Switching Framework (VSF) feature."
4242

43+
REVISION "202501160000Z" -- January 16, 2025
44+
DESCRIPTION "Added VSF Vlan MAD MIBs"
45+
4346
REVISION "202305160000Z" -- May 16, 2023
4447
DESCRIPTION "Added a new object to provide physical entity for members"
4548

@@ -65,6 +68,7 @@ arubaWiredVsfv2Notifications OBJECT IDENTIFIER ::= { arubaWiredVsfv2MIB 0 }
6568
arubaWiredVsfv2Objects OBJECT IDENTIFIER ::= { arubaWiredVsfv2MIB 1 }
6669
arubaWiredVsfv2Config OBJECT IDENTIFIER ::= { arubaWiredVsfv2Objects 0 }
6770
arubaWiredVsfv2Status OBJECT IDENTIFIER ::= { arubaWiredVsfv2Objects 1 }
71+
arubaWiredVsfv2Counters OBJECT IDENTIFIER ::= { arubaWiredVsfv2Objects 5 }
6872

6973
--*************************************************************
7074
--* Scalar Group
@@ -81,7 +85,8 @@ arubaWiredVsfv2TrapEnable OBJECT-TYPE
8185
arubaWiredVsfv2SplitDetectConfigured OBJECT-TYPE
8286
SYNTAX INTEGER {
8387
none (1),
84-
mgmt (2)
88+
mgmt (2),
89+
vlan (3)
8590
}
8691
MAX-ACCESS read-write
8792
STATUS current
@@ -93,10 +98,24 @@ arubaWiredVsfv2SplitDetectConfigured OBJECT-TYPE
9398
`mgmt`: The management network interface will be used to detect a
9499
stack split. If multiple fragments are detected, only
95100
the stack fragment containing the 'primary' member will
96-
keep its network interfaces active."
101+
keep its network interfaces active.
102+
`vlan`: Any one of the data ports configured with split detection
103+
access VLAN identifier will be used to detect stack split.
104+
If multiple fragments are detected, only the stack
105+
fragment containing the 'primary' member will keep its
106+
network interfaces active."
97107

98108
::= { arubaWiredVsfv2Config 2 }
99109

110+
arubaWiredVsfv2SplitDetectVlanId OBJECT-TYPE
111+
SYNTAX DisplayString (SIZE(0..5))
112+
MAX-ACCESS read-only
113+
STATUS current
114+
DESCRIPTION
115+
"VLAN identifier used for split detection"
116+
117+
::= { arubaWiredVsfv2Config 3 }
118+
100119
--*************************************************************
101120
--* VSF Status Scalar Group
102121
--*************************************************************
@@ -156,6 +175,61 @@ arubaWiredVsfv2Secondary OBJECT-TYPE
156175

157176
::= { arubaWiredVsfv2Status 5 }
158177

178+
arubaWiredVsfv2SplitDetectOperStatus OBJECT-TYPE
179+
SYNTAX DisplayString (SIZE(0..5))
180+
MAX-ACCESS read-only
181+
STATUS current
182+
DESCRIPTION "The status of split detection functionality
183+
can be one of:
184+
185+
`up` : Split detection functionality is operational.
186+
`down` : Split detection functionality is not operational."
187+
::= { arubaWiredVsfv2Status 6 }
188+
189+
arubaWiredVsfv2SplitDetectStatusDownReason OBJECT-TYPE
190+
SYNTAX DisplayString (SIZE(0..128))
191+
MAX-ACCESS read-only
192+
STATUS current
193+
DESCRIPTION "The down reason of split detection operational status
194+
can be one of:
195+
196+
'Split detection is not configured' : split detection method is not configured.
197+
'Mgmt interface admin state is down' : split detection method is configured as Mgmt and Mgmt interface admin state is down.
198+
'Mgmt interface link state is down' : split detection method is configured as Mgmt and Mgmt interface link state is down.
199+
'Split detection VLAN is not configured' : split detection method is configured as vlan and split detection VLAN is not configured.
200+
'VLAN <VLAN_ID> is not configured' : split detection method is configured as vlan and coresponding VLAN identifier is not configured.
201+
'VLAN <VLAN_ID> admin state is down' : split detection method is configured as vlan and coresponding VLAN identifier is admin down.
202+
'VLAN <VLAN_ID> does not have split detection interfaces configured' : split detection method is configured as vlan and coresponding VLAN identifier is not associated with any interface.
203+
'Interface <ifname> admin state is down' : split detection method is configured as vlan and coresponding VLAN associated interface admin state is down.
204+
'Interface <ifname> operational state is down' : split detection method is configured as vlan and coresponding VLAN associated interface operational state is down.
205+
'VLAN <VLAN_ID> is configured only with one split detection interface': split detection method is configured as vlan and only one access port is part of split detection VLAN. Split detection VLAN should have one access port from the primary and one from the secondary."
206+
::= { arubaWiredVsfv2Status 7 }
207+
208+
--*************************************************************
209+
--* VSF Counters Scalar Group
210+
--*************************************************************
211+
212+
arubaWiredVsfv2SplitDetectCountersTx OBJECT-TYPE
213+
SYNTAX DisplayString
214+
MAX-ACCESS read-only
215+
STATUS current
216+
DESCRIPTION "Total number of packets transmitted."
217+
::= { arubaWiredVsfv2Counters 1 }
218+
219+
arubaWiredVsfv2SplitDetectCountersRx OBJECT-TYPE
220+
SYNTAX DisplayString
221+
MAX-ACCESS read-only
222+
STATUS current
223+
DESCRIPTION "Total number of packets recieved."
224+
::= { arubaWiredVsfv2Counters 2 }
225+
226+
arubaWiredVsfv2SplitDetectCountersRxDrop OBJECT-TYPE
227+
SYNTAX DisplayString
228+
MAX-ACCESS read-only
229+
STATUS current
230+
DESCRIPTION "Total number of packets recived and discarded."
231+
::= { arubaWiredVsfv2Counters 3 }
232+
159233
--*************************************************************
160234
--* arubaWiredVsfv2MemberTable
161235
--*************************************************************
@@ -527,7 +601,8 @@ arubaWiredVsfv2ConfigScalarGroup OBJECT-GROUP
527601
arubaWiredVsfv2TrapEnable,
528602
arubaWiredVsfv2StackMacAddr,
529603
arubaWiredVsfv2DomainId,
530-
arubaWiredVsfv2Secondary
604+
arubaWiredVsfv2Secondary,
605+
arubaWiredVsfv2SplitDetectVlanId
531606
}
532607
STATUS current
533608
DESCRIPTION "A collection of Virtual Switching Framework scalar objects."
@@ -536,7 +611,9 @@ arubaWiredVsfv2ConfigScalarGroup OBJECT-GROUP
536611
arubaWiredVsfv2StatusScalarGroup OBJECT-GROUP
537612
OBJECTS {
538613
arubaWiredVsfv2OperStatus,
539-
arubaWiredVsfv2SplitDetectConfigured
614+
arubaWiredVsfv2SplitDetectConfigured,
615+
arubaWiredVsfv2SplitDetectOperStatus,
616+
arubaWiredVsfv2SplitDetectStatusDownReason
540617
}
541618
STATUS current
542619
DESCRIPTION "A collection of Virtual Switching Framework notifications
@@ -601,6 +678,17 @@ arubaWiredVsfv2NotificationsGroup NOTIFICATION-GROUP
601678
DESCRIPTION "A collection of VSF virtual chassis notifications objects."
602679
::= { arubaWiredVsfv2Groups 6 }
603680

681+
arubaWiredVsfv2CountersScalarGroup OBJECT-GROUP
682+
OBJECTS {
683+
arubaWiredVsfv2SplitDetectCountersTx,
684+
arubaWiredVsfv2SplitDetectCountersRx,
685+
arubaWiredVsfv2SplitDetectCountersRxDrop
686+
}
687+
STATUS current
688+
DESCRIPTION "A collection of Virtual Switching Framework Counters
689+
objects."
690+
::= { arubaWiredVsfv2Groups 7 }
691+
604692
arubaWiredVsfv2MibCompliance MODULE-COMPLIANCE
605693
STATUS current
606694
DESCRIPTION "The compliance statement for devices implementing the
@@ -612,7 +700,8 @@ arubaWiredVsfv2MibCompliance MODULE-COMPLIANCE
612700
arubaWiredVsfv2MemberTableGroup,
613701
arubaWiredVsfv2LinkTableGroup,
614702
arubaWiredVsfv2PortTableGroup,
615-
arubaWiredVsfv2NotificationsGroup
703+
arubaWiredVsfv2NotificationsGroup,
704+
arubaWiredVsfv2CountersScalarGroup
616705
}
617706
::= { arubaWiredVsfv2Compliances 1 }
618707
END

0 commit comments

Comments
 (0)