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 ###
211 ###########################
213 # Parameters used by DCAE #
215 ###########################
217 dnsaas_config_enabled:
219 description: whether the DNSaaS configuration section is enabled
223 description: the region of the cloud instance providing the Designate DNS as a Service
227 description: the keystone URL of the cloud instance providing the Designate DNS as a Service
231 description: the username of the cloud instance providing the Designate DNS as a Service
235 description: the password of the cloud instance providing the Designate DNS as a Service
239 description: the name of the tenant in the cloud instance providing the Designate DNS as a Service
243 description: the keystone URL for DCAE to use (via MultiCloud)
247 description: the private key of the key-apir used between the DCAE bootstrap container and DCAE VMs
251 description: the prublic key of the key-apir used between the DCAE bootstrap container and DCAE VMs
255 description: the id/name of the CentOS 7 VM imange
259 description: the top level domain to register DCAE VMs (the zone will be random-str.dcae_domain)
261 #####################
263 # ONAP repositories #
265 #####################
292 ################################
294 # Docker versions and branches #
296 ################################
345 vfc_ztevnfmdriver_docker:
347 vfc_ztesdncdriver_docker:
355 vfc_resmanagement_docker:
361 vfc_jujudriver_docker:
363 vfc_gvnfmdriver_docker:
365 vfc_emsdriver_docker:
369 vfc_wfengine_mgrservice_docker:
371 vfc_wfengine_activiti_docker:
415 type: OS::Heat::RandomString
419 # Public key used to access ONAP components
421 type: OS::Nova::KeyPair
427 base: { get_param: key_name }
428 rand: { get_resource: random-str }
429 public_key: { get_param: pub_key }
430 save_private_key: false
433 # ONAP security group
435 type: OS::Neutron::SecurityGroup
442 rand: { get_resource: random-str }
443 description: security group used by ONAP
455 port_range_max: 65535
458 port_range_max: 65535
462 # ONAP management private network
464 type: OS::Neutron::Net
468 template: oam_onap_rand
470 rand: { get_resource: random-str }
473 type: OS::Neutron::Subnet
477 template: oam_onap_rand
479 rand: { get_resource: random-str }
480 network_id: { get_resource: oam_onap }
481 cidr: { get_param: oam_network_cidr }
482 dns_nameservers: { get_param: dns_list }
485 type: OS::Neutron::Router
487 external_gateway_info:
488 network: { get_param: public_net_id }
491 type: OS::Neutron::RouterInterface
493 router_id: { get_resource: router }
494 subnet_id: { get_resource: oam_onap_subnet }
497 # DNS Server instantiation
499 type: OS::Neutron::Port
501 network: { get_resource: oam_onap }
502 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
504 - { get_resource: onap_sg }
507 type: OS::Neutron::FloatingIP
509 floating_network_id: { get_param: public_net_id }
510 port_id: { get_resource: dns_private_port }
513 type: OS::Nova::Server
515 image: { get_param: ubuntu_1404_image }
516 flavor: { get_param: flavor_small }
519 template: base-dns-server
521 base: { get_param: vm_base_name }
522 key_name: { get_resource: vm_key }
524 - port: { get_resource: dns_private_port }
525 user_data_format: RAW
529 __nexus_repo__: { get_param: nexus_repo }
530 __artifacts_version__: { get_param: artifacts_version }
531 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
532 __dns_ip_addr__: { get_param: dns_ip_addr }
533 __aai1_ip_addr__: { get_param: aai1_ip_addr }
534 __aai2_ip_addr__: { get_param: aai2_ip_addr }
535 __appc_ip_addr__: { get_param: appc_ip_addr }
536 __dcae_ip_addr__: { get_param: dcae_ip_addr }
537 __so_ip_addr__: { get_param: so_ip_addr }
538 __mr_ip_addr__: { get_param: mr_ip_addr }
539 __policy_ip_addr__: { get_param: policy_ip_addr }
540 __portal_ip_addr__: { get_param: portal_ip_addr }
541 __robot_ip_addr__: { get_param: robot_ip_addr }
542 __sdc_ip_addr__: { get_param: sdc_ip_addr }
543 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
544 __vid_ip_addr__: { get_param: vid_ip_addr }
545 __clamp_ip_addr__: { get_param: clamp_ip_addr }
546 __openo_ip_addr__: { get_param: openo_ip_addr }
547 __music_ip_addr__: { get_param: music_ip_addr }
548 __oof_ip_addr__: { get_param: oof_ip_addr }
549 __aaf_ip_addr__: { get_param: aaf_ip_addr }
550 __cloud_env__: { get_param: cloud_env }
551 __external_dns__: { get_param: external_dns }
552 __dns_forwarder__: { get_param: dns_forwarder }
556 # Create configuration files
558 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
559 echo "__cloud_env__" > /opt/config/cloud_env.txt
560 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
561 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
562 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
563 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
564 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
565 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
566 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
567 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
568 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
569 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
570 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
571 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
572 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
573 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
574 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
575 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
576 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
577 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
578 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
579 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
580 echo "__external_dns__" > /opt/config/external_dns.txt
581 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
583 # Download and run install script
584 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
586 chmod +x dns_install.sh
590 # A&AI instantiation (2 VMs)
592 type: OS::Neutron::Port
594 network: { get_resource: oam_onap }
595 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
597 - { get_resource: onap_sg }
600 type: OS::Neutron::FloatingIP
602 floating_network_id: { get_param: public_net_id }
603 port_id: { get_resource: aai1_private_port }
606 type: OS::Nova::Server
609 image: { get_param: ubuntu_1404_image }
610 flavor: { get_param: flavor_large }
613 template: base-aai-inst1
615 base: { get_param: vm_base_name }
616 key_name: { get_resource: vm_key }
618 - port: { get_resource: aai1_private_port }
619 user_data_format: RAW
623 __nexus_repo__: { get_param: nexus_repo }
624 __nexus_docker_repo__: { get_param: nexus_docker_repo }
625 __nexus_username__: { get_param: nexus_username }
626 __nexus_password__: { get_param: nexus_password }
627 __dmaap_topic__: { get_param: dmaap_topic }
628 __artifacts_version__: { get_param: artifacts_version }
629 __dns_ip_addr__: { get_param: dns_ip_addr }
630 __docker_version__: { get_param: aai_docker }
631 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
632 __gerrit_branch__: { get_param: aai_branch }
633 __cloud_env__: { get_param: cloud_env }
634 __external_dns__: { get_param: external_dns }
635 __aai_repo__: { get_param: aai_repo }
639 # Create configuration files
641 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
642 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
643 echo "__nexus_username__" > /opt/config/nexus_username.txt
644 echo "__nexus_password__" > /opt/config/nexus_password.txt
645 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
646 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
647 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
648 echo "__docker_version__" > /opt/config/docker_version.txt
649 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
650 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
651 echo "aai_instance_1" > /opt/config/aai_instance.txt
652 echo "__cloud_env__" > /opt/config/cloud_env.txt
653 echo "__external_dns__" > /opt/config/external_dns.txt
654 echo "__aai_repo__" > /opt/config/remote_repo.txt
656 # Download and run install script
657 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
659 chmod +x aai_install.sh
664 type: OS::Neutron::Port
666 network: { get_resource: oam_onap }
667 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
669 - { get_resource: onap_sg }
672 type: OS::Neutron::FloatingIP
674 floating_network_id: { get_param: public_net_id }
675 port_id: { get_resource: aai2_private_port }
678 type: OS::Nova::Server
680 image: { get_param: ubuntu_1404_image }
681 flavor: { get_param: flavor_large }
684 template: base-aai-inst2
686 base: { get_param: vm_base_name }
687 key_name: { get_resource: vm_key }
689 - port: { get_resource: aai2_private_port }
690 user_data_format: RAW
694 __nexus_repo__: { get_param: nexus_repo }
695 __nexus_docker_repo__: { get_param: nexus_docker_repo }
696 __nexus_username__: { get_param: nexus_username }
697 __nexus_password__: { get_param: nexus_password }
698 __dmaap_topic__: { get_param: dmaap_topic }
699 __artifacts_version__: { get_param: artifacts_version }
700 __dns_ip_addr__: { get_param: dns_ip_addr }
701 __docker_version__: { get_param: aai_docker }
702 __gerrit_branch__: { get_param: aai_branch }
703 __cloud_env__: { get_param: cloud_env }
704 __external_dns__: { get_param: external_dns }
705 __aai_repo__: { get_param: aai_repo }
709 # Create configuration files
711 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
712 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
713 echo "__nexus_username__" > /opt/config/nexus_username.txt
714 echo "__nexus_password__" > /opt/config/nexus_password.txt
715 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
716 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
717 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
718 echo "__docker_version__" > /opt/config/docker_version.txt
719 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
720 echo "aai_instance_2" > /opt/config/aai_instance.txt
721 echo "__cloud_env__" > /opt/config/cloud_env.txt
722 echo "__external_dns__" > /opt/config/external_dns.txt
723 echo "__aai_repo__" > /opt/config/remote_repo.txt
725 # Download and run install script
726 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
728 chmod +x aai_install.sh
734 type: OS::Neutron::Port
736 network: { get_resource: oam_onap }
737 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
739 - { get_resource: onap_sg }
742 type: OS::Neutron::FloatingIP
744 floating_network_id: { get_param: public_net_id }
745 port_id: { get_resource: so_private_port }
748 type: OS::Nova::Server
750 image: { get_param: ubuntu_1604_image }
751 flavor: { get_param: flavor_medium }
756 base: { get_param: vm_base_name }
757 key_name: { get_resource: vm_key }
759 - port: { get_resource: so_private_port }
760 user_data_format: RAW
764 __nexus_repo__: { get_param: nexus_repo }
765 __nexus_docker_repo__: { get_param: nexus_docker_repo }
766 __nexus_username__: { get_param: nexus_username }
767 __nexus_password__: { get_param: nexus_password }
768 __openstack_username__: { get_param: openstack_username }
769 __openstack_tenant_id__: { get_param: openstack_tenant_id }
770 __openstack_api_key__: { get_param: openstack_api_key }
771 __openstack_region__: { get_param: openstack_region }
772 __keystone_url__: { get_param: keystone_url }
773 __dmaap_topic__: { get_param: dmaap_topic }
774 __artifacts_version__: { get_param: artifacts_version }
775 __dns_ip_addr__: { get_param: dns_ip_addr }
776 __openo_ip__: { get_param: openo_ip_addr }
777 __docker_version__: { get_param: so_docker }
778 __gerrit_branch__: { get_param: so_branch }
779 __cloud_env__: { get_param: cloud_env }
780 __external_dns__: { get_param: external_dns }
781 __so_repo__: { get_param: so_repo }
785 # Create configuration files
787 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
788 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
789 echo "__nexus_username__" > /opt/config/nexus_username.txt
790 echo "__nexus_password__" > /opt/config/nexus_password.txt
791 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
792 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
793 echo "__openo_ip__" > /opt/config/openo_ip.txt
794 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
795 echo "__openstack_username__" > /opt/config/openstack_username.txt
796 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
797 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
798 echo "__openstack_region__" > /opt/config/openstack_region.txt
799 echo "__keystone_url__" > /opt/config/keystone.txt
800 echo "__docker_version__" > /opt/config/docker_version.txt
801 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
802 echo "__cloud_env__" > /opt/config/cloud_env.txt
803 echo "__external_dns__" > /opt/config/external_dns.txt
804 echo "__so_repo__" > /opt/config/remote_repo.txt
806 # Download and run install script
807 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
809 chmod +x so_install.sh
813 # Message Router instantiation
814 mrouter_private_port:
815 type: OS::Neutron::Port
817 network: { get_resource: oam_onap }
818 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
820 - { get_resource: onap_sg }
823 type: OS::Neutron::FloatingIP
825 floating_network_id: { get_param: public_net_id }
826 port_id: { get_resource: mrouter_private_port }
829 type: OS::Nova::Server
831 image: { get_param: ubuntu_1404_image }
832 flavor: { get_param: flavor_medium }
835 template: base-message-router
837 base: { get_param: vm_base_name }
838 key_name: { get_resource: vm_key }
840 - port: { get_resource: mrouter_private_port }
841 user_data_format: RAW
845 __nexus_repo__: { get_param: nexus_repo }
846 __nexus_docker_repo__: { get_param: nexus_docker_repo }
847 __nexus_username__: { get_param: nexus_username }
848 __nexus_password__: { get_param: nexus_password }
849 __artifacts_version__: { get_param: artifacts_version }
850 __dns_ip_addr__: { get_param: dns_ip_addr }
851 __gerrit_branch__: { get_param: mr_branch }
852 __cloud_env__: { get_param: cloud_env }
853 __external_dns__: { get_param: external_dns }
854 __mr_repo__: { get_param: mr_repo }
858 # Create configuration files
860 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
861 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
862 echo "__nexus_username__" > /opt/config/nexus_username.txt
863 echo "__nexus_password__" > /opt/config/nexus_password.txt
864 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
865 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
866 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
867 echo "__cloud_env__" > /opt/config/cloud_env.txt
868 echo "__external_dns__" > /opt/config/external_dns.txt
869 echo "__mr_repo__" > /opt/config/remote_repo.txt
871 # Download and run install script
872 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
874 chmod +x mr_install.sh
878 # Robot Framework instantiation
880 type: OS::Neutron::Port
882 network: { get_resource: oam_onap }
883 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
885 - { get_resource: onap_sg }
888 type: OS::Neutron::FloatingIP
890 floating_network_id: { get_param: public_net_id }
891 port_id: { get_resource: robot_private_port }
894 type: OS::Nova::Server
896 image: { get_param: ubuntu_1604_image }
897 flavor: { get_param: flavor_small }
902 base: { get_param: vm_base_name }
903 key_name: { get_resource: vm_key }
905 - port: { get_resource: robot_private_port }
906 user_data_format: RAW
910 __nexus_repo__: { get_param: nexus_repo }
911 __nexus_docker_repo__: { get_param: nexus_docker_repo }
912 __nexus_username__: { get_param: nexus_username }
913 __nexus_password__: { get_param: nexus_password }
914 __network_name__: { get_attr: [oam_onap, name] }
915 __openstack_username__: { get_param: openstack_username }
916 __openstack_api_key__: { get_param : openstack_api_key }
917 __openstack_tenant_id__: { get_param: openstack_tenant_id }
918 __artifacts_version__: { get_param: artifacts_version }
919 __openstack_region__: { get_param: openstack_region }
920 __dns_ip_addr__: { get_param: dns_ip_addr }
921 __gerrit_branch__: { get_param: robot_branch }
922 __cloud_env__: { get_param: cloud_env }
923 __keystone_url__: { get_param: keystone_url }
924 __aai1_ip_addr__: { get_param: aai1_ip_addr }
925 __aai2_ip_addr__: { get_param: aai2_ip_addr }
926 __appc_ip_addr__: { get_param: appc_ip_addr }
927 __dcae_ip_addr__: { get_param: dcae_ip_addr }
928 __so_ip_addr__: { get_param: so_ip_addr }
929 __mr_ip_addr__: { get_param: mr_ip_addr }
930 __policy_ip_addr__: { get_param: policy_ip_addr }
931 __portal_ip_addr__: { get_param: portal_ip_addr }
932 __sdc_ip_addr__: { get_param: sdc_ip_addr }
933 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
934 __vid_ip_addr__: { get_param: vid_ip_addr }
935 __clamp_ip_addr__: { get_param: clamp_ip_addr }
936 __openo_ip_addr__: { get_param: openo_ip_addr }
937 __clamp_ip_addr__: { get_param: clamp_ip_addr }
938 __openo_ip_addr__: { get_param: openo_ip_addr }
939 __music_ip_addr__: { get_param: music_ip_addr }
940 __external_dns__: { get_param: external_dns }
941 __vm_image_name__: { get_param: ubuntu_1404_image }
942 __vm_flavor__: { get_param: flavor_medium }
943 __public_net_id__: { get_param: public_net_id }
944 __script_version__: { get_param: artifacts_version }
945 __robot_repo__: { get_param: robot_repo }
946 __docker_version__: { get_param: robot_docker }
950 # Create configuration files
952 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
953 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
954 echo "__nexus_username__" > /opt/config/nexus_username.txt
955 echo "__nexus_password__" > /opt/config/nexus_password.txt
956 echo "__network_name__" > /opt/config/network.txt
957 echo "__openstack_username__" > /opt/config/openstack_username.txt
958 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
959 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
960 echo "__openstack_region__" > /opt/config/region.txt
961 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
962 echo "__docker_version__" > /opt/config/docker_version.txt
963 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
964 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
965 echo "__keystone_url__" > /opt/config/keystone.txt
966 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
967 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
968 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
969 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
970 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
971 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
972 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
973 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
974 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
975 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
976 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
977 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
978 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
979 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
980 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
981 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
982 echo "__cloud_env__" > /opt/config/cloud_env.txt
983 echo "__external_dns__" > /opt/config/external_dns.txt
984 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
985 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
986 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
987 echo "__script_version__" > /opt/config/script_version.txt
988 echo "__public_net_id__" > /opt/config/public_net_id.txt
989 echo "__robot_repo__" > /opt/config/remote_repo.txt
991 # Download and run install script
992 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
994 chmod +x robot_install.sh
1000 type: OS::Neutron::Port
1002 network: { get_resource: oam_onap }
1003 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1005 - { get_resource: onap_sg }
1008 type: OS::Neutron::FloatingIP
1010 floating_network_id: { get_param: public_net_id }
1011 port_id: { get_resource: vid_private_port }
1014 type: OS::Nova::Server
1016 image: { get_param: ubuntu_1404_image }
1017 flavor: { get_param: flavor_medium }
1022 base: { get_param: vm_base_name }
1023 key_name: { get_resource: vm_key }
1025 - port: { get_resource: vid_private_port }
1026 user_data_format: RAW
1030 __nexus_repo__: { get_param: nexus_repo }
1031 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1032 __nexus_username__: { get_param: nexus_username }
1033 __nexus_password__: { get_param: nexus_password }
1034 __artifacts_version__: { get_param: artifacts_version }
1035 __dns_ip_addr__: { get_param: dns_ip_addr }
1036 __docker_version__: { get_param: vid_docker }
1037 __gerrit_branch__: { get_param: vid_branch }
1038 __cloud_env__: { get_param: cloud_env }
1039 __external_dns__: { get_param: external_dns }
1040 __vid_repo__: { get_param: vid_repo }
1044 # Create configuration files
1045 mkdir -p /opt/config
1046 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1047 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1048 echo "__nexus_username__" > /opt/config/nexus_username.txt
1049 echo "__nexus_password__" > /opt/config/nexus_password.txt
1050 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1051 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1052 echo "__docker_version__" > /opt/config/docker_version.txt
1053 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1054 echo "__cloud_env__" > /opt/config/cloud_env.txt
1055 echo "__external_dns__" > /opt/config/external_dns.txt
1056 echo "__vid_repo__" > /opt/config/remote_repo.txt
1058 # Download and run install script
1059 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1061 chmod +x vid_install.sh
1065 # SDN-C instantiation
1067 type: OS::Neutron::Port
1069 network: { get_resource: oam_onap }
1070 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1072 - { get_resource: onap_sg }
1075 type: OS::Neutron::FloatingIP
1077 floating_network_id: { get_param: public_net_id }
1078 port_id: { get_resource: sdnc_private_port }
1081 type: OS::Nova::Server
1083 image: { get_param: ubuntu_1404_image }
1084 flavor: { get_param: flavor_medium }
1089 base: { get_param: vm_base_name }
1090 key_name: { get_resource: vm_key }
1092 - port: { get_resource: sdnc_private_port }
1093 user_data_format: RAW
1097 __nexus_repo__: { get_param: nexus_repo }
1098 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1099 __nexus_username__: { get_param: nexus_username }
1100 __nexus_password__: { get_param: nexus_password }
1101 __artifacts_version__: { get_param: artifacts_version }
1102 __dns_ip_addr__: { get_param: dns_ip_addr }
1103 __docker_version__: { get_param: sdnc_docker }
1104 __gerrit_branch__: { get_param: sdnc_branch }
1105 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1106 __cloud_env__: { get_param: cloud_env }
1107 __external_dns__: { get_param: external_dns }
1108 __sdnc_repo__: { get_param: sdnc_repo }
1112 # Create configuration files
1113 mkdir -p /opt/config
1114 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1115 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1116 echo "__nexus_username__" > /opt/config/nexus_username.txt
1117 echo "__nexus_password__" > /opt/config/nexus_password.txt
1118 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1119 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1120 echo "__docker_version__" > /opt/config/docker_version.txt
1121 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1122 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1123 echo "__cloud_env__" > /opt/config/cloud_env.txt
1124 echo "__external_dns__" > /opt/config/external_dns.txt
1125 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1127 # Download and run install script
1128 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1130 chmod +x sdnc_install.sh
1136 type: OS::Neutron::Port
1138 network: { get_resource: oam_onap }
1139 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1141 - { get_resource: onap_sg }
1144 type: OS::Neutron::FloatingIP
1146 floating_network_id: { get_param: public_net_id }
1147 port_id: { get_resource: sdc_private_port }
1150 type: OS::Cinder::Volume
1156 type: OS::Nova::Server
1158 image: { get_param: ubuntu_1604_image }
1159 flavor: { get_param: flavor_large }
1164 base: { get_param: vm_base_name }
1165 key_name: { get_resource: vm_key }
1167 - port: { get_resource: sdc_private_port }
1168 block_device_mapping:
1169 - device_name: /dev/vdb
1170 volume_id: {get_resource: sdc_volume_data}
1171 user_data_format: RAW
1175 __nexus_repo__: { get_param: nexus_repo }
1176 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1177 __nexus_username__: { get_param: nexus_username }
1178 __nexus_password__: { get_param: nexus_password }
1179 __env_name__: { get_param: dmaap_topic }
1180 __artifacts_version__: { get_param: artifacts_version }
1181 __dns_ip_addr__: { get_param: dns_ip_addr }
1182 __mr_ip_addr__: { get_param: mr_ip_addr }
1183 __private_ip__: { get_param: sdc_ip_addr }
1184 __docker_version__: { get_param: sdc_docker }
1185 __gerrit_branch__: { get_param: sdc_branch }
1186 __cloud_env__: { get_param: cloud_env }
1187 __external_dns__: { get_param: external_dns }
1188 __sdc_repo__: { get_param: sdc_repo }
1192 # Create configuration files
1193 mkdir -p /opt/config
1194 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1195 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1196 echo "__nexus_username__" > /opt/config/nexus_username.txt
1197 echo "__nexus_password__" > /opt/config/nexus_password.txt
1198 echo "__env_name__" > /opt/config/env_name.txt
1199 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1200 echo "__private_ip__" > /opt/config/private_ip.txt
1201 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1202 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1203 echo "__docker_version__" > /opt/config/docker_version.txt
1204 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1205 echo "__cloud_env__" > /opt/config/cloud_env.txt
1206 echo "__external_dns__" > /opt/config/external_dns.txt
1207 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1209 # Download and run install script
1210 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1212 chmod +x sdc_install.sh
1216 # PORTAL instantiation
1217 portal_private_port:
1218 type: OS::Neutron::Port
1220 network: { get_resource: oam_onap }
1221 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1223 - { get_resource: onap_sg }
1226 type: OS::Neutron::FloatingIP
1228 floating_network_id: { get_param: public_net_id }
1229 port_id: { get_resource: portal_private_port }
1232 type: OS::Nova::Server
1234 image: { get_param: ubuntu_1404_image }
1235 flavor: { get_param: flavor_medium }
1238 template: base-portal
1240 base: { get_param: vm_base_name }
1241 key_name: { get_resource: vm_key }
1243 - port: { get_resource: portal_private_port }
1244 user_data_format: RAW
1248 __nexus_repo__: { get_param: nexus_repo }
1249 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1250 __nexus_username__: { get_param: nexus_username }
1251 __nexus_password__: { get_param: nexus_password }
1252 __artifacts_version__: { get_param: artifacts_version }
1253 __dns_ip_addr__: { get_param: dns_ip_addr }
1254 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1255 __docker_version__: { get_param: portal_docker }
1256 __gerrit_branch__: { get_param: portal_branch }
1257 __cli_docker__: { get_param: cli_docker }
1258 __cloud_env__: { get_param: cloud_env }
1259 __external_dns__: { get_param: external_dns }
1260 __portal_repo__: { get_param: portal_repo }
1264 # Create configuration files
1265 mkdir -p /opt/config
1266 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1267 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1268 echo "__nexus_username__" > /opt/config/nexus_username.txt
1269 echo "__nexus_password__" > /opt/config/nexus_password.txt
1270 echo "__public_ip__" > /opt/config/public_ip.txt
1271 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1272 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1273 echo "__docker_version__" > /opt/config/docker_version.txt
1274 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1275 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1276 echo "__cloud_env__" > /opt/config/cloud_env.txt
1277 echo "__external_dns__" > /opt/config/external_dns.txt
1278 echo "__portal_repo__" > /opt/config/remote_repo.txt
1280 # Download and run install script
1281 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1283 chmod +x portal_install.sh
1287 # Policy Engine instantiation
1288 policy_private_port:
1289 type: OS::Neutron::Port
1291 network: { get_resource: oam_onap }
1292 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1294 - { get_resource: onap_sg }
1297 type: OS::Neutron::FloatingIP
1299 floating_network_id: { get_param: public_net_id }
1300 port_id: { get_resource: policy_private_port }
1303 type: OS::Nova::Server
1305 image: { get_param: ubuntu_1404_image }
1306 flavor: { get_param: flavor_medium }
1309 template: base-policy
1311 base: { get_param: vm_base_name }
1312 key_name: { get_resource: vm_key }
1314 - port: { get_resource: policy_private_port }
1315 user_data_format: RAW
1319 __nexus_repo__: { get_param: nexus_repo }
1320 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1321 __nexus_username__: { get_param: nexus_username }
1322 __nexus_password__: { get_param: nexus_password }
1323 __artifacts_version__: { get_param: artifacts_version }
1324 __dns_ip_addr__: { get_param: dns_ip_addr }
1325 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1326 __docker_version__: { get_param: policy_docker }
1327 __gerrit_branch__: { get_param: policy_branch }
1328 __cloud_env__: { get_param: cloud_env }
1329 __external_dns__: { get_param: external_dns }
1330 __policy_repo__: { get_param: policy_repo }
1334 # Create configuration files
1335 mkdir -p /opt/config
1336 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1337 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1338 echo "__nexus_username__" > /opt/config/nexus_username.txt
1339 echo "__nexus_password__" > /opt/config/nexus_password.txt
1340 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1341 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1342 echo "__public_ip__" > /opt/config/public_ip.txt
1343 echo "__docker_version__" > /opt/config/docker_version.txt
1344 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1345 echo "__cloud_env__" > /opt/config/cloud_env.txt
1346 echo "__external_dns__" > /opt/config/external_dns.txt
1347 echo "__policy_repo__" > /opt/config/remote_repo.txt
1349 # Download and run install script
1350 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1352 chmod +x policy_install.sh
1356 # APP-C instantiation
1358 type: OS::Neutron::Port
1360 network: { get_resource: oam_onap }
1361 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1363 - { get_resource: onap_sg }
1366 type: OS::Neutron::FloatingIP
1368 floating_network_id: { get_param: public_net_id }
1369 port_id: { get_resource: appc_private_port }
1372 type: OS::Nova::Server
1374 image: { get_param: ubuntu_1404_image }
1375 flavor: { get_param: flavor_medium }
1380 base: { get_param: vm_base_name }
1381 key_name: { get_resource: vm_key }
1383 - port: { get_resource: appc_private_port }
1384 user_data_format: RAW
1388 __nexus_repo__: { get_param: nexus_repo }
1389 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1390 __nexus_username__: { get_param: nexus_username }
1391 __nexus_password__: { get_param: nexus_password }
1392 __dmaap_topic__: { get_param: dmaap_topic }
1393 __artifacts_version__: { get_param: artifacts_version }
1394 __dns_ip_addr__: { get_param: dns_ip_addr }
1395 __docker_version__: { get_param: appc_docker }
1396 __gerrit_branch__: { get_param: appc_branch }
1397 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1398 __cloud_env__: { get_param: cloud_env }
1399 __external_dns__: { get_param: external_dns }
1400 __appc_repo__: { get_param: appc_repo }
1404 # Create configuration files
1405 mkdir -p /opt/config
1406 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1407 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1408 echo "__nexus_username__" > /opt/config/nexus_username.txt
1409 echo "__nexus_password__" > /opt/config/nexus_password.txt
1410 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1411 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1412 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1413 echo "__docker_version__" > /opt/config/docker_version.txt
1414 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1415 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1416 echo "__cloud_env__" > /opt/config/cloud_env.txt
1417 echo "__external_dns__" > /opt/config/external_dns.txt
1418 echo "__appc_repo__" > /opt/config/remote_repo.txt
1420 # Download and run install script
1421 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1423 chmod +x appc_install.sh
1427 # CLAMP instantiation
1429 type: OS::Neutron::Port
1431 network: { get_resource: oam_onap }
1432 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1434 - { get_resource: onap_sg }
1437 type: OS::Neutron::FloatingIP
1439 floating_network_id: { get_param: public_net_id }
1440 port_id: { get_resource: clamp_private_port }
1443 type: OS::Nova::Server
1445 image: { get_param: ubuntu_1604_image }
1446 flavor: { get_param: flavor_medium }
1449 template: base-clamp
1451 base: { get_param: vm_base_name }
1452 key_name: { get_resource: vm_key }
1454 - port: { get_resource: clamp_private_port }
1455 user_data_format: RAW
1459 __nexus_repo__: { get_param: nexus_repo }
1460 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1461 __nexus_username__: { get_param: nexus_username }
1462 __nexus_password__: { get_param: nexus_password }
1463 __openstack_username__: { get_param: openstack_username }
1464 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1465 __openstack_api_key__: { get_param: openstack_api_key }
1466 __openstack_region__: { get_param: openstack_region }
1467 __keystone_url__: { get_param: keystone_url }
1468 __dmaap_topic__: { get_param: dmaap_topic }
1469 __artifacts_version__: { get_param: artifacts_version }
1470 __dns_ip_addr__: { get_param: dns_ip_addr }
1471 __docker_version__: { get_param: clamp_docker }
1472 __gerrit_branch__: { get_param: clamp_branch }
1473 __cloud_env__: { get_param: cloud_env }
1474 __external_dns__: { get_param: external_dns }
1475 __clamp_repo__: { get_param: clamp_repo }
1479 # Create configuration files
1480 mkdir -p /opt/config
1481 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1482 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1483 echo "__nexus_username__" > /opt/config/nexus_username.txt
1484 echo "__nexus_password__" > /opt/config/nexus_password.txt
1485 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1486 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1487 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1488 echo "__openstack_username__" > /opt/config/openstack_username.txt
1489 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1490 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1491 echo "__openstack_region__" > /opt/config/openstack_region.txt
1492 echo "__keystone_url__" > /opt/config/keystone.txt
1493 echo "__docker_version__" > /opt/config/docker_version.txt
1494 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1495 echo "__cloud_env__" > /opt/config/cloud_env.txt
1496 echo "__external_dns__" > /opt/config/external_dns.txt
1497 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1499 # Download and run install script
1500 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1502 chmod +x clamp_install.sh
1506 # OPEN-O VM instantiation
1508 type: OS::Neutron::Port
1510 network: { get_resource: oam_onap }
1511 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1513 - { get_resource: onap_sg }
1516 type: OS::Neutron::FloatingIP
1518 floating_network_id: { get_param: public_net_id }
1519 port_id: { get_resource: openo_private_port }
1522 type: OS::Nova::Server
1524 image: { get_param: ubuntu_1604_image }
1525 flavor: { get_param: flavor_large }
1528 template: base-multi-service
1530 base: { get_param: vm_base_name }
1531 key_name: { get_resource: vm_key }
1533 - port: { get_resource: openo_private_port }
1534 user_data_format: RAW
1538 __nexus_repo__: { get_param: nexus_repo }
1539 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1540 __nexus_username__: { get_param: nexus_username }
1541 __nexus_password__: { get_param: nexus_password }
1542 __artifacts_version__: { get_param: artifacts_version }
1543 __dns_ip_addr__: { get_param: dns_ip_addr }
1544 __oam_network_cidr__: { get_param: oam_network_cidr }
1545 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1546 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1547 __appc_ip_addr__: { get_param: appc_ip_addr }
1548 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1549 __so_ip_addr__: { get_param: so_ip_addr }
1550 __mr_ip_addr__: { get_param: mr_ip_addr }
1551 __policy_ip_addr__: { get_param: policy_ip_addr }
1552 __portal_ip_addr__: { get_param: portal_ip_addr }
1553 __robot_ip_addr__: { get_param: robot_ip_addr }
1554 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1555 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1556 __vid_ip_addr__: { get_param: vid_ip_addr }
1557 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1558 __openo_ip_addr__: { get_param: openo_ip_addr }
1559 __cloud_env__: { get_param: cloud_env }
1560 __external_dns__: { get_param: external_dns }
1561 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1562 __msb_docker__: { get_param: msb_docker }
1563 __mvim_docker__: { get_param: mvim_docker }
1564 __uui_docker__: { get_param: uui_docker }
1565 __esr_docker__: { get_param: esr_docker }
1566 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1567 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1568 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1569 __cbam_ip__: { get_param: cbam_ip }
1570 __cbam_username__: { get_param: cbam_username }
1571 __cbam_password__: { get_param: cbam_password }
1572 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1573 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1574 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1575 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1576 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1577 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1578 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1579 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1580 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1581 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1582 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1583 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1584 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1585 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1589 # Create configuration files
1590 mkdir -p /opt/config
1591 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1592 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1593 echo "__nexus_username__" > /opt/config/nexus_username.txt
1594 echo "__nexus_password__" > /opt/config/nexus_password.txt
1595 echo "__cloud_env__" > /opt/config/cloud_env.txt
1596 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1597 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1598 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1599 echo "__external_dns__" > /opt/config/external_dns.txt
1600 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1601 echo "__msb_docker__" > /opt/config/msb_docker.txt
1602 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1603 echo "__uui_docker__" > /opt/config/uui_docker.txt
1604 echo "__esr_docker__" > /opt/config/esr_docker.txt
1605 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1606 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1607 echo "__cbam_username__" > /opt/config/cbam_username.txt
1608 echo "__cbam_password__" > /opt/config/cbam_password.txt
1610 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1611 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1612 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1613 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1614 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1615 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1616 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1617 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1618 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1619 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1620 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1621 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1622 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1623 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1624 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1625 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1627 # Create env file with the IP address of all ONAP components
1628 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1629 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1630 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1631 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1632 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1633 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1634 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1635 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1636 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1637 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1638 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1639 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1640 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1641 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1643 # Download and run install script
1644 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1646 chmod +x openo_install.sh
1650 # DCAE GEN 2 Controller instantiation
1651 dcae_c_private_port:
1652 type: OS::Neutron::Port
1654 network: { get_resource: oam_onap }
1655 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1657 - { get_resource: onap_sg }
1660 type: OS::Neutron::FloatingIP
1662 floating_network_id: { get_param: public_net_id }
1663 port_id: { get_resource: dcae_c_private_port }
1666 type: OS::Nova::Server
1668 image: { get_param: ubuntu_1604_image }
1669 flavor: { get_param: flavor_small }
1672 template: base-dcae-bootstrap
1674 base: { get_param: vm_base_name }
1675 key_name: { get_resource: vm_key }
1677 - port: { get_resource: dcae_c_private_port }
1679 # - { get_resource: onap_sg }
1680 user_data_format: RAW
1684 __rand_str__: { get_resource: random-str }
1686 __artifacts_version__: { get_param: artifacts_version }
1687 __docker_version__: { get_param: dcae_docker }
1688 __nexus_repo__: { get_param: nexus_repo }
1689 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1690 __nexus_username__: { get_param: nexus_username }
1691 __nexus_password__: { get_param: nexus_password }
1692 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1693 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1694 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1695 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1696 __dns_ip_addr__: { get_param: dns_ip_addr }
1697 __external_dns__: { get_param: external_dns }
1698 __dns_forwarder__: { get_param: dns_forwarder }
1699 __dcae_domain__: { get_param: dcae_domain }
1700 # conf for VMs DCAE is to bringup
1701 __openstack_keystone_url__: { get_param: keystone_url }
1702 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1703 __dcaeos_cloud_env__: { get_param: cloud_env }
1704 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1705 __dcaeos_region__: { get_param: openstack_region }
1706 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1707 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1708 __dcaeos_security_group__:
1710 template: 'onap_sg_rand'
1712 rand: { get_resource: random-str }
1713 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1714 __dcaeos_username__: { get_param: openstack_username }
1715 __dcaeos_password__: { get_param: openstack_api_key }
1716 __dcaeos_key_name__: { get_resource: vm_key }
1717 __dcaeos_public_key__: { get_param: dcae_public_key }
1718 __dcaeos_private_key__: { get_param: dcae_private_key }
1719 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1720 __dcaeos_public_network_name__: { get_param: public_net_name }
1721 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1722 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1723 __dcaeos_flavor_id__: { get_param: flavor_medium }
1724 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1725 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1726 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1727 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1728 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1729 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1730 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1732 __mr_ip_addr__: { get_param: mr_ip_addr }
1733 __policy_ip_addr__: { get_param: policy_ip_addr }
1734 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1735 __openo_ip_addr__: { get_param: openo_ip_addr }
1736 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1737 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1739 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1740 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1741 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1742 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1743 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1744 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1745 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1746 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1751 # Create configuration files
1752 mkdir -p /opt/config
1753 echo "__rand_str__" > /opt/config/dcae_zone.txt
1754 echo "__rand_str__" > /opt/config/rand_str.txt
1756 echo "__docker_version__" > /opt/config/docker_version.txt
1757 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1758 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1759 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1760 echo "__nexus_username__" > /opt/config/nexus_username.txt
1761 echo "__nexus_password__" > /opt/config/nexus_password.txt
1762 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1763 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1764 echo "__mac_addr__" > /opt/config/mac_addr.txt
1765 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1766 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1767 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1768 echo "__external_dns__" > /opt/config/external_dns.txt
1769 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1770 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1771 # conf for the OpenStack env where DCAE is deployed
1772 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1773 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1774 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1775 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1776 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1777 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1778 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1779 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1780 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1781 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1782 echo "__dcaeos_private_key__" > /opt/config/priv_key
1783 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1784 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1785 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1786 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1787 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1788 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1789 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1790 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1791 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1792 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1793 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1794 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1795 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1796 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1797 # fixed private IP addresses of other ONAP components
1798 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1799 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1800 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1801 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1802 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1803 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1805 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1806 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1807 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1808 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1809 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1810 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1811 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1812 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1814 # Download and run install script
1815 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1817 chmod +x dcae2_install.sh
1818 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1821 # MUSIC instantiation
1823 type: OS::Neutron::Port
1825 network: { get_resource: oam_onap }
1826 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1828 - { get_resource: onap_sg }
1831 type: OS::Neutron::FloatingIP
1833 floating_network_id: { get_param: public_net_id }
1834 port_id: { get_resource: music_private_port }
1837 type: OS::Nova::Server
1839 image: { get_param: ubuntu_1404_image }
1840 flavor: { get_param: flavor_large }
1843 template: base-music
1845 base: { get_param: vm_base_name }
1846 key_name: { get_resource: vm_key }
1848 - port: { get_resource: music_private_port }
1849 user_data_format: RAW
1853 __nexus_repo__: { get_param: nexus_repo }
1854 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1855 __nexus_username__: { get_param: nexus_username }
1856 __nexus_password__: { get_param: nexus_password }
1857 __artifacts_version__: { get_param: artifacts_version }
1858 __dns_ip_addr__: { get_param: dns_ip_addr }
1859 __docker_version__: { get_param: music_docker }
1860 __cloud_env__: { get_param: cloud_env }
1861 __external_dns__: { get_param: external_dns }
1865 # Create configuration files
1866 mkdir -p /opt/config
1867 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1868 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1869 echo "__nexus_username__" > /opt/config/nexus_username.txt
1870 echo "__nexus_password__" > /opt/config/nexus_password.txt
1871 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1872 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1873 echo "__docker_version__" > /opt/config/docker_version.txt
1874 echo "__cloud_env__" > /opt/config/cloud_env.txt
1875 echo "__external_dns__" > /opt/config/external_dns.txt
1877 # Download and run install script
1878 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1880 chmod +x music_install.sh
1886 type: OS::Neutron::Port
1888 network: { get_resource: oam_onap }
1889 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1891 - { get_resource: onap_sg }
1894 type: OS::Neutron::FloatingIP
1896 floating_network_id: { get_param: public_net_id }
1897 port_id: { get_resource: oof_private_port }
1900 type: OS::Nova::Server
1902 image: { get_param: ubuntu_1404_image }
1903 flavor: { get_param: flavor_medium }
1908 base: { get_param: vm_base_name }
1909 key_name: { get_resource: vm_key }
1911 - port: { get_resource: oof_private_port }
1912 user_data_format: RAW
1916 __nexus_repo__: { get_param: nexus_repo }
1917 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1918 __nexus_username__: { get_param: nexus_username }
1919 __nexus_password__: { get_param: nexus_password }
1920 __artifacts_version__: { get_param: artifacts_version }
1921 __dns_ip_addr__: { get_param: dns_ip_addr }
1922 __docker_version__: { get_param: oof_docker }
1923 __cloud_env__: { get_param: cloud_env }
1924 __external_dns__: { get_param: external_dns }
1928 # Create configuration files
1929 mkdir -p /opt/config
1930 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1931 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1932 echo "__nexus_username__" > /opt/config/nexus_username.txt
1933 echo "__nexus_password__" > /opt/config/nexus_password.txt
1934 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1935 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1936 echo "__docker_version__" > /opt/config/docker_version.txt
1937 echo "__cloud_env__" > /opt/config/cloud_env.txt
1938 echo "__external_dns__" > /opt/config/external_dns.txt
1940 # Download and run install script
1941 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1943 chmod +x oof_install.sh
1949 type: OS::Neutron::Port
1951 network: { get_resource: oam_onap }
1952 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1954 - { get_resource: onap_sg }
1957 type: OS::Neutron::FloatingIP
1959 floating_network_id: { get_param: public_net_id }
1960 port_id: { get_resource: aaf_private_port }
1963 type: OS::Nova::Server
1965 image: { get_param: ubuntu_1404_image }
1966 flavor: { get_param: flavor_medium }
1971 base: { get_param: vm_base_name }
1972 key_name: { get_resource: vm_key }
1974 - port: { get_resource: aaf_private_port }
1975 user_data_format: RAW
1979 __nexus_repo__: { get_param: nexus_repo }
1980 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1981 __nexus_username__: { get_param: nexus_username }
1982 __nexus_password__: { get_param: nexus_password }
1983 __artifacts_version__: { get_param: artifacts_version }
1984 __dns_ip_addr__: { get_param: dns_ip_addr }
1985 __docker_version__: { get_param: aaf_docker }
1986 __cloud_env__: { get_param: cloud_env }
1987 __external_dns__: { get_param: external_dns }
1991 # Create configuration files
1992 mkdir -p /opt/config
1993 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1994 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1995 echo "__nexus_username__" > /opt/config/nexus_username.txt
1996 echo "__nexus_password__" > /opt/config/nexus_password.txt
1997 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1998 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1999 echo "__docker_version__" > /opt/config/docker_version.txt
2000 echo "__cloud_env__" > /opt/config/cloud_env.txt
2001 echo "__external_dns__" > /opt/config/external_dns.txt
2003 # Download and run install script
2004 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2006 chmod +x aaf_install.sh