summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/flavors/xci-noha.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-24 15:06:16 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-24 17:12:03 +0100
commitaf43f43798ccb6a012dcb072f84c116f7e3ca46a (patch)
treedc8fca350d2d76ac50fd78590df7a201a92c9f96 /prototypes/xci/flavors/xci-noha.sh
parent33ad7e23e1d76011a574f709c0d2bb915983e6d1 (diff)
xci: Set up the basics for xci developer sandbox
This change creates - initial version of the script to initiate the VM node creation and provisioning with bifrost and OpenStack installation with openstack-ansible - pinned-versions to hold the "known working" versions. releng will use master until the development is complete. - user-vars to hold user variables - configuration files to keep settings for different flavors - ansible files (playbooks, inventory files, variables) per flavor. These files are empty at the moment in order to save the chosen path makes sense. Once the way is agreed on, these will be similar to the files listed below with different content per flavor. https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/playbooks/inventory https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/playbooks/configure-xcimaster.yml https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/var/ubuntu.yml These new files will be the ones used when the actual deployment is done with openstack-ansible based on the flavor chosen by developer (or CI). Change-Id: Ia2f38416a161abd186cbcca61e105c6a68f78b54 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'prototypes/xci/flavors/xci-noha.sh')
-rw-r--r--prototypes/xci/flavors/xci-noha.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/prototypes/xci/flavors/xci-noha.sh b/prototypes/xci/flavors/xci-noha.sh
new file mode 100644
index 000000000..6a83f9962
--- /dev/null
+++ b/prototypes/xci/flavors/xci-noha.sh
@@ -0,0 +1,27 @@
+#-------------------------------------------------------------------------------
+# XCI Flavor Configuration
+#-------------------------------------------------------------------------------
+# This is the configuration for xci-aio.
+#
+# You are free to modify parts of the configuration to fit into your environment.
+# But before doing that, please ensure you checked other flavors to see if one
+# them can be used instead, saving you some time.
+#-------------------------------------------------------------------------------
+
+#-------------------------------------------------------------------------------
+# Configure VM Nodes
+#-------------------------------------------------------------------------------
+export TEST_VM_NUM_NODES=4
+export TEST_VM_NODE_NAMES="xcimaster controller00 compute00 compute01"
+export VM_DOMAIN_TYPE=kvm
+export VM_CPU=8
+export VM_DISK=100
+export VM_MEMORY_SIZE=12288
+export VM_DISK_CACHE=unsafe
+
+#-------------------------------------------------------------------------------
+# Ansible Files for the Flavor
+#-------------------------------------------------------------------------------
+XCI_ANSIBLE_PLAYBOOK=$OPNFV_RELENG_PATH/prototypes/xci/file/configure-xci-mini.yml
+XCI_ANSIBLE_INVENTORY=$OPNFV_RELENG_PATH/prototypes/xci/file/xci-mini-inventory
+XCI_ANSIBLE_VARS=$OPNFV_RELENG_PATH/prototypes/xci/file/xci-mini-vars.yml