From 6cf18defa7cb976686212864273d4a5afde6a604 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 25 Jul 2014 12:53:56 -0400 Subject: [PATCH] Add hp2 region. Change-Id: Ide8de35ff200535a02e45d14c8400088edc0a749 --- elements/tripleo-cd/configs/hp2_ci_env.json | 10 +++++++ elements/tripleo-cd/configs/hp2_networks.json | 28 +++++++++++++++++++ elements/tripleo-cd/configs/hp2_uc_env.json | 10 +++++++ elements/tripleo-cd/configs/te_hp2rc | 17 +++++++++++ 4 files changed, 65 insertions(+) create mode 100644 elements/tripleo-cd/configs/hp2_ci_env.json create mode 100644 elements/tripleo-cd/configs/hp2_networks.json create mode 100644 elements/tripleo-cd/configs/hp2_uc_env.json create mode 100644 elements/tripleo-cd/configs/te_hp2rc diff --git a/elements/tripleo-cd/configs/hp2_ci_env.json b/elements/tripleo-cd/configs/hp2_ci_env.json new file mode 100644 index 000000000..e422efa55 --- /dev/null +++ b/elements/tripleo-cd/configs/hp2_ci_env.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "NeutronPublicInterface": "eth2", + "HypervisorNeutronPublicInterface": "eth2", + "NtpServer": "15.126.48.2", + "PublicVirtualFixedIPs": "[{\"ip_address\": \"15.126.48.6\"}]", + "PublicVirtualInterface": "int_public", + "PublicVirtualNetwork": "public" + } +} diff --git a/elements/tripleo-cd/configs/hp2_networks.json b/elements/tripleo-cd/configs/hp2_networks.json new file mode 100644 index 000000000..bcb06ca7e --- /dev/null +++ b/elements/tripleo-cd/configs/hp2_networks.json @@ -0,0 +1,28 @@ +{ + "cidr": "10.23.212.0/25", + "gateway-ip": "15.126.48.1", + "seed": { + "ip": "10.23.212.3", + "range-start": "10.23.212.4", + "range-end": "10.23.212.8", + "physical_bridge_route": { + "prefix": "10.22.27.128/25", + "via": "10.23.212.1" + }, + "public_vlan": { + "tag": 1598, + "ip": "15.126.48.3/24", + "start": "15.126.48.4", + "finish": "15.126.48.4" + } + }, + "undercloud": { + "range-start": "10.23.212.9", + "range-end": "10.23.212.126", + "public_vlan": { + "start": "15.126.48.7", + "finish": "15.126.48.12" + } + } +} + diff --git a/elements/tripleo-cd/configs/hp2_uc_env.json b/elements/tripleo-cd/configs/hp2_uc_env.json new file mode 100644 index 000000000..3da77ddd4 --- /dev/null +++ b/elements/tripleo-cd/configs/hp2_uc_env.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "MysqlInnodbBufferPoolSize": 4096, + "NeutronPublicInterface": "vlan25", + "NeutronPublicInterfaceIP": "15.126.48.3/24", + "NeutronPublicInterfaceRawDevice": "eth2", + "NeutronPublicInterfaceDefaultRoute": "15.126.48.1", + "NtpServer": "15.126.48.2" + } +} diff --git a/elements/tripleo-cd/configs/te_hp2rc b/elements/tripleo-cd/configs/te_hp2rc new file mode 100644 index 000000000..c407b3aad --- /dev/null +++ b/elements/tripleo-cd/configs/te_hp2rc @@ -0,0 +1,17 @@ +#!/bin/bash +# dib-lint: disable=sete + +export TRIPLEO_ROOT="$(readlink -f $(dirname $0)/../../../..)" +source $(dirname ${BASH_SOURCE})/te_commonrc + +export TE_OVERCLOUDIP=XXX +export TE_OVERCLOUDDNS=ci-overcloud.hp2.tripleo.org +export TE_AUTHURL=http://$TE_OVERCLOUDIP:5000/v2.0 +export TE_PUBLICINTERFACE=XXX +export TE_COUNT=23 +#export TE_EXTRA_ELEMENTS="stable-interface-names" +# (No local pypi mirror yet...) +#export DIB_DISTRIBUTION_MIRROR=http://10.10.16.169/ubuntu +#export PYPI_MIRROR_URL=http://10.10.16.169/pypi/simple +#export DIB_NO_PYPI_PIP=1 +export TE_NP_RAM_QUOTA=900000