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 ################################
343 vfc_ztevnfmdriver_docker:
345 vfc_ztesdncdriver_docker:
353 vfc_resmanagement_docker:
359 vfc_jujudriver_docker:
361 vfc_gvnfmdriver_docker:
363 vfc_emsdriver_docker:
367 vfc_wfengine_mgrservice_docker:
369 vfc_wfengine_activiti_docker:
406 type: OS::Heat::RandomString
410 # Public key used to access ONAP components
412 type: OS::Nova::KeyPair
418 base: { get_param: key_name }
419 rand: { get_resource: random-str }
420 public_key: { get_param: pub_key }
421 save_private_key: false
424 # ONAP security group
426 type: OS::Neutron::SecurityGroup
433 rand: { get_resource: random-str }
434 description: security group used by ONAP
446 port_range_max: 65535
449 port_range_max: 65535
453 # ONAP management private network
455 type: OS::Neutron::Net
459 template: oam_onap_rand
461 rand: { get_resource: random-str }
464 type: OS::Neutron::Subnet
468 template: oam_onap_rand
470 rand: { get_resource: random-str }
471 network_id: { get_resource: oam_onap }
472 cidr: { get_param: oam_network_cidr }
473 dns_nameservers: { get_param: dns_list }
476 type: OS::Neutron::Router
478 external_gateway_info:
479 network: { get_param: public_net_id }
482 type: OS::Neutron::RouterInterface
484 router_id: { get_resource: router }
485 subnet_id: { get_resource: oam_onap_subnet }
488 # DNS Server instantiation
490 type: OS::Neutron::Port
492 network: { get_resource: oam_onap }
493 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
495 - { get_resource: onap_sg }
498 type: OS::Neutron::FloatingIP
500 floating_network_id: { get_param: public_net_id }
501 port_id: { get_resource: dns_private_port }
504 type: OS::Nova::Server
506 image: { get_param: ubuntu_1404_image }
507 flavor: { get_param: flavor_small }
510 template: base-dns-server
512 base: { get_param: vm_base_name }
513 key_name: { get_resource: vm_key }
515 - port: { get_resource: dns_private_port }
516 user_data_format: RAW
520 __nexus_repo__: { get_param: nexus_repo }
521 __artifacts_version__: { get_param: artifacts_version }
522 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
523 __dns_ip_addr__: { get_param: dns_ip_addr }
524 __aai1_ip_addr__: { get_param: aai1_ip_addr }
525 __aai2_ip_addr__: { get_param: aai2_ip_addr }
526 __appc_ip_addr__: { get_param: appc_ip_addr }
527 __dcae_ip_addr__: { get_param: dcae_ip_addr }
528 __so_ip_addr__: { get_param: so_ip_addr }
529 __mr_ip_addr__: { get_param: mr_ip_addr }
530 __policy_ip_addr__: { get_param: policy_ip_addr }
531 __portal_ip_addr__: { get_param: portal_ip_addr }
532 __robot_ip_addr__: { get_param: robot_ip_addr }
533 __sdc_ip_addr__: { get_param: sdc_ip_addr }
534 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
535 __vid_ip_addr__: { get_param: vid_ip_addr }
536 __clamp_ip_addr__: { get_param: clamp_ip_addr }
537 __openo_ip_addr__: { get_param: openo_ip_addr }
538 __music_ip_addr__: { get_param: music_ip_addr }
539 __oof_ip_addr__: { get_param: oof_ip_addr }
540 __aaf_ip_addr__: { get_param: aaf_ip_addr }
541 __cloud_env__: { get_param: cloud_env }
542 __external_dns__: { get_param: external_dns }
543 __dns_forwarder__: { get_param: dns_forwarder }
547 # Create configuration files
549 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
550 echo "__cloud_env__" > /opt/config/cloud_env.txt
551 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
552 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
553 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
554 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
555 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
556 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
557 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
558 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
559 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
560 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
561 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
562 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
563 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
564 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
565 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
566 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
567 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
568 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
569 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
570 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
571 echo "__external_dns__" > /opt/config/external_dns.txt
572 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
574 # Download and run install script
575 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
577 chmod +x dns_install.sh
581 # A&AI instantiation (2 VMs)
583 type: OS::Neutron::Port
585 network: { get_resource: oam_onap }
586 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
588 - { get_resource: onap_sg }
591 type: OS::Neutron::FloatingIP
593 floating_network_id: { get_param: public_net_id }
594 port_id: { get_resource: aai1_private_port }
597 type: OS::Nova::Server
600 image: { get_param: ubuntu_1404_image }
601 flavor: { get_param: flavor_xlarge }
604 template: base-aai-inst1
606 base: { get_param: vm_base_name }
607 key_name: { get_resource: vm_key }
609 - port: { get_resource: aai1_private_port }
610 user_data_format: RAW
614 __nexus_repo__: { get_param: nexus_repo }
615 __nexus_docker_repo__: { get_param: nexus_docker_repo }
616 __nexus_username__: { get_param: nexus_username }
617 __nexus_password__: { get_param: nexus_password }
618 __dmaap_topic__: { get_param: dmaap_topic }
619 __artifacts_version__: { get_param: artifacts_version }
620 __dns_ip_addr__: { get_param: dns_ip_addr }
621 __docker_version__: { get_param: aai_docker }
622 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
623 __gerrit_branch__: { get_param: aai_branch }
624 __cloud_env__: { get_param: cloud_env }
625 __external_dns__: { get_param: external_dns }
626 __aai_repo__: { get_param: aai_repo }
630 # Create configuration files
632 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
633 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
634 echo "__nexus_username__" > /opt/config/nexus_username.txt
635 echo "__nexus_password__" > /opt/config/nexus_password.txt
636 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
637 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
638 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
639 echo "__docker_version__" > /opt/config/docker_version.txt
640 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
641 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
642 echo "aai_instance_1" > /opt/config/aai_instance.txt
643 echo "__cloud_env__" > /opt/config/cloud_env.txt
644 echo "__external_dns__" > /opt/config/external_dns.txt
645 echo "__aai_repo__" > /opt/config/remote_repo.txt
647 # Download and run install script
648 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
650 chmod +x aai_install.sh
655 type: OS::Neutron::Port
657 network: { get_resource: oam_onap }
658 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
660 - { get_resource: onap_sg }
663 type: OS::Neutron::FloatingIP
665 floating_network_id: { get_param: public_net_id }
666 port_id: { get_resource: aai2_private_port }
669 type: OS::Nova::Server
671 image: { get_param: ubuntu_1404_image }
672 flavor: { get_param: flavor_xlarge }
675 template: base-aai-inst2
677 base: { get_param: vm_base_name }
678 key_name: { get_resource: vm_key }
680 - port: { get_resource: aai2_private_port }
681 user_data_format: RAW
685 __nexus_repo__: { get_param: nexus_repo }
686 __nexus_docker_repo__: { get_param: nexus_docker_repo }
687 __nexus_username__: { get_param: nexus_username }
688 __nexus_password__: { get_param: nexus_password }
689 __dmaap_topic__: { get_param: dmaap_topic }
690 __artifacts_version__: { get_param: artifacts_version }
691 __dns_ip_addr__: { get_param: dns_ip_addr }
692 __docker_version__: { get_param: aai_docker }
693 __gerrit_branch__: { get_param: aai_branch }
694 __cloud_env__: { get_param: cloud_env }
695 __external_dns__: { get_param: external_dns }
696 __aai_repo__: { get_param: aai_repo }
700 # Create configuration files
702 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
703 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
704 echo "__nexus_username__" > /opt/config/nexus_username.txt
705 echo "__nexus_password__" > /opt/config/nexus_password.txt
706 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
707 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
708 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
709 echo "__docker_version__" > /opt/config/docker_version.txt
710 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
711 echo "aai_instance_2" > /opt/config/aai_instance.txt
712 echo "__cloud_env__" > /opt/config/cloud_env.txt
713 echo "__external_dns__" > /opt/config/external_dns.txt
714 echo "__aai_repo__" > /opt/config/remote_repo.txt
716 # Download and run install script
717 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
719 chmod +x aai_install.sh
725 type: OS::Neutron::Port
727 network: { get_resource: oam_onap }
728 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
730 - { get_resource: onap_sg }
733 type: OS::Neutron::FloatingIP
735 floating_network_id: { get_param: public_net_id }
736 port_id: { get_resource: so_private_port }
739 type: OS::Nova::Server
741 image: { get_param: ubuntu_1604_image }
742 flavor: { get_param: flavor_large }
747 base: { get_param: vm_base_name }
748 key_name: { get_resource: vm_key }
750 - port: { get_resource: so_private_port }
751 user_data_format: RAW
755 __nexus_repo__: { get_param: nexus_repo }
756 __nexus_docker_repo__: { get_param: nexus_docker_repo }
757 __nexus_username__: { get_param: nexus_username }
758 __nexus_password__: { get_param: nexus_password }
759 __openstack_username__: { get_param: openstack_username }
760 __openstack_tenant_id__: { get_param: openstack_tenant_id }
761 __openstack_api_key__: { get_param: openstack_api_key }
762 __openstack_region__: { get_param: openstack_region }
763 __keystone_url__: { get_param: keystone_url }
764 __dmaap_topic__: { get_param: dmaap_topic }
765 __artifacts_version__: { get_param: artifacts_version }
766 __dns_ip_addr__: { get_param: dns_ip_addr }
767 __openo_ip__: { get_param: openo_ip_addr }
768 __docker_version__: { get_param: so_docker }
769 __gerrit_branch__: { get_param: so_branch }
770 __cloud_env__: { get_param: cloud_env }
771 __external_dns__: { get_param: external_dns }
772 __so_repo__: { get_param: so_repo }
776 # Create configuration files
778 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
779 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
780 echo "__nexus_username__" > /opt/config/nexus_username.txt
781 echo "__nexus_password__" > /opt/config/nexus_password.txt
782 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
783 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
784 echo "__openo_ip__" > /opt/config/openo_ip.txt
785 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
786 echo "__openstack_username__" > /opt/config/openstack_username.txt
787 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
788 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
789 echo "__openstack_region__" > /opt/config/openstack_region.txt
790 echo "__keystone_url__" > /opt/config/keystone.txt
791 echo "__docker_version__" > /opt/config/docker_version.txt
792 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
793 echo "__cloud_env__" > /opt/config/cloud_env.txt
794 echo "__external_dns__" > /opt/config/external_dns.txt
795 echo "__so_repo__" > /opt/config/remote_repo.txt
797 # Download and run install script
798 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
800 chmod +x so_install.sh
804 # Message Router instantiation
805 mrouter_private_port:
806 type: OS::Neutron::Port
808 network: { get_resource: oam_onap }
809 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
811 - { get_resource: onap_sg }
814 type: OS::Neutron::FloatingIP
816 floating_network_id: { get_param: public_net_id }
817 port_id: { get_resource: mrouter_private_port }
820 type: OS::Nova::Server
822 image: { get_param: ubuntu_1404_image }
823 flavor: { get_param: flavor_large }
826 template: base-message-router
828 base: { get_param: vm_base_name }
829 key_name: { get_resource: vm_key }
831 - port: { get_resource: mrouter_private_port }
832 user_data_format: RAW
836 __nexus_repo__: { get_param: nexus_repo }
837 __nexus_docker_repo__: { get_param: nexus_docker_repo }
838 __nexus_username__: { get_param: nexus_username }
839 __nexus_password__: { get_param: nexus_password }
840 __artifacts_version__: { get_param: artifacts_version }
841 __dns_ip_addr__: { get_param: dns_ip_addr }
842 __gerrit_branch__: { get_param: mr_branch }
843 __cloud_env__: { get_param: cloud_env }
844 __external_dns__: { get_param: external_dns }
845 __mr_repo__: { get_param: mr_repo }
849 # Create configuration files
851 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
852 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
853 echo "__nexus_username__" > /opt/config/nexus_username.txt
854 echo "__nexus_password__" > /opt/config/nexus_password.txt
855 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
856 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
857 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
858 echo "__cloud_env__" > /opt/config/cloud_env.txt
859 echo "__external_dns__" > /opt/config/external_dns.txt
860 echo "__mr_repo__" > /opt/config/remote_repo.txt
862 # Download and run install script
863 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
865 chmod +x mr_install.sh
869 # Robot Framework instantiation
871 type: OS::Neutron::Port
873 network: { get_resource: oam_onap }
874 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
876 - { get_resource: onap_sg }
879 type: OS::Neutron::FloatingIP
881 floating_network_id: { get_param: public_net_id }
882 port_id: { get_resource: robot_private_port }
885 type: OS::Nova::Server
887 image: { get_param: ubuntu_1604_image }
888 flavor: { get_param: flavor_medium }
893 base: { get_param: vm_base_name }
894 key_name: { get_resource: vm_key }
896 - port: { get_resource: robot_private_port }
897 user_data_format: RAW
901 __nexus_repo__: { get_param: nexus_repo }
902 __nexus_docker_repo__: { get_param: nexus_docker_repo }
903 __nexus_username__: { get_param: nexus_username }
904 __nexus_password__: { get_param: nexus_password }
905 __network_name__: { get_attr: [oam_onap, name] }
906 __openstack_username__: { get_param: openstack_username }
907 __openstack_api_key__: { get_param : openstack_api_key }
908 __openstack_tenant_id__: { get_param: openstack_tenant_id }
909 __artifacts_version__: { get_param: artifacts_version }
910 __openstack_region__: { get_param: openstack_region }
911 __dns_ip_addr__: { get_param: dns_ip_addr }
912 __gerrit_branch__: { get_param: robot_branch }
913 __cloud_env__: { get_param: cloud_env }
914 __keystone_url__: { get_param: keystone_url }
915 __aai1_ip_addr__: { get_param: aai1_ip_addr }
916 __aai2_ip_addr__: { get_param: aai2_ip_addr }
917 __appc_ip_addr__: { get_param: appc_ip_addr }
918 __dcae_ip_addr__: { get_param: dcae_ip_addr }
919 __so_ip_addr__: { get_param: so_ip_addr }
920 __mr_ip_addr__: { get_param: mr_ip_addr }
921 __policy_ip_addr__: { get_param: policy_ip_addr }
922 __portal_ip_addr__: { get_param: portal_ip_addr }
923 __sdc_ip_addr__: { get_param: sdc_ip_addr }
924 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
925 __vid_ip_addr__: { get_param: vid_ip_addr }
926 __clamp_ip_addr__: { get_param: clamp_ip_addr }
927 __openo_ip_addr__: { get_param: openo_ip_addr }
928 __music_ip_addr__: { get_param: music_ip_addr }
929 __oof_ip_addr__: { get_param: oof_ip_addr }
930 __aaf_ip_addr__: { get_param: aaf_ip_addr }
931 __external_dns__: { get_param: external_dns }
932 __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
933 __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
934 __vm_flavor__: { get_param: flavor_medium }
935 __public_net_id__: { get_param: public_net_id }
936 __script_version__: { get_param: artifacts_version }
937 __robot_repo__: { get_param: robot_repo }
938 __docker_version__: { get_param: robot_docker }
942 # Create configuration files
944 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
945 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
946 echo "__nexus_username__" > /opt/config/nexus_username.txt
947 echo "__nexus_password__" > /opt/config/nexus_password.txt
948 echo "__network_name__" > /opt/config/network.txt
949 echo "__openstack_username__" > /opt/config/openstack_username.txt
950 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
951 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
952 echo "__openstack_region__" > /opt/config/region.txt
953 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
954 echo "__docker_version__" > /opt/config/docker_version.txt
955 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
956 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
957 echo "__keystone_url__" > /opt/config/keystone.txt
958 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
959 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
960 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
961 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
962 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
963 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
964 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
965 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
966 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
967 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
968 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
969 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
970 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
971 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
972 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
973 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
974 echo "__cloud_env__" > /opt/config/cloud_env.txt
975 echo "__external_dns__" > /opt/config/external_dns.txt
976 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
977 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
978 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
979 echo "__script_version__" > /opt/config/script_version.txt
980 echo "__public_net_id__" > /opt/config/public_net_id.txt
981 echo "__robot_repo__" > /opt/config/remote_repo.txt
983 # Download and run install script
984 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
986 chmod +x robot_install.sh
992 type: OS::Neutron::Port
994 network: { get_resource: oam_onap }
995 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
997 - { get_resource: onap_sg }
1000 type: OS::Neutron::FloatingIP
1002 floating_network_id: { get_param: public_net_id }
1003 port_id: { get_resource: vid_private_port }
1006 type: OS::Nova::Server
1008 image: { get_param: ubuntu_1404_image }
1009 flavor: { get_param: flavor_medium }
1014 base: { get_param: vm_base_name }
1015 key_name: { get_resource: vm_key }
1017 - port: { get_resource: vid_private_port }
1018 user_data_format: RAW
1022 __nexus_repo__: { get_param: nexus_repo }
1023 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1024 __nexus_username__: { get_param: nexus_username }
1025 __nexus_password__: { get_param: nexus_password }
1026 __artifacts_version__: { get_param: artifacts_version }
1027 __dns_ip_addr__: { get_param: dns_ip_addr }
1028 __docker_version__: { get_param: vid_docker }
1029 __gerrit_branch__: { get_param: vid_branch }
1030 __cloud_env__: { get_param: cloud_env }
1031 __external_dns__: { get_param: external_dns }
1032 __vid_repo__: { get_param: vid_repo }
1036 # Create configuration files
1037 mkdir -p /opt/config
1038 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1039 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1040 echo "__nexus_username__" > /opt/config/nexus_username.txt
1041 echo "__nexus_password__" > /opt/config/nexus_password.txt
1042 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1043 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1044 echo "__docker_version__" > /opt/config/docker_version.txt
1045 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1046 echo "__cloud_env__" > /opt/config/cloud_env.txt
1047 echo "__external_dns__" > /opt/config/external_dns.txt
1048 echo "__vid_repo__" > /opt/config/remote_repo.txt
1050 # Download and run install script
1051 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1053 chmod +x vid_install.sh
1057 # SDN-C instantiation
1059 type: OS::Neutron::Port
1061 network: { get_resource: oam_onap }
1062 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1064 - { get_resource: onap_sg }
1067 type: OS::Neutron::FloatingIP
1069 floating_network_id: { get_param: public_net_id }
1070 port_id: { get_resource: sdnc_private_port }
1073 type: OS::Nova::Server
1075 image: { get_param: ubuntu_1404_image }
1076 flavor: { get_param: flavor_large }
1081 base: { get_param: vm_base_name }
1082 key_name: { get_resource: vm_key }
1084 - port: { get_resource: sdnc_private_port }
1085 user_data_format: RAW
1089 __nexus_repo__: { get_param: nexus_repo }
1090 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1091 __nexus_username__: { get_param: nexus_username }
1092 __nexus_password__: { get_param: nexus_password }
1093 __artifacts_version__: { get_param: artifacts_version }
1094 __dns_ip_addr__: { get_param: dns_ip_addr }
1095 __docker_version__: { get_param: sdnc_docker }
1096 __gerrit_branch__: { get_param: sdnc_branch }
1097 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1098 __cloud_env__: { get_param: cloud_env }
1099 __external_dns__: { get_param: external_dns }
1100 __sdnc_repo__: { get_param: sdnc_repo }
1104 # Create configuration files
1105 mkdir -p /opt/config
1106 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1107 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1108 echo "__nexus_username__" > /opt/config/nexus_username.txt
1109 echo "__nexus_password__" > /opt/config/nexus_password.txt
1110 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1111 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1112 echo "__docker_version__" > /opt/config/docker_version.txt
1113 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1114 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1115 echo "__cloud_env__" > /opt/config/cloud_env.txt
1116 echo "__external_dns__" > /opt/config/external_dns.txt
1117 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1119 # Download and run install script
1120 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1122 chmod +x sdnc_install.sh
1128 type: OS::Neutron::Port
1130 network: { get_resource: oam_onap }
1131 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1133 - { get_resource: onap_sg }
1136 type: OS::Neutron::FloatingIP
1138 floating_network_id: { get_param: public_net_id }
1139 port_id: { get_resource: sdc_private_port }
1142 type: OS::Cinder::Volume
1148 type: OS::Nova::Server
1150 image: { get_param: ubuntu_1604_image }
1151 flavor: { get_param: flavor_xlarge }
1156 base: { get_param: vm_base_name }
1157 key_name: { get_resource: vm_key }
1159 - port: { get_resource: sdc_private_port }
1160 block_device_mapping:
1161 - device_name: /dev/vdb
1162 volume_id: {get_resource: sdc_volume_data}
1163 user_data_format: RAW
1167 __nexus_repo__: { get_param: nexus_repo }
1168 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1169 __nexus_username__: { get_param: nexus_username }
1170 __nexus_password__: { get_param: nexus_password }
1171 __env_name__: { get_param: dmaap_topic }
1172 __artifacts_version__: { get_param: artifacts_version }
1173 __dns_ip_addr__: { get_param: dns_ip_addr }
1174 __mr_ip_addr__: { get_param: mr_ip_addr }
1175 __private_ip__: { get_param: sdc_ip_addr }
1176 __docker_version__: { get_param: sdc_docker }
1177 __gerrit_branch__: { get_param: sdc_branch }
1178 __cloud_env__: { get_param: cloud_env }
1179 __external_dns__: { get_param: external_dns }
1180 __sdc_repo__: { get_param: sdc_repo }
1184 # Create configuration files
1185 mkdir -p /opt/config
1186 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1187 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1188 echo "__nexus_username__" > /opt/config/nexus_username.txt
1189 echo "__nexus_password__" > /opt/config/nexus_password.txt
1190 echo "__env_name__" > /opt/config/env_name.txt
1191 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1192 echo "__private_ip__" > /opt/config/private_ip.txt
1193 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1194 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1195 echo "__docker_version__" > /opt/config/docker_version.txt
1196 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1197 echo "__cloud_env__" > /opt/config/cloud_env.txt
1198 echo "__external_dns__" > /opt/config/external_dns.txt
1199 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1201 # Download and run install script
1202 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1204 chmod +x sdc_install.sh
1208 # PORTAL instantiation
1209 portal_private_port:
1210 type: OS::Neutron::Port
1212 network: { get_resource: oam_onap }
1213 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1215 - { get_resource: onap_sg }
1218 type: OS::Neutron::FloatingIP
1220 floating_network_id: { get_param: public_net_id }
1221 port_id: { get_resource: portal_private_port }
1224 type: OS::Nova::Server
1226 image: { get_param: ubuntu_1404_image }
1227 flavor: { get_param: flavor_large }
1230 template: base-portal
1232 base: { get_param: vm_base_name }
1233 key_name: { get_resource: vm_key }
1235 - port: { get_resource: portal_private_port }
1236 user_data_format: RAW
1240 __nexus_repo__: { get_param: nexus_repo }
1241 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1242 __nexus_username__: { get_param: nexus_username }
1243 __nexus_password__: { get_param: nexus_password }
1244 __artifacts_version__: { get_param: artifacts_version }
1245 __dns_ip_addr__: { get_param: dns_ip_addr }
1246 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1247 __docker_version__: { get_param: portal_docker }
1248 __gerrit_branch__: { get_param: portal_branch }
1249 __cli_docker__: { get_param: cli_docker }
1250 __cloud_env__: { get_param: cloud_env }
1251 __external_dns__: { get_param: external_dns }
1252 __portal_repo__: { get_param: portal_repo }
1256 # Create configuration files
1257 mkdir -p /opt/config
1258 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1259 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1260 echo "__nexus_username__" > /opt/config/nexus_username.txt
1261 echo "__nexus_password__" > /opt/config/nexus_password.txt
1262 echo "__public_ip__" > /opt/config/public_ip.txt
1263 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1264 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1265 echo "__docker_version__" > /opt/config/docker_version.txt
1266 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1267 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1268 echo "__cloud_env__" > /opt/config/cloud_env.txt
1269 echo "__external_dns__" > /opt/config/external_dns.txt
1270 echo "__portal_repo__" > /opt/config/remote_repo.txt
1272 # Download and run install script
1273 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1275 chmod +x portal_install.sh
1279 # Policy Engine instantiation
1280 policy_private_port:
1281 type: OS::Neutron::Port
1283 network: { get_resource: oam_onap }
1284 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1286 - { get_resource: onap_sg }
1289 type: OS::Neutron::FloatingIP
1291 floating_network_id: { get_param: public_net_id }
1292 port_id: { get_resource: policy_private_port }
1295 type: OS::Nova::Server
1297 image: { get_param: ubuntu_1404_image }
1298 flavor: { get_param: flavor_xlarge }
1301 template: base-policy
1303 base: { get_param: vm_base_name }
1304 key_name: { get_resource: vm_key }
1306 - port: { get_resource: policy_private_port }
1307 user_data_format: RAW
1311 __nexus_repo__: { get_param: nexus_repo }
1312 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1313 __nexus_username__: { get_param: nexus_username }
1314 __nexus_password__: { get_param: nexus_password }
1315 __artifacts_version__: { get_param: artifacts_version }
1316 __dns_ip_addr__: { get_param: dns_ip_addr }
1317 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1318 __docker_version__: { get_param: policy_docker }
1319 __gerrit_branch__: { get_param: policy_branch }
1320 __cloud_env__: { get_param: cloud_env }
1321 __external_dns__: { get_param: external_dns }
1322 __policy_repo__: { get_param: policy_repo }
1326 # Create configuration files
1327 mkdir -p /opt/config
1328 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1329 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1330 echo "__nexus_username__" > /opt/config/nexus_username.txt
1331 echo "__nexus_password__" > /opt/config/nexus_password.txt
1332 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1333 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1334 echo "__public_ip__" > /opt/config/public_ip.txt
1335 echo "__docker_version__" > /opt/config/docker_version.txt
1336 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1337 echo "__cloud_env__" > /opt/config/cloud_env.txt
1338 echo "__external_dns__" > /opt/config/external_dns.txt
1339 echo "__policy_repo__" > /opt/config/remote_repo.txt
1341 # Download and run install script
1342 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1344 chmod +x policy_install.sh
1348 # APP-C instantiation
1350 type: OS::Neutron::Port
1352 network: { get_resource: oam_onap }
1353 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1355 - { get_resource: onap_sg }
1358 type: OS::Neutron::FloatingIP
1360 floating_network_id: { get_param: public_net_id }
1361 port_id: { get_resource: appc_private_port }
1364 type: OS::Nova::Server
1366 image: { get_param: ubuntu_1404_image }
1367 flavor: { get_param: flavor_large }
1372 base: { get_param: vm_base_name }
1373 key_name: { get_resource: vm_key }
1375 - port: { get_resource: appc_private_port }
1376 user_data_format: RAW
1380 __nexus_repo__: { get_param: nexus_repo }
1381 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1382 __nexus_username__: { get_param: nexus_username }
1383 __nexus_password__: { get_param: nexus_password }
1384 __dmaap_topic__: { get_param: dmaap_topic }
1385 __artifacts_version__: { get_param: artifacts_version }
1386 __dns_ip_addr__: { get_param: dns_ip_addr }
1387 __docker_version__: { get_param: appc_docker }
1388 __gerrit_branch__: { get_param: appc_branch }
1389 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1390 __cloud_env__: { get_param: cloud_env }
1391 __external_dns__: { get_param: external_dns }
1392 __appc_repo__: { get_param: appc_repo }
1396 # Create configuration files
1397 mkdir -p /opt/config
1398 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1399 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1400 echo "__nexus_username__" > /opt/config/nexus_username.txt
1401 echo "__nexus_password__" > /opt/config/nexus_password.txt
1402 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1403 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1404 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1405 echo "__docker_version__" > /opt/config/docker_version.txt
1406 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1407 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1408 echo "__cloud_env__" > /opt/config/cloud_env.txt
1409 echo "__external_dns__" > /opt/config/external_dns.txt
1410 echo "__appc_repo__" > /opt/config/remote_repo.txt
1412 # Download and run install script
1413 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1415 chmod +x appc_install.sh
1419 # CLAMP instantiation
1421 type: OS::Neutron::Port
1423 network: { get_resource: oam_onap }
1424 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1426 - { get_resource: onap_sg }
1429 type: OS::Neutron::FloatingIP
1431 floating_network_id: { get_param: public_net_id }
1432 port_id: { get_resource: clamp_private_port }
1435 type: OS::Nova::Server
1437 image: { get_param: ubuntu_1604_image }
1438 flavor: { get_param: flavor_medium }
1441 template: base-clamp
1443 base: { get_param: vm_base_name }
1444 key_name: { get_resource: vm_key }
1446 - port: { get_resource: clamp_private_port }
1447 user_data_format: RAW
1451 __nexus_repo__: { get_param: nexus_repo }
1452 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1453 __nexus_username__: { get_param: nexus_username }
1454 __nexus_password__: { get_param: nexus_password }
1455 __openstack_username__: { get_param: openstack_username }
1456 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1457 __openstack_api_key__: { get_param: openstack_api_key }
1458 __openstack_region__: { get_param: openstack_region }
1459 __keystone_url__: { get_param: keystone_url }
1460 __dmaap_topic__: { get_param: dmaap_topic }
1461 __artifacts_version__: { get_param: artifacts_version }
1462 __dns_ip_addr__: { get_param: dns_ip_addr }
1463 __docker_version__: { get_param: clamp_docker }
1464 __gerrit_branch__: { get_param: clamp_branch }
1465 __cloud_env__: { get_param: cloud_env }
1466 __external_dns__: { get_param: external_dns }
1467 __clamp_repo__: { get_param: clamp_repo }
1471 # Create configuration files
1472 mkdir -p /opt/config
1473 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1474 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1475 echo "__nexus_username__" > /opt/config/nexus_username.txt
1476 echo "__nexus_password__" > /opt/config/nexus_password.txt
1477 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1478 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1479 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1480 echo "__openstack_username__" > /opt/config/openstack_username.txt
1481 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1482 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1483 echo "__openstack_region__" > /opt/config/openstack_region.txt
1484 echo "__keystone_url__" > /opt/config/keystone.txt
1485 echo "__docker_version__" > /opt/config/docker_version.txt
1486 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1487 echo "__cloud_env__" > /opt/config/cloud_env.txt
1488 echo "__external_dns__" > /opt/config/external_dns.txt
1489 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1491 # Download and run install script
1492 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1494 chmod +x clamp_install.sh
1498 # OPEN-O VM instantiation
1500 type: OS::Neutron::Port
1502 network: { get_resource: oam_onap }
1503 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1505 - { get_resource: onap_sg }
1508 type: OS::Neutron::FloatingIP
1510 floating_network_id: { get_param: public_net_id }
1511 port_id: { get_resource: openo_private_port }
1514 type: OS::Nova::Server
1516 image: { get_param: ubuntu_1604_image }
1517 flavor: { get_param: flavor_xxlarge }
1520 template: base-multi-service
1522 base: { get_param: vm_base_name }
1523 key_name: { get_resource: vm_key }
1525 - port: { get_resource: openo_private_port }
1526 user_data_format: RAW
1530 __nexus_repo__: { get_param: nexus_repo }
1531 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1532 __nexus_username__: { get_param: nexus_username }
1533 __nexus_password__: { get_param: nexus_password }
1534 __artifacts_version__: { get_param: artifacts_version }
1535 __dns_ip_addr__: { get_param: dns_ip_addr }
1536 __oam_network_cidr__: { get_param: oam_network_cidr }
1537 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1538 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1539 __appc_ip_addr__: { get_param: appc_ip_addr }
1540 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1541 __so_ip_addr__: { get_param: so_ip_addr }
1542 __mr_ip_addr__: { get_param: mr_ip_addr }
1543 __policy_ip_addr__: { get_param: policy_ip_addr }
1544 __portal_ip_addr__: { get_param: portal_ip_addr }
1545 __robot_ip_addr__: { get_param: robot_ip_addr }
1546 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1547 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1548 __vid_ip_addr__: { get_param: vid_ip_addr }
1549 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1550 __openo_ip_addr__: { get_param: openo_ip_addr }
1551 __cloud_env__: { get_param: cloud_env }
1552 __external_dns__: { get_param: external_dns }
1553 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1554 __msb_docker__: { get_param: msb_docker }
1555 __mvim_docker__: { get_param: mvim_docker }
1556 __uui_docker__: { get_param: uui_docker }
1557 __esr_docker__: { get_param: esr_docker }
1558 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1559 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1560 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1561 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1562 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1563 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1564 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1565 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1566 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1567 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1568 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1569 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1570 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1571 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1572 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1573 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1577 # Create configuration files
1578 mkdir -p /opt/config
1579 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1580 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1581 echo "__nexus_username__" > /opt/config/nexus_username.txt
1582 echo "__nexus_password__" > /opt/config/nexus_password.txt
1583 echo "__cloud_env__" > /opt/config/cloud_env.txt
1584 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1585 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1586 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1587 echo "__external_dns__" > /opt/config/external_dns.txt
1588 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1589 echo "__msb_docker__" > /opt/config/msb_docker.txt
1590 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1591 echo "__uui_docker__" > /opt/config/uui_docker.txt
1592 echo "__esr_docker__" > /opt/config/esr_docker.txt
1593 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1595 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1596 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1597 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1598 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1599 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1600 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1601 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1602 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1603 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1604 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1605 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1606 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1607 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1608 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1609 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1611 # Create env file with the IP address of all ONAP components
1612 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1613 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1614 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1615 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1616 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1617 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1618 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1619 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1620 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1621 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1622 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1623 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1624 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1625 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1627 # Download and run install script
1628 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1630 chmod +x openo_install.sh
1634 # DCAE GEN 2 Controller instantiation
1635 dcae_c_private_port:
1636 type: OS::Neutron::Port
1638 network: { get_resource: oam_onap }
1639 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1641 - { get_resource: onap_sg }
1644 type: OS::Neutron::FloatingIP
1646 floating_network_id: { get_param: public_net_id }
1647 port_id: { get_resource: dcae_c_private_port }
1650 type: OS::Nova::Server
1652 image: { get_param: ubuntu_1604_image }
1653 flavor: { get_param: flavor_small }
1656 template: base-dcae-bootstrap
1658 base: { get_param: vm_base_name }
1659 key_name: { get_resource: vm_key }
1661 - port: { get_resource: dcae_c_private_port }
1663 # - { get_resource: onap_sg }
1664 user_data_format: RAW
1668 __rand_str__: { get_resource: random-str }
1670 __artifacts_version__: { get_param: artifacts_version }
1671 __docker_version__: { get_param: dcae_docker }
1672 __nexus_repo__: { get_param: nexus_repo }
1673 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1674 __nexus_username__: { get_param: nexus_username }
1675 __nexus_password__: { get_param: nexus_password }
1676 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1677 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1678 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1679 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1680 __dns_ip_addr__: { get_param: dns_ip_addr }
1681 __external_dns__: { get_param: external_dns }
1682 __dns_forwarder__: { get_param: dns_forwarder }
1683 __dcae_domain__: { get_param: dcae_domain }
1684 # conf for VMs DCAE is to bringup
1685 __openstack_keystone_url__: { get_param: keystone_url }
1686 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1687 __dcaeos_cloud_env__: { get_param: cloud_env }
1688 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1689 __dcaeos_region__: { get_param: openstack_region }
1690 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1691 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1692 __dcaeos_security_group__:
1694 template: 'onap_sg_rand'
1696 rand: { get_resource: random-str }
1697 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1698 __dcaeos_username__: { get_param: openstack_username }
1699 __dcaeos_password__: { get_param: openstack_api_key }
1700 __dcaeos_key_name__: { get_resource: vm_key }
1701 __dcaeos_public_key__: { get_param: dcae_public_key }
1702 __dcaeos_private_key__: { get_param: dcae_private_key }
1703 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1704 __dcaeos_public_network_name__: { get_param: public_net_name }
1705 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1706 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1707 __dcaeos_flavor_id__: { get_param: flavor_medium }
1708 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1709 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1710 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1711 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1712 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1713 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1714 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1716 __mr_ip_addr__: { get_param: mr_ip_addr }
1717 __policy_ip_addr__: { get_param: policy_ip_addr }
1718 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1719 __openo_ip_addr__: { get_param: openo_ip_addr }
1720 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1721 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1723 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1724 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1725 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1726 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1727 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1728 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1729 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1730 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1735 # Create configuration files
1736 mkdir -p /opt/config
1737 echo "__rand_str__" > /opt/config/dcae_zone.txt
1738 echo "__rand_str__" > /opt/config/rand_str.txt
1740 echo "__docker_version__" > /opt/config/docker_version.txt
1741 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1742 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1743 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1744 echo "__nexus_username__" > /opt/config/nexus_username.txt
1745 echo "__nexus_password__" > /opt/config/nexus_password.txt
1746 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1747 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1748 echo "__mac_addr__" > /opt/config/mac_addr.txt
1749 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1750 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1751 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1752 echo "__external_dns__" > /opt/config/external_dns.txt
1753 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1754 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1755 # conf for the OpenStack env where DCAE is deployed
1756 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1757 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1758 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1759 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1760 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1761 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1762 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1763 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1764 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1765 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1766 echo "__dcaeos_private_key__" > /opt/config/priv_key
1767 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1768 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1769 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1770 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1771 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1772 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1773 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1774 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1775 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1776 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1777 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1778 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1779 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1780 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1781 # fixed private IP addresses of other ONAP components
1782 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1783 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1784 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1785 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1786 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1787 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1789 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1790 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1791 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1792 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1793 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1794 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1795 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1796 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1798 # Download and run install script
1799 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1801 chmod +x dcae2_install.sh
1802 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1805 # MUSIC instantiation
1807 type: OS::Neutron::Port
1809 network: { get_resource: oam_onap }
1810 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1812 - { get_resource: onap_sg }
1815 type: OS::Neutron::FloatingIP
1817 floating_network_id: { get_param: public_net_id }
1818 port_id: { get_resource: music_private_port }
1821 type: OS::Nova::Server
1823 image: { get_param: ubuntu_1404_image }
1824 flavor: { get_param: flavor_large }
1827 template: base-music
1829 base: { get_param: vm_base_name }
1830 key_name: { get_resource: vm_key }
1832 - port: { get_resource: music_private_port }
1833 user_data_format: RAW
1837 __nexus_repo__: { get_param: nexus_repo }
1838 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1839 __nexus_username__: { get_param: nexus_username }
1840 __nexus_password__: { get_param: nexus_password }
1841 __artifacts_version__: { get_param: artifacts_version }
1842 __dns_ip_addr__: { get_param: dns_ip_addr }
1843 __docker_version__: { get_param: music_docker }
1844 __cloud_env__: { get_param: cloud_env }
1845 __external_dns__: { get_param: external_dns }
1849 # Create configuration files
1850 mkdir -p /opt/config
1851 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1852 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1853 echo "__nexus_username__" > /opt/config/nexus_username.txt
1854 echo "__nexus_password__" > /opt/config/nexus_password.txt
1855 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1856 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1857 echo "__docker_version__" > /opt/config/docker_version.txt
1858 echo "__cloud_env__" > /opt/config/cloud_env.txt
1859 echo "__external_dns__" > /opt/config/external_dns.txt
1861 # Download and run install script
1862 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1864 chmod +x music_install.sh
1870 type: OS::Neutron::Port
1872 network: { get_resource: oam_onap }
1873 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1875 - { get_resource: onap_sg }
1878 type: OS::Neutron::FloatingIP
1880 floating_network_id: { get_param: public_net_id }
1881 port_id: { get_resource: oof_private_port }
1884 type: OS::Nova::Server
1886 image: { get_param: ubuntu_1404_image }
1887 flavor: { get_param: flavor_medium }
1892 base: { get_param: vm_base_name }
1893 key_name: { get_resource: vm_key }
1895 - port: { get_resource: oof_private_port }
1896 user_data_format: RAW
1900 __nexus_repo__: { get_param: nexus_repo }
1901 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1902 __nexus_username__: { get_param: nexus_username }
1903 __nexus_password__: { get_param: nexus_password }
1904 __artifacts_version__: { get_param: artifacts_version }
1905 __dns_ip_addr__: { get_param: dns_ip_addr }
1906 __docker_version__: { get_param: oof_docker }
1907 __cloud_env__: { get_param: cloud_env }
1908 __external_dns__: { get_param: external_dns }
1912 # Create configuration files
1913 mkdir -p /opt/config
1914 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1915 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1916 echo "__nexus_username__" > /opt/config/nexus_username.txt
1917 echo "__nexus_password__" > /opt/config/nexus_password.txt
1918 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1919 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1920 echo "__docker_version__" > /opt/config/docker_version.txt
1921 echo "__cloud_env__" > /opt/config/cloud_env.txt
1922 echo "__external_dns__" > /opt/config/external_dns.txt
1924 # Download and run install script
1925 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1927 chmod +x oof_install.sh
1933 type: OS::Neutron::Port
1935 network: { get_resource: oam_onap }
1936 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1938 - { get_resource: onap_sg }
1941 type: OS::Neutron::FloatingIP
1943 floating_network_id: { get_param: public_net_id }
1944 port_id: { get_resource: aaf_private_port }
1947 type: OS::Nova::Server
1949 image: { get_param: ubuntu_1404_image }
1950 flavor: { get_param: flavor_medium }
1955 base: { get_param: vm_base_name }
1956 key_name: { get_resource: vm_key }
1958 - port: { get_resource: aaf_private_port }
1959 user_data_format: RAW
1963 __nexus_repo__: { get_param: nexus_repo }
1964 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1965 __nexus_username__: { get_param: nexus_username }
1966 __nexus_password__: { get_param: nexus_password }
1967 __artifacts_version__: { get_param: artifacts_version }
1968 __dns_ip_addr__: { get_param: dns_ip_addr }
1969 __docker_version__: { get_param: aaf_docker }
1970 __cloud_env__: { get_param: cloud_env }
1971 __external_dns__: { get_param: external_dns }
1975 # Create configuration files
1976 mkdir -p /opt/config
1977 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1978 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1979 echo "__nexus_username__" > /opt/config/nexus_username.txt
1980 echo "__nexus_password__" > /opt/config/nexus_password.txt
1981 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1982 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1983 echo "__docker_version__" > /opt/config/docker_version.txt
1984 echo "__cloud_env__" > /opt/config/cloud_env.txt
1985 echo "__external_dns__" > /opt/config/external_dns.txt
1987 # Download and run install script
1988 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
1990 chmod +x aaf_install.sh