diff options
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/.project | 11 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/LICENSE.txt | 22 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/certificates/passwords.yaml | 2 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/config/openstack.properties | 4 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/env.yaml | 54 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/hosts | 7 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/ip-assignment.yaml | 9 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/maven.yaml | 64 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/ssl.yaml | 42 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/tenants.yaml | 22 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/vm-config/vm-cdap-cluster/hosts | 11 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/vm-config/vm-docker-host/hosts | 11 | ||||
-rw-r--r-- | OPENECOMP-DEMO-2-NIC/vm-config/vm-postgresql/hosts | 11 |
13 files changed, 270 insertions, 0 deletions
diff --git a/OPENECOMP-DEMO-2-NIC/.project b/OPENECOMP-DEMO-2-NIC/.project new file mode 100644 index 0000000..35f521a --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>OPENECOMP-DEMO-2-NIC</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/OPENECOMP-DEMO-2-NIC/LICENSE.txt b/OPENECOMP-DEMO-2-NIC/LICENSE.txt new file mode 100644 index 0000000..30471b5 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/LICENSE.txt @@ -0,0 +1,22 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +ECOMP and OpenECOMP are trademarks and service marks of AT&T Intellectual Property. diff --git a/OPENECOMP-DEMO-2-NIC/certificates/passwords.yaml b/OPENECOMP-DEMO-2-NIC/certificates/passwords.yaml new file mode 100644 index 0000000..139597f --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/certificates/passwords.yaml @@ -0,0 +1,2 @@ + + diff --git a/OPENECOMP-DEMO-2-NIC/config/openstack.properties b/OPENECOMP-DEMO-2-NIC/config/openstack.properties new file mode 100644 index 0000000..6a9eae2 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/config/openstack.properties @@ -0,0 +1,4 @@ +@{ZONE}.password.@{OPENSTACK-USER} = @{OPENSTACK-PASSWORD} +serverCreationTimeout = 1800 +server.debug = true +pollingFrequency = 300000 diff --git a/OPENECOMP-DEMO-2-NIC/env.yaml b/OPENECOMP-DEMO-2-NIC/env.yaml new file mode 100644 index 0000000..4c168d4 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/env.yaml @@ -0,0 +1,54 @@ + +dns: + service-suffix: dcae.simpledemo.openecomp.org + +passwords: + postgres: + dmaap: + admin: test234-ftl + user: test234-ftlu + viewer: test234-ftlv + +streams: + cdap-tca-hi-lo: + event-input: + hostname: xxxx.openecomp.org + username: m00001@dcae.openecomp.org + userpassword: foobar + +docker-templates: + docker-common-event: + authlist : "id,base64encodepwd" + +vm-templates: + default: + admin-users: [ "@{OPENSTACK-KEYNAME}" ] + users: [ "@{OPENSTACK-KEYNAME}"] + vm-postgresql: + admin-users: [ "@{OPENSTACK-KEYNAME}" ] + users: [ "@{OPENSTACK-KEYNAME}" ] + PGAASMASTER: zldc@{ZONE}@{STATE}pstg00 + PGAASMASTER2: notused + +open-ecomp-demo: + zone: "@{ZONE}" + git: + mr-repo: "@{GIT-MR-REPO}" + maven: + user: "@{NEXUS-USER}" + password: "@{NEXUS-PASSWORD}" + rawurl: "@{NEXUS-RAWURL}" + docker: + registry: "@{DOCKER-REGISTRY}" + user: "@{NEXUS-USER}" + password: "@{NEXUS-PASSWORD}" + versions: + controller: "@{DCAE-VERSION}" + apod: "@{DCAE-VERSION}" + postgres: "@{DCAE-VERSION}" + databus-controller: "@{DOCKER-VERSION}" + collector: "@{DOCKER-VERSION}" + +users: + "@{OPENSTACK-KEYNAME}": + publicKey: "@{OPENSTACK-PUBKEY}" diff --git a/OPENECOMP-DEMO-2-NIC/hosts b/OPENECOMP-DEMO-2-NIC/hosts new file mode 100644 index 0000000..56575b0 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/hosts @@ -0,0 +1,7 @@ +@{dcae_ip_addr} zldc@{ZONE}@{STATE}cont00.dcae.simpledemo.openecomp.org cont00 zldc@{ZONE}@{STATE}cont00 +@{dcae_pstg00_ip_addr} zldc@{ZONE}@{STATE}pstg00.dcae.simpledemo.openecomp.org pstg00 zldc@{ZONE}@{STATE}pstg00 +@{dcae_coll00_ip_addr} zldc@{ZONE}@{STATE}coll00.dcae.simpledemo.openecomp.org coll00 zldc@{ZONE}@{STATE}coll00 dcae-coll-@{ZONE}.dcae.simpledemo.openecomp.org +@{dcae_cdap00_ip_addr} zldc@{ZONE}@{STATE}cdap00.dcae.simpledemo.openecomp.org cdap00 zldc@{ZONE}@{STATE}cdap00 +@{dcae_cdap01_ip_addr} zldc@{ZONE}@{STATE}cdap01.dcae.simpledemo.openecomp.org cdap01 zldc@{ZONE}@{STATE}cdap01 +@{dcae_cdap02_ip_addr} zldc@{ZONE}@{STATE}cdap02.dcae.simpledemo.openecomp.org cdap02 zldc@{ZONE}@{STATE}cdap02 +@{POLICY-IP} policy.api.simpledemo.openecomp.org diff --git a/OPENECOMP-DEMO-2-NIC/ip-assignment.yaml b/OPENECOMP-DEMO-2-NIC/ip-assignment.yaml new file mode 100644 index 0000000..417154c --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/ip-assignment.yaml @@ -0,0 +1,9 @@ + +### contains IP assignments VMs to floating ips + + +zldc@{ZONE}@{STATE}pstg00: "@{dcae_pstg00_ip_addr}" +zldc@{ZONE}@{STATE}coll00: "@{dcae_coll00_ip_addr}" +zldc@{ZONE}@{STATE}cdap00: "@{dcae_cdap00_ip_addr}" +zldc@{ZONE}@{STATE}cdap01: "@{dcae_cdap01_ip_addr}" +zldc@{ZONE}@{STATE}cdap02: "@{dcae_cdap02_ip_addr}" diff --git a/OPENECOMP-DEMO-2-NIC/maven.yaml b/OPENECOMP-DEMO-2-NIC/maven.yaml new file mode 100644 index 0000000..0bb3647 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/maven.yaml @@ -0,0 +1,64 @@ + + +settings: + destination: /tmp/settings.xml + content: ' + <?xml version="1.0" encoding="UTF-8"?> + <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> + + <profiles> + + <profile> + + <id>open-ecomp</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + + <repositories> + + <repository> + <id>snapshots</id> + <name>snapshots</name> + <url>https://nexus.onap.org/content/repositories/snapshots/</url> + </repository> + + <repository> + <id>releases</id> + <name>releases</name> + <url>https://nexus.onap.org/content/repositories/releases/</url> + </repository> + + <repository> + <id>staging</id> + <name>staging</name> + <url>https://nexus.onap.org/content/groups/staging/</url> + </repository> + + </repositories> + + </profile> + + </profiles> + + <activeProfiles> + + <activeProfile>open-ecomp</activeProfile> + + </activeProfiles> + + <servers> + + <server> + <id>osecomp-nexus</id> + </server> + + <server> + <id>osecomp-nexus-snapshots</id> + </server> + + </servers> + </settings>' + diff --git a/OPENECOMP-DEMO-2-NIC/ssl.yaml b/OPENECOMP-DEMO-2-NIC/ssl.yaml new file mode 100644 index 0000000..82a7e65 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/ssl.yaml @@ -0,0 +1,42 @@ + +certificates: + ecomp-nexus: + destination: /tmp/ecomp-nexus.crt + content: > + -----BEGIN CERTIFICATE----- + + MIIDtzCCAp+gAwIBAgIEet16RjANBgkqhkiG9w0BAQsFADB2MQswCQYDVQQGEwJVUzEUMBIGA1UE + + CBMLVW5zcGVjaWZpZWQxFDASBgNVBAcTC1Vuc3BlY2lmaWVkMREwDwYDVQQKEwhTb25hdHlwZTEQ + + MA4GA1UECxMHRXhhbXBsZTEWMBQGA1UEAwwNKi5lY29tcC1uZXh1czAeFw0xNjExMTQxMDE5NDJa + + Fw0zMDA3MjQxMDE5NDJaMHYxCzAJBgNVBAYTAlVTMRQwEgYDVQQIEwtVbnNwZWNpZmllZDEUMBIG + + A1UEBxMLVW5zcGVjaWZpZWQxETAPBgNVBAoTCFNvbmF0eXBlMRAwDgYDVQQLEwdFeGFtcGxlMRYw + + FAYDVQQDDA0qLmVjb21wLW5leHVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqkDu + + vC91cZxOaRMYGHSyDeuw4hyXjqyD5Etl5L5TNN7+uFKEtvXsRYOxtD62TqWHKozffLE5o6zoRZL4 + + 8qNTQyAx0LaEfWfR2w0jat+UqtqEtW0xpOD0/O0qRq5Y/XG3Yr8SQ/y84Pr1FIflM7pM4PZTt3kc + + UfqzbaONW5K8t+UG+5jgNXdRk3hln8WMunVZeci0J6TV+tWs9tOeAKBdpI7K7LV+FJBaF8vBAw2x + + 8AhlNPXKQUhK+M3DD73c1aLWrZ3mIwJXt2oQUDwgtXGCPR1/Z9f2tTAoDxpzvkwtP/BtH3qvgtpY + + QfDNmWbJVHh6ll39Hapt7V0v4aCRSN21ZQIDAQABo00wSzAMBgNVHRMEBTADAQH/MBwGA1UdEQQV + + MBOCC2Vjb21wLW5leHVzhwQK0MVLMB0GA1UdDgQWBBQxcUlk/lkKkwSz0GuewbXptJxl+zANBgkq + + hkiG9w0BAQsFAAOCAQEAPnNbtdreMZaUSjv+1eqpriLKquwnZhnwWENn1u3sw4hTAWQc+ehhogGg + + eIqPN81Dt3jhr0bYZW+r3gGq7tgrLxdSXso8bTtqHsFLszirgWcQXDlBQGnw9wqp/KBzeDJInJep + + d6aGu3yBXV6459S/mClxZTSvsR+Vz3rRWxx01R3/ft5/myqrRMDnEncqPopTbEamBuUJL3eJDpFO + + xlVqYR3y6AXwwguMaTiHMfFBmDOVaz4K8Qy6AaHH9eoch9fxOJ/7ASvqSwkC9GYTJSnF2vE37rmH + + kPp//Vm4WSnQ2NrBGkH9rUUdYdDdgWJYnTeZ+YFd8J6z9xNiEn9QKQNNcA== + + -----END CERTIFICATE----- diff --git a/OPENECOMP-DEMO-2-NIC/tenants.yaml b/OPENECOMP-DEMO-2-NIC/tenants.yaml new file mode 100644 index 0000000..1f4915c --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/tenants.yaml @@ -0,0 +1,22 @@ + + + +"@{ZONE}": + description: Rackspace Opensource Demo Tenant + type: demo + name-short: "@{ZONE}@{STATE}" + dns-surfix: dcae.simpledemo.openecomp.org + openstack: + horizon-url: "@{HORIZON-URL}" + keystone-url: "@{KEYSTONE-URL}" + version: Juno + supports-security-groups: false + supports-floating-ips: false + tenant: + name: "@{OPENSTACK-TENANT-NAME}" + tenant-id: "@{OPENSTACK-TENANT-ID}" + region: "@{OPENSTACK-REGION}" + public-network: "@{public_net_id}" + private-network: "@{OPENSTACK-PRIVATE-NETWORK}" + admin-user: "@{OPENSTACK-USER}" + "@{OPENSTACK-AUTH-METHOD}": "@{OPENSTACK-PASSWORD}" diff --git a/OPENECOMP-DEMO-2-NIC/vm-config/vm-cdap-cluster/hosts b/OPENECOMP-DEMO-2-NIC/vm-config/vm-cdap-cluster/hosts new file mode 100644 index 0000000..8352252 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/vm-config/vm-cdap-cluster/hosts @@ -0,0 +1,11 @@ +10.0.4.1 zldc@{ZONE}@{STATE}cont00.dcae.simpledemo.openecomp.org cont00 zldc@{ZONE}@{STATE}cont00 + +10.0.4.101 zldc@{ZONE}@{STATE}pstg00.dcae.simpledemo.openecomp.org pstg00 zldc@{ZONE}@{STATE}pstg00 + +10.0.4.102 zldc@{ZONE}@{STATE}coll00.dcae.simpledemo.openecomp.org coll00 zldc@{ZONE}@{STATE}coll00 dcae-coll-@{ZONE}.dcae.simpledemo.openecomp.org + +10.0.4.103 zldc@{ZONE}@{STATE}cdap00.dcae.simpledemo.openecomp.org cdap00 zldc@{ZONE}@{STATE}cdap00 + +10.0.4.104 zldc@{ZONE}@{STATE}cdap01.dcae.simpledemo.openecomp.org cdap01 zldc@{ZONE}@{STATE}cdap01 + +10.0.4.105 zldc@{ZONE}@{STATE}cdap02.dcae.simpledemo.openecomp.org cdap02 zldc@{ZONE}@{STATE}cdap02 diff --git a/OPENECOMP-DEMO-2-NIC/vm-config/vm-docker-host/hosts b/OPENECOMP-DEMO-2-NIC/vm-config/vm-docker-host/hosts new file mode 100644 index 0000000..8352252 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/vm-config/vm-docker-host/hosts @@ -0,0 +1,11 @@ +10.0.4.1 zldc@{ZONE}@{STATE}cont00.dcae.simpledemo.openecomp.org cont00 zldc@{ZONE}@{STATE}cont00 + +10.0.4.101 zldc@{ZONE}@{STATE}pstg00.dcae.simpledemo.openecomp.org pstg00 zldc@{ZONE}@{STATE}pstg00 + +10.0.4.102 zldc@{ZONE}@{STATE}coll00.dcae.simpledemo.openecomp.org coll00 zldc@{ZONE}@{STATE}coll00 dcae-coll-@{ZONE}.dcae.simpledemo.openecomp.org + +10.0.4.103 zldc@{ZONE}@{STATE}cdap00.dcae.simpledemo.openecomp.org cdap00 zldc@{ZONE}@{STATE}cdap00 + +10.0.4.104 zldc@{ZONE}@{STATE}cdap01.dcae.simpledemo.openecomp.org cdap01 zldc@{ZONE}@{STATE}cdap01 + +10.0.4.105 zldc@{ZONE}@{STATE}cdap02.dcae.simpledemo.openecomp.org cdap02 zldc@{ZONE}@{STATE}cdap02 diff --git a/OPENECOMP-DEMO-2-NIC/vm-config/vm-postgresql/hosts b/OPENECOMP-DEMO-2-NIC/vm-config/vm-postgresql/hosts new file mode 100644 index 0000000..8352252 --- /dev/null +++ b/OPENECOMP-DEMO-2-NIC/vm-config/vm-postgresql/hosts @@ -0,0 +1,11 @@ +10.0.4.1 zldc@{ZONE}@{STATE}cont00.dcae.simpledemo.openecomp.org cont00 zldc@{ZONE}@{STATE}cont00 + +10.0.4.101 zldc@{ZONE}@{STATE}pstg00.dcae.simpledemo.openecomp.org pstg00 zldc@{ZONE}@{STATE}pstg00 + +10.0.4.102 zldc@{ZONE}@{STATE}coll00.dcae.simpledemo.openecomp.org coll00 zldc@{ZONE}@{STATE}coll00 dcae-coll-@{ZONE}.dcae.simpledemo.openecomp.org + +10.0.4.103 zldc@{ZONE}@{STATE}cdap00.dcae.simpledemo.openecomp.org cdap00 zldc@{ZONE}@{STATE}cdap00 + +10.0.4.104 zldc@{ZONE}@{STATE}cdap01.dcae.simpledemo.openecomp.org cdap01 zldc@{ZONE}@{STATE}cdap01 + +10.0.4.105 zldc@{ZONE}@{STATE}cdap02.dcae.simpledemo.openecomp.org cdap02 zldc@{ZONE}@{STATE}cdap02 |