1 ##########################################################################
3 #==================LICENSE_START==========================================
6 # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 #==================LICENSE_END============================================
21 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ##########################################################################
25 heat_template_version: 2015-10-15
27 description: Heat template to install ONAP components
37 ##############################################
39 # Parameters used across all ONAP components #
41 ##############################################
45 description: The ID of the Public network for floating IP address allocation
49 description: The name of the Public network referred by public_net_id
53 description: Name of the Ubuntu 14.04 image
57 description: Name of the Ubuntu 16.04 image
61 description: Name of the Small Flavor supported by the cloud provider
65 description: Name of the Medium Flavor supported by the cloud provider
69 description: Name of the Large Flavor supported by the cloud provider
73 description: Name of the Extra Large Flavor supported by the cloud provider
77 description: Name of the Extra Extra Large Flavor supported by the cloud provider
81 description: Base name of ONAP VMs
85 description: Public/Private key pair name
89 description: Public key to be installed on the compute instance
93 description: Complete URL for the Nexus repository.
97 description: Complete URL for the Nexus repository for docker images.
101 description: Nexus Repository username
105 description: Nexus Repository Password
109 description: Artifacts version of ONAP components
113 description: DMaaP Topic name
117 description: OpenStack tenant ID
119 openstack_tenant_name:
121 description: OpenStack tenant name (matching with the openstack_tenant_id)
125 description: OpenStack username
127 openstack_auth_method:
129 description: OpenStack authentication method (password VS. api-key)
133 description: OpenStack password or API Key
137 description: URL of OpenStack Horizon
141 description: URL of OpenStack Keystone
145 description: Cloud Provider Name in lower case
149 description: Region where the DCAE controller will spin the VMs
151 ######################
153 # Network parameters #
155 ######################
158 type: comma_delimited_list
159 description: List of External DNS for OAM ONAP network
163 description: Public IP of the external DNS for ONAP network
167 description: the forwarder address for setting up ONAP's private DNS server
171 description: CIDR of the OAM ONAP network
173 ### Private IP addresses ###
215 ###########################
217 # Parameters used by DCAE #
219 ###########################
221 dcae_deployment_profile:
223 description: DCAE deployment profile. Currently supported profiles R1, R2MVP.
225 dnsaas_config_enabled:
227 description: whether the DNSaaS configuration section is enabled
231 description: the region of the cloud instance providing the Designate DNS as a Service
235 description: the keystone URL of the cloud instance providing the Designate DNS as a Service
239 description: the username of the cloud instance providing the Designate DNS as a Service
243 description: the password of the cloud instance providing the Designate DNS as a Service
247 description: the name of the tenant in the cloud instance providing the Designate DNS as a Service
251 description: the keystone URL for DCAE to use (via MultiCloud)
255 description: the private key of the key-apir used between the DCAE bootstrap container and DCAE VMs
259 description: the prublic key of the key-apir used between the DCAE bootstrap container and DCAE VMs
263 description: the id/name of the CentOS 7 VM imange
267 description: the top level domain to register DCAE VMs (the zone will be random-str.dcae_domain)
269 #####################
271 # ONAP repositories #
273 #####################
310 ################################
312 # Docker versions and branches #
314 ################################
328 dcae_snmptrap_docker:
331 description: Docker image version for onap/org.dcaegen2.collectors.snmptrap
335 description: Docker image version for onap/org.dcaegen2.collectors.ves.vescollector
336 dcae_bootstrap_docker:
339 description: Docker image version for onap/org.dcaegen2.deployments.bootstrap
343 description: Docker image version for onap/org.dcaegen2.deployments.cm-container
344 dcae_k8sbootstrap_docker:
347 description: Docker image version for onap/org.dcaegen2.deployments.k8s-bootstrap-container
351 description: Docker image version for onap/org.dcaegen2.deployments.redis-cluster-container
355 description: Docker image version for onap/org.dcaegen2.deployments.tca-cdap-container
359 description: Docker image version for onap/org.dcaegen2.platform.cdapbroker
363 description: Docker image version for onap/org.dcaegen2.platform.configbinding
367 description: Docker image version for onap/org.dcaegen2.platform.deployment-handler
371 description: Docker image version for onap/org.dcaegen2.platform.inventory-api
375 description: Docker image version for onap/org.dcaegen2.platform.deployment-handler
379 description: Docker image version for onap/org.dcaegen2.platform.servicechange-handler
380 dcae_heartbeat_docker:
383 description: Docker image version for onap/org.dcaegen2.services.heartbeat
387 description: Docker image version for onap/org.dcaegen2.services.prh.prh-app-server
391 description: Docker image version for onap/holmes/engine-management
395 description: Docker image version for onap/holmes/rule-management
417 mvim_openstack_docker:
444 vfc_ztevnfmdriver_docker:
446 vfc_ztesdncdriver_docker:
454 vfc_resmanagement_docker:
460 vfc_jujudriver_docker:
462 vfc_gvnfmdriver_docker:
464 vfc_emsdriver_docker:
468 vfc_wfengine_mgrservice_docker:
470 vfc_wfengine_activiti_docker:
472 vfc_multivimproxy_docker:
518 type: OS::Heat::RandomString
522 # Public key used to access ONAP components
524 type: OS::Nova::KeyPair
530 base: { get_param: key_name }
531 rand: { get_resource: random-str }
532 public_key: { get_param: pub_key }
533 save_private_key: false
536 # ONAP security group
538 type: OS::Neutron::SecurityGroup
545 rand: { get_resource: random-str }
546 description: security group used by ONAP
558 port_range_max: 65535
561 port_range_max: 65535
565 # ONAP management private network
567 type: OS::Neutron::Net
571 template: oam_onap_rand
573 rand: { get_resource: random-str }
576 type: OS::Neutron::Subnet
580 template: oam_onap_rand
582 rand: { get_resource: random-str }
583 network_id: { get_resource: oam_onap }
584 cidr: { get_param: oam_network_cidr }
585 dns_nameservers: { get_param: dns_list }
588 type: OS::Neutron::Router
590 external_gateway_info:
591 network: { get_param: public_net_id }
594 type: OS::Neutron::RouterInterface
596 router_id: { get_resource: router }
597 subnet_id: { get_resource: oam_onap_subnet }
600 # DNS Server instantiation
602 type: OS::Neutron::Port
604 network: { get_resource: oam_onap }
605 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
607 - { get_resource: onap_sg }
610 type: OS::Neutron::FloatingIP
612 floating_network_id: { get_param: public_net_id }
613 port_id: { get_resource: dns_private_port }
616 type: OS::Nova::Server
618 image: { get_param: ubuntu_1404_image }
619 flavor: { get_param: flavor_small }
622 template: base-dns-server
624 base: { get_param: vm_base_name }
625 key_name: { get_resource: vm_key }
627 - port: { get_resource: dns_private_port }
628 user_data_format: RAW
632 __nexus_repo__: { get_param: nexus_repo }
633 __artifacts_version__: { get_param: artifacts_version }
634 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
635 __dns_ip_addr__: { get_param: dns_ip_addr }
636 __aai1_ip_addr__: { get_param: aai1_ip_addr }
637 __aai2_ip_addr__: { get_param: aai2_ip_addr }
638 __appc_ip_addr__: { get_param: appc_ip_addr }
639 __dcae_ip_addr__: { get_param: dcae_ip_addr }
640 __so_ip_addr__: { get_param: so_ip_addr }
641 __mr_ip_addr__: { get_param: mr_ip_addr }
642 __policy_ip_addr__: { get_param: policy_ip_addr }
643 __portal_ip_addr__: { get_param: portal_ip_addr }
644 __robot_ip_addr__: { get_param: robot_ip_addr }
645 __sdc_ip_addr__: { get_param: sdc_ip_addr }
646 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
647 __vid_ip_addr__: { get_param: vid_ip_addr }
648 __clamp_ip_addr__: { get_param: clamp_ip_addr }
649 __openo_ip_addr__: { get_param: openo_ip_addr }
650 __music_ip_addr__: { get_param: music_ip_addr }
651 __oof_ip_addr__: { get_param: oof_ip_addr }
652 __aaf_ip_addr__: { get_param: aaf_ip_addr }
653 __sms_ip_addr__: { get_param: sms_ip_addr }
654 __nbi_ip_addr__: { get_param: nbi_ip_addr }
655 __cloud_env__: { get_param: cloud_env }
656 __external_dns__: { get_param: external_dns }
657 __dns_forwarder__: { get_param: dns_forwarder }
661 # Create configuration files
663 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
664 echo "__cloud_env__" > /opt/config/cloud_env.txt
665 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
666 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
667 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
668 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
669 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
670 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
671 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
672 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
673 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
674 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
675 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
676 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
677 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
678 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
679 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
680 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
681 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
682 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
683 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
684 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
685 echo "__sms_ip_addr__" > /opt/config/sms_ip_addr.txt
686 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
687 echo "__external_dns__" > /opt/config/external_dns.txt
688 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
690 # Download and run install script
691 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
693 chmod +x dns_install.sh
697 # A&AI instantiation (2 VMs)
699 type: OS::Neutron::Port
701 network: { get_resource: oam_onap }
702 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
704 - { get_resource: onap_sg }
707 type: OS::Neutron::FloatingIP
709 floating_network_id: { get_param: public_net_id }
710 port_id: { get_resource: aai1_private_port }
713 type: OS::Nova::Server
716 image: { get_param: ubuntu_1404_image }
717 flavor: { get_param: flavor_xlarge }
720 template: base-aai-inst1
722 base: { get_param: vm_base_name }
723 key_name: { get_resource: vm_key }
725 - port: { get_resource: aai1_private_port }
726 user_data_format: RAW
730 __nexus_repo__: { get_param: nexus_repo }
731 __nexus_docker_repo__: { get_param: nexus_docker_repo }
732 __nexus_username__: { get_param: nexus_username }
733 __nexus_password__: { get_param: nexus_password }
734 __dmaap_topic__: { get_param: dmaap_topic }
735 __artifacts_version__: { get_param: artifacts_version }
736 __dns_ip_addr__: { get_param: dns_ip_addr }
737 __docker_version__: { get_param: aai_docker }
738 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
739 __gerrit_branch__: { get_param: aai_branch }
740 __cloud_env__: { get_param: cloud_env }
741 __external_dns__: { get_param: external_dns }
742 __aai_repo__: { get_param: aai_repo }
746 # Create configuration files
748 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
749 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
750 echo "__nexus_username__" > /opt/config/nexus_username.txt
751 echo "__nexus_password__" > /opt/config/nexus_password.txt
752 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
753 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
754 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
755 echo "__docker_version__" > /opt/config/docker_version.txt
756 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
757 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
758 echo "aai_instance_1" > /opt/config/aai_instance.txt
759 echo "__cloud_env__" > /opt/config/cloud_env.txt
760 echo "__external_dns__" > /opt/config/external_dns.txt
761 echo "__aai_repo__" > /opt/config/remote_repo.txt
763 # Download and run install script
764 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
766 chmod +x aai_install.sh
771 type: OS::Neutron::Port
773 network: { get_resource: oam_onap }
774 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
776 - { get_resource: onap_sg }
779 type: OS::Neutron::FloatingIP
781 floating_network_id: { get_param: public_net_id }
782 port_id: { get_resource: aai2_private_port }
785 type: OS::Nova::Server
787 image: { get_param: ubuntu_1404_image }
788 flavor: { get_param: flavor_xlarge }
791 template: base-aai-inst2
793 base: { get_param: vm_base_name }
794 key_name: { get_resource: vm_key }
796 - port: { get_resource: aai2_private_port }
797 user_data_format: RAW
801 __nexus_repo__: { get_param: nexus_repo }
802 __nexus_docker_repo__: { get_param: nexus_docker_repo }
803 __nexus_username__: { get_param: nexus_username }
804 __nexus_password__: { get_param: nexus_password }
805 __dmaap_topic__: { get_param: dmaap_topic }
806 __artifacts_version__: { get_param: artifacts_version }
807 __dns_ip_addr__: { get_param: dns_ip_addr }
808 __docker_version__: { get_param: aai_docker }
809 __gerrit_branch__: { get_param: aai_branch }
810 __cloud_env__: { get_param: cloud_env }
811 __external_dns__: { get_param: external_dns }
812 __aai_repo__: { get_param: aai_repo }
816 # Create configuration files
818 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
819 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
820 echo "__nexus_username__" > /opt/config/nexus_username.txt
821 echo "__nexus_password__" > /opt/config/nexus_password.txt
822 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
823 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
824 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
825 echo "__docker_version__" > /opt/config/docker_version.txt
826 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
827 echo "aai_instance_2" > /opt/config/aai_instance.txt
828 echo "__cloud_env__" > /opt/config/cloud_env.txt
829 echo "__external_dns__" > /opt/config/external_dns.txt
830 echo "__aai_repo__" > /opt/config/remote_repo.txt
832 # Download and run install script
833 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
835 chmod +x aai_install.sh
841 type: OS::Neutron::Port
843 network: { get_resource: oam_onap }
844 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
846 - { get_resource: onap_sg }
849 type: OS::Neutron::FloatingIP
851 floating_network_id: { get_param: public_net_id }
852 port_id: { get_resource: so_private_port }
855 type: OS::Nova::Server
857 image: { get_param: ubuntu_1604_image }
858 flavor: { get_param: flavor_large }
863 base: { get_param: vm_base_name }
864 key_name: { get_resource: vm_key }
866 - port: { get_resource: so_private_port }
867 user_data_format: RAW
871 __nexus_repo__: { get_param: nexus_repo }
872 __nexus_docker_repo__: { get_param: nexus_docker_repo }
873 __nexus_username__: { get_param: nexus_username }
874 __nexus_password__: { get_param: nexus_password }
875 __openstack_username__: { get_param: openstack_username }
876 __openstack_tenant_id__: { get_param: openstack_tenant_id }
877 __openstack_api_key__: { get_param: openstack_api_key }
878 __openstack_region__: { get_param: openstack_region }
879 __keystone_url__: { get_param: keystone_url }
880 __dmaap_topic__: { get_param: dmaap_topic }
881 __artifacts_version__: { get_param: artifacts_version }
882 __dns_ip_addr__: { get_param: dns_ip_addr }
883 __openo_ip__: { get_param: openo_ip_addr }
884 __docker_version__: { get_param: so_docker }
885 __gerrit_branch__: { get_param: so_branch }
886 __cloud_env__: { get_param: cloud_env }
887 __external_dns__: { get_param: external_dns }
888 __so_repo__: { get_param: so_repo }
892 # Create configuration files
894 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
895 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
896 echo "__nexus_username__" > /opt/config/nexus_username.txt
897 echo "__nexus_password__" > /opt/config/nexus_password.txt
898 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
899 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
900 echo "__openo_ip__" > /opt/config/openo_ip.txt
901 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
902 echo "__openstack_username__" > /opt/config/openstack_username.txt
903 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
904 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
905 echo "__openstack_region__" > /opt/config/openstack_region.txt
906 echo "__keystone_url__" > /opt/config/keystone.txt
907 echo "__docker_version__" > /opt/config/docker_version.txt
908 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
909 echo "__cloud_env__" > /opt/config/cloud_env.txt
910 echo "__external_dns__" > /opt/config/external_dns.txt
911 echo "__so_repo__" > /opt/config/remote_repo.txt
913 # Download and run install script
914 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
916 chmod +x so_install.sh
920 # Message Router instantiation
921 mrouter_private_port:
922 type: OS::Neutron::Port
924 network: { get_resource: oam_onap }
925 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
927 - { get_resource: onap_sg }
930 type: OS::Neutron::FloatingIP
932 floating_network_id: { get_param: public_net_id }
933 port_id: { get_resource: mrouter_private_port }
936 type: OS::Nova::Server
938 image: { get_param: ubuntu_1404_image }
939 flavor: { get_param: flavor_large }
942 template: base-message-router
944 base: { get_param: vm_base_name }
945 key_name: { get_resource: vm_key }
947 - port: { get_resource: mrouter_private_port }
948 user_data_format: RAW
952 __nexus_repo__: { get_param: nexus_repo }
953 __nexus_docker_repo__: { get_param: nexus_docker_repo }
954 __nexus_username__: { get_param: nexus_username }
955 __nexus_password__: { get_param: nexus_password }
956 __artifacts_version__: { get_param: artifacts_version }
957 __dns_ip_addr__: { get_param: dns_ip_addr }
958 __gerrit_branch__: { get_param: mr_branch }
959 __cloud_env__: { get_param: cloud_env }
960 __external_dns__: { get_param: external_dns }
961 __mr_repo__: { get_param: mr_repo }
962 __dbcl_docker__: { get_param: dbcl_docker }
966 # Create configuration files
968 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
969 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
970 echo "__nexus_username__" > /opt/config/nexus_username.txt
971 echo "__nexus_password__" > /opt/config/nexus_password.txt
972 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
973 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
974 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
975 echo "__cloud_env__" > /opt/config/cloud_env.txt
976 echo "__external_dns__" > /opt/config/external_dns.txt
977 echo "__mr_repo__" > /opt/config/remote_repo.txt
978 echo "__dbcl_docker__" > /opt/config/docker_version.txt
980 # Download and run install script
981 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
983 chmod +x mr_install.sh
987 # Robot Framework instantiation
989 type: OS::Neutron::Port
991 network: { get_resource: oam_onap }
992 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
994 - { get_resource: onap_sg }
997 type: OS::Neutron::FloatingIP
999 floating_network_id: { get_param: public_net_id }
1000 port_id: { get_resource: robot_private_port }
1003 type: OS::Nova::Server
1005 image: { get_param: ubuntu_1604_image }
1006 flavor: { get_param: flavor_medium }
1009 template: base-robot
1011 base: { get_param: vm_base_name }
1012 key_name: { get_resource: vm_key }
1014 - port: { get_resource: robot_private_port }
1015 user_data_format: RAW
1019 __nexus_repo__: { get_param: nexus_repo }
1020 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1021 __nexus_username__: { get_param: nexus_username }
1022 __nexus_password__: { get_param: nexus_password }
1023 __network_name__: { get_attr: [oam_onap, name] }
1024 __openstack_username__: { get_param: openstack_username }
1025 __openstack_api_key__: { get_param : openstack_api_key }
1026 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1027 __artifacts_version__: { get_param: artifacts_version }
1028 __openstack_region__: { get_param: openstack_region }
1029 __dns_ip_addr__: { get_param: dns_ip_addr }
1030 __gerrit_branch__: { get_param: robot_branch }
1031 __cloud_env__: { get_param: cloud_env }
1032 __keystone_url__: { get_param: keystone_url }
1033 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1034 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1035 __appc_ip_addr__: { get_param: appc_ip_addr }
1036 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1037 __so_ip_addr__: { get_param: so_ip_addr }
1038 __mr_ip_addr__: { get_param: mr_ip_addr }
1039 __policy_ip_addr__: { get_param: policy_ip_addr }
1040 __portal_ip_addr__: { get_param: portal_ip_addr }
1041 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1042 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1043 __vid_ip_addr__: { get_param: vid_ip_addr }
1044 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1045 __openo_ip_addr__: { get_param: openo_ip_addr }
1046 __music_ip_addr__: { get_param: music_ip_addr }
1047 __oof_ip_addr__: { get_param: oof_ip_addr }
1048 __aaf_ip_addr__: { get_param: aaf_ip_addr }
1049 __nbi_ip_addr__: { get_param: nbi_ip_addr }
1050 __external_dns__: { get_param: external_dns }
1051 __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
1052 __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1053 __vm_flavor__: { get_param: flavor_medium }
1054 __public_net_id__: { get_param: public_net_id }
1055 __script_version__: { get_param: artifacts_version }
1056 __robot_repo__: { get_param: robot_repo }
1057 __docker_version__: { get_param: robot_docker }
1061 # Create configuration files
1062 mkdir -p /opt/config
1063 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1064 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1065 echo "__nexus_username__" > /opt/config/nexus_username.txt
1066 echo "__nexus_password__" > /opt/config/nexus_password.txt
1067 echo "__network_name__" > /opt/config/network.txt
1068 echo "__openstack_username__" > /opt/config/openstack_username.txt
1069 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
1070 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
1071 echo "__openstack_region__" > /opt/config/region.txt
1072 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1073 echo "__docker_version__" > /opt/config/docker_version.txt
1074 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1075 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1076 echo "__keystone_url__" > /opt/config/keystone.txt
1077 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1078 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1079 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
1080 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1081 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
1082 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1083 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1084 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
1085 echo "__portal_ip_addr__" > /opt/config/cli_ip_addr.txt
1086 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1087 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
1088 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
1089 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
1090 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
1091 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
1092 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1093 echo "__openo_ip_addr__" > /opt/config/vnfsdk_ip_addr.txt
1094 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
1095 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
1096 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
1097 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
1098 echo "__cloud_env__" > /opt/config/cloud_env.txt
1099 echo "__external_dns__" > /opt/config/external_dns.txt
1100 echo "__vm_flavor__" > /opt/config/vm_flavor.txt
1101 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1102 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1103 echo "__script_version__" > /opt/config/script_version.txt
1104 echo "__public_net_id__" > /opt/config/public_net_id.txt
1105 echo "__robot_repo__" > /opt/config/remote_repo.txt
1107 # Download and run install script
1108 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1110 chmod +x robot_install.sh
1116 type: OS::Neutron::Port
1118 network: { get_resource: oam_onap }
1119 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1121 - { get_resource: onap_sg }
1124 type: OS::Neutron::FloatingIP
1126 floating_network_id: { get_param: public_net_id }
1127 port_id: { get_resource: vid_private_port }
1130 type: OS::Nova::Server
1132 image: { get_param: ubuntu_1404_image }
1133 flavor: { get_param: flavor_medium }
1138 base: { get_param: vm_base_name }
1139 key_name: { get_resource: vm_key }
1141 - port: { get_resource: vid_private_port }
1142 user_data_format: RAW
1146 __nexus_repo__: { get_param: nexus_repo }
1147 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1148 __nexus_username__: { get_param: nexus_username }
1149 __nexus_password__: { get_param: nexus_password }
1150 __artifacts_version__: { get_param: artifacts_version }
1151 __dns_ip_addr__: { get_param: dns_ip_addr }
1152 __docker_version__: { get_param: vid_docker }
1153 __gerrit_branch__: { get_param: vid_branch }
1154 __cloud_env__: { get_param: cloud_env }
1155 __external_dns__: { get_param: external_dns }
1156 __vid_repo__: { get_param: vid_repo }
1160 # Create configuration files
1161 mkdir -p /opt/config
1162 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1163 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1164 echo "__nexus_username__" > /opt/config/nexus_username.txt
1165 echo "__nexus_password__" > /opt/config/nexus_password.txt
1166 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1167 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1168 echo "__docker_version__" > /opt/config/docker_version.txt
1169 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1170 echo "__cloud_env__" > /opt/config/cloud_env.txt
1171 echo "__external_dns__" > /opt/config/external_dns.txt
1172 echo "__vid_repo__" > /opt/config/remote_repo.txt
1174 # Download and run install script
1175 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1177 chmod +x vid_install.sh
1181 # SDN-C instantiation
1183 type: OS::Neutron::Port
1185 network: { get_resource: oam_onap }
1186 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1188 - { get_resource: onap_sg }
1191 type: OS::Neutron::FloatingIP
1193 floating_network_id: { get_param: public_net_id }
1194 port_id: { get_resource: sdnc_private_port }
1197 type: OS::Nova::Server
1199 image: { get_param: ubuntu_1404_image }
1200 flavor: { get_param: flavor_large }
1205 base: { get_param: vm_base_name }
1206 key_name: { get_resource: vm_key }
1208 - port: { get_resource: sdnc_private_port }
1209 user_data_format: RAW
1213 __nexus_repo__: { get_param: nexus_repo }
1214 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1215 __nexus_username__: { get_param: nexus_username }
1216 __nexus_password__: { get_param: nexus_password }
1217 __artifacts_version__: { get_param: artifacts_version }
1218 __dns_ip_addr__: { get_param: dns_ip_addr }
1219 __docker_version__: { get_param: sdnc_docker }
1220 __gerrit_branch__: { get_param: sdnc_branch }
1221 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1222 __cloud_env__: { get_param: cloud_env }
1223 __external_dns__: { get_param: external_dns }
1224 __sdnc_repo__: { get_param: sdnc_repo }
1228 # Create configuration files
1229 mkdir -p /opt/config
1230 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1231 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1232 echo "__nexus_username__" > /opt/config/nexus_username.txt
1233 echo "__nexus_password__" > /opt/config/nexus_password.txt
1234 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1235 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1236 echo "__docker_version__" > /opt/config/docker_version.txt
1237 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1238 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1239 echo "__cloud_env__" > /opt/config/cloud_env.txt
1240 echo "__external_dns__" > /opt/config/external_dns.txt
1241 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1243 # Download and run install script
1244 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1246 chmod +x sdnc_install.sh
1252 type: OS::Neutron::Port
1254 network: { get_resource: oam_onap }
1255 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1257 - { get_resource: onap_sg }
1260 type: OS::Neutron::FloatingIP
1262 floating_network_id: { get_param: public_net_id }
1263 port_id: { get_resource: sdc_private_port }
1266 type: OS::Cinder::Volume
1272 type: OS::Nova::Server
1274 image: { get_param: ubuntu_1604_image }
1275 flavor: { get_param: flavor_xlarge }
1280 base: { get_param: vm_base_name }
1281 key_name: { get_resource: vm_key }
1283 - port: { get_resource: sdc_private_port }
1284 block_device_mapping:
1285 - device_name: /dev/vdb
1286 volume_id: {get_resource: sdc_volume_data}
1287 user_data_format: RAW
1291 __nexus_repo__: { get_param: nexus_repo }
1292 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1293 __nexus_username__: { get_param: nexus_username }
1294 __nexus_password__: { get_param: nexus_password }
1295 __env_name__: { get_param: dmaap_topic }
1296 __artifacts_version__: { get_param: artifacts_version }
1297 __dns_ip_addr__: { get_param: dns_ip_addr }
1298 __mr_ip_addr__: { get_param: mr_ip_addr }
1299 __private_ip__: { get_param: sdc_ip_addr }
1300 __docker_version__: { get_param: sdc_docker }
1301 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1302 __gerrit_branch__: { get_param: sdc_branch }
1303 __cloud_env__: { get_param: cloud_env }
1304 __external_dns__: { get_param: external_dns }
1305 __sdc_repo__: { get_param: sdc_repo }
1309 # Create configuration files
1310 mkdir -p /opt/config
1311 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1312 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1313 echo "__nexus_username__" > /opt/config/nexus_username.txt
1314 echo "__nexus_password__" > /opt/config/nexus_password.txt
1315 echo "__env_name__" > /opt/config/env_name.txt
1316 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1317 echo "__private_ip__" > /opt/config/private_ip.txt
1318 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1319 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1320 echo "__docker_version__" > /opt/config/docker_version.txt
1321 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1322 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1323 echo "__cloud_env__" > /opt/config/cloud_env.txt
1324 echo "__external_dns__" > /opt/config/external_dns.txt
1325 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1327 # Download and run install script
1328 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1330 chmod +x sdc_install.sh
1334 # PORTAL instantiation
1335 portal_private_port:
1336 type: OS::Neutron::Port
1338 network: { get_resource: oam_onap }
1339 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1341 - { get_resource: onap_sg }
1344 type: OS::Neutron::FloatingIP
1346 floating_network_id: { get_param: public_net_id }
1347 port_id: { get_resource: portal_private_port }
1350 type: OS::Nova::Server
1352 image: { get_param: ubuntu_1404_image }
1353 flavor: { get_param: flavor_large }
1356 template: base-portal
1358 base: { get_param: vm_base_name }
1359 key_name: { get_resource: vm_key }
1361 - port: { get_resource: portal_private_port }
1362 user_data_format: RAW
1366 __nexus_repo__: { get_param: nexus_repo }
1367 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1368 __nexus_username__: { get_param: nexus_username }
1369 __nexus_password__: { get_param: nexus_password }
1370 __artifacts_version__: { get_param: artifacts_version }
1371 __dns_ip_addr__: { get_param: dns_ip_addr }
1372 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1373 __docker_version__: { get_param: portal_docker }
1374 __gerrit_branch__: { get_param: portal_branch }
1375 __cli_docker__: { get_param: cli_docker }
1376 __cloud_env__: { get_param: cloud_env }
1377 __external_dns__: { get_param: external_dns }
1378 __portal_repo__: { get_param: portal_repo }
1382 # Create configuration files
1383 mkdir -p /opt/config
1384 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1385 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1386 echo "__nexus_username__" > /opt/config/nexus_username.txt
1387 echo "__nexus_password__" > /opt/config/nexus_password.txt
1388 echo "__public_ip__" > /opt/config/public_ip.txt
1389 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1390 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1391 echo "__docker_version__" > /opt/config/docker_version.txt
1392 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1393 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1394 echo "__cloud_env__" > /opt/config/cloud_env.txt
1395 echo "__external_dns__" > /opt/config/external_dns.txt
1396 echo "__portal_repo__" > /opt/config/remote_repo.txt
1398 # Download and run install script
1399 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1401 chmod +x portal_install.sh
1405 # Policy Engine instantiation
1406 policy_private_port:
1407 type: OS::Neutron::Port
1409 network: { get_resource: oam_onap }
1410 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1412 - { get_resource: onap_sg }
1415 type: OS::Neutron::FloatingIP
1417 floating_network_id: { get_param: public_net_id }
1418 port_id: { get_resource: policy_private_port }
1421 type: OS::Nova::Server
1423 image: { get_param: ubuntu_1404_image }
1424 flavor: { get_param: flavor_xlarge }
1427 template: base-policy
1429 base: { get_param: vm_base_name }
1430 key_name: { get_resource: vm_key }
1432 - port: { get_resource: policy_private_port }
1433 user_data_format: RAW
1437 __nexus_repo__: { get_param: nexus_repo }
1438 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1439 __nexus_username__: { get_param: nexus_username }
1440 __nexus_password__: { get_param: nexus_password }
1441 __artifacts_version__: { get_param: artifacts_version }
1442 __dns_ip_addr__: { get_param: dns_ip_addr }
1443 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1444 __docker_version__: { get_param: policy_docker }
1445 __gerrit_branch__: { get_param: policy_branch }
1446 __cloud_env__: { get_param: cloud_env }
1447 __external_dns__: { get_param: external_dns }
1448 __policy_repo__: { get_param: policy_repo }
1452 # Create configuration files
1453 mkdir -p /opt/config
1454 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1455 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1456 echo "__nexus_username__" > /opt/config/nexus_username.txt
1457 echo "__nexus_password__" > /opt/config/nexus_password.txt
1458 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1459 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1460 echo "__public_ip__" > /opt/config/public_ip.txt
1461 echo "__docker_version__" > /opt/config/docker_version.txt
1462 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1463 echo "__cloud_env__" > /opt/config/cloud_env.txt
1464 echo "__external_dns__" > /opt/config/external_dns.txt
1465 echo "__policy_repo__" > /opt/config/remote_repo.txt
1467 # Download and run install script
1468 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1470 chmod +x policy_install.sh
1474 # APP-C instantiation
1476 type: OS::Neutron::Port
1478 network: { get_resource: oam_onap }
1479 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1481 - { get_resource: onap_sg }
1484 type: OS::Neutron::FloatingIP
1486 floating_network_id: { get_param: public_net_id }
1487 port_id: { get_resource: appc_private_port }
1490 type: OS::Nova::Server
1492 image: { get_param: ubuntu_1404_image }
1493 flavor: { get_param: flavor_large }
1498 base: { get_param: vm_base_name }
1499 key_name: { get_resource: vm_key }
1501 - port: { get_resource: appc_private_port }
1502 user_data_format: RAW
1506 __nexus_repo__: { get_param: nexus_repo }
1507 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1508 __nexus_username__: { get_param: nexus_username }
1509 __nexus_password__: { get_param: nexus_password }
1510 __dmaap_topic__: { get_param: dmaap_topic }
1511 __artifacts_version__: { get_param: artifacts_version }
1512 __dns_ip_addr__: { get_param: dns_ip_addr }
1513 __docker_version__: { get_param: appc_docker }
1514 __gerrit_branch__: { get_param: appc_branch }
1515 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1516 __cloud_env__: { get_param: cloud_env }
1517 __external_dns__: { get_param: external_dns }
1518 __appc_repo__: { get_param: appc_repo }
1522 # Create configuration files
1523 mkdir -p /opt/config
1524 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1525 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1526 echo "__nexus_username__" > /opt/config/nexus_username.txt
1527 echo "__nexus_password__" > /opt/config/nexus_password.txt
1528 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1529 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1530 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1531 echo "__docker_version__" > /opt/config/docker_version.txt
1532 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1533 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1534 echo "__cloud_env__" > /opt/config/cloud_env.txt
1535 echo "__external_dns__" > /opt/config/external_dns.txt
1536 echo "__appc_repo__" > /opt/config/remote_repo.txt
1538 # Download and run install script
1539 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1541 chmod +x appc_install.sh
1545 # CLAMP instantiation
1547 type: OS::Neutron::Port
1549 network: { get_resource: oam_onap }
1550 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1552 - { get_resource: onap_sg }
1555 type: OS::Neutron::FloatingIP
1557 floating_network_id: { get_param: public_net_id }
1558 port_id: { get_resource: clamp_private_port }
1561 type: OS::Nova::Server
1563 image: { get_param: ubuntu_1604_image }
1564 flavor: { get_param: flavor_medium }
1567 template: base-clamp
1569 base: { get_param: vm_base_name }
1570 key_name: { get_resource: vm_key }
1572 - port: { get_resource: clamp_private_port }
1573 user_data_format: RAW
1577 __nexus_repo__: { get_param: nexus_repo }
1578 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1579 __nexus_username__: { get_param: nexus_username }
1580 __nexus_password__: { get_param: nexus_password }
1581 __openstack_username__: { get_param: openstack_username }
1582 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1583 __openstack_api_key__: { get_param: openstack_api_key }
1584 __openstack_region__: { get_param: openstack_region }
1585 __keystone_url__: { get_param: keystone_url }
1586 __dmaap_topic__: { get_param: dmaap_topic }
1587 __artifacts_version__: { get_param: artifacts_version }
1588 __dns_ip_addr__: { get_param: dns_ip_addr }
1589 __docker_version__: { get_param: clamp_docker }
1590 __gerrit_branch__: { get_param: clamp_branch }
1591 __cloud_env__: { get_param: cloud_env }
1592 __external_dns__: { get_param: external_dns }
1593 __clamp_repo__: { get_param: clamp_repo }
1597 # Create configuration files
1598 mkdir -p /opt/config
1599 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1600 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1601 echo "__nexus_username__" > /opt/config/nexus_username.txt
1602 echo "__nexus_password__" > /opt/config/nexus_password.txt
1603 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1604 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1605 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1606 echo "__openstack_username__" > /opt/config/openstack_username.txt
1607 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1608 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1609 echo "__openstack_region__" > /opt/config/openstack_region.txt
1610 echo "__keystone_url__" > /opt/config/keystone.txt
1611 echo "__docker_version__" > /opt/config/docker_version.txt
1612 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1613 echo "__cloud_env__" > /opt/config/cloud_env.txt
1614 echo "__external_dns__" > /opt/config/external_dns.txt
1615 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1617 # Download and run install script
1618 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1620 chmod +x clamp_install.sh
1624 # OPEN-O VM instantiation
1626 type: OS::Neutron::Port
1628 network: { get_resource: oam_onap }
1629 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1631 - { get_resource: onap_sg }
1634 type: OS::Neutron::FloatingIP
1636 floating_network_id: { get_param: public_net_id }
1637 port_id: { get_resource: openo_private_port }
1640 type: OS::Nova::Server
1642 image: { get_param: ubuntu_1604_image }
1643 flavor: { get_param: flavor_xxlarge }
1646 template: base-multi-service
1648 base: { get_param: vm_base_name }
1649 key_name: { get_resource: vm_key }
1651 - port: { get_resource: openo_private_port }
1652 user_data_format: RAW
1656 __nexus_repo__: { get_param: nexus_repo }
1657 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1658 __nexus_username__: { get_param: nexus_username }
1659 __nexus_password__: { get_param: nexus_password }
1660 __artifacts_version__: { get_param: artifacts_version }
1661 __dns_ip_addr__: { get_param: dns_ip_addr }
1662 __oam_network_cidr__: { get_param: oam_network_cidr }
1663 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1664 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1665 __appc_ip_addr__: { get_param: appc_ip_addr }
1666 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1667 __so_ip_addr__: { get_param: so_ip_addr }
1668 __mr_ip_addr__: { get_param: mr_ip_addr }
1669 __policy_ip_addr__: { get_param: policy_ip_addr }
1670 __portal_ip_addr__: { get_param: portal_ip_addr }
1671 __robot_ip_addr__: { get_param: robot_ip_addr }
1672 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1673 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1674 __vid_ip_addr__: { get_param: vid_ip_addr }
1675 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1676 __openo_ip_addr__: { get_param: openo_ip_addr }
1677 __cloud_env__: { get_param: cloud_env }
1678 __external_dns__: { get_param: external_dns }
1679 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1680 __msb_docker__: { get_param: msb_docker }
1681 __mvim_docker__: { get_param: mvim_docker }
1682 __mvim_openstack_docker__: { get_param: mvim_openstack_docker }
1683 __uui_docker__: { get_param: uui_docker }
1684 __esr_docker__: { get_param: esr_docker }
1685 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1686 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1687 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1688 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1689 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1690 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1691 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1692 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1693 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1694 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1695 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1696 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1697 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1698 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1699 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1700 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1701 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1702 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1706 # Create configuration files
1707 mkdir -p /opt/config
1708 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1709 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1710 echo "__nexus_username__" > /opt/config/nexus_username.txt
1711 echo "__nexus_password__" > /opt/config/nexus_password.txt
1712 echo "__cloud_env__" > /opt/config/cloud_env.txt
1713 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1714 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1715 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1716 echo "__external_dns__" > /opt/config/external_dns.txt
1717 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1718 echo "__msb_docker__" > /opt/config/msb_docker.txt
1719 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1720 echo "__mvim_openstack_docker__" > /opt/config/mvim_openstack_docker.txt
1721 echo "__uui_docker__" > /opt/config/uui_docker.txt
1722 echo "__esr_docker__" > /opt/config/esr_docker.txt
1723 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1725 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1726 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1727 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1728 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1729 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1730 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1731 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1732 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1733 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1734 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1735 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1736 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1737 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1738 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1739 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1740 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1741 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1743 # Create env file with the IP address of all ONAP components
1744 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1745 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1746 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1747 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1748 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1749 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1750 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1751 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1752 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1753 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1754 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1755 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1756 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1757 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1759 # Download and run install script
1760 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1762 chmod +x openo_install.sh
1766 # DCAE GEN 2 Controller instantiation
1767 dcae_c_private_port:
1768 type: OS::Neutron::Port
1770 network: { get_resource: oam_onap }
1771 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1773 - { get_resource: onap_sg }
1776 type: OS::Neutron::FloatingIP
1778 floating_network_id: { get_param: public_net_id }
1779 port_id: { get_resource: dcae_c_private_port }
1782 type: OS::Nova::Server
1784 image: { get_param: ubuntu_1604_image }
1785 flavor: { get_param: flavor_large }
1790 base: { get_param: vm_base_name }
1791 key_name: { get_resource: vm_key }
1793 - port: { get_resource: dcae_c_private_port }
1795 # - { get_resource: onap_sg }
1796 user_data_format: RAW
1800 __rand_str__: { get_resource: random-str }
1802 __artifacts_version__: { get_param: artifacts_version }
1803 __docker_version__: { get_param: dcae_docker }
1804 __nexus_repo__: { get_param: nexus_repo }
1805 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1806 __nexus_username__: { get_param: nexus_username }
1807 __nexus_password__: { get_param: nexus_password }
1808 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1809 __dcae_deployment_profile__: { get_param: dcae_deployment_profile }
1810 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1811 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1812 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1813 __dns_ip_addr__: { get_param: dns_ip_addr }
1814 __external_dns__: { get_param: external_dns }
1815 __dns_forwarder__: { get_param: dns_forwarder }
1816 __dcae_domain__: { get_param: dcae_domain }
1817 # conf for VMs DCAE is to bringup
1818 __openstack_keystone_url__: { get_param: keystone_url }
1819 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1820 __dcaeos_cloud_env__: { get_param: cloud_env }
1821 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1822 __dcaeos_region__: { get_param: openstack_region }
1823 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1824 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1825 __dcaeos_security_group__:
1827 template: 'onap_sg_rand'
1829 rand: { get_resource: random-str }
1830 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1831 __dcaeos_username__: { get_param: openstack_username }
1832 __dcaeos_password__: { get_param: openstack_api_key }
1833 __dcaeos_key_name__: { get_resource: vm_key }
1834 __dcaeos_public_key__: { get_param: dcae_public_key }
1835 __dcaeos_private_key__: { get_param: dcae_private_key }
1836 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1837 __dcaeos_public_network_name__: { get_param: public_net_name }
1838 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1839 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1840 __dcaeos_flavor_id__: { get_param: flavor_medium }
1841 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1842 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1843 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1844 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1845 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1846 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1847 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1849 __mr_ip_addr__: { get_param: mr_ip_addr }
1850 __policy_ip_addr__: { get_param: policy_ip_addr }
1851 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1852 __openo_ip_addr__: { get_param: openo_ip_addr }
1853 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1854 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1856 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1857 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1858 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1859 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1860 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1861 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1862 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1863 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1864 # container versions
1865 __dcae_docker__: { get_param: dcae_docker }
1866 __dcae_snmptrap_docker__: { get_param: dcae_snmptrap_docker }
1867 __dcae_ves_docker__: { get_param: dcae_ves_docker }
1868 __dcae_bootstrap_docker__: { get_param: dcae_bootstrap_docker }
1869 __dcae_cm_docker__: { get_param: dcae_cm_docker }
1870 __dcae_k8sbootstrap_docker__: { get_param: dcae_k8sbootstrap_docker }
1871 __dcae_redisc_docker__: { get_param: dcae_redisc_docker }
1872 __dcae_tca_docker__: { get_param: dcae_tca_docker }
1873 __dcae_cb_docker__: { get_param: dcae_cb_docker }
1874 __dcae_cbs_docker__: { get_param: dcae_cbs_docker }
1875 __dcae_dh_docker__: { get_param: dcae_dh_docker }
1876 __dcae_inv_docker__: { get_param: dcae_inv_docker }
1877 __dcae_ph_docker__: { get_param: dcae_ph_docker }
1878 __dcae_sch_docker__: { get_param: dcae_sch_docker }
1879 __dcae_heartbeat_docker__: { get_param: dcae_heartbeat_docker }
1880 __dcae_prh_docker__: { get_param: dcae_prh_docker }
1881 __holmes_em_docker__: { get_param: holmes_em_docker }
1882 __holmes_rm_docker__: { get_param: holmes_rm_docker }
1888 # Create configuration files
1889 mkdir -p /opt/config
1890 echo "__rand_str__" > /opt/config/dcae_zone.txt
1891 echo "__rand_str__" > /opt/config/rand_str.txt
1893 echo "__docker_version__" > /opt/config/docker_version.txt
1894 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1895 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1896 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1897 echo "__nexus_username__" > /opt/config/nexus_username.txt
1898 echo "__nexus_password__" > /opt/config/nexus_password.txt
1899 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1900 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1901 echo "__dcae_deployment_profile__" > /opt/config/dcae_deployment_profile.txt
1902 echo "__mac_addr__" > /opt/config/mac_addr.txt
1903 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1904 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1905 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1906 echo "__external_dns__" > /opt/config/external_dns.txt
1907 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1908 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1909 # conf for the OpenStack env where DCAE is deployed
1910 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1911 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1912 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1913 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1914 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1915 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1916 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1917 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1918 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1919 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1920 echo "__dcaeos_private_key__" > /opt/config/priv_key
1921 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1922 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1923 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1924 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1925 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1926 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1927 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1928 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1929 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1930 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1931 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1932 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1933 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1934 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1935 # fixed private IP addresses of other ONAP components
1936 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1937 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1938 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1939 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1940 echo "__openo_ip_addr__" > /opt/config/msb_ip_addr.txt
1941 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1942 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1944 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1945 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1946 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1947 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1948 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1949 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1950 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1951 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1952 # container versions
1953 echo "__dcae_docker__" > /opt/config/dcae_docker.txt
1954 echo "__dcae_snmptrap_docker__" > /opt/config/dcae_docker_snmptrap.txt
1955 echo "__dcae_ves_docker__" > /opt/config/dcae_docker_ves.txt
1956 echo "__dcae_bootstrap_docker__" > /opt/config/dcae_docker_bootstrap.txt
1957 echo "__dcae_cm_docker__" > /opt/config/dcae_docker_cm.txt
1958 echo "__dcae_k8sbootstrap_docker__" > /opt/config/dcae_docker_k8sbootstrap.txt
1959 echo "__dcae_redisc_docker__" > /opt/config/dcae_docker_redisc.txt
1960 echo "__dcae_tca_docker__" > /opt/config/dcae_docker_tca.txt
1961 echo "__dcae_cb_docker__" > /opt/config/dcae_docker_cb.txt
1962 echo "__dcae_cbs_docker__" > /opt/config/dcae_docker_cbs.txt
1963 echo "__dcae_dh_docker__" > /opt/config/dcae_docker_dh.txt
1964 echo "__dcae_inv_docker__" > /opt/config/dcae_docker_inv.txt
1965 echo "__dcae_ph_docker__" > /opt/config/dcae_docker_ph.txt
1966 echo "__dcae_sch_docker__" > /opt/config/dcae_docker_sch.txt
1967 echo "__dcae_heartbeat_docker__" > /opt/config/dcae_docker_heartbeat.txt
1968 echo "__dcae_prh_docker__" > /opt/config/dcae_docker_prh.txt
1969 echo "__holmes_em_docker__" > /opt/config/holmes_docker_em.txt
1970 echo "__holmes_rm_docker__" > /opt/config/holmes_docker_rm.txt
1972 # Download and run install script
1973 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1975 chmod +x dcae2_install.sh
1976 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1979 # MUSIC instantiation
1981 type: OS::Neutron::Port
1983 network: { get_resource: oam_onap }
1984 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1986 - { get_resource: onap_sg }
1989 type: OS::Neutron::FloatingIP
1991 floating_network_id: { get_param: public_net_id }
1992 port_id: { get_resource: music_private_port }
1995 type: OS::Nova::Server
1997 image: { get_param: ubuntu_1404_image }
1998 flavor: { get_param: flavor_large }
2001 template: base-music
2003 base: { get_param: vm_base_name }
2004 key_name: { get_resource: vm_key }
2006 - port: { get_resource: music_private_port }
2007 user_data_format: RAW
2011 __nexus_repo__: { get_param: nexus_repo }
2012 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2013 __nexus_username__: { get_param: nexus_username }
2014 __nexus_password__: { get_param: nexus_password }
2015 __artifacts_version__: { get_param: artifacts_version }
2016 __dns_ip_addr__: { get_param: dns_ip_addr }
2017 __docker_version__: { get_param: music_docker }
2018 __music_repo__: { get_param: music_repo }
2019 __gerrit_branch__: { get_param: music_branch }
2020 __cloud_env__: { get_param: cloud_env }
2021 __external_dns__: { get_param: external_dns }
2025 # Create configuration files
2026 mkdir -p /opt/config
2027 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2028 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2029 echo "__nexus_username__" > /opt/config/nexus_username.txt
2030 echo "__nexus_password__" > /opt/config/nexus_password.txt
2031 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2032 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2033 echo "__docker_version__" > /opt/config/docker_version.txt
2034 echo "__music_repo__" > /opt/config/remote_repo.txt
2035 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2036 echo "__cloud_env__" > /opt/config/cloud_env.txt
2037 echo "__external_dns__" > /opt/config/external_dns.txt
2039 # Download and run install script
2040 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
2042 chmod +x music_install.sh
2048 type: OS::Neutron::Port
2050 network: { get_resource: oam_onap }
2051 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
2053 - { get_resource: onap_sg }
2056 type: OS::Neutron::FloatingIP
2058 floating_network_id: { get_param: public_net_id }
2059 port_id: { get_resource: oof_private_port }
2062 type: OS::Nova::Server
2064 image: { get_param: ubuntu_1604_image }
2065 flavor: { get_param: flavor_large }
2070 base: { get_param: vm_base_name }
2071 key_name: { get_resource: vm_key }
2073 - port: { get_resource: oof_private_port }
2074 user_data_format: RAW
2078 __nexus_repo__: { get_param: nexus_repo }
2079 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2080 __nexus_username__: { get_param: nexus_username }
2081 __nexus_password__: { get_param: nexus_password }
2082 __artifacts_version__: { get_param: artifacts_version }
2083 __dns_ip_addr__: { get_param: dns_ip_addr }
2084 __docker_version__: { get_param: oof_docker }
2085 __oof_repo__: { get_param: oof_repo }
2086 __gerrit_branch__: { get_param: oof_branch }
2087 __cloud_env__: { get_param: cloud_env }
2088 __external_dns__: { get_param: external_dns }
2092 # Create configuration files
2093 mkdir -p /opt/config
2094 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2095 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2096 echo "__nexus_username__" > /opt/config/nexus_username.txt
2097 echo "__nexus_password__" > /opt/config/nexus_password.txt
2098 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2099 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2100 echo "__docker_version__" > /opt/config/docker_version.txt
2101 echo "__oof_repo__" > /opt/config/remote_repo.txt
2102 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2103 echo "__cloud_env__" > /opt/config/cloud_env.txt
2104 echo "__external_dns__" > /opt/config/external_dns.txt
2106 # Download and run install script
2107 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
2109 chmod +x oof_install.sh
2115 type: OS::Neutron::Port
2117 network: { get_resource: oam_onap }
2118 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
2120 - { get_resource: onap_sg }
2123 type: OS::Neutron::FloatingIP
2125 floating_network_id: { get_param: public_net_id }
2126 port_id: { get_resource: aaf_private_port }
2129 type: OS::Nova::Server
2131 image: { get_param: ubuntu_1604_image }
2132 flavor: { get_param: flavor_medium }
2137 base: { get_param: vm_base_name }
2138 key_name: { get_resource: vm_key }
2140 - port: { get_resource: aaf_private_port }
2141 user_data_format: RAW
2145 __nexus_repo__: { get_param: nexus_repo }
2146 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2147 __nexus_username__: { get_param: nexus_username }
2148 __nexus_password__: { get_param: nexus_password }
2149 __artifacts_version__: { get_param: artifacts_version }
2150 __dns_ip_addr__: { get_param: dns_ip_addr }
2151 __docker_version__: { get_param: aaf_docker }
2152 __cloud_env__: { get_param: cloud_env }
2153 __external_dns__: { get_param: external_dns }
2154 __aaf_repo__: { get_param: aaf_repo }
2155 __gerrit_branch__: { get_param: aaf_branch }
2156 __local_ip__: { get_param: aaf_ip_addr }
2160 # Create configuration files
2161 mkdir -p /opt/config
2162 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2163 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2164 echo "__nexus_username__" > /opt/config/nexus_username.txt
2165 echo "__nexus_password__" > /opt/config/nexus_password.txt
2166 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2167 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2168 echo "__docker_version__" > /opt/config/docker_version.txt
2169 echo "__cloud_env__" > /opt/config/cloud_env.txt
2170 echo "__external_dns__" > /opt/config/external_dns.txt
2171 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2172 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2173 echo "__local_ip__" > /opt/config/local_ip.txt
2175 # Download and run install script
2176 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2178 chmod +x aaf_install.sh
2183 type: OS::Neutron::Port
2185 network: { get_resource: oam_onap }
2186 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sms_ip_addr }}]
2188 - { get_resource: onap_sg }
2191 type: OS::Neutron::FloatingIP
2193 floating_network_id: { get_param: public_net_id }
2194 port_id: { get_resource: sms_private_port }
2197 type: OS::Nova::Server
2199 image: { get_param: ubuntu_1604_image }
2200 flavor: { get_param: flavor_medium }
2205 base: { get_param: vm_base_name }
2206 key_name: { get_resource: vm_key }
2208 - port: { get_resource: sms_private_port }
2209 user_data_format: RAW
2213 __nexus_repo__: { get_param: nexus_repo }
2214 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2215 __nexus_username__: { get_param: nexus_username }
2216 __nexus_password__: { get_param: nexus_password }
2217 __artifacts_version__: { get_param: artifacts_version }
2218 __dns_ip_addr__: { get_param: dns_ip_addr }
2219 __docker_version__: { get_param: sms_docker }
2220 __cloud_env__: { get_param: cloud_env }
2221 __external_dns__: { get_param: external_dns }
2222 __sms_repo__: { get_param: sms_repo }
2223 __gerrit_branch__: { get_param: sms_branch }
2224 __local_ip__: { get_param: sms_ip_addr }
2228 # Create configuration files
2229 mkdir -p /opt/config
2230 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2231 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2232 echo "__nexus_username__" > /opt/config/nexus_username.txt
2233 echo "__nexus_password__" > /opt/config/nexus_password.txt
2234 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2235 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2236 echo "__docker_version__" > /opt/config/docker_version.txt
2237 echo "__cloud_env__" > /opt/config/cloud_env.txt
2238 echo "__external_dns__" > /opt/config/external_dns.txt
2239 echo "__sms_repo__" > /opt/config/remote_repo.txt
2240 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2241 echo "__local_ip__" > /opt/config/local_ip.txt
2243 # Download and run install script
2244 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sms_install.sh -o /opt/sms_install.sh
2246 chmod +x sms_install.sh
2251 type: OS::Neutron::Port
2253 network: { get_resource: oam_onap }
2254 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2256 - { get_resource: onap_sg }
2259 type: OS::Neutron::FloatingIP
2261 floating_network_id: { get_param: public_net_id }
2262 port_id: { get_resource: nbi_private_port }
2265 type: OS::Nova::Server
2267 image: { get_param: ubuntu_1604_image }
2268 flavor: { get_param: flavor_small }
2273 base: { get_param: vm_base_name }
2274 key_name: { get_resource: vm_key }
2276 - port: { get_resource: nbi_private_port }
2277 user_data_format: RAW
2281 __nexus_repo__: { get_param: nexus_repo }
2282 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2283 __nexus_username__: { get_param: nexus_username }
2284 __nexus_password__: { get_param: nexus_password }
2285 __artifacts_version__: { get_param: artifacts_version }
2286 __dns_ip_addr__: { get_param: dns_ip_addr }
2287 __docker_version__: { get_param: nbi_docker }
2288 __nbi_repo__: { get_param: nbi_repo }
2289 __gerrit_branch__: { get_param: nbi_branch }
2290 __cloud_env__: { get_param: cloud_env }
2291 __external_dns__: { get_param: external_dns }
2292 __sdc_ip_addr__: { get_param: sdc_ip_addr }
2293 __aai1_ip_addr__: { get_param: aai1_ip_addr }
2294 __so_ip_addr__: { get_param: so_ip_addr }
2298 # Create configuration files
2299 mkdir -p /opt/config
2300 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2301 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2302 echo "__nexus_username__" > /opt/config/nexus_username.txt
2303 echo "__nexus_password__" > /opt/config/nexus_password.txt
2304 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2305 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2306 echo "__docker_version__" > /opt/config/docker_version.txt
2307 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2308 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2309 echo "__cloud_env__" > /opt/config/cloud_env.txt
2310 echo "__external_dns__" > /opt/config/external_dns.txt
2311 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
2312 echo "__aai1_ip_addr__" > /opt/config/aai_ip_addr.txt
2313 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
2315 # Download and run install script
2316 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2318 chmod +x nbi_install.sh