-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
126 additions
and
49 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Constants | ||
|
||
export enum CUTOVER_TYPES { | ||
"IMMEDIATE" = "0", | ||
"ADMIN_INITIATED" = "1", | ||
"TIME_WINDOW" = "2", | ||
} | ||
|
||
export enum OS_TYPES { | ||
"AUTO_DETECT" = "default", | ||
"WINDOWS" = "windows", | ||
"LINUX" = "linux", | ||
} | ||
|
||
export const DATA_COPY_OPTIONS = [ | ||
{ value: "hot", label: "Copy live VMs, then power off" }, | ||
{ value: "cold", label: "Power off live VMs, then copy" }, | ||
] | ||
|
||
export const OS_TYPES_OPTIONS = [ | ||
{ value: OS_TYPES.AUTO_DETECT, label: "Auto-detect" }, | ||
{ value: OS_TYPES.WINDOWS, label: "Windows" }, | ||
{ value: OS_TYPES.LINUX, label: "Linux" }, | ||
] | ||
|
||
export const VM_CUTOVER_OPTIONS = [ | ||
{ | ||
value: CUTOVER_TYPES.IMMEDIATE, | ||
label: "Cutover immediately after data copy", | ||
}, | ||
{ value: CUTOVER_TYPES.ADMIN_INITIATED, label: "Admin initiated cutover" }, | ||
{ value: CUTOVER_TYPES.TIME_WINDOW, label: "Cutover during time window" }, | ||
] |