Add some tag tests to test-cluster.sh

This commit is contained in:
Joshua Boniface 2021-07-14 15:02:03 -04:00
parent 8f3b68d48a
commit 4ac020888b
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,7 @@ sleep 30
_pvc vm stop --yes testX _pvc vm stop --yes testX
_pvc vm disable testX _pvc vm disable testX
_pvc vm undefine --yes 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 _pvc vm start testX
sleep 30 sleep 30
_pvc vm restart --yes --wait testX _pvc vm restart --yes --wait testX
@ -50,6 +50,10 @@ sleep 5
_pvc vm move --wait --target hv1 testX _pvc vm move --wait --target hv1 testX
sleep 5 sleep 5
_pvc vm meta testX --limit hv1 --selector vms --method live --profile test --no-autostart _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 network get testX
_pvc vm vcpu set testX 4 _pvc vm vcpu set testX 4
_pvc vm vcpu get testX _pvc vm vcpu get testX