aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat')
-rw-r--r--deployment/heat/onap-oom/env/gwu/onap-heat-openrc9
-rw-r--r--deployment/heat/onap-oom/env/gwu/onap-heat.env (renamed from deployment/heat/onap-oom/env/gwu/onap.env)5
-rw-r--r--deployment/heat/onap-oom/env/gwu/onap-oom-openrc9
-rw-r--r--deployment/heat/onap-oom/env/gwu/onap-oom.env42
l---------deployment/heat/onap-oom/env/gwu/onap-openrc1
l---------deployment/heat/onap-oom/env/huawei/onap-beijing-oom-openrc1
-rw-r--r--deployment/heat/onap-oom/env/huawei/onap-heat-openrc9
-rw-r--r--deployment/heat/onap-oom/env/huawei/onap-heat.env (renamed from deployment/heat/onap-oom/env/huawei/onap-beijing-oom.env)11
-rw-r--r--deployment/heat/onap-oom/env/huawei/onap-oom-openrc9
-rw-r--r--deployment/heat/onap-oom/env/huawei/onap-oom.env42
-rw-r--r--deployment/heat/onap-oom/onap-oom.yaml28
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-1.yaml4
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-2.yaml2
-rwxr-xr-xdeployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh2
14 files changed, 151 insertions, 23 deletions
diff --git a/deployment/heat/onap-oom/env/gwu/onap-heat-openrc b/deployment/heat/onap-oom/env/gwu/onap-heat-openrc
new file mode 100644
index 000000000..c28e37823
--- /dev/null
+++ b/deployment/heat/onap-oom/env/gwu/onap-heat-openrc
@@ -0,0 +1,9 @@
+export OS_PROJECT_DOMAIN_NAME=Default
+export OS_USER_DOMAIN_NAME=Default
+export OS_PROJECT_ID=7504c113f3b241fab1ee9d3d9323f6c1
+export OS_PROJECT_NAME=onap-heat
+export OS_USERNAME=demo
+#export OS_PASSWORD=demo
+export OS_AUTH_URL=http://controller:5000/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_IMAGE_API_VERSION=2
diff --git a/deployment/heat/onap-oom/env/gwu/onap.env b/deployment/heat/onap-oom/env/gwu/onap-heat.env
index efc263e07..07ac9c1ee 100644
--- a/deployment/heat/onap-oom/env/gwu/onap.env
+++ b/deployment/heat/onap-oom/env/gwu/onap-heat.env
@@ -3,12 +3,13 @@ parameters:
ubuntu_1604_image: xenial
apt_proxy: 192.168.1.51:3142
- docker_proxy: 192.168.1.51:5000
+ docker_proxy: 192.168.2.20:5000
rancher_vm_flavor: m1.xlarge
k8s_vm_flavor: m1.xlarge
- public_net_id: 024582bd-ef9b-48b9-9e70-e6732559d9df
+ public_net_id: bfd766f4-ccb5-4d14-944a-fcf1a94a824c
+ key_name: onap-key
oam_network_cidr: 10.0.0.0/16
diff --git a/deployment/heat/onap-oom/env/gwu/onap-oom-openrc b/deployment/heat/onap-oom/env/gwu/onap-oom-openrc
new file mode 100644
index 000000000..d11ead498
--- /dev/null
+++ b/deployment/heat/onap-oom/env/gwu/onap-oom-openrc
@@ -0,0 +1,9 @@
+export OS_PROJECT_DOMAIN_NAME=Default
+export OS_USER_DOMAIN_NAME=Default
+export OS_PROJECT_ID=6d39557690ff4bc18372d0ca6c0e3d82
+export OS_PROJECT_NAME=onap-oom
+export OS_USERNAME=demo
+#export OS_PASSWORD=demo
+export OS_AUTH_URL=http://controller:5000/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_IMAGE_API_VERSION=2
diff --git a/deployment/heat/onap-oom/env/gwu/onap-oom.env b/deployment/heat/onap-oom/env/gwu/onap-oom.env
new file mode 100644
index 000000000..07ac9c1ee
--- /dev/null
+++ b/deployment/heat/onap-oom/env/gwu/onap-oom.env
@@ -0,0 +1,42 @@
+parameters:
+
+ ubuntu_1604_image: xenial
+
+ apt_proxy: 192.168.1.51:3142
+ docker_proxy: 192.168.2.20:5000
+
+ rancher_vm_flavor: m1.xlarge
+ k8s_vm_flavor: m1.xlarge
+
+ public_net_id: bfd766f4-ccb5-4d14-944a-fcf1a94a824c
+ key_name: onap-key
+
+ oam_network_cidr: 10.0.0.0/16
+
+ integration_override_yaml: >
+ global:
+ repository: 192.168.1.51:5000
+ pullPolicy: IfNotPresent
+ robot:
+ openStackKeyStoneUrl: "http://192.168.1.11:5000"
+ openStackPublicNetId: "024582bd-ef9b-48b9-9e70-e6732559d9df"
+ openStackPassword: "${OS_PASSWORD}"
+ openStackTenantId: "${OS_PROJECT_ID}"
+ openStackUserName: "${OS_USERNAME}"
+ ubuntu14Image: "trusty"
+ ubuntu16Image: "xenial"
+ openStackPrivateNetId: "__oam_network_id__"
+ openStackPrivateSubnetId: "__oam_subnet_id__"
+ openStackPrivateNetCidr: "10.0.0.0/16"
+ openStackOamNetworkCidrPrefix: "10.0"
+ dcaeCollectorIp: "__k8s_1_vm_ip__"
+ vnfPubKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"
+ so:
+ config:
+ openStackUserName: "${OS_USERNAME}"
+ openStackKeyStoneUrl: "http://192.168.1.11:5000"
+ openStackEncryptedPasswordHere: "${OS_PASSWORD_ENCRYPTED}"
+ appc:
+ replicaCount: 3
+ sdnc:
+ replicaCount: 3
diff --git a/deployment/heat/onap-oom/env/gwu/onap-openrc b/deployment/heat/onap-oom/env/gwu/onap-openrc
deleted file mode 120000
index c08bcbda6..000000000
--- a/deployment/heat/onap-oom/env/gwu/onap-openrc
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../test/ete/labs/gwu/onap-openrc \ No newline at end of file
diff --git a/deployment/heat/onap-oom/env/huawei/onap-beijing-oom-openrc b/deployment/heat/onap-oom/env/huawei/onap-beijing-oom-openrc
deleted file mode 120000
index 38d9b3ffd..000000000
--- a/deployment/heat/onap-oom/env/huawei/onap-beijing-oom-openrc
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../test/ete/labs/huawei/onap-beijing-oom-openrc \ No newline at end of file
diff --git a/deployment/heat/onap-oom/env/huawei/onap-heat-openrc b/deployment/heat/onap-oom/env/huawei/onap-heat-openrc
new file mode 100644
index 000000000..301aeeed5
--- /dev/null
+++ b/deployment/heat/onap-oom/env/huawei/onap-heat-openrc
@@ -0,0 +1,9 @@
+export OS_PROJECT_DOMAIN_NAME=Default
+export OS_USER_DOMAIN_NAME=Default
+export OS_PROJECT_ID=66a48e4b0a934463bef0bd694f93147a
+export OS_PROJECT_NAME=onap-heat
+export OS_USERNAME=demo
+#export OS_PASSWORD=demo
+export OS_AUTH_URL=http://controller.neo.futurewei.com:5000/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_IMAGE_API_VERSION=2
diff --git a/deployment/heat/onap-oom/env/huawei/onap-beijing-oom.env b/deployment/heat/onap-oom/env/huawei/onap-heat.env
index f50d85a31..d4d82e712 100644
--- a/deployment/heat/onap-oom/env/huawei/onap-beijing-oom.env
+++ b/deployment/heat/onap-oom/env/huawei/onap-heat.env
@@ -2,13 +2,14 @@ parameters:
ubuntu_1604_image: xenial
- apt_proxy: 10.145.122.118:3142
- docker_proxy: 10.145.122.118:5000
+ apt_proxy: 10.145.122.117:8000
+ docker_proxy: 10.145.123.23:5000
rancher_vm_flavor: m1.xlarge
k8s_vm_flavor: m1.xlarge
- public_net_id: 3a6247f1-fac6-4167-a49f-33cc8415ccf4
+ public_net_id: 7baa99ac-43a0-4013-9dfb-bbb94fdcd91a
+ key_name: onap-key
oam_network_cidr: 10.0.0.0/16
@@ -17,7 +18,7 @@ parameters:
repository: 10.145.122.118:5000
pullPolicy: IfNotPresent
robot:
- openStackKeyStoneUrl: "http://10.145.122.117:5000"
+ openStackKeyStoneUrl: "http://10.145.122.118:5000"
openStackPublicNetId: "3a6247f1-fac6-4167-a49f-33cc8415ccf4"
openStackPassword: "${OS_PASSWORD}"
openStackTenantId: "${OS_PROJECT_ID}"
@@ -33,7 +34,7 @@ parameters:
so:
config:
openStackUserName: "${OS_USERNAME}"
- openStackKeyStoneUrl: "http://10.145.122.117:5000"
+ openStackKeyStoneUrl: "http://10.145.122.118:5000"
openStackEncryptedPasswordHere: "${OS_PASSWORD_ENCRYPTED}"
appc:
replicaCount: 3
diff --git a/deployment/heat/onap-oom/env/huawei/onap-oom-openrc b/deployment/heat/onap-oom/env/huawei/onap-oom-openrc
new file mode 100644
index 000000000..cdafe23c3
--- /dev/null
+++ b/deployment/heat/onap-oom/env/huawei/onap-oom-openrc
@@ -0,0 +1,9 @@
+export OS_PROJECT_DOMAIN_NAME=Default
+export OS_USER_DOMAIN_NAME=Default
+export OS_PROJECT_ID=13159ba149fa47ea9646902ce5734b89
+export OS_PROJECT_NAME=onap-oom
+export OS_USERNAME=demo
+#export OS_PASSWORD=demo
+export OS_AUTH_URL=http://controller.neo.futurewei.com:5000/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_IMAGE_API_VERSION=2
diff --git a/deployment/heat/onap-oom/env/huawei/onap-oom.env b/deployment/heat/onap-oom/env/huawei/onap-oom.env
new file mode 100644
index 000000000..d4d82e712
--- /dev/null
+++ b/deployment/heat/onap-oom/env/huawei/onap-oom.env
@@ -0,0 +1,42 @@
+parameters:
+
+ ubuntu_1604_image: xenial
+
+ apt_proxy: 10.145.122.117:8000
+ docker_proxy: 10.145.123.23:5000
+
+ rancher_vm_flavor: m1.xlarge
+ k8s_vm_flavor: m1.xlarge
+
+ public_net_id: 7baa99ac-43a0-4013-9dfb-bbb94fdcd91a
+ key_name: onap-key
+
+ oam_network_cidr: 10.0.0.0/16
+
+ integration_override_yaml: >
+ global:
+ repository: 10.145.122.118:5000
+ pullPolicy: IfNotPresent
+ robot:
+ openStackKeyStoneUrl: "http://10.145.122.118:5000"
+ openStackPublicNetId: "3a6247f1-fac6-4167-a49f-33cc8415ccf4"
+ openStackPassword: "${OS_PASSWORD}"
+ openStackTenantId: "${OS_PROJECT_ID}"
+ openStackUserName: "${OS_USERNAME}"
+ ubuntu14Image: "trusty"
+ ubuntu16Image: "xenial"
+ openStackPrivateNetId: "__oam_network_id__"
+ openStackPrivateSubnetId: "__oam_subnet_id__"
+ openStackPrivateNetCidr: "10.0.0.0/16"
+ openStackOamNetworkCidrPrefix: "10.0"
+ dcaeCollectorIp: "__k8s_1_vm_ip__"
+ vnfPubKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"
+ so:
+ config:
+ openStackUserName: "${OS_USERNAME}"
+ openStackKeyStoneUrl: "http://10.145.122.118:5000"
+ openStackEncryptedPasswordHere: "${OS_PASSWORD_ENCRYPTED}"
+ appc:
+ replicaCount: 3
+ sdnc:
+ replicaCount: 3
diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml
index 8cd8169f9..23d930ba6 100644
--- a/deployment/heat/onap-oom/onap-oom.yaml
+++ b/deployment/heat/onap-oom/onap-oom.yaml
@@ -47,6 +47,10 @@ parameters:
type: string
default: "docker-manifest.csv"
+ key_name:
+ type: string
+ default: "onap_key"
+
resources:
random-str:
type: OS::Heat::RandomString
@@ -135,7 +139,7 @@ resources:
name: rancher
image: { get_param: ubuntu_1604_image }
flavor: { get_param: rancher_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: rancher_private_port }
user_data_format: RAW
@@ -187,7 +191,7 @@ resources:
name: k8s_1
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_1_private_port }
user_data_format: RAW
@@ -220,7 +224,7 @@ resources:
name: k8s_2
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_2_private_port }
user_data_format: RAW
@@ -253,7 +257,7 @@ resources:
name: k8s_3
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_3_private_port }
user_data_format: RAW
@@ -286,7 +290,7 @@ resources:
name: k8s_4
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_4_private_port }
user_data_format: RAW
@@ -319,7 +323,7 @@ resources:
name: k8s_5
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_5_private_port }
user_data_format: RAW
@@ -352,7 +356,7 @@ resources:
name: k8s_6
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_6_private_port }
user_data_format: RAW
@@ -385,7 +389,7 @@ resources:
name: k8s_7
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_7_private_port }
user_data_format: RAW
@@ -418,7 +422,7 @@ resources:
name: k8s_8
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_8_private_port }
user_data_format: RAW
@@ -451,7 +455,7 @@ resources:
name: k8s_9
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_9_private_port }
user_data_format: RAW
@@ -484,7 +488,7 @@ resources:
name: k8s_10
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_10_private_port }
user_data_format: RAW
@@ -517,7 +521,7 @@ resources:
name: k8s_11
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: k8s_11_private_port }
user_data_format: RAW
diff --git a/deployment/heat/onap-oom/parts/onap-oom-1.yaml b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
index 78e6f103b..000ef6a64 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-1.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
@@ -44,6 +44,10 @@ parameters:
type: string
default: "docker-manifest.csv"
+ key_name:
+ type: string
+ default: "onap_key"
+
resources:
random-str:
type: OS::Heat::RandomString
diff --git a/deployment/heat/onap-oom/parts/onap-oom-2.yaml b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
index 7ee9021af..a5b1b3332 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-2.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
@@ -18,7 +18,7 @@
name: ${K8S_VM_NAME}
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: ${K8S_VM_NAME}_private_port }
user_data_format: RAW
diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
index 32ccfc55a..839992426 100755
--- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
+++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
@@ -37,7 +37,7 @@ cat <<EOF
name: rancher
image: { get_param: ubuntu_1604_image }
flavor: { get_param: rancher_vm_flavor }
- key_name: onap_key
+ key_name: { get_param: key_name }
networks:
- port: { get_resource: rancher_private_port }
user_data_format: RAW