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

[Backport release/3.33] CRAYSAT-1875: Add new HSM types to sat status #305

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.33.6] - 2024-12-12

### Added
- Added support to new HSM Types, namely `CabinetPDU`, `CabinetPDUController`,
`CabinetPDUPowerConnector` and `MgmtSwitch` in `sat status`

## [3.33.5] - 2024-12-11

### Fixed
Expand Down
6 changes: 4 additions & 2 deletions docs/man/sat-status.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ These options must be specified after the subcommand.
The types that may be specified are...

all, Chassis, ChassisBMC, ComputeModule, HSNBoard, Node, NodeBMC,
NodeEnclosure, RouterBMC, RouterModule
NodeEnclosure, RouterBMC, RouterModule, CabinetPDU, CabinetPDUController,
CabinetPDUPowerConnector, MgmtSwitch

If "all" is specified, then all types will be queried.

Expand Down Expand Up @@ -196,7 +197,8 @@ The following fields are displayed in the output of **sat status**
|
| The Type of the component in HSM. Possible values are as follows:
|
| Chassis, ChassisBMC, ComputeModule, HSNBoard, Node, NodeBMC, NodeEnclosure, RouterBMC, RouterModule
| Chassis, ChassisBMC, ComputeModule, HSNBoard, Node, NodeBMC, NodeEnclosure, RouterBMC, RouterModule,
| CabinetPDU, CabinetPDUController, CabinetPDUPowerConnector, MgmtSwitch
|
| *NID*
|
Expand Down
6 changes: 5 additions & 1 deletion sat/cli/status/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -36,6 +36,10 @@
'NodeEnclosure',
'RouterBMC',
'RouterModule',
'CabinetPDU',
'CabinetPDUController',
'CabinetPDUPowerConnector',
'MgmtSwitch',
]

DEFAULT_TYPE = 'Node'
Loading