Unlimit the ram quota for testing

Change-Id: Icd57f6f1f17c5190c607418a509ed20c39f38d88
Closes-bug: 1664860
This commit is contained in:
yong sheng gong 2017-02-15 15:38:15 +08:00
parent 885a917fb5
commit 8db5115910
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ PRIVATE_KEY_FILE=${PRIVATE_KEY_FILE:-"keypair.priv"}
function fixup_quota {
echo "Disable nova compute instance & core quota"
nova quota-class-update --instances -1 --cores -1 default
nova quota-class-update --instances -1 --cores -1 --ram -1 default
projectId=$(openstack project list | awk '/\ nfv\ / {print $2}')
echo "Disable neutron port quota on project 'nfv' $projectId"
neutron quota-update --tenant-id $projectId --port -1