Releases: sdss/lvmnps
Releases · sdss/lvmnps
lvmnps 1.2.1
✨ Improved
- Change default check interval to 60 seconds. This can be configured using the
check_intervalparameter when initializing the actor. - Update
lvmopstoolsto 0.5.18.
lvmnps 1.2.0
🏷️ Changed
- Restart the actor when it has been errored for 300 seconds instead of 30
- Set default DLI request timeout to 3 seconds.
🔧 Fixed
- Restart the actor if it fails to set up the NPS.
- Upgrade to
lvmopstools>=0.5.6to fix a bug that could cause the actor to hang when trying to restart it.
⚙️ Engineering
- Use
uvfor package management. Updated workflows and Dockerfile.
lvmnps 1.1.0
lvmnps 1.1.0
lvmnps 1.0.3
✨ Improved
- Added
all-offcommand.
lvmnps 1.0.2
✨ Improved
- It's now possible to call
statuswith an outlet and a summary of the status for only that outlet will be issued.
🔧 Fixed
- Issue an NPS refresh before issuing any status.
📖 Documentation
- Added section on how to use the library.
lvmnps 1.0.1
✨ Improved
- Added
NPSClient.all_off()to turn off all outlets at once.
lvmnps 1.0.0
🔥 Breaking changes
- #36 Complete rewrite, mostly to simplify the code and to take advantage of some additional features in the DLI REST API and to support calling DLI user scripts.
- The main difference in this version is that the code has been significantly simplified by requiring that one instance of the
lvmnpsactor can only control one NPS. This means that all theswitchflags and parameters have been deprecated. - The code has been simplified. It still follows the approach of a core, abstract
NPSClientclass with multiple implementations for different switches, but some options that were not used have been removed. - It's now possible to switch multiple outlets at the same time. This takes advantage of the DLI and NetIO implementations to turn on several outlets as quickly as possible without risking an in-rush overcurrent.
- The DLI client now allows to command user functions (scripts).
- The main difference in this version is that the code has been significantly simplified by requiring that one instance of the
lvmnps 0.4.0
🚀 New
- #34 Add support for
netiodevices.
✨ Improved
- Bump
CLUto 2.1.0. - Various Docker image and build modifications for deployment in Kubernetes.
- Lock connections to DLI during a request.
LVMNPS v0.2.3
The DLI Network Power switch control actor for LVM.
lvmnps 0.3.0
🔥 Breaking changes
- Major update with some breaking changes. Some of the main features are:
- General clean-up, typing, linting, etc.
- A few changes to how outlets are resolved depending on whether the name or the port are provided.
- Some clean-up of the
DLIandDLIPowerSwitchclasses (new names). Nothing very major except that now ifouo=Falsein the configuration file, the port information is read directly from the API. This means that the outlet name is notXXX.portNanymore but whatever name is defined in the switch internal configuration. The default configuration for the LVM DLI switches does not specify the outlets anymore and instead reads them directly from the device. - Converted the switches list in
NPSActor.parser_argsto a dictionary. - For the
status,onandoffcommands, changed the options and arguments. Now forstatusone can provide no arguments (all outlets are printed, as before), the switch name, the switch and port numbers, or the outlet to print. - Removed the
reachablecommand group since it was confusing. Instead, addedoutletsandswitchescommands that output the same asreachable outletsandreachable switches. - Refactored the test fixtures a bit and increased test coverage to 85%-ish.
- Changed documentation theme and cleaned up documentation a bit.