-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redfishpower: support plug substitution
Problem: In some chassis, power status/control URIs are all minorly different from each other when doing power status/control to blades. This makes it difficult to configure powerman/redfishpower for bladed environments. Solution: Support plug substitution in URIs with the pattern {{plug}}. By using plug names that are the minor variants of each URI, paths can be easily configured for each blade in a chassis. This now allows the setplugs command to map multiple plug names to a single index. Fixes #129
- Loading branch information
Showing
1 changed file
with
74 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters