summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/prepare-functest/templates
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-01-24 16:08:57 +0100
committerFatih Degirmenci <fdegir@gmail.com>2018-01-24 16:08:57 +0100
commit9f585b8d5eb8bffcb2040ef97ec8300c1af10d1f (patch)
tree153dde10ac507935f34aebda22bf28e65323a07a /xci/playbooks/roles/prepare-functest/templates
parentecdf92e8468656c8a4660498b75d30d914577f9d (diff)
xci: Integrate functest
This change integrates functest in most easiest and messy way to get it up and running to bring functest into CI. The reason for this is that there are strange failures during functest healthcheck and it is important to look into those rather than beautifying how functest is integrated at this phase. Change-Id: I42e993be4aa15da022fa1e0069338447780f177e Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/playbooks/roles/prepare-functest/templates')
-rw-r--r--xci/playbooks/roles/prepare-functest/templates/env.j24
-rw-r--r--xci/playbooks/roles/prepare-functest/templates/prepare-functest.sh.j212
2 files changed, 0 insertions, 16 deletions
diff --git a/xci/playbooks/roles/prepare-functest/templates/env.j2 b/xci/playbooks/roles/prepare-functest/templates/env.j2
deleted file mode 100644
index 87093325..00000000
--- a/xci/playbooks/roles/prepare-functest/templates/env.j2
+++ /dev/null
@@ -1,4 +0,0 @@
-INSTALLER_TYPE=osa
-INSTALLER_IP=192.168.122.2
-EXTERNAL_NETWORK={{ external_network }}
-DEPLOY_SCENARIO="os-nosdn-nofeature-noha"
diff --git a/xci/playbooks/roles/prepare-functest/templates/prepare-functest.sh.j2 b/xci/playbooks/roles/prepare-functest/templates/prepare-functest.sh.j2
deleted file mode 100644
index febe8369..00000000
--- a/xci/playbooks/roles/prepare-functest/templates/prepare-functest.sh.j2
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-source /root/openrc
-
-openstack --insecure network create --external \
- --provider-physical-network flat \
- --provider-network-type flat {{ external_network }}
-
-openstack --insecure subnet create --network {{ external_network }} \
- --allocation-pool {{ allocation_pool }} \
- --subnet-range {{ subnet_cidr }} --gateway {{ gateway_ip }} \
- --no-dhcp {{ subnet_name }}