Add migration max downtime metafield for VMs

This commit is contained in:
Joshua Boniface 2024-01-10 16:30:52 -05:00
parent 1eeb3bd778
commit b1e06dbf54
1 changed files with 56 additions and 0 deletions

View File

@ -214,6 +214,10 @@
}, },
"VMMetadata": { "VMMetadata": {
"properties": { "properties": {
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": { "migration_method": {
"description": "The preferred migration method (live, shutdown, none)", "description": "The preferred migration method (live, shutdown, none)",
"type": "string" "type": "string"
@ -1209,6 +1213,10 @@
"description": "Internal provisioner template ID", "description": "Internal provisioner template ID",
"type": "integer" "type": "integer"
}, },
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": { "migration_method": {
"description": "The preferred migration method (live, shutdown, none)", "description": "The preferred migration method (live, shutdown, none)",
"type": "string" "type": "string"
@ -1417,6 +1425,10 @@
"description": "Whether the VM has been migrated, either \"no\" or \"from <last_node>\"", "description": "Whether the VM has been migrated, either \"no\" or \"from <last_node>\"",
"type": "string" "type": "string"
}, },
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": { "migration_method": {
"description": "The preferred migration method (live, shutdown, none)", "description": "The preferred migration method (live, shutdown, none)",
"type": "string" "type": "string"
@ -4522,6 +4534,13 @@
"name": "migration_method", "name": "migration_method",
"required": false, "required": false,
"type": "string" "type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
} }
], ],
"responses": { "responses": {
@ -4652,6 +4671,13 @@
"name": "migration_method", "name": "migration_method",
"required": false, "required": false,
"type": "string" "type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
} }
], ],
"responses": { "responses": {
@ -4729,6 +4755,12 @@
"in": "query", "in": "query",
"name": "migration_method", "name": "migration_method",
"type": "string" "type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"type": "integer"
} }
], ],
"responses": { "responses": {
@ -6597,6 +6629,14 @@
"required": false, "required": false,
"type": "string" "type": "string"
}, },
{
"default": 300,
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
},
{ {
"description": "The user tag(s) of the VM", "description": "The user tag(s) of the VM",
"in": "query", "in": "query",
@ -6756,6 +6796,14 @@
"required": false, "required": false,
"type": "string" "type": "string"
}, },
{
"default": 300,
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
},
{ {
"description": "The user tag(s) of the VM", "description": "The user tag(s) of the VM",
"in": "query", "in": "query",
@ -7114,6 +7162,14 @@
"name": "migration_method", "name": "migration_method",
"required": false, "required": false,
"type": "string" "type": "string"
},
{
"default": "none",
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
} }
], ],
"responses": { "responses": {