mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +03:00
B OpenNebula/one#6448: Add SHUTDOWN state (#2911)
to POWEROFF_HARD actions Signed-off-by: Victor Hansson <vhansson@opennebula.io>
This commit is contained in:
parent
b27b0d43ca
commit
856ba310d8
@ -937,7 +937,7 @@ export const DUMMY_VM_ACTIONS_BY_STATE = {
|
||||
STATES.RUNNING,
|
||||
STATES.UNKNOWN,
|
||||
],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.SHUTDOWN, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.REBOOT_HARD]: [STATES.RUNNING],
|
||||
[VM_ACTIONS.REBOOT]: [STATES.RUNNING],
|
||||
@ -1164,7 +1164,7 @@ export const KVM_VM_ACTIONS_BY_STATE = {
|
||||
STATES.RUNNING,
|
||||
STATES.UNKNOWN,
|
||||
],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.SHUTDOWN, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.REBOOT_HARD]: [STATES.RUNNING],
|
||||
[VM_ACTIONS.REBOOT]: [STATES.RUNNING],
|
||||
@ -1390,7 +1390,7 @@ export const VCENTER_VM_ACTIONS_BY_STATE = {
|
||||
STATES.RUNNING,
|
||||
STATES.UNKNOWN,
|
||||
],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.SHUTDOWN, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.REBOOT_HARD]: [STATES.RUNNING],
|
||||
[VM_ACTIONS.REBOOT]: [STATES.RUNNING],
|
||||
@ -1605,7 +1605,7 @@ export const FIRECRACKER_VM_ACTIONS_BY_STATE = {
|
||||
STATES.RUNNING,
|
||||
STATES.UNKNOWN,
|
||||
],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.SHUTDOWN, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.REBOOT_HARD]: [STATES.RUNNING],
|
||||
[VM_ACTIONS.REBOOT]: [STATES.RUNNING],
|
||||
@ -1820,7 +1820,7 @@ export const LXC_VM_ACTIONS_BY_STATE = {
|
||||
STATES.RUNNING,
|
||||
STATES.UNKNOWN,
|
||||
],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF_HARD]: [STATES.RUNNING, STATES.SHUTDOWN, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.POWEROFF]: [STATES.RUNNING, STATES.UNKNOWN],
|
||||
[VM_ACTIONS.REBOOT_HARD]: [STATES.RUNNING],
|
||||
[VM_ACTIONS.REBOOT]: [STATES.RUNNING],
|
||||
|
Loading…
Reference in New Issue
Block a user