3 ##############################################################################
4 # (c) OPNFV, Yin Kanglin and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
13 # parameter: $1-name $2-id $3-ram $4-disk $5-vcpus
17 if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
23 openstack "${SECURE}" flavor create $1 --id $2 --ram $3 --disk $4 --vcpus $5