Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP ArubaOS-CX: power-consumption starting with version FL.10.13.xxxx - permanent power changes logged #3142

Closed
TerraTalpi opened this issue Apr 29, 2024 · 2 comments · Fixed by #3143
Assignees
Milestone

Comments

@TerraTalpi
Copy link
Contributor

Hello dear team,

the ArubaOS-CX switches in Version FL.10.13.xxxx introduce a new sub-command show environment power-consumption with the following example output:

Power Consumption Averaging Period : 600 seconds

                                    Instantaneous     Average
Name Description                        Power (W)   Power (W)
---------------------------------------------------------------
1    6300M 24SFP+ 4SFP56 Swch               52.00       51.73

The parameter power-consumption was not available in the previous Long Support Release (LSR) Version FL.10.10.xxxx. The Power(W) values always change and produce a new change in odixized every time scanned. I guess this should be easily fixable by doing something like the fix for the fan speed in the current version, see commit ed094ff and/or pull-request #2865. I will try to implement this change and create a pull-request if possible.

TerraTalpi added a commit to TerraTalpi/oxidized that referenced this issue Apr 29, 2024
Exclude actual power consumption from output. Command "show environment power-consumption" has been introduced with ArubaOS-CX Long Support Release (LSR) version FL.10.13.xxx. This was not included in the previous LSR FL.10.10.xxx. Related issue is ytti#3142. Based on the work of @danpoltawski
TerraTalpi added a commit to TerraTalpi/oxidized that referenced this issue Apr 29, 2024
Exclude actual power consumption from output. Command "show environment power-consumption" has been introduced with ArubaOS-CX Long Support Release (LSR) version FL.10.13.xxx. This was not included in the previous LSR FL.10.10.xxx. Related issue is ytti#3142. Based on the work of @danpoltawski
@TerraTalpi
Copy link
Contributor Author

@alextremblay has checked my pull request and informed me, that there is still a change produced with my currently submitted regex, since the number of digits could change. Therefore, I will test the regex again against this example output with a stack consisting of three switches, each with a different power consumption:

show environment power-consumption

Power Consumption Averaging Period : 600 seconds

                                    Instantaneous     Average
Name Description                        Power (W)   Power (W)
---------------------------------------------------------------
1    6300M 24SFP+ 4SFP56 Swch               52.00       51.73
2    6300M 48G 4SFP56 Swch                 156.00      155.94
3    6300M 48G 4SFP56 Swch                1156.00     1155.94

Please note that this is not an actual command output, but created by me, since I lack a switch (stack) that consumes more than 1000 Watts.

@TerraTalpi
Copy link
Contributor Author

I have now further investigated this issue and checked the AOS-CX 10.13 Command-Line Interface Guide documentation about that command in the newest version FL.10.13.xxxx for various switch series. CLI Guides link:

The output differs depending on the following factors:

  • Switch Model
  • VSF stack or standalone
  • chassis switch with linecards

The different outputs may be the ones I posted previously for a VSF or standalone switch, but also the following (copied copied from the AOS-CX 10.13 Command-Line Interface Guides of multiple switch types):

Aruba 6400 switch:

switch> show environment power-consumption
                                                                       Power
Name   Type                Description                                 Usage
------------------------------------------------------------------------------
1/1    management-module   R0X31A 6400 Management Module               18 W
1/2    management-module                                               0 W
1/3    line-card-module                                                0 W
1/4    line-card-module    R0X39A 6400 48p 1GbE CL4 PoE 4SFP56 Mod     54 W
1/5    line-card-module                                                0 W
1/6    line-card-module    R0X39A 6400 48p 1GbE CL4 PoE 4SFP56 Mod     56 W
1/7    line-card-module    R0X39A 6400 48p 1GbE CL4 PoE 4SFP56 Mod     51 W
1/1    fabric-card-module  R0X24A 6405 Chassis                         71 W


Module Total Power Usage                                               250 W
Chassis Total Power Usage                                              294 W

Chassis Total Power Available                                          1800 W

Aruba 8400 switch:

switch> show environment power-consumption
Name Type                 Description                                    Usage
------------------------------------------------------------------------------
1/5  management-module    JL368A 8400X Mgmt Mod                           97 W
1/6  management-module    JL368A 8400X Mgmt Mod                           49 W
1/1  line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Mod         139 W
1/2  line-card-module     JL365A 8400X 8P 40G QSFP+ Adv Mod              158 W
1/3  line-card-module     JL366A 8400X 6P 40G/100G QSFP28 Adv Mod        127 W
1/4  line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Adv Mod     148 W
1/7  line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Adv Mod     152 W
1/8  line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Adv Mod     125 W
1/9  line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Adv Mod     132 W
1/10 line-card-module     JL363A 8400X 32P 10G SFP/SFP+ Msec Adv Mod     143 W
1/1  fabric-card-module   JL367A 8400X 7.2Tbps Fab Mod                   107 W
1/2  fabric-card-module   JL367A 8400X 7.2Tbps Fab Mod                    93 W
1/3  fabric-card-module   JL367A 8400X 7.2Tbps Fab Mod                    87 W

Module Total Power Usage                                                1557 W
Chassis Total Power Usage                                               1807 W

Chassis Total Power Available                                           9990 W
Chassis Total Power Allocated (total of all max wattages)               4130 W
Chassis Total Power Unallocated                                         5860 W

Please note, that I had to manually insert the spaces again, since they could not be copied out of the PDF.

I will create Regex expressions for the above outputs and add them to the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants