From 4ac020888b04eb10cbe2095a0f789ab5fbca91ed Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 14 Jul 2021 15:02:03 -0400 Subject: [PATCH] Add some tag tests to test-cluster.sh --- test-cluster.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test-cluster.sh b/test-cluster.sh index 0bc05990..d9c9988c 100755 --- a/test-cluster.sh +++ b/test-cluster.sh @@ -38,7 +38,7 @@ sleep 30 _pvc vm stop --yes testX _pvc vm disable testX _pvc vm undefine --yes testX -_pvc vm define --target hv3 ${vm_tmp} +_pvc vm define --target hv3 --tag pvc-test ${vm_tmp} _pvc vm start testX sleep 30 _pvc vm restart --yes --wait testX @@ -50,6 +50,10 @@ sleep 5 _pvc vm move --wait --target hv1 testX sleep 5 _pvc vm meta testX --limit hv1 --selector vms --method live --profile test --no-autostart +_pvc vm tag add testX mytag +_pvc vm tag get testX +_pvc vm list --tag mytag +_pvc vm tag remove testX mytag _pvc vm network get testX _pvc vm vcpu set testX 4 _pvc vm vcpu get testX