e7ffe3d333
- Moved common functions for clouds in separate file - Added boto3 dependency in requirements file Change-Id: I9c93692eed47078c56eb91a247af5729cf56c84c
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
# Common variables
|
|
CAPACITY=${CAPACITY:-2048}
|
|
ENABLE_FORCE_UPLOAD=${ENABLE_FORCE_UPLOAD:-true}
|
|
VOLUME_DIR=${VOLUME_DIR:-/etc/cinder/volumes}
|
|
CINDER_USER=${CINDER_USER:-cinder}
|
|
COMPUTE_EXTENSION=${COMPUTE_EXTENSION:-nova.api.openstack.compute.contrib.standard_extensions}
|
|
CORE_PLUGIN=${CORE_PLUGIN:-ml2}
|
|
ML2_DRIVERS=${ML2_DRIVERS:-local,flat}
|
|
ML2_TENANT=${ML2_TENANT:-local}
|
|
ML2_VLAN_TYPE=${ML2_VLAN_TYPE:-external}
|
|
|
|
# GCE specific variables
|
|
SERVICE_KEY_PATH=${SERVICE_KEY_PATH:-/etc/omni.json}
|
|
ZONE=${ZONE:-us-central1-c}
|
|
PROJECT=${PROJECT:-omni-163105}
|
|
REGION=${REGION:-us-central1}
|
|
GCE_CINDER_DRIVER=${GCE_CINDER_DRIVER:-cinder.volume.drivers.gce.driver.GceDriver}
|
|
GCE_COMPUTE_DRIVER=${GCE_COMPUTE_DRIVER:-gce.GCEDriver}
|
|
GCE_SERVICE_PLUGIN=${GCE_SERVICE_PLUGIN:-neutron.services.l3_router.gce_router_plugin.GceRouterPlugin}
|
|
|
|
# AWS specific variables
|
|
AWS_SECRET_KEY=${AWS_SECRET_KEY:-}
|
|
AWS_ACCESS_KEY=${AWS_ACCESS_KEY:-}
|
|
AWS_REGION_NAME=${AWS_REGION_NAME:-us-east-2}
|
|
AWS_AVAILABILITY_ZONE=${AWS_AVAILABILITY_ZONE:-us-east-2a}
|
|
AWS_CINDER_DRIVER=${AWS_CINDER_DRIVER:-cinder.volume.drivers.aws.ebs.EBSDriver}
|
|
AWS_COMPUTE_DRIVER=${AWS_COMPUTE_DRIVER:-ec2.EC2Driver}
|
|
AWS_SERVICE_PLUGIN=${AWS_SERVICE_PLUGIN:-neutron.services.l3_router.aws_router_plugin.AwsRouterPlugin}
|