websocket API support for stop_mode
Bug #1999152 reported by
Peter Makowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Adam Collard |
Bug Description
WebSocket machine.action handler for the "off" action is missing support for the stop_mode.
It should support the same parameters that the REST API does.
Example: sending a WebSocket message {"method"
results in an error: "PowerOff.
Related branches
~adam-collard/maas:stop-mode-soft-poweroff
Merged
into
maas:master
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 409 lines (+86/-93)2 files modifiedsrc/maasserver/node_action.py (+3/-3)
src/maasserver/tests/test_node_action.py (+83/-90)
Changed in maas: | |
milestone: | none → 3.4.0 |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
tags: | added: websocket-api |
Changed in maas: | |
milestone: | 3.4.x → 3.5.0 |
status: | Triaged → In Progress |
assignee: | nobody → Adam Collard (adam-collard) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.