improve power route handler and error handling,

add test sim for bmc power sw
This commit is contained in:
2024-02-14 13:33:20 -08:00
parent 426c04116f
commit 1557448bf9
6 changed files with 97 additions and 9 deletions

View File

@@ -0,0 +1,4 @@
{
"error": true,
"description": "Missing search parameter requested_state"
}

View File

@@ -0,0 +1,4 @@
{
"error": true,
"description": "Invalid requested_state must be 0 or 1"
}