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 ###
213 ###########################
215 # Parameters used by DCAE #
217 ###########################
219 dnsaas_config_enabled:
221 description: whether the DNSaaS configuration section is enabled
225 description: the region of the cloud instance providing the Designate DNS as a Service
229 description: the keystone URL of the cloud instance providing the Designate DNS as a Service
233 description: the username of the cloud instance providing the Designate DNS as a Service
237 description: the password of the cloud instance providing the Designate DNS as a Service
241 description: the name of the tenant in the cloud instance providing the Designate DNS as a Service
245 description: the keystone URL for DCAE to use (via MultiCloud)
249 description: the private key of the key-apir used between the DCAE bootstrap container and DCAE VMs
253 description: the prublic key of the key-apir used between the DCAE bootstrap container and DCAE VMs
257 description: the id/name of the CentOS 7 VM imange
261 description: the top level domain to register DCAE VMs (the zone will be random-str.dcae_domain)
263 #####################
265 # ONAP repositories #
267 #####################
302 ################################
304 # Docker versions and branches #
306 ################################
338 mvim_openstack_docker:
363 vfc_ztevnfmdriver_docker:
365 vfc_ztesdncdriver_docker:
373 vfc_resmanagement_docker:
379 vfc_jujudriver_docker:
381 vfc_gvnfmdriver_docker:
383 vfc_emsdriver_docker:
387 vfc_wfengine_mgrservice_docker:
389 vfc_wfengine_activiti_docker:
440 type: OS::Heat::RandomString
444 # Public key used to access ONAP components
446 type: OS::Nova::KeyPair
452 base: { get_param: key_name }
453 rand: { get_resource: random-str }
454 public_key: { get_param: pub_key }
455 save_private_key: false
458 # ONAP security group
460 type: OS::Neutron::SecurityGroup
467 rand: { get_resource: random-str }
468 description: security group used by ONAP
480 port_range_max: 65535
483 port_range_max: 65535
487 # ONAP management private network
489 type: OS::Neutron::Net
493 template: oam_onap_rand
495 rand: { get_resource: random-str }
498 type: OS::Neutron::Subnet
502 template: oam_onap_rand
504 rand: { get_resource: random-str }
505 network_id: { get_resource: oam_onap }
506 cidr: { get_param: oam_network_cidr }
507 dns_nameservers: { get_param: dns_list }
510 type: OS::Neutron::Router
512 external_gateway_info:
513 network: { get_param: public_net_id }
516 type: OS::Neutron::RouterInterface
518 router_id: { get_resource: router }
519 subnet_id: { get_resource: oam_onap_subnet }
522 # DNS Server instantiation
524 type: OS::Neutron::Port
526 network: { get_resource: oam_onap }
527 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
529 - { get_resource: onap_sg }
532 type: OS::Neutron::FloatingIP
534 floating_network_id: { get_param: public_net_id }
535 port_id: { get_resource: dns_private_port }
538 type: OS::Nova::Server
540 image: { get_param: ubuntu_1404_image }
541 flavor: { get_param: flavor_small }
544 template: base-dns-server
546 base: { get_param: vm_base_name }
547 key_name: { get_resource: vm_key }
549 - port: { get_resource: dns_private_port }
550 user_data_format: RAW
554 __nexus_repo__: { get_param: nexus_repo }
555 __artifacts_version__: { get_param: artifacts_version }
556 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
557 __dns_ip_addr__: { get_param: dns_ip_addr }
558 __aai1_ip_addr__: { get_param: aai1_ip_addr }
559 __aai2_ip_addr__: { get_param: aai2_ip_addr }
560 __appc_ip_addr__: { get_param: appc_ip_addr }
561 __dcae_ip_addr__: { get_param: dcae_ip_addr }
562 __so_ip_addr__: { get_param: so_ip_addr }
563 __mr_ip_addr__: { get_param: mr_ip_addr }
564 __policy_ip_addr__: { get_param: policy_ip_addr }
565 __portal_ip_addr__: { get_param: portal_ip_addr }
566 __robot_ip_addr__: { get_param: robot_ip_addr }
567 __sdc_ip_addr__: { get_param: sdc_ip_addr }
568 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
569 __vid_ip_addr__: { get_param: vid_ip_addr }
570 __clamp_ip_addr__: { get_param: clamp_ip_addr }
571 __openo_ip_addr__: { get_param: openo_ip_addr }
572 __music_ip_addr__: { get_param: music_ip_addr }
573 __oof_ip_addr__: { get_param: oof_ip_addr }
574 __aaf_ip_addr__: { get_param: aaf_ip_addr }
575 __cloud_env__: { get_param: cloud_env }
576 __external_dns__: { get_param: external_dns }
577 __dns_forwarder__: { get_param: dns_forwarder }
581 # Create configuration files
583 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
584 echo "__cloud_env__" > /opt/config/cloud_env.txt
585 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
586 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
587 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
588 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
589 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
590 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
591 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
592 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
593 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
594 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
595 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
596 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
597 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
598 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
599 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
600 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
601 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
602 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
603 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
604 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
605 echo "__external_dns__" > /opt/config/external_dns.txt
606 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
608 # Download and run install script
609 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
611 chmod +x dns_install.sh
615 # A&AI instantiation (2 VMs)
617 type: OS::Neutron::Port
619 network: { get_resource: oam_onap }
620 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
622 - { get_resource: onap_sg }
625 type: OS::Neutron::FloatingIP
627 floating_network_id: { get_param: public_net_id }
628 port_id: { get_resource: aai1_private_port }
631 type: OS::Nova::Server
634 image: { get_param: ubuntu_1404_image }
635 flavor: { get_param: flavor_large }
638 template: base-aai-inst1
640 base: { get_param: vm_base_name }
641 key_name: { get_resource: vm_key }
643 - port: { get_resource: aai1_private_port }
644 user_data_format: RAW
648 __nexus_repo__: { get_param: nexus_repo }
649 __nexus_docker_repo__: { get_param: nexus_docker_repo }
650 __nexus_username__: { get_param: nexus_username }
651 __nexus_password__: { get_param: nexus_password }
652 __dmaap_topic__: { get_param: dmaap_topic }
653 __artifacts_version__: { get_param: artifacts_version }
654 __dns_ip_addr__: { get_param: dns_ip_addr }
655 __docker_version__: { get_param: aai_docker }
656 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
657 __gerrit_branch__: { get_param: aai_branch }
658 __cloud_env__: { get_param: cloud_env }
659 __external_dns__: { get_param: external_dns }
660 __aai_repo__: { get_param: aai_repo }
664 # Create configuration files
666 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
667 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
668 echo "__nexus_username__" > /opt/config/nexus_username.txt
669 echo "__nexus_password__" > /opt/config/nexus_password.txt
670 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
671 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
672 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
673 echo "__docker_version__" > /opt/config/docker_version.txt
674 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
675 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
676 echo "aai_instance_1" > /opt/config/aai_instance.txt
677 echo "__cloud_env__" > /opt/config/cloud_env.txt
678 echo "__external_dns__" > /opt/config/external_dns.txt
679 echo "__aai_repo__" > /opt/config/remote_repo.txt
681 # Download and run install script
682 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
684 chmod +x aai_install.sh
689 type: OS::Neutron::Port
691 network: { get_resource: oam_onap }
692 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
694 - { get_resource: onap_sg }
697 type: OS::Neutron::FloatingIP
699 floating_network_id: { get_param: public_net_id }
700 port_id: { get_resource: aai2_private_port }
703 type: OS::Nova::Server
705 image: { get_param: ubuntu_1404_image }
706 flavor: { get_param: flavor_large }
709 template: base-aai-inst2
711 base: { get_param: vm_base_name }
712 key_name: { get_resource: vm_key }
714 - port: { get_resource: aai2_private_port }
715 user_data_format: RAW
719 __nexus_repo__: { get_param: nexus_repo }
720 __nexus_docker_repo__: { get_param: nexus_docker_repo }
721 __nexus_username__: { get_param: nexus_username }
722 __nexus_password__: { get_param: nexus_password }
723 __dmaap_topic__: { get_param: dmaap_topic }
724 __artifacts_version__: { get_param: artifacts_version }
725 __dns_ip_addr__: { get_param: dns_ip_addr }
726 __docker_version__: { get_param: aai_docker }
727 __gerrit_branch__: { get_param: aai_branch }
728 __cloud_env__: { get_param: cloud_env }
729 __external_dns__: { get_param: external_dns }
730 __aai_repo__: { get_param: aai_repo }
734 # Create configuration files
736 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
737 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
738 echo "__nexus_username__" > /opt/config/nexus_username.txt
739 echo "__nexus_password__" > /opt/config/nexus_password.txt
740 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
741 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
742 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
743 echo "__docker_version__" > /opt/config/docker_version.txt
744 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
745 echo "aai_instance_2" > /opt/config/aai_instance.txt
746 echo "__cloud_env__" > /opt/config/cloud_env.txt
747 echo "__external_dns__" > /opt/config/external_dns.txt
748 echo "__aai_repo__" > /opt/config/remote_repo.txt
750 # Download and run install script
751 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
753 chmod +x aai_install.sh
759 type: OS::Neutron::Port
761 network: { get_resource: oam_onap }
762 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
764 - { get_resource: onap_sg }
767 type: OS::Neutron::FloatingIP
769 floating_network_id: { get_param: public_net_id }
770 port_id: { get_resource: so_private_port }
773 type: OS::Nova::Server
775 image: { get_param: ubuntu_1604_image }
776 flavor: { get_param: flavor_medium }
781 base: { get_param: vm_base_name }
782 key_name: { get_resource: vm_key }
784 - port: { get_resource: so_private_port }
785 user_data_format: RAW
789 __nexus_repo__: { get_param: nexus_repo }
790 __nexus_docker_repo__: { get_param: nexus_docker_repo }
791 __nexus_username__: { get_param: nexus_username }
792 __nexus_password__: { get_param: nexus_password }
793 __openstack_username__: { get_param: openstack_username }
794 __openstack_tenant_id__: { get_param: openstack_tenant_id }
795 __openstack_api_key__: { get_param: openstack_api_key }
796 __openstack_region__: { get_param: openstack_region }
797 __keystone_url__: { get_param: keystone_url }
798 __dmaap_topic__: { get_param: dmaap_topic }
799 __artifacts_version__: { get_param: artifacts_version }
800 __dns_ip_addr__: { get_param: dns_ip_addr }
801 __openo_ip__: { get_param: openo_ip_addr }
802 __docker_version__: { get_param: so_docker }
803 __gerrit_branch__: { get_param: so_branch }
804 __cloud_env__: { get_param: cloud_env }
805 __external_dns__: { get_param: external_dns }
806 __so_repo__: { get_param: so_repo }
810 # Create configuration files
812 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
813 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
814 echo "__nexus_username__" > /opt/config/nexus_username.txt
815 echo "__nexus_password__" > /opt/config/nexus_password.txt
816 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
817 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
818 echo "__openo_ip__" > /opt/config/openo_ip.txt
819 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
820 echo "__openstack_username__" > /opt/config/openstack_username.txt
821 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
822 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
823 echo "__openstack_region__" > /opt/config/openstack_region.txt
824 echo "__keystone_url__" > /opt/config/keystone.txt
825 echo "__docker_version__" > /opt/config/docker_version.txt
826 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
827 echo "__cloud_env__" > /opt/config/cloud_env.txt
828 echo "__external_dns__" > /opt/config/external_dns.txt
829 echo "__so_repo__" > /opt/config/remote_repo.txt
831 # Download and run install script
832 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
834 chmod +x so_install.sh
838 # Message Router instantiation
839 mrouter_private_port:
840 type: OS::Neutron::Port
842 network: { get_resource: oam_onap }
843 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
845 - { get_resource: onap_sg }
848 type: OS::Neutron::FloatingIP
850 floating_network_id: { get_param: public_net_id }
851 port_id: { get_resource: mrouter_private_port }
854 type: OS::Nova::Server
856 image: { get_param: ubuntu_1404_image }
857 flavor: { get_param: flavor_medium }
860 template: base-message-router
862 base: { get_param: vm_base_name }
863 key_name: { get_resource: vm_key }
865 - port: { get_resource: mrouter_private_port }
866 user_data_format: RAW
870 __nexus_repo__: { get_param: nexus_repo }
871 __nexus_docker_repo__: { get_param: nexus_docker_repo }
872 __nexus_username__: { get_param: nexus_username }
873 __nexus_password__: { get_param: nexus_password }
874 __artifacts_version__: { get_param: artifacts_version }
875 __dns_ip_addr__: { get_param: dns_ip_addr }
876 __gerrit_branch__: { get_param: mr_branch }
877 __cloud_env__: { get_param: cloud_env }
878 __external_dns__: { get_param: external_dns }
879 __mr_repo__: { get_param: mr_repo }
880 __dbcl_docker__: { get_param: dbcl_docker }
884 # Create configuration files
886 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
887 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
888 echo "__nexus_username__" > /opt/config/nexus_username.txt
889 echo "__nexus_password__" > /opt/config/nexus_password.txt
890 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
891 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
892 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
893 echo "__cloud_env__" > /opt/config/cloud_env.txt
894 echo "__external_dns__" > /opt/config/external_dns.txt
895 echo "__mr_repo__" > /opt/config/remote_repo.txt
896 echo "__dbcl_docker__" > /opt/config/docker_version.txt
898 # Download and run install script
899 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
901 chmod +x mr_install.sh
905 # Robot Framework instantiation
907 type: OS::Neutron::Port
909 network: { get_resource: oam_onap }
910 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
912 - { get_resource: onap_sg }
915 type: OS::Neutron::FloatingIP
917 floating_network_id: { get_param: public_net_id }
918 port_id: { get_resource: robot_private_port }
921 type: OS::Nova::Server
923 image: { get_param: ubuntu_1604_image }
924 flavor: { get_param: flavor_small }
929 base: { get_param: vm_base_name }
930 key_name: { get_resource: vm_key }
932 - port: { get_resource: robot_private_port }
933 user_data_format: RAW
937 __nexus_repo__: { get_param: nexus_repo }
938 __nexus_docker_repo__: { get_param: nexus_docker_repo }
939 __nexus_username__: { get_param: nexus_username }
940 __nexus_password__: { get_param: nexus_password }
941 __network_name__: { get_attr: [oam_onap, name] }
942 __openstack_username__: { get_param: openstack_username }
943 __openstack_api_key__: { get_param : openstack_api_key }
944 __openstack_tenant_id__: { get_param: openstack_tenant_id }
945 __artifacts_version__: { get_param: artifacts_version }
946 __openstack_region__: { get_param: openstack_region }
947 __dns_ip_addr__: { get_param: dns_ip_addr }
948 __gerrit_branch__: { get_param: robot_branch }
949 __cloud_env__: { get_param: cloud_env }
950 __keystone_url__: { get_param: keystone_url }
951 __aai1_ip_addr__: { get_param: aai1_ip_addr }
952 __aai2_ip_addr__: { get_param: aai2_ip_addr }
953 __appc_ip_addr__: { get_param: appc_ip_addr }
954 __dcae_ip_addr__: { get_param: dcae_ip_addr }
955 __so_ip_addr__: { get_param: so_ip_addr }
956 __mr_ip_addr__: { get_param: mr_ip_addr }
957 __policy_ip_addr__: { get_param: policy_ip_addr }
958 __portal_ip_addr__: { get_param: portal_ip_addr }
959 __sdc_ip_addr__: { get_param: sdc_ip_addr }
960 __sdc_fe_ip_addr__: { get_param: sdc_ip_addr }
961 __sdc_be_ip_addr__: { get_param: sdc_ip_addr }
962 __sdc_be_onboard_ip_addr__: { get_param: sdc_ip_addr }
963 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
964 __vid_ip_addr__: { get_param: vid_ip_addr }
965 __clamp_ip_addr__: { get_param: clamp_ip_addr }
966 __openo_ip_addr__: { get_param: openo_ip_addr }
967 __clamp_ip_addr__: { get_param: clamp_ip_addr }
968 __openo_ip_addr__: { get_param: openo_ip_addr }
969 __music_ip_addr__: { get_param: music_ip_addr }
970 __nbi_ip_addr__: { get_param: nbi_ip_addr }
971 __external_dns__: { get_param: external_dns }
972 __vm_image_name__: { get_param: ubuntu_1404_image }
973 __vm_flavor__: { get_param: flavor_medium }
974 __public_net_id__: { get_param: public_net_id }
975 __script_version__: { get_param: artifacts_version }
976 __robot_repo__: { get_param: robot_repo }
977 __docker_version__: { get_param: robot_docker }
981 # Create configuration files
983 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
984 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
985 echo "__nexus_username__" > /opt/config/nexus_username.txt
986 echo "__nexus_password__" > /opt/config/nexus_password.txt
987 echo "__network_name__" > /opt/config/network.txt
988 echo "__openstack_username__" > /opt/config/openstack_username.txt
989 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
990 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
991 echo "__openstack_region__" > /opt/config/region.txt
992 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
993 echo "__docker_version__" > /opt/config/docker_version.txt
994 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
995 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
996 echo "__keystone_url__" > /opt/config/keystone.txt
997 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
998 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
999 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
1000 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1001 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
1002 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1003 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1004 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
1005 echo "__portal_ip_addr__" > /opt/config/cli_ip_addr.txt
1006 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1007 echo "__sdc_fe_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
1008 echo "__sdc_be_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
1009 echo "__sdc_be_onboard_ip_addr__" > /opt/config/sdc_be_onboard_ip_addr.txt
1010 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
1011 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
1012 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
1013 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1014 echo "__openo_ip_addr__" > /opt/config/vnfsdk_ip_addr.txt
1015 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
1016 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
1017 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
1018 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
1019 echo "__cloud_env__" > /opt/config/cloud_env.txt
1020 echo "__external_dns__" > /opt/config/external_dns.txt
1021 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
1022 echo "__vm_flavor__" > /opt/config/vm_flavor.txt
1023 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1024 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1025 echo "__script_version__" > /opt/config/script_version.txt
1026 echo "__public_net_id__" > /opt/config/public_net_id.txt
1027 echo "__robot_repo__" > /opt/config/remote_repo.txt
1028 echo "localhost" > /opt/config/log_elasticsearch_ip_addr.txt # these tests will be skipped by robot
1029 echo "localhost" > /opt/config/log_logstash_ip_addr.txt # these tests will be skipped by robot
1030 echo "localhost" > /opt/config/log_kibana_ip_addr.txt # these tests will be skipped by robot
1032 # Download and run install script
1033 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1035 chmod +x robot_install.sh
1041 type: OS::Neutron::Port
1043 network: { get_resource: oam_onap }
1044 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1046 - { get_resource: onap_sg }
1049 type: OS::Neutron::FloatingIP
1051 floating_network_id: { get_param: public_net_id }
1052 port_id: { get_resource: vid_private_port }
1055 type: OS::Nova::Server
1057 image: { get_param: ubuntu_1404_image }
1058 flavor: { get_param: flavor_medium }
1063 base: { get_param: vm_base_name }
1064 key_name: { get_resource: vm_key }
1066 - port: { get_resource: vid_private_port }
1067 user_data_format: RAW
1071 __nexus_repo__: { get_param: nexus_repo }
1072 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1073 __nexus_username__: { get_param: nexus_username }
1074 __nexus_password__: { get_param: nexus_password }
1075 __artifacts_version__: { get_param: artifacts_version }
1076 __dns_ip_addr__: { get_param: dns_ip_addr }
1077 __docker_version__: { get_param: vid_docker }
1078 __gerrit_branch__: { get_param: vid_branch }
1079 __cloud_env__: { get_param: cloud_env }
1080 __external_dns__: { get_param: external_dns }
1081 __vid_repo__: { get_param: vid_repo }
1085 # Create configuration files
1086 mkdir -p /opt/config
1087 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1088 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1089 echo "__nexus_username__" > /opt/config/nexus_username.txt
1090 echo "__nexus_password__" > /opt/config/nexus_password.txt
1091 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1092 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1093 echo "__docker_version__" > /opt/config/docker_version.txt
1094 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1095 echo "__cloud_env__" > /opt/config/cloud_env.txt
1096 echo "__external_dns__" > /opt/config/external_dns.txt
1097 echo "__vid_repo__" > /opt/config/remote_repo.txt
1099 # Download and run install script
1100 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1102 chmod +x vid_install.sh
1106 # SDN-C instantiation
1108 type: OS::Neutron::Port
1110 network: { get_resource: oam_onap }
1111 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1113 - { get_resource: onap_sg }
1116 type: OS::Neutron::FloatingIP
1118 floating_network_id: { get_param: public_net_id }
1119 port_id: { get_resource: sdnc_private_port }
1122 type: OS::Nova::Server
1124 image: { get_param: ubuntu_1404_image }
1125 flavor: { get_param: flavor_medium }
1130 base: { get_param: vm_base_name }
1131 key_name: { get_resource: vm_key }
1133 - port: { get_resource: sdnc_private_port }
1134 user_data_format: RAW
1138 __nexus_repo__: { get_param: nexus_repo }
1139 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1140 __nexus_username__: { get_param: nexus_username }
1141 __nexus_password__: { get_param: nexus_password }
1142 __artifacts_version__: { get_param: artifacts_version }
1143 __dns_ip_addr__: { get_param: dns_ip_addr }
1144 __docker_version__: { get_param: sdnc_docker }
1145 __gerrit_branch__: { get_param: sdnc_branch }
1146 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1147 __cloud_env__: { get_param: cloud_env }
1148 __external_dns__: { get_param: external_dns }
1149 __sdnc_repo__: { get_param: sdnc_repo }
1153 # Create configuration files
1154 mkdir -p /opt/config
1155 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1156 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1157 echo "__nexus_username__" > /opt/config/nexus_username.txt
1158 echo "__nexus_password__" > /opt/config/nexus_password.txt
1159 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1160 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1161 echo "__docker_version__" > /opt/config/docker_version.txt
1162 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1163 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1164 echo "__cloud_env__" > /opt/config/cloud_env.txt
1165 echo "__external_dns__" > /opt/config/external_dns.txt
1166 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1168 # Download and run install script
1169 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1171 chmod +x sdnc_install.sh
1177 type: OS::Neutron::Port
1179 network: { get_resource: oam_onap }
1180 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1182 - { get_resource: onap_sg }
1185 type: OS::Neutron::FloatingIP
1187 floating_network_id: { get_param: public_net_id }
1188 port_id: { get_resource: sdc_private_port }
1191 type: OS::Cinder::Volume
1197 type: OS::Nova::Server
1199 image: { get_param: ubuntu_1604_image }
1200 flavor: { get_param: flavor_large }
1205 base: { get_param: vm_base_name }
1206 key_name: { get_resource: vm_key }
1208 - port: { get_resource: sdc_private_port }
1209 block_device_mapping:
1210 - device_name: /dev/vdb
1211 volume_id: {get_resource: sdc_volume_data}
1212 user_data_format: RAW
1216 __nexus_repo__: { get_param: nexus_repo }
1217 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1218 __nexus_username__: { get_param: nexus_username }
1219 __nexus_password__: { get_param: nexus_password }
1220 __env_name__: { get_param: dmaap_topic }
1221 __artifacts_version__: { get_param: artifacts_version }
1222 __dns_ip_addr__: { get_param: dns_ip_addr }
1223 __mr_ip_addr__: { get_param: mr_ip_addr }
1224 __private_ip__: { get_param: sdc_ip_addr }
1225 __docker_version__: { get_param: sdc_docker }
1226 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1227 __gerrit_branch__: { get_param: sdc_branch }
1228 __cloud_env__: { get_param: cloud_env }
1229 __external_dns__: { get_param: external_dns }
1230 __sdc_repo__: { get_param: sdc_repo }
1234 # Create configuration files
1235 mkdir -p /opt/config
1236 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1237 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1238 echo "__nexus_username__" > /opt/config/nexus_username.txt
1239 echo "__nexus_password__" > /opt/config/nexus_password.txt
1240 echo "__env_name__" > /opt/config/env_name.txt
1241 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1242 echo "__private_ip__" > /opt/config/private_ip.txt
1243 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1244 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1245 echo "__docker_version__" > /opt/config/docker_version.txt
1246 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1247 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1248 echo "__cloud_env__" > /opt/config/cloud_env.txt
1249 echo "__external_dns__" > /opt/config/external_dns.txt
1250 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1252 # Download and run install script
1253 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1255 chmod +x sdc_install.sh
1259 # PORTAL instantiation
1260 portal_private_port:
1261 type: OS::Neutron::Port
1263 network: { get_resource: oam_onap }
1264 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1266 - { get_resource: onap_sg }
1269 type: OS::Neutron::FloatingIP
1271 floating_network_id: { get_param: public_net_id }
1272 port_id: { get_resource: portal_private_port }
1275 type: OS::Nova::Server
1277 image: { get_param: ubuntu_1404_image }
1278 flavor: { get_param: flavor_medium }
1281 template: base-portal
1283 base: { get_param: vm_base_name }
1284 key_name: { get_resource: vm_key }
1286 - port: { get_resource: portal_private_port }
1287 user_data_format: RAW
1291 __nexus_repo__: { get_param: nexus_repo }
1292 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1293 __nexus_username__: { get_param: nexus_username }
1294 __nexus_password__: { get_param: nexus_password }
1295 __artifacts_version__: { get_param: artifacts_version }
1296 __dns_ip_addr__: { get_param: dns_ip_addr }
1297 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1298 __docker_version__: { get_param: portal_docker }
1299 __gerrit_branch__: { get_param: portal_branch }
1300 __cli_docker__: { get_param: cli_docker }
1301 __cloud_env__: { get_param: cloud_env }
1302 __external_dns__: { get_param: external_dns }
1303 __portal_repo__: { get_param: portal_repo }
1307 # Create configuration files
1308 mkdir -p /opt/config
1309 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1310 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1311 echo "__nexus_username__" > /opt/config/nexus_username.txt
1312 echo "__nexus_password__" > /opt/config/nexus_password.txt
1313 echo "__public_ip__" > /opt/config/public_ip.txt
1314 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1315 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1316 echo "__docker_version__" > /opt/config/docker_version.txt
1317 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1318 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1319 echo "__cloud_env__" > /opt/config/cloud_env.txt
1320 echo "__external_dns__" > /opt/config/external_dns.txt
1321 echo "__portal_repo__" > /opt/config/remote_repo.txt
1323 # Download and run install script
1324 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1326 chmod +x portal_install.sh
1330 # Policy Engine instantiation
1331 policy_private_port:
1332 type: OS::Neutron::Port
1334 network: { get_resource: oam_onap }
1335 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1337 - { get_resource: onap_sg }
1340 type: OS::Neutron::FloatingIP
1342 floating_network_id: { get_param: public_net_id }
1343 port_id: { get_resource: policy_private_port }
1346 type: OS::Nova::Server
1348 image: { get_param: ubuntu_1404_image }
1349 flavor: { get_param: flavor_medium }
1352 template: base-policy
1354 base: { get_param: vm_base_name }
1355 key_name: { get_resource: vm_key }
1357 - port: { get_resource: policy_private_port }
1358 user_data_format: RAW
1362 __nexus_repo__: { get_param: nexus_repo }
1363 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1364 __nexus_username__: { get_param: nexus_username }
1365 __nexus_password__: { get_param: nexus_password }
1366 __artifacts_version__: { get_param: artifacts_version }
1367 __dns_ip_addr__: { get_param: dns_ip_addr }
1368 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1369 __docker_version__: { get_param: policy_docker }
1370 __gerrit_branch__: { get_param: policy_branch }
1371 __cloud_env__: { get_param: cloud_env }
1372 __external_dns__: { get_param: external_dns }
1373 __policy_repo__: { get_param: policy_repo }
1377 # Create configuration files
1378 mkdir -p /opt/config
1379 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1380 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1381 echo "__nexus_username__" > /opt/config/nexus_username.txt
1382 echo "__nexus_password__" > /opt/config/nexus_password.txt
1383 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1384 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1385 echo "__public_ip__" > /opt/config/public_ip.txt
1386 echo "__docker_version__" > /opt/config/docker_version.txt
1387 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1388 echo "__cloud_env__" > /opt/config/cloud_env.txt
1389 echo "__external_dns__" > /opt/config/external_dns.txt
1390 echo "__policy_repo__" > /opt/config/remote_repo.txt
1392 # Download and run install script
1393 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1395 chmod +x policy_install.sh
1399 # APP-C instantiation
1401 type: OS::Neutron::Port
1403 network: { get_resource: oam_onap }
1404 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1406 - { get_resource: onap_sg }
1409 type: OS::Neutron::FloatingIP
1411 floating_network_id: { get_param: public_net_id }
1412 port_id: { get_resource: appc_private_port }
1415 type: OS::Nova::Server
1417 image: { get_param: ubuntu_1404_image }
1418 flavor: { get_param: flavor_medium }
1423 base: { get_param: vm_base_name }
1424 key_name: { get_resource: vm_key }
1426 - port: { get_resource: appc_private_port }
1427 user_data_format: RAW
1431 __nexus_repo__: { get_param: nexus_repo }
1432 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1433 __nexus_username__: { get_param: nexus_username }
1434 __nexus_password__: { get_param: nexus_password }
1435 __dmaap_topic__: { get_param: dmaap_topic }
1436 __artifacts_version__: { get_param: artifacts_version }
1437 __dns_ip_addr__: { get_param: dns_ip_addr }
1438 __docker_version__: { get_param: appc_docker }
1439 __gerrit_branch__: { get_param: appc_branch }
1440 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1441 __cloud_env__: { get_param: cloud_env }
1442 __external_dns__: { get_param: external_dns }
1443 __appc_repo__: { get_param: appc_repo }
1447 # Create configuration files
1448 mkdir -p /opt/config
1449 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1450 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1451 echo "__nexus_username__" > /opt/config/nexus_username.txt
1452 echo "__nexus_password__" > /opt/config/nexus_password.txt
1453 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1454 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1455 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1456 echo "__docker_version__" > /opt/config/docker_version.txt
1457 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1458 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1459 echo "__cloud_env__" > /opt/config/cloud_env.txt
1460 echo "__external_dns__" > /opt/config/external_dns.txt
1461 echo "__appc_repo__" > /opt/config/remote_repo.txt
1463 # Download and run install script
1464 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1466 chmod +x appc_install.sh
1470 # CLAMP instantiation
1472 type: OS::Neutron::Port
1474 network: { get_resource: oam_onap }
1475 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1477 - { get_resource: onap_sg }
1480 type: OS::Neutron::FloatingIP
1482 floating_network_id: { get_param: public_net_id }
1483 port_id: { get_resource: clamp_private_port }
1486 type: OS::Nova::Server
1488 image: { get_param: ubuntu_1604_image }
1489 flavor: { get_param: flavor_medium }
1492 template: base-clamp
1494 base: { get_param: vm_base_name }
1495 key_name: { get_resource: vm_key }
1497 - port: { get_resource: clamp_private_port }
1498 user_data_format: RAW
1502 __nexus_repo__: { get_param: nexus_repo }
1503 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1504 __nexus_username__: { get_param: nexus_username }
1505 __nexus_password__: { get_param: nexus_password }
1506 __openstack_username__: { get_param: openstack_username }
1507 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1508 __openstack_api_key__: { get_param: openstack_api_key }
1509 __openstack_region__: { get_param: openstack_region }
1510 __keystone_url__: { get_param: keystone_url }
1511 __dmaap_topic__: { get_param: dmaap_topic }
1512 __artifacts_version__: { get_param: artifacts_version }
1513 __dns_ip_addr__: { get_param: dns_ip_addr }
1514 __docker_version__: { get_param: clamp_docker }
1515 __gerrit_branch__: { get_param: clamp_branch }
1516 __cloud_env__: { get_param: cloud_env }
1517 __external_dns__: { get_param: external_dns }
1518 __clamp_repo__: { get_param: clamp_repo }
1522 # Create configuration files
1523 mkdir -p /opt/config
1524 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1525 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1526 echo "__nexus_username__" > /opt/config/nexus_username.txt
1527 echo "__nexus_password__" > /opt/config/nexus_password.txt
1528 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1529 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1530 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1531 echo "__openstack_username__" > /opt/config/openstack_username.txt
1532 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1533 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1534 echo "__openstack_region__" > /opt/config/openstack_region.txt
1535 echo "__keystone_url__" > /opt/config/keystone.txt
1536 echo "__docker_version__" > /opt/config/docker_version.txt
1537 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1538 echo "__cloud_env__" > /opt/config/cloud_env.txt
1539 echo "__external_dns__" > /opt/config/external_dns.txt
1540 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1542 # Download and run install script
1543 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1545 chmod +x clamp_install.sh
1549 # OPEN-O VM instantiation
1551 type: OS::Neutron::Port
1553 network: { get_resource: oam_onap }
1554 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1556 - { get_resource: onap_sg }
1559 type: OS::Neutron::FloatingIP
1561 floating_network_id: { get_param: public_net_id }
1562 port_id: { get_resource: openo_private_port }
1565 type: OS::Nova::Server
1567 image: { get_param: ubuntu_1604_image }
1568 flavor: { get_param: flavor_large }
1571 template: base-multi-service
1573 base: { get_param: vm_base_name }
1574 key_name: { get_resource: vm_key }
1576 - port: { get_resource: openo_private_port }
1577 user_data_format: RAW
1581 __nexus_repo__: { get_param: nexus_repo }
1582 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1583 __nexus_username__: { get_param: nexus_username }
1584 __nexus_password__: { get_param: nexus_password }
1585 __artifacts_version__: { get_param: artifacts_version }
1586 __dns_ip_addr__: { get_param: dns_ip_addr }
1587 __oam_network_cidr__: { get_param: oam_network_cidr }
1588 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1589 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1590 __appc_ip_addr__: { get_param: appc_ip_addr }
1591 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1592 __so_ip_addr__: { get_param: so_ip_addr }
1593 __mr_ip_addr__: { get_param: mr_ip_addr }
1594 __policy_ip_addr__: { get_param: policy_ip_addr }
1595 __portal_ip_addr__: { get_param: portal_ip_addr }
1596 __robot_ip_addr__: { get_param: robot_ip_addr }
1597 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1598 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1599 __vid_ip_addr__: { get_param: vid_ip_addr }
1600 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1601 __openo_ip_addr__: { get_param: openo_ip_addr }
1602 __cloud_env__: { get_param: cloud_env }
1603 __external_dns__: { get_param: external_dns }
1604 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1605 __msb_docker__: { get_param: msb_docker }
1606 __mvim_docker__: { get_param: mvim_docker }
1607 __mvim_openstack_docker__: { get_param: mvim_openstack_docker }
1608 __uui_docker__: { get_param: uui_docker }
1609 __esr_docker__: { get_param: esr_docker }
1610 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1611 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1612 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1613 __cbam_ip__: { get_param: cbam_ip }
1614 __cbam_username__: { get_param: cbam_username }
1615 __cbam_password__: { get_param: cbam_password }
1616 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1617 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1618 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1619 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1620 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1621 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1622 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1623 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1624 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1625 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1626 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1627 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1628 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1629 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1630 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1634 # Create configuration files
1635 mkdir -p /opt/config
1636 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1637 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1638 echo "__nexus_username__" > /opt/config/nexus_username.txt
1639 echo "__nexus_password__" > /opt/config/nexus_password.txt
1640 echo "__cloud_env__" > /opt/config/cloud_env.txt
1641 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1642 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1643 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1644 echo "__external_dns__" > /opt/config/external_dns.txt
1645 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1646 echo "__msb_docker__" > /opt/config/msb_docker.txt
1647 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1648 echo "__mvim_openstack_docker__" > /opt/config/mvim_openstack_docker.txt
1649 echo "__uui_docker__" > /opt/config/uui_docker.txt
1650 echo "__esr_docker__" > /opt/config/esr_docker.txt
1651 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1652 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1653 echo "__cbam_username__" > /opt/config/cbam_username.txt
1654 echo "__cbam_password__" > /opt/config/cbam_password.txt
1656 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1657 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1658 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1659 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1660 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1661 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1662 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1663 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1664 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1665 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1666 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1667 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1668 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1669 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1670 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1671 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1672 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1674 # Create env file with the IP address of all ONAP components
1675 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1676 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1677 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1678 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1679 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1680 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1681 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1682 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1683 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1684 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1685 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1686 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1687 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1688 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1690 # Download and run install script
1691 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1693 chmod +x openo_install.sh
1697 # DCAE GEN 2 Controller instantiation
1698 dcae_c_private_port:
1699 type: OS::Neutron::Port
1701 network: { get_resource: oam_onap }
1702 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1704 - { get_resource: onap_sg }
1707 type: OS::Neutron::FloatingIP
1709 floating_network_id: { get_param: public_net_id }
1710 port_id: { get_resource: dcae_c_private_port }
1713 type: OS::Nova::Server
1715 image: { get_param: ubuntu_1604_image }
1716 flavor: { get_param: flavor_small }
1721 base: { get_param: vm_base_name }
1722 key_name: { get_resource: vm_key }
1724 - port: { get_resource: dcae_c_private_port }
1726 # - { get_resource: onap_sg }
1727 user_data_format: RAW
1731 __rand_str__: { get_resource: random-str }
1733 __artifacts_version__: { get_param: artifacts_version }
1734 __docker_version__: { get_param: dcae_docker }
1735 __nexus_repo__: { get_param: nexus_repo }
1736 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1737 __nexus_username__: { get_param: nexus_username }
1738 __nexus_password__: { get_param: nexus_password }
1739 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1740 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1741 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1742 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1743 __dns_ip_addr__: { get_param: dns_ip_addr }
1744 __external_dns__: { get_param: external_dns }
1745 __dns_forwarder__: { get_param: dns_forwarder }
1746 __dcae_domain__: { get_param: dcae_domain }
1747 # conf for VMs DCAE is to bringup
1748 __openstack_keystone_url__: { get_param: keystone_url }
1749 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1750 __dcaeos_cloud_env__: { get_param: cloud_env }
1751 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1752 __dcaeos_region__: { get_param: openstack_region }
1753 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1754 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1755 __dcaeos_security_group__:
1757 template: 'onap_sg_rand'
1759 rand: { get_resource: random-str }
1760 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1761 __dcaeos_username__: { get_param: openstack_username }
1762 __dcaeos_password__: { get_param: openstack_api_key }
1763 __dcaeos_key_name__: { get_resource: vm_key }
1764 __dcaeos_public_key__: { get_param: dcae_public_key }
1765 __dcaeos_private_key__: { get_param: dcae_private_key }
1766 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1767 __dcaeos_public_network_name__: { get_param: public_net_name }
1768 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1769 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1770 __dcaeos_flavor_id__: { get_param: flavor_medium }
1771 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1772 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1773 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1774 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1775 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1776 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1777 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1779 __mr_ip_addr__: { get_param: mr_ip_addr }
1780 __policy_ip_addr__: { get_param: policy_ip_addr }
1781 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1782 __openo_ip_addr__: { get_param: openo_ip_addr }
1783 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1784 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1786 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1787 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1788 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1789 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1790 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1791 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1792 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1793 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1798 # Create configuration files
1799 mkdir -p /opt/config
1800 echo "__rand_str__" > /opt/config/dcae_zone.txt
1801 echo "__rand_str__" > /opt/config/rand_str.txt
1803 echo "__docker_version__" > /opt/config/docker_version.txt
1804 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1805 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1806 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1807 echo "__nexus_username__" > /opt/config/nexus_username.txt
1808 echo "__nexus_password__" > /opt/config/nexus_password.txt
1809 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1810 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1811 echo "__mac_addr__" > /opt/config/mac_addr.txt
1812 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1813 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1814 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1815 echo "__external_dns__" > /opt/config/external_dns.txt
1816 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1817 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1818 # conf for the OpenStack env where DCAE is deployed
1819 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1820 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1821 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1822 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1823 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1824 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1825 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1826 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1827 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1828 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1829 echo "__dcaeos_private_key__" > /opt/config/priv_key
1830 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1831 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1832 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1833 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1834 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1835 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1836 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1837 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1838 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1839 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1840 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1841 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1842 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1843 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1844 # fixed private IP addresses of other ONAP components
1845 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1846 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1847 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1848 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1849 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1850 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1852 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1853 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1854 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1855 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1856 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1857 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1858 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1859 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1861 # Download and run install script
1862 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1864 chmod +x dcae2_install.sh
1865 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1868 # MUSIC instantiation
1870 type: OS::Neutron::Port
1872 network: { get_resource: oam_onap }
1873 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_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: music_private_port }
1884 type: OS::Nova::Server
1886 image: { get_param: ubuntu_1404_image }
1887 flavor: { get_param: flavor_large }
1890 template: base-music
1892 base: { get_param: vm_base_name }
1893 key_name: { get_resource: vm_key }
1895 - port: { get_resource: music_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: music_docker }
1907 __music_repo__: { get_param: music_repo }
1908 __gerrit_branch__: { get_param: music_branch }
1909 __cloud_env__: { get_param: cloud_env }
1910 __external_dns__: { get_param: external_dns }
1914 # Create configuration files
1915 mkdir -p /opt/config
1916 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1917 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1918 echo "__nexus_username__" > /opt/config/nexus_username.txt
1919 echo "__nexus_password__" > /opt/config/nexus_password.txt
1920 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1921 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1922 echo "__docker_version__" > /opt/config/docker_version.txt
1923 echo "__music_repo__" > /opt/config/remote_repo.txt
1924 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1925 echo "__cloud_env__" > /opt/config/cloud_env.txt
1926 echo "__external_dns__" > /opt/config/external_dns.txt
1928 # Download and run install script
1929 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1931 chmod +x music_install.sh
1937 type: OS::Neutron::Port
1939 network: { get_resource: oam_onap }
1940 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1942 - { get_resource: onap_sg }
1945 type: OS::Neutron::FloatingIP
1947 floating_network_id: { get_param: public_net_id }
1948 port_id: { get_resource: oof_private_port }
1951 type: OS::Nova::Server
1953 image: { get_param: ubuntu_1404_image }
1954 flavor: { get_param: flavor_medium }
1959 base: { get_param: vm_base_name }
1960 key_name: { get_resource: vm_key }
1962 - port: { get_resource: oof_private_port }
1963 user_data_format: RAW
1967 __nexus_repo__: { get_param: nexus_repo }
1968 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1969 __nexus_username__: { get_param: nexus_username }
1970 __nexus_password__: { get_param: nexus_password }
1971 __artifacts_version__: { get_param: artifacts_version }
1972 __dns_ip_addr__: { get_param: dns_ip_addr }
1973 __docker_version__: { get_param: oof_docker }
1974 __oof_repo__: { get_param: oof_repo }
1975 __gerrit_branch__: { get_param: oof_branch }
1976 __cloud_env__: { get_param: cloud_env }
1977 __external_dns__: { get_param: external_dns }
1981 # Create configuration files
1982 mkdir -p /opt/config
1983 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1984 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1985 echo "__nexus_username__" > /opt/config/nexus_username.txt
1986 echo "__nexus_password__" > /opt/config/nexus_password.txt
1987 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1988 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1989 echo "__docker_version__" > /opt/config/docker_version.txt
1990 echo "__oof_repo__" > /opt/config/remote_repo.txt
1991 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1992 echo "__cloud_env__" > /opt/config/cloud_env.txt
1993 echo "__external_dns__" > /opt/config/external_dns.txt
1995 # Download and run install script
1996 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1998 chmod +x oof_install.sh
2004 type: OS::Neutron::Port
2006 network: { get_resource: oam_onap }
2007 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
2009 - { get_resource: onap_sg }
2012 type: OS::Neutron::FloatingIP
2014 floating_network_id: { get_param: public_net_id }
2015 port_id: { get_resource: aaf_private_port }
2018 type: OS::Nova::Server
2020 image: { get_param: ubuntu_1604_image }
2021 flavor: { get_param: flavor_medium }
2026 base: { get_param: vm_base_name }
2027 key_name: { get_resource: vm_key }
2029 - port: { get_resource: aaf_private_port }
2030 user_data_format: RAW
2034 __nexus_repo__: { get_param: nexus_repo }
2035 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2036 __nexus_username__: { get_param: nexus_username }
2037 __nexus_password__: { get_param: nexus_password }
2038 __artifacts_version__: { get_param: artifacts_version }
2039 __dns_ip_addr__: { get_param: dns_ip_addr }
2040 __docker_version__: { get_param: aaf_docker }
2041 __cloud_env__: { get_param: cloud_env }
2042 __external_dns__: { get_param: external_dns }
2043 __aaf_repo__: { get_param: aaf_repo }
2044 __gerrit_branch__: { get_param: aaf_branch }
2045 __local_ip__: { get_param: aaf_ip_addr }
2049 # Create configuration files
2050 mkdir -p /opt/config
2051 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2052 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2053 echo "__nexus_username__" > /opt/config/nexus_username.txt
2054 echo "__nexus_password__" > /opt/config/nexus_password.txt
2055 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2056 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2057 echo "__docker_version__" > /opt/config/docker_version.txt
2058 echo "__cloud_env__" > /opt/config/cloud_env.txt
2059 echo "__external_dns__" > /opt/config/external_dns.txt
2060 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2061 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2062 echo "__local_ip__" > /opt/config/local_ip.txt
2064 # Download and run install script
2065 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2067 chmod +x aaf_install.sh
2072 type: OS::Neutron::Port
2074 network: { get_resource: oam_onap }
2075 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2077 - { get_resource: onap_sg }
2080 type: OS::Neutron::FloatingIP
2082 floating_network_id: { get_param: public_net_id }
2083 port_id: { get_resource: nbi_private_port }
2086 type: OS::Nova::Server
2088 image: { get_param: ubuntu_1604_image }
2089 flavor: { get_param: flavor_small }
2094 base: { get_param: vm_base_name }
2095 key_name: { get_resource: vm_key }
2097 - port: { get_resource: nbi_private_port }
2098 user_data_format: RAW
2102 __nexus_repo__: { get_param: nexus_repo }
2103 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2104 __nexus_username__: { get_param: nexus_username }
2105 __nexus_password__: { get_param: nexus_password }
2106 __artifacts_version__: { get_param: artifacts_version }
2107 __dns_ip_addr__: { get_param: dns_ip_addr }
2108 __docker_version__: { get_param: nbi_docker }
2109 __nbi_repo__: { get_param: nbi_repo }
2110 __gerrit_branch__: { get_param: nbi_branch }
2111 __cloud_env__: { get_param: cloud_env }
2112 __external_dns__: { get_param: external_dns }
2116 # Create configuration files
2117 mkdir -p /opt/config
2118 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2119 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2120 echo "__nexus_username__" > /opt/config/nexus_username.txt
2121 echo "__nexus_password__" > /opt/config/nexus_password.txt
2122 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2123 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2124 echo "__docker_version__" > /opt/config/docker_version.txt
2125 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2126 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2127 echo "__cloud_env__" > /opt/config/cloud_env.txt
2128 echo "__external_dns__" > /opt/config/external_dns.txt
2130 # Download and run install script
2131 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2133 chmod +x nbi_install.sh