From 32e0c555868d99b6cb053189d9a582b9aed588b3 Mon Sep 17 00:00:00 2001 From: Xicheng Chang Date: Tue, 14 Apr 2015 19:32:09 -0700 Subject: [PATCH] Add support for ansible regtest single-controller four hosts Change-Id: I659b49493bec637003cd222d81e992193546c62c --- ci/conf/four-ansible.conf | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ci/conf/four-ansible.conf diff --git a/ci/conf/four-ansible.conf b/ci/conf/four-ansible.conf new file mode 100644 index 0000000..c7b8393 --- /dev/null +++ b/ci/conf/four-ansible.conf @@ -0,0 +1,40 @@ +export VIRT_NUMBER=4 +export VIRT_CPUS=4 +export VIRT_MEM=4096 +export VIRT_DISK=30G +export COMPASS_SERVER_URL="http://10.1.0.12/api" +export COMPASS_USER_EMAIL="admin@huawei.com" +export COMPASS_USER_PASSWORD="admin" +export CLUSTER_NAME="opnfv" +export LANGUAGE="EN" +export TIMEZONE="America/Los_Angeles" +export HOSTNAMES="host1,host2,host3,host4" +export NTP_SERVER="10.1.0.12" +export NAMESERVERS="10.1.0.12" +export DOMAIN="ods.com" +export PARTITIONS="/home=5%,/tmp=5%,/var=20%" +export SUBNETS="10.1.0.0/24,172.16.2.0/24,172.16.3.0/24,172.16.4.0/24" +export 'ADAPTER_OS_PATTERN=(?i)ubuntu-14\.04.*' +#export 'ADAPTER_OS_PATTERN=(?i)centos-6\.5.*' +export ADAPTER_NAME="openstack_juno" +export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$" +export ADAPTER_FLAVOR_PATTERN="single-controller" +export HOST_ROLES="host1=controller;host2=network;host3=compute;host4=storage" +export DEFAULT_ROLES="controller" +export PROXY="" +export IGNORE_PROXY="" +export SEARCH_PATH="ods.com" +export GATEWAY="10.1.0.1" +export SERVER_CREDENTIAL="root" +export LOCAL_REPO_URL="" +export OS_CONFIG_FILENAME="" +export SERVICE_CREDENTIALS="service" +export CONSOLE_CREDENTIALS="console" +export HOST_NETWORKS="host1:eth0=10.1.0.100|is_mgmt,eth1=172.16.2.100,eth2=172.16.3.100,eth3=172.16.4.100;host2:eth0=10.1.0.101|is_mgmt,eth1=172.16.2.101,eth2=172.16.3.101,eth3=172.16.4.101;host3:eth0=10.1.0.102|is_mgmt,eth1=172.16.2.102;host4:eth0=10.1.0.103|is_mgmt,eth1=172.16.2.103" +export NETWORK_MAPPING="management=eth0,tenant=eth1,storage=eth3,external=eth2" +export PACKAGE_CONFIG_FILENAME="" +export SWITCH_IPS="1.1.1.1" +export SWITCH_CREDENTIAL="version=2c,community=public" +export DEPLOYMENT_TIMEOUT="90" +export POLL_SWITCHES_FLAG="nopoll_switches" +export DASHBOARD_URL=""