From 6d6420a6957c7b49d4ff5acfdf44fa2ee03439bd Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 23 Jan 2024 09:58:32 -0500 Subject: [PATCH] Add missing value to vm_define function --- client-cli/pvc/lib/vm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client-cli/pvc/lib/vm.py b/client-cli/pvc/lib/vm.py index d9086e89..ed9da016 100644 --- a/client-cli/pvc/lib/vm.py +++ b/client-cli/pvc/lib/vm.py @@ -89,6 +89,7 @@ def vm_define( node_selector, node_autostart, migration_method, + migration_max_downtime, user_tags, protected_tags, ): @@ -96,7 +97,7 @@ def vm_define( Define a new VM on the cluster API endpoint: POST /vm - API arguments: xml={xml}, node={node}, limit={node_limit}, selector={node_selector}, autostart={node_autostart}, migration_method={migration_method}, user_tags={user_tags}, protected_tags={protected_tags} + API arguments: xml={xml}, node={node}, limit={node_limit}, selector={node_selector}, autostart={node_autostart}, migration_method={migration_method}, migration_max_downtime={migration_max_downtime}, user_tags={user_tags}, protected_tags={protected_tags} API schema: {"message":"{data}"} """ params = { @@ -105,6 +106,7 @@ def vm_define( "selector": node_selector, "autostart": node_autostart, "migration_method": migration_method, + "migration_max_downtime": migration_max_downtime, "user_tags": user_tags, "protected_tags": protected_tags, }