summaryrefslogtreecommitdiffstats
path: root/ci/maas/intel
AgeCommit message (Collapse)AuthorFilesLines
2016-05-10enabling Intel podp for EMC scalioNarinder Gupta1-0/+211
Change-Id: Id992dc064179eb2a2256f08555aeb34acac98522 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-05-03cleanup and also fetch the charms first then deploy.Narinder Gupta4-173/+0
Change-Id: I7e9b2995ec7c32079903a3c8db0b2bd54a6e724e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-04-07updated the cide for public address for onos. Also updated theNarinder Gupta2-0/+2
gateway for Public address. Change-Id: Idafd26daa1bb1b2004d395aa0db75cdd0d9b01ce
2016-03-30modified the public network as per new config changes.Narinder Gupta2-14/+14
Change-Id: I462d0deb66e91ca9cc6080d3ccc7585fd34ccab9
2016-03-29added the change as per switch in intel pod5.Narinder Gupta1-62/+64
Change-Id: I757cf4cc90a8f47939aeed464584fbbf650faf19
2016-03-22updated access for Intel Pod6Narinder Gupta1-44/+48
Change-Id: I220f64484db9244babbac712f70cc0473462fd7b
2016-01-22changing to stable branch as MAAS 1.9 released in stable.Narinder Gupta2-2/+2
Change-Id: Ie8625f526d974fc1cbb13fd8ac4f313e2783d6c1
2016-01-06modified the maas for intel pod6 to reflect the actual config.Narinder Gupta1-31/+15
Change-Id: Id1a7936161d31255f841efeea439e96f7b7fc679
2016-01-05include to support two compute node for intel pod6.Narinder Gupta1-3/+16
Change-Id: I2f79813bf7778ada89c655e4d2ca1d15a851f534
2016-01-05modified to include additonal server for intel pod5. Also modifiedNarinder Gupta1-14/+14
the deployment yamls to adust to actual pharos config now for HA mode deploymnt with 3 control and 2 compute nodes. Change-Id: I67676101527ab1ea2d50379c4472ec60bc391f88
2015-12-23modified intelpod5 interfaces to remove the need of special charms.Narinder Gupta1-2/+2
Change-Id: Ibf93074eb56807d6c3f9b0191bf02df063248f26
2015-12-17changes needed for MAAS 1.9 where no special treatment is needed.Narinder Gupta1-1/+1
As MAAS 1.9 auto enabled the interfaces. Change-Id: Ia17b37685c8a97ffd1925f7a8feb679db27ab501
2015-12-15modified the installer to have python-pip installed.Narinder Gupta1-12/+0
Modified the deployment.yaml as per common config as MAAS will gather rest of data during commisoning process. Change-Id: Ie576d612903736e1cad1875886e2f8d77e914b5f
2015-11-07added ubuntu charm for local deployment charm to configure theNarinder Gupta7-67/+240
network according to the labs. Change-Id: I103b6dc243f025a4916d1057c247d01ee8f175ee
2015-11-05modified to include the data port network for intel pod6Narinder Gupta1-2/+32
Change-Id: I60eaebaf17fcf819fb450d41880b4b5a63d64551 Author: Narinder Gupta <narinder.gupta@canonical.com>
2015-10-26include the similar naming convention across the labs.Narinder Gupta2-12/+12
fix the bug in deployment of neutron-api Change-Id: I95cf4e7a3c9c6b5df7ffe5431cb8cb0edb64f828 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2015-10-06modified to match the taging with bundle.Narinder Gupta2-15/+15
Change-Id: Ib8671cdf4c041f33306e12fae5144ef85daa3556
2015-10-05modified the bundle to include ha for Kilo Openstack.Narinder Gupta1-0/+40
Change-Id: I5fa98e5048fb9b4b694ad40430e624f5b4679dd6
2015-10-02change the bundle to include more relationship and char, location.Narinder Gupta1-24/+42
mofiied intel pod6 parameters. Change-Id: Ifcf7875bfcf9b835e605f1848fa320c0b77bb644
2015-09-30Added support for Orange lab POD5 along with some renaming of the files.Narinder Gupta3-0/+438
Change-Id: I30739b0a56fbe9f65dbe3fb503d53221fbb046b9
class="nv">debug="" if [[ "${CI_DEBUG,,}" == "true" ]];then debug="--debug" fi FUNCTEST_REPO_DIR=${repos_dir}/functest/ FUNCTEST_CONF_DIR=/home/opnfv/functest/conf/ function odl_tests(){ keystone_ip=$(openstack catalog show identity |grep publicURL| cut -f3 -d"/" | cut -f1 -d":") neutron_ip=$(openstack catalog show network | grep publicURL | cut -f3 -d"/" | cut -f1 -d":") odl_ip=${neutron_ip} odl_port=8181 if [ "$INSTALLER_TYPE" == "fuel" ]; then odl_port=8282 elif [ "$INSTALLER_TYPE" == "apex" ]; then odl_ip=$SDN_CONTROLLER_IP elif [ "$INSTALLER_TYPE" == "joid" ]; then odl_ip=$SDN_CONTROLLER odl_port=8080 : elif [ "$INSTALLER_TYPE" == "compass" ]; then : else odl_ip=$SDN_CONTROLLER_IP odl_port=8080 fi } function run_test(){ test_name=$1 serial_flag="" if [ $serial == "true" ]; then serial_flag="-s" fi case $test_name in "healthcheck") ${FUNCTEST_REPO_DIR}/testcases/OpenStack/healthcheck/healthcheck.sh ;; "vping_ssh") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vPing_ssh.py $report ;; "vping_userdata") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vPing_userdata.py $report ;; "odl") odl_tests ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/OpenDaylightTesting.py \ --keystoneip $keystone_ip --neutronip $neutron_ip \ --osusername ${OS_USERNAME} --ostenantname ${OS_TENANT_NAME} \ --ospassword ${OS_PASSWORD} \ --odlip $odl_ip --odlwebport $odl_port # push results to the DB in case of CI # if [[ "$report" == "-r" && # -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" && # -n "$INSTALLER_TYPE" && "$INSTALLER_TYPE" != "none" ]] && # env | grep NODE_NAME > /dev/null; then # odl_logs="/home/opnfv/functest/results/odl/" # odl_path="${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/" # node_name=$(env | grep NODE_NAME | cut -f2 -d'=') # python ${odl_path}/odlreport2db.py -x ${odl_logs}/output.xml -i ${INSTALLER_TYPE} -p ${node_name} -s ${DEPLOY_SCENARIO} # fi ;; "tempest_smoke_serial") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ $clean_flag -s -m smoke $report ;; "tempest_full_parallel") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ $serial_flag $clean_flag -m full $report ;; "vims") python ${FUNCTEST_REPO_DIR}/testcases/vnf/vIMS/vIMS.py $clean_flag $report ;; "rally_full") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/rally/run_rally-cert.py $clean_flag all $report ;; "rally_sanity") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/rally/run_rally-cert.py \ $clean_flag --sanity all $report ;; "bgpvpn") sdnvpn_repo_dir=${repos_dir}/sdnvpn/test/functest/ # Copy blacklist from sdnvpn repo to the proper place to execute functest src=${sdnvpn_repo_dir}/tempest_blacklist.txt dst=${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/custom_tests/blacklist.txt cp $src $dst # Execute tempest smoke with blacklist python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ $clean_flag -s -m smoke $report # Remove blacklist file rm $dst # Execute SDNVPN test cases python ${sdnvpn_repo_dir}/run_tests.py $report ;; "onos") python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/onosfunctest.py ;; "promise") python ${FUNCTEST_REPO_DIR}/testcases/features/promise.py $report sleep 10 # to let the instances terminate ;; "doctor") python ${FUNCTEST_REPO_DIR}/testcases/features/doctor.py ;; "ovno") # suite under rewritting for colorado # no need to run anything until refactoring done # ${repos_dir}/ovno/Testcases/RunTests.sh ;; "security_scan") echo "Sourcing Credentials ${FUNCTEST_CONF_DIR}/stackrc for undercloud .." source ${FUNCTEST_CONF_DIR}/stackrc python ${FUNCTEST_REPO_DIR}/testcases/security_scan/security_scan.py --config ${FUNCTEST_REPO_DIR}/testcases/security_scan/config.ini ;; "copper") python ${FUNCTEST_REPO_DIR}/testcases/features/copper.py ;; "moon") # TODO put the link to Moon script to be run (if test runnable) here ${repos_dir}/moon/tests/run_tests.sh ;; "multisite") python ${FUNCTEST_REPO_DIR}/testcases/features/multisite.py python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ $clean_flag -s -m feature_multisite $report ;; "domino") python ${FUNCTEST_REPO_DIR}/testcases/features/domino.py ;; *) echo "The test case '${test_name}' does not exist." exit 1 esac if [[ $? != 0 ]]; then exit 1 else exit 0 fi } # Parse parameters while [[ $# > 0 ]] do key="$1" case $key in -h|--help) echo "$usage" exit 0 shift ;; -r|--report) report="-r" ;; -s|--serial) serial=true ;; -t|--test|--tests) TEST="$2" shift ;; *) echo "unknown option $1 $2" exit 1 ;; esac shift # past argument or value done # Source credentials echo "Sourcing Credentials ${FUNCTEST_CONF_DIR}/openstack.creds to run the test.." source ${FUNCTEST_CONF_DIR}/openstack.creds # Run test run_test $TEST