Skip to content

Commit

Permalink
CRAYSAT-1875: Add new HSM types to sat status
Browse files Browse the repository at this point in the history
  • Loading branch information
annapoorna-s-alt committed Dec 12, 2024
1 parent 57b56ba commit 8d4f0df
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
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'

0 comments on commit 8d4f0df

Please sign in to comment.