Revert "Switch back to --class option"

This reverts commit 4e92f2f130.

Reason for revert:
python-openstackclient in upper constraints was again bumped.

Change-Id: I55b15906ee36396d65621d0e25490012fdcb15b6
This commit is contained in:
Takashi Kajinami 2024-10-07 09:09:15 +00:00 committed by Gerrit Code Review
parent 4e92f2f130
commit fa8f9b6900

View File

@ -450,10 +450,8 @@ function tacker_setup_default_vim_resources {
cat $VIM_CONFIG_FILE
echo "Set up target openstack vim resources ..."
# TODO(tkajinam): Replace --class by --default when openstackclient in u-c
# is again bumped.
openstack --os-cloud=devstack-admin quota set \
--class --instances -1 --cores -1 --ram -1 default
--default --instances -1 --cores -1 --ram -1 default
openstack --os-cloud=devstack-admin \
quota set --ports -1 $DEFAULT_VIM_PROJECT_NAME --force