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 ################################
361 vfc_ztevnfmdriver_docker:
363 vfc_ztesdncdriver_docker:
371 vfc_resmanagement_docker:
377 vfc_jujudriver_docker:
379 vfc_gvnfmdriver_docker:
381 vfc_emsdriver_docker:
385 vfc_wfengine_mgrservice_docker:
387 vfc_wfengine_activiti_docker:
438 type: OS::Heat::RandomString
442 # Public key used to access ONAP components
444 type: OS::Nova::KeyPair
450 base: { get_param: key_name }
451 rand: { get_resource: random-str }
452 public_key: { get_param: pub_key }
453 save_private_key: false
456 # ONAP security group
458 type: OS::Neutron::SecurityGroup
465 rand: { get_resource: random-str }
466 description: security group used by ONAP
478 port_range_max: 65535
481 port_range_max: 65535
485 # ONAP management private network
487 type: OS::Neutron::Net
491 template: oam_onap_rand
493 rand: { get_resource: random-str }
496 type: OS::Neutron::Subnet
500 template: oam_onap_rand
502 rand: { get_resource: random-str }
503 network_id: { get_resource: oam_onap }
504 cidr: { get_param: oam_network_cidr }
505 dns_nameservers: { get_param: dns_list }
508 type: OS::Neutron::Router
510 external_gateway_info:
511 network: { get_param: public_net_id }
514 type: OS::Neutron::RouterInterface
516 router_id: { get_resource: router }
517 subnet_id: { get_resource: oam_onap_subnet }
520 # DNS Server instantiation
522 type: OS::Neutron::Port
524 network: { get_resource: oam_onap }
525 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
527 - { get_resource: onap_sg }
530 type: OS::Neutron::FloatingIP
532 floating_network_id: { get_param: public_net_id }
533 port_id: { get_resource: dns_private_port }
536 type: OS::Nova::Server
538 image: { get_param: ubuntu_1404_image }
539 flavor: { get_param: flavor_small }
542 template: base-dns-server
544 base: { get_param: vm_base_name }
545 key_name: { get_resource: vm_key }
547 - port: { get_resource: dns_private_port }
548 user_data_format: RAW
552 __nexus_repo__: { get_param: nexus_repo }
553 __artifacts_version__: { get_param: artifacts_version }
554 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
555 __dns_ip_addr__: { get_param: dns_ip_addr }
556 __aai1_ip_addr__: { get_param: aai1_ip_addr }
557 __aai2_ip_addr__: { get_param: aai2_ip_addr }
558 __appc_ip_addr__: { get_param: appc_ip_addr }
559 __dcae_ip_addr__: { get_param: dcae_ip_addr }
560 __so_ip_addr__: { get_param: so_ip_addr }
561 __mr_ip_addr__: { get_param: mr_ip_addr }
562 __policy_ip_addr__: { get_param: policy_ip_addr }
563 __portal_ip_addr__: { get_param: portal_ip_addr }
564 __robot_ip_addr__: { get_param: robot_ip_addr }
565 __sdc_ip_addr__: { get_param: sdc_ip_addr }
566 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
567 __vid_ip_addr__: { get_param: vid_ip_addr }
568 __clamp_ip_addr__: { get_param: clamp_ip_addr }
569 __openo_ip_addr__: { get_param: openo_ip_addr }
570 __music_ip_addr__: { get_param: music_ip_addr }
571 __oof_ip_addr__: { get_param: oof_ip_addr }
572 __aaf_ip_addr__: { get_param: aaf_ip_addr }
573 __cloud_env__: { get_param: cloud_env }
574 __external_dns__: { get_param: external_dns }
575 __dns_forwarder__: { get_param: dns_forwarder }
579 # Create configuration files
581 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
582 echo "__cloud_env__" > /opt/config/cloud_env.txt
583 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
584 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
585 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
586 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
587 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
588 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
589 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
590 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
591 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
592 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
593 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
594 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
595 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
596 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
597 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
598 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
599 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
600 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
601 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
602 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
603 echo "__external_dns__" > /opt/config/external_dns.txt
604 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
606 # Download and run install script
607 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
609 chmod +x dns_install.sh
613 # A&AI instantiation (2 VMs)
615 type: OS::Neutron::Port
617 network: { get_resource: oam_onap }
618 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
620 - { get_resource: onap_sg }
623 type: OS::Neutron::FloatingIP
625 floating_network_id: { get_param: public_net_id }
626 port_id: { get_resource: aai1_private_port }
629 type: OS::Nova::Server
632 image: { get_param: ubuntu_1404_image }
633 flavor: { get_param: flavor_large }
636 template: base-aai-inst1
638 base: { get_param: vm_base_name }
639 key_name: { get_resource: vm_key }
641 - port: { get_resource: aai1_private_port }
642 user_data_format: RAW
646 __nexus_repo__: { get_param: nexus_repo }
647 __nexus_docker_repo__: { get_param: nexus_docker_repo }
648 __nexus_username__: { get_param: nexus_username }
649 __nexus_password__: { get_param: nexus_password }
650 __dmaap_topic__: { get_param: dmaap_topic }
651 __artifacts_version__: { get_param: artifacts_version }
652 __dns_ip_addr__: { get_param: dns_ip_addr }
653 __docker_version__: { get_param: aai_docker }
654 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
655 __gerrit_branch__: { get_param: aai_branch }
656 __cloud_env__: { get_param: cloud_env }
657 __external_dns__: { get_param: external_dns }
658 __aai_repo__: { get_param: aai_repo }
662 # Create configuration files
664 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
665 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
666 echo "__nexus_username__" > /opt/config/nexus_username.txt
667 echo "__nexus_password__" > /opt/config/nexus_password.txt
668 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
669 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
670 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
671 echo "__docker_version__" > /opt/config/docker_version.txt
672 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
673 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
674 echo "aai_instance_1" > /opt/config/aai_instance.txt
675 echo "__cloud_env__" > /opt/config/cloud_env.txt
676 echo "__external_dns__" > /opt/config/external_dns.txt
677 echo "__aai_repo__" > /opt/config/remote_repo.txt
679 # Download and run install script
680 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
682 chmod +x aai_install.sh
687 type: OS::Neutron::Port
689 network: { get_resource: oam_onap }
690 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
692 - { get_resource: onap_sg }
695 type: OS::Neutron::FloatingIP
697 floating_network_id: { get_param: public_net_id }
698 port_id: { get_resource: aai2_private_port }
701 type: OS::Nova::Server
703 image: { get_param: ubuntu_1404_image }
704 flavor: { get_param: flavor_large }
707 template: base-aai-inst2
709 base: { get_param: vm_base_name }
710 key_name: { get_resource: vm_key }
712 - port: { get_resource: aai2_private_port }
713 user_data_format: RAW
717 __nexus_repo__: { get_param: nexus_repo }
718 __nexus_docker_repo__: { get_param: nexus_docker_repo }
719 __nexus_username__: { get_param: nexus_username }
720 __nexus_password__: { get_param: nexus_password }
721 __dmaap_topic__: { get_param: dmaap_topic }
722 __artifacts_version__: { get_param: artifacts_version }
723 __dns_ip_addr__: { get_param: dns_ip_addr }
724 __docker_version__: { get_param: aai_docker }
725 __gerrit_branch__: { get_param: aai_branch }
726 __cloud_env__: { get_param: cloud_env }
727 __external_dns__: { get_param: external_dns }
728 __aai_repo__: { get_param: aai_repo }
732 # Create configuration files
734 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
735 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
736 echo "__nexus_username__" > /opt/config/nexus_username.txt
737 echo "__nexus_password__" > /opt/config/nexus_password.txt
738 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
739 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
740 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
741 echo "__docker_version__" > /opt/config/docker_version.txt
742 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
743 echo "aai_instance_2" > /opt/config/aai_instance.txt
744 echo "__cloud_env__" > /opt/config/cloud_env.txt
745 echo "__external_dns__" > /opt/config/external_dns.txt
746 echo "__aai_repo__" > /opt/config/remote_repo.txt
748 # Download and run install script
749 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
751 chmod +x aai_install.sh
757 type: OS::Neutron::Port
759 network: { get_resource: oam_onap }
760 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
762 - { get_resource: onap_sg }
765 type: OS::Neutron::FloatingIP
767 floating_network_id: { get_param: public_net_id }
768 port_id: { get_resource: so_private_port }
771 type: OS::Nova::Server
773 image: { get_param: ubuntu_1604_image }
774 flavor: { get_param: flavor_medium }
779 base: { get_param: vm_base_name }
780 key_name: { get_resource: vm_key }
782 - port: { get_resource: so_private_port }
783 user_data_format: RAW
787 __nexus_repo__: { get_param: nexus_repo }
788 __nexus_docker_repo__: { get_param: nexus_docker_repo }
789 __nexus_username__: { get_param: nexus_username }
790 __nexus_password__: { get_param: nexus_password }
791 __openstack_username__: { get_param: openstack_username }
792 __openstack_tenant_id__: { get_param: openstack_tenant_id }
793 __openstack_api_key__: { get_param: openstack_api_key }
794 __openstack_region__: { get_param: openstack_region }
795 __keystone_url__: { get_param: keystone_url }
796 __dmaap_topic__: { get_param: dmaap_topic }
797 __artifacts_version__: { get_param: artifacts_version }
798 __dns_ip_addr__: { get_param: dns_ip_addr }
799 __openo_ip__: { get_param: openo_ip_addr }
800 __docker_version__: { get_param: so_docker }
801 __gerrit_branch__: { get_param: so_branch }
802 __cloud_env__: { get_param: cloud_env }
803 __external_dns__: { get_param: external_dns }
804 __so_repo__: { get_param: so_repo }
808 # Create configuration files
810 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
811 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
812 echo "__nexus_username__" > /opt/config/nexus_username.txt
813 echo "__nexus_password__" > /opt/config/nexus_password.txt
814 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
815 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
816 echo "__openo_ip__" > /opt/config/openo_ip.txt
817 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
818 echo "__openstack_username__" > /opt/config/openstack_username.txt
819 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
820 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
821 echo "__openstack_region__" > /opt/config/openstack_region.txt
822 echo "__keystone_url__" > /opt/config/keystone.txt
823 echo "__docker_version__" > /opt/config/docker_version.txt
824 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
825 echo "__cloud_env__" > /opt/config/cloud_env.txt
826 echo "__external_dns__" > /opt/config/external_dns.txt
827 echo "__so_repo__" > /opt/config/remote_repo.txt
829 # Download and run install script
830 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
832 chmod +x so_install.sh
836 # Message Router instantiation
837 mrouter_private_port:
838 type: OS::Neutron::Port
840 network: { get_resource: oam_onap }
841 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
843 - { get_resource: onap_sg }
846 type: OS::Neutron::FloatingIP
848 floating_network_id: { get_param: public_net_id }
849 port_id: { get_resource: mrouter_private_port }
852 type: OS::Nova::Server
854 image: { get_param: ubuntu_1404_image }
855 flavor: { get_param: flavor_medium }
858 template: base-message-router
860 base: { get_param: vm_base_name }
861 key_name: { get_resource: vm_key }
863 - port: { get_resource: mrouter_private_port }
864 user_data_format: RAW
868 __nexus_repo__: { get_param: nexus_repo }
869 __nexus_docker_repo__: { get_param: nexus_docker_repo }
870 __nexus_username__: { get_param: nexus_username }
871 __nexus_password__: { get_param: nexus_password }
872 __artifacts_version__: { get_param: artifacts_version }
873 __dns_ip_addr__: { get_param: dns_ip_addr }
874 __gerrit_branch__: { get_param: mr_branch }
875 __cloud_env__: { get_param: cloud_env }
876 __external_dns__: { get_param: external_dns }
877 __mr_repo__: { get_param: mr_repo }
878 __dbcl_docker__: { get_param: dbcl_docker }
882 # Create configuration files
884 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
885 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
886 echo "__nexus_username__" > /opt/config/nexus_username.txt
887 echo "__nexus_password__" > /opt/config/nexus_password.txt
888 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
889 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
890 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
891 echo "__cloud_env__" > /opt/config/cloud_env.txt
892 echo "__external_dns__" > /opt/config/external_dns.txt
893 echo "__mr_repo__" > /opt/config/remote_repo.txt
894 echo "__dbcl_docker__" > /opt/config/docker_version.txt
896 # Download and run install script
897 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
899 chmod +x mr_install.sh
903 # Robot Framework instantiation
905 type: OS::Neutron::Port
907 network: { get_resource: oam_onap }
908 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
910 - { get_resource: onap_sg }
913 type: OS::Neutron::FloatingIP
915 floating_network_id: { get_param: public_net_id }
916 port_id: { get_resource: robot_private_port }
919 type: OS::Nova::Server
921 image: { get_param: ubuntu_1604_image }
922 flavor: { get_param: flavor_small }
927 base: { get_param: vm_base_name }
928 key_name: { get_resource: vm_key }
930 - port: { get_resource: robot_private_port }
931 user_data_format: RAW
935 __nexus_repo__: { get_param: nexus_repo }
936 __nexus_docker_repo__: { get_param: nexus_docker_repo }
937 __nexus_username__: { get_param: nexus_username }
938 __nexus_password__: { get_param: nexus_password }
939 __network_name__: { get_attr: [oam_onap, name] }
940 __openstack_username__: { get_param: openstack_username }
941 __openstack_api_key__: { get_param : openstack_api_key }
942 __openstack_tenant_id__: { get_param: openstack_tenant_id }
943 __artifacts_version__: { get_param: artifacts_version }
944 __openstack_region__: { get_param: openstack_region }
945 __dns_ip_addr__: { get_param: dns_ip_addr }
946 __gerrit_branch__: { get_param: robot_branch }
947 __cloud_env__: { get_param: cloud_env }
948 __keystone_url__: { get_param: keystone_url }
949 __aai1_ip_addr__: { get_param: aai1_ip_addr }
950 __aai2_ip_addr__: { get_param: aai2_ip_addr }
951 __appc_ip_addr__: { get_param: appc_ip_addr }
952 __dcae_ip_addr__: { get_param: dcae_ip_addr }
953 __so_ip_addr__: { get_param: so_ip_addr }
954 __mr_ip_addr__: { get_param: mr_ip_addr }
955 __policy_ip_addr__: { get_param: policy_ip_addr }
956 __portal_ip_addr__: { get_param: portal_ip_addr }
957 __sdc_ip_addr__: { get_param: sdc_ip_addr }
958 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
959 __vid_ip_addr__: { get_param: vid_ip_addr }
960 __clamp_ip_addr__: { get_param: clamp_ip_addr }
961 __openo_ip_addr__: { get_param: openo_ip_addr }
962 __clamp_ip_addr__: { get_param: clamp_ip_addr }
963 __openo_ip_addr__: { get_param: openo_ip_addr }
964 __music_ip_addr__: { get_param: music_ip_addr }
965 __nbi_ip_addr__: { get_param: nbi_ip_addr }
966 __external_dns__: { get_param: external_dns }
967 __vm_image_name__: { get_param: ubuntu_1404_image }
968 __vm_flavor__: { get_param: flavor_medium }
969 __public_net_id__: { get_param: public_net_id }
970 __script_version__: { get_param: artifacts_version }
971 __robot_repo__: { get_param: robot_repo }
972 __docker_version__: { get_param: robot_docker }
976 # Create configuration files
978 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
979 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
980 echo "__nexus_username__" > /opt/config/nexus_username.txt
981 echo "__nexus_password__" > /opt/config/nexus_password.txt
982 echo "__network_name__" > /opt/config/network.txt
983 echo "__openstack_username__" > /opt/config/openstack_username.txt
984 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
985 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
986 echo "__openstack_region__" > /opt/config/region.txt
987 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
988 echo "__docker_version__" > /opt/config/docker_version.txt
989 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
990 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
991 echo "__keystone_url__" > /opt/config/keystone.txt
992 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
993 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
994 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
995 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
996 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
997 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
998 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
999 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
1000 echo "__portal_ip_addr__" > /opt/config/cli_ip_addr.txt
1001 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1002 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
1003 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
1004 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
1005 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
1006 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
1007 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1008 echo "__openo_ip_addr__" > /opt/config/vnfsdk_ip_addr.txt
1009 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
1010 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
1011 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
1012 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
1013 echo "__cloud_env__" > /opt/config/cloud_env.txt
1014 echo "__external_dns__" > /opt/config/external_dns.txt
1015 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
1016 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1017 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1018 echo "__script_version__" > /opt/config/script_version.txt
1019 echo "__public_net_id__" > /opt/config/public_net_id.txt
1020 echo "__robot_repo__" > /opt/config/remote_repo.txt
1022 # Download and run install script
1023 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1025 chmod +x robot_install.sh
1031 type: OS::Neutron::Port
1033 network: { get_resource: oam_onap }
1034 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1036 - { get_resource: onap_sg }
1039 type: OS::Neutron::FloatingIP
1041 floating_network_id: { get_param: public_net_id }
1042 port_id: { get_resource: vid_private_port }
1045 type: OS::Nova::Server
1047 image: { get_param: ubuntu_1404_image }
1048 flavor: { get_param: flavor_medium }
1053 base: { get_param: vm_base_name }
1054 key_name: { get_resource: vm_key }
1056 - port: { get_resource: vid_private_port }
1057 user_data_format: RAW
1061 __nexus_repo__: { get_param: nexus_repo }
1062 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1063 __nexus_username__: { get_param: nexus_username }
1064 __nexus_password__: { get_param: nexus_password }
1065 __artifacts_version__: { get_param: artifacts_version }
1066 __dns_ip_addr__: { get_param: dns_ip_addr }
1067 __docker_version__: { get_param: vid_docker }
1068 __gerrit_branch__: { get_param: vid_branch }
1069 __cloud_env__: { get_param: cloud_env }
1070 __external_dns__: { get_param: external_dns }
1071 __vid_repo__: { get_param: vid_repo }
1075 # Create configuration files
1076 mkdir -p /opt/config
1077 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1078 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1079 echo "__nexus_username__" > /opt/config/nexus_username.txt
1080 echo "__nexus_password__" > /opt/config/nexus_password.txt
1081 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1082 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1083 echo "__docker_version__" > /opt/config/docker_version.txt
1084 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1085 echo "__cloud_env__" > /opt/config/cloud_env.txt
1086 echo "__external_dns__" > /opt/config/external_dns.txt
1087 echo "__vid_repo__" > /opt/config/remote_repo.txt
1089 # Download and run install script
1090 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1092 chmod +x vid_install.sh
1096 # SDN-C instantiation
1098 type: OS::Neutron::Port
1100 network: { get_resource: oam_onap }
1101 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1103 - { get_resource: onap_sg }
1106 type: OS::Neutron::FloatingIP
1108 floating_network_id: { get_param: public_net_id }
1109 port_id: { get_resource: sdnc_private_port }
1112 type: OS::Nova::Server
1114 image: { get_param: ubuntu_1404_image }
1115 flavor: { get_param: flavor_medium }
1120 base: { get_param: vm_base_name }
1121 key_name: { get_resource: vm_key }
1123 - port: { get_resource: sdnc_private_port }
1124 user_data_format: RAW
1128 __nexus_repo__: { get_param: nexus_repo }
1129 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1130 __nexus_username__: { get_param: nexus_username }
1131 __nexus_password__: { get_param: nexus_password }
1132 __artifacts_version__: { get_param: artifacts_version }
1133 __dns_ip_addr__: { get_param: dns_ip_addr }
1134 __docker_version__: { get_param: sdnc_docker }
1135 __gerrit_branch__: { get_param: sdnc_branch }
1136 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1137 __cloud_env__: { get_param: cloud_env }
1138 __external_dns__: { get_param: external_dns }
1139 __sdnc_repo__: { get_param: sdnc_repo }
1143 # Create configuration files
1144 mkdir -p /opt/config
1145 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1146 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1147 echo "__nexus_username__" > /opt/config/nexus_username.txt
1148 echo "__nexus_password__" > /opt/config/nexus_password.txt
1149 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1150 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1151 echo "__docker_version__" > /opt/config/docker_version.txt
1152 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1153 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1154 echo "__cloud_env__" > /opt/config/cloud_env.txt
1155 echo "__external_dns__" > /opt/config/external_dns.txt
1156 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1158 # Download and run install script
1159 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1161 chmod +x sdnc_install.sh
1167 type: OS::Neutron::Port
1169 network: { get_resource: oam_onap }
1170 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1172 - { get_resource: onap_sg }
1175 type: OS::Neutron::FloatingIP
1177 floating_network_id: { get_param: public_net_id }
1178 port_id: { get_resource: sdc_private_port }
1181 type: OS::Cinder::Volume
1187 type: OS::Nova::Server
1189 image: { get_param: ubuntu_1604_image }
1190 flavor: { get_param: flavor_large }
1195 base: { get_param: vm_base_name }
1196 key_name: { get_resource: vm_key }
1198 - port: { get_resource: sdc_private_port }
1199 block_device_mapping:
1200 - device_name: /dev/vdb
1201 volume_id: {get_resource: sdc_volume_data}
1202 user_data_format: RAW
1206 __nexus_repo__: { get_param: nexus_repo }
1207 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1208 __nexus_username__: { get_param: nexus_username }
1209 __nexus_password__: { get_param: nexus_password }
1210 __env_name__: { get_param: dmaap_topic }
1211 __artifacts_version__: { get_param: artifacts_version }
1212 __dns_ip_addr__: { get_param: dns_ip_addr }
1213 __mr_ip_addr__: { get_param: mr_ip_addr }
1214 __private_ip__: { get_param: sdc_ip_addr }
1215 __docker_version__: { get_param: sdc_docker }
1216 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1217 __gerrit_branch__: { get_param: sdc_branch }
1218 __cloud_env__: { get_param: cloud_env }
1219 __external_dns__: { get_param: external_dns }
1220 __sdc_repo__: { get_param: sdc_repo }
1224 # Create configuration files
1225 mkdir -p /opt/config
1226 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1227 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1228 echo "__nexus_username__" > /opt/config/nexus_username.txt
1229 echo "__nexus_password__" > /opt/config/nexus_password.txt
1230 echo "__env_name__" > /opt/config/env_name.txt
1231 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1232 echo "__private_ip__" > /opt/config/private_ip.txt
1233 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1234 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1235 echo "__docker_version__" > /opt/config/docker_version.txt
1236 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1237 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1238 echo "__cloud_env__" > /opt/config/cloud_env.txt
1239 echo "__external_dns__" > /opt/config/external_dns.txt
1240 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1242 # Download and run install script
1243 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1245 chmod +x sdc_install.sh
1249 # PORTAL instantiation
1250 portal_private_port:
1251 type: OS::Neutron::Port
1253 network: { get_resource: oam_onap }
1254 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1256 - { get_resource: onap_sg }
1259 type: OS::Neutron::FloatingIP
1261 floating_network_id: { get_param: public_net_id }
1262 port_id: { get_resource: portal_private_port }
1265 type: OS::Nova::Server
1267 image: { get_param: ubuntu_1404_image }
1268 flavor: { get_param: flavor_medium }
1271 template: base-portal
1273 base: { get_param: vm_base_name }
1274 key_name: { get_resource: vm_key }
1276 - port: { get_resource: portal_private_port }
1277 user_data_format: RAW
1281 __nexus_repo__: { get_param: nexus_repo }
1282 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1283 __nexus_username__: { get_param: nexus_username }
1284 __nexus_password__: { get_param: nexus_password }
1285 __artifacts_version__: { get_param: artifacts_version }
1286 __dns_ip_addr__: { get_param: dns_ip_addr }
1287 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1288 __docker_version__: { get_param: portal_docker }
1289 __gerrit_branch__: { get_param: portal_branch }
1290 __cli_docker__: { get_param: cli_docker }
1291 __cloud_env__: { get_param: cloud_env }
1292 __external_dns__: { get_param: external_dns }
1293 __portal_repo__: { get_param: portal_repo }
1297 # Create configuration files
1298 mkdir -p /opt/config
1299 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1300 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1301 echo "__nexus_username__" > /opt/config/nexus_username.txt
1302 echo "__nexus_password__" > /opt/config/nexus_password.txt
1303 echo "__public_ip__" > /opt/config/public_ip.txt
1304 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1305 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1306 echo "__docker_version__" > /opt/config/docker_version.txt
1307 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1308 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1309 echo "__cloud_env__" > /opt/config/cloud_env.txt
1310 echo "__external_dns__" > /opt/config/external_dns.txt
1311 echo "__portal_repo__" > /opt/config/remote_repo.txt
1313 # Download and run install script
1314 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1316 chmod +x portal_install.sh
1320 # Policy Engine instantiation
1321 policy_private_port:
1322 type: OS::Neutron::Port
1324 network: { get_resource: oam_onap }
1325 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1327 - { get_resource: onap_sg }
1330 type: OS::Neutron::FloatingIP
1332 floating_network_id: { get_param: public_net_id }
1333 port_id: { get_resource: policy_private_port }
1336 type: OS::Nova::Server
1338 image: { get_param: ubuntu_1404_image }
1339 flavor: { get_param: flavor_medium }
1342 template: base-policy
1344 base: { get_param: vm_base_name }
1345 key_name: { get_resource: vm_key }
1347 - port: { get_resource: policy_private_port }
1348 user_data_format: RAW
1352 __nexus_repo__: { get_param: nexus_repo }
1353 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1354 __nexus_username__: { get_param: nexus_username }
1355 __nexus_password__: { get_param: nexus_password }
1356 __artifacts_version__: { get_param: artifacts_version }
1357 __dns_ip_addr__: { get_param: dns_ip_addr }
1358 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1359 __docker_version__: { get_param: policy_docker }
1360 __gerrit_branch__: { get_param: policy_branch }
1361 __cloud_env__: { get_param: cloud_env }
1362 __external_dns__: { get_param: external_dns }
1363 __policy_repo__: { get_param: policy_repo }
1367 # Create configuration files
1368 mkdir -p /opt/config
1369 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1370 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1371 echo "__nexus_username__" > /opt/config/nexus_username.txt
1372 echo "__nexus_password__" > /opt/config/nexus_password.txt
1373 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1374 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1375 echo "__public_ip__" > /opt/config/public_ip.txt
1376 echo "__docker_version__" > /opt/config/docker_version.txt
1377 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1378 echo "__cloud_env__" > /opt/config/cloud_env.txt
1379 echo "__external_dns__" > /opt/config/external_dns.txt
1380 echo "__policy_repo__" > /opt/config/remote_repo.txt
1382 # Download and run install script
1383 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1385 chmod +x policy_install.sh
1389 # APP-C instantiation
1391 type: OS::Neutron::Port
1393 network: { get_resource: oam_onap }
1394 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1396 - { get_resource: onap_sg }
1399 type: OS::Neutron::FloatingIP
1401 floating_network_id: { get_param: public_net_id }
1402 port_id: { get_resource: appc_private_port }
1405 type: OS::Nova::Server
1407 image: { get_param: ubuntu_1404_image }
1408 flavor: { get_param: flavor_medium }
1413 base: { get_param: vm_base_name }
1414 key_name: { get_resource: vm_key }
1416 - port: { get_resource: appc_private_port }
1417 user_data_format: RAW
1421 __nexus_repo__: { get_param: nexus_repo }
1422 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1423 __nexus_username__: { get_param: nexus_username }
1424 __nexus_password__: { get_param: nexus_password }
1425 __dmaap_topic__: { get_param: dmaap_topic }
1426 __artifacts_version__: { get_param: artifacts_version }
1427 __dns_ip_addr__: { get_param: dns_ip_addr }
1428 __docker_version__: { get_param: appc_docker }
1429 __gerrit_branch__: { get_param: appc_branch }
1430 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1431 __cloud_env__: { get_param: cloud_env }
1432 __external_dns__: { get_param: external_dns }
1433 __appc_repo__: { get_param: appc_repo }
1437 # Create configuration files
1438 mkdir -p /opt/config
1439 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1440 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1441 echo "__nexus_username__" > /opt/config/nexus_username.txt
1442 echo "__nexus_password__" > /opt/config/nexus_password.txt
1443 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1444 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1445 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1446 echo "__docker_version__" > /opt/config/docker_version.txt
1447 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1448 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1449 echo "__cloud_env__" > /opt/config/cloud_env.txt
1450 echo "__external_dns__" > /opt/config/external_dns.txt
1451 echo "__appc_repo__" > /opt/config/remote_repo.txt
1453 # Download and run install script
1454 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1456 chmod +x appc_install.sh
1460 # CLAMP instantiation
1462 type: OS::Neutron::Port
1464 network: { get_resource: oam_onap }
1465 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1467 - { get_resource: onap_sg }
1470 type: OS::Neutron::FloatingIP
1472 floating_network_id: { get_param: public_net_id }
1473 port_id: { get_resource: clamp_private_port }
1476 type: OS::Nova::Server
1478 image: { get_param: ubuntu_1604_image }
1479 flavor: { get_param: flavor_medium }
1482 template: base-clamp
1484 base: { get_param: vm_base_name }
1485 key_name: { get_resource: vm_key }
1487 - port: { get_resource: clamp_private_port }
1488 user_data_format: RAW
1492 __nexus_repo__: { get_param: nexus_repo }
1493 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1494 __nexus_username__: { get_param: nexus_username }
1495 __nexus_password__: { get_param: nexus_password }
1496 __openstack_username__: { get_param: openstack_username }
1497 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1498 __openstack_api_key__: { get_param: openstack_api_key }
1499 __openstack_region__: { get_param: openstack_region }
1500 __keystone_url__: { get_param: keystone_url }
1501 __dmaap_topic__: { get_param: dmaap_topic }
1502 __artifacts_version__: { get_param: artifacts_version }
1503 __dns_ip_addr__: { get_param: dns_ip_addr }
1504 __docker_version__: { get_param: clamp_docker }
1505 __gerrit_branch__: { get_param: clamp_branch }
1506 __cloud_env__: { get_param: cloud_env }
1507 __external_dns__: { get_param: external_dns }
1508 __clamp_repo__: { get_param: clamp_repo }
1512 # Create configuration files
1513 mkdir -p /opt/config
1514 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1515 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1516 echo "__nexus_username__" > /opt/config/nexus_username.txt
1517 echo "__nexus_password__" > /opt/config/nexus_password.txt
1518 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1519 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1520 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1521 echo "__openstack_username__" > /opt/config/openstack_username.txt
1522 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1523 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1524 echo "__openstack_region__" > /opt/config/openstack_region.txt
1525 echo "__keystone_url__" > /opt/config/keystone.txt
1526 echo "__docker_version__" > /opt/config/docker_version.txt
1527 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1528 echo "__cloud_env__" > /opt/config/cloud_env.txt
1529 echo "__external_dns__" > /opt/config/external_dns.txt
1530 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1532 # Download and run install script
1533 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1535 chmod +x clamp_install.sh
1539 # OPEN-O VM instantiation
1541 type: OS::Neutron::Port
1543 network: { get_resource: oam_onap }
1544 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1546 - { get_resource: onap_sg }
1549 type: OS::Neutron::FloatingIP
1551 floating_network_id: { get_param: public_net_id }
1552 port_id: { get_resource: openo_private_port }
1555 type: OS::Nova::Server
1557 image: { get_param: ubuntu_1604_image }
1558 flavor: { get_param: flavor_large }
1561 template: base-multi-service
1563 base: { get_param: vm_base_name }
1564 key_name: { get_resource: vm_key }
1566 - port: { get_resource: openo_private_port }
1567 user_data_format: RAW
1571 __nexus_repo__: { get_param: nexus_repo }
1572 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1573 __nexus_username__: { get_param: nexus_username }
1574 __nexus_password__: { get_param: nexus_password }
1575 __artifacts_version__: { get_param: artifacts_version }
1576 __dns_ip_addr__: { get_param: dns_ip_addr }
1577 __oam_network_cidr__: { get_param: oam_network_cidr }
1578 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1579 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1580 __appc_ip_addr__: { get_param: appc_ip_addr }
1581 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1582 __so_ip_addr__: { get_param: so_ip_addr }
1583 __mr_ip_addr__: { get_param: mr_ip_addr }
1584 __policy_ip_addr__: { get_param: policy_ip_addr }
1585 __portal_ip_addr__: { get_param: portal_ip_addr }
1586 __robot_ip_addr__: { get_param: robot_ip_addr }
1587 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1588 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1589 __vid_ip_addr__: { get_param: vid_ip_addr }
1590 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1591 __openo_ip_addr__: { get_param: openo_ip_addr }
1592 __cloud_env__: { get_param: cloud_env }
1593 __external_dns__: { get_param: external_dns }
1594 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1595 __msb_docker__: { get_param: msb_docker }
1596 __mvim_docker__: { get_param: mvim_docker }
1597 __uui_docker__: { get_param: uui_docker }
1598 __esr_docker__: { get_param: esr_docker }
1599 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1600 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1601 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1602 __cbam_ip__: { get_param: cbam_ip }
1603 __cbam_username__: { get_param: cbam_username }
1604 __cbam_password__: { get_param: cbam_password }
1605 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1606 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1607 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1608 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1609 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1610 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1611 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1612 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1613 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1614 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1615 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1616 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1617 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1618 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1619 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1623 # Create configuration files
1624 mkdir -p /opt/config
1625 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1626 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1627 echo "__nexus_username__" > /opt/config/nexus_username.txt
1628 echo "__nexus_password__" > /opt/config/nexus_password.txt
1629 echo "__cloud_env__" > /opt/config/cloud_env.txt
1630 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1631 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1632 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1633 echo "__external_dns__" > /opt/config/external_dns.txt
1634 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1635 echo "__msb_docker__" > /opt/config/msb_docker.txt
1636 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1637 echo "__uui_docker__" > /opt/config/uui_docker.txt
1638 echo "__esr_docker__" > /opt/config/esr_docker.txt
1639 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1640 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1641 echo "__cbam_username__" > /opt/config/cbam_username.txt
1642 echo "__cbam_password__" > /opt/config/cbam_password.txt
1644 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1645 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1646 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1647 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1648 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1649 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1650 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1651 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1652 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1653 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1654 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1655 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1656 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1657 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1658 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1659 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1660 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1662 # Create env file with the IP address of all ONAP components
1663 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1664 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1665 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1666 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1667 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1668 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1669 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1670 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1671 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1672 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1673 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1674 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1675 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1676 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1678 # Download and run install script
1679 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1681 chmod +x openo_install.sh
1685 # DCAE GEN 2 Controller instantiation
1686 dcae_c_private_port:
1687 type: OS::Neutron::Port
1689 network: { get_resource: oam_onap }
1690 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1692 - { get_resource: onap_sg }
1695 type: OS::Neutron::FloatingIP
1697 floating_network_id: { get_param: public_net_id }
1698 port_id: { get_resource: dcae_c_private_port }
1701 type: OS::Nova::Server
1703 image: { get_param: ubuntu_1604_image }
1704 flavor: { get_param: flavor_small }
1709 base: { get_param: vm_base_name }
1710 key_name: { get_resource: vm_key }
1712 - port: { get_resource: dcae_c_private_port }
1714 # - { get_resource: onap_sg }
1715 user_data_format: RAW
1719 __rand_str__: { get_resource: random-str }
1721 __artifacts_version__: { get_param: artifacts_version }
1722 __docker_version__: { get_param: dcae_docker }
1723 __nexus_repo__: { get_param: nexus_repo }
1724 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1725 __nexus_username__: { get_param: nexus_username }
1726 __nexus_password__: { get_param: nexus_password }
1727 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1728 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1729 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1730 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1731 __dns_ip_addr__: { get_param: dns_ip_addr }
1732 __external_dns__: { get_param: external_dns }
1733 __dns_forwarder__: { get_param: dns_forwarder }
1734 __dcae_domain__: { get_param: dcae_domain }
1735 # conf for VMs DCAE is to bringup
1736 __openstack_keystone_url__: { get_param: keystone_url }
1737 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1738 __dcaeos_cloud_env__: { get_param: cloud_env }
1739 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1740 __dcaeos_region__: { get_param: openstack_region }
1741 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1742 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1743 __dcaeos_security_group__:
1745 template: 'onap_sg_rand'
1747 rand: { get_resource: random-str }
1748 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1749 __dcaeos_username__: { get_param: openstack_username }
1750 __dcaeos_password__: { get_param: openstack_api_key }
1751 __dcaeos_key_name__: { get_resource: vm_key }
1752 __dcaeos_public_key__: { get_param: dcae_public_key }
1753 __dcaeos_private_key__: { get_param: dcae_private_key }
1754 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1755 __dcaeos_public_network_name__: { get_param: public_net_name }
1756 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1757 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1758 __dcaeos_flavor_id__: { get_param: flavor_medium }
1759 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1760 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1761 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1762 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1763 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1764 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1765 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1767 __mr_ip_addr__: { get_param: mr_ip_addr }
1768 __policy_ip_addr__: { get_param: policy_ip_addr }
1769 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1770 __openo_ip_addr__: { get_param: openo_ip_addr }
1771 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1772 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1774 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1775 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1776 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1777 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1778 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1779 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1780 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1781 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1786 # Create configuration files
1787 mkdir -p /opt/config
1788 echo "__rand_str__" > /opt/config/dcae_zone.txt
1789 echo "__rand_str__" > /opt/config/rand_str.txt
1791 echo "__docker_version__" > /opt/config/docker_version.txt
1792 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1793 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1794 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1795 echo "__nexus_username__" > /opt/config/nexus_username.txt
1796 echo "__nexus_password__" > /opt/config/nexus_password.txt
1797 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1798 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1799 echo "__mac_addr__" > /opt/config/mac_addr.txt
1800 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1801 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1802 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1803 echo "__external_dns__" > /opt/config/external_dns.txt
1804 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1805 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1806 # conf for the OpenStack env where DCAE is deployed
1807 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1808 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1809 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1810 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1811 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1812 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1813 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1814 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1815 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1816 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1817 echo "__dcaeos_private_key__" > /opt/config/priv_key
1818 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1819 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1820 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1821 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1822 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1823 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1824 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1825 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1826 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1827 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1828 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1829 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1830 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1831 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1832 # fixed private IP addresses of other ONAP components
1833 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1834 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1835 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1836 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1837 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1838 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1840 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1841 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1842 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1843 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1844 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1845 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1846 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1847 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1849 # Download and run install script
1850 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1852 chmod +x dcae2_install.sh
1853 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1856 # MUSIC instantiation
1858 type: OS::Neutron::Port
1860 network: { get_resource: oam_onap }
1861 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1863 - { get_resource: onap_sg }
1866 type: OS::Neutron::FloatingIP
1868 floating_network_id: { get_param: public_net_id }
1869 port_id: { get_resource: music_private_port }
1872 type: OS::Nova::Server
1874 image: { get_param: ubuntu_1404_image }
1875 flavor: { get_param: flavor_large }
1878 template: base-music
1880 base: { get_param: vm_base_name }
1881 key_name: { get_resource: vm_key }
1883 - port: { get_resource: music_private_port }
1884 user_data_format: RAW
1888 __nexus_repo__: { get_param: nexus_repo }
1889 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1890 __nexus_username__: { get_param: nexus_username }
1891 __nexus_password__: { get_param: nexus_password }
1892 __artifacts_version__: { get_param: artifacts_version }
1893 __dns_ip_addr__: { get_param: dns_ip_addr }
1894 __docker_version__: { get_param: music_docker }
1895 __music_repo__: { get_param: music_repo }
1896 __gerrit_branch__: { get_param: music_branch }
1897 __cloud_env__: { get_param: cloud_env }
1898 __external_dns__: { get_param: external_dns }
1902 # Create configuration files
1903 mkdir -p /opt/config
1904 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1905 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1906 echo "__nexus_username__" > /opt/config/nexus_username.txt
1907 echo "__nexus_password__" > /opt/config/nexus_password.txt
1908 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1909 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1910 echo "__docker_version__" > /opt/config/docker_version.txt
1911 echo "__music_repo__" > /opt/config/remote_repo.txt
1912 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1913 echo "__cloud_env__" > /opt/config/cloud_env.txt
1914 echo "__external_dns__" > /opt/config/external_dns.txt
1916 # Download and run install script
1917 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1919 chmod +x music_install.sh
1925 type: OS::Neutron::Port
1927 network: { get_resource: oam_onap }
1928 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1930 - { get_resource: onap_sg }
1933 type: OS::Neutron::FloatingIP
1935 floating_network_id: { get_param: public_net_id }
1936 port_id: { get_resource: oof_private_port }
1939 type: OS::Nova::Server
1941 image: { get_param: ubuntu_1404_image }
1942 flavor: { get_param: flavor_medium }
1947 base: { get_param: vm_base_name }
1948 key_name: { get_resource: vm_key }
1950 - port: { get_resource: oof_private_port }
1951 user_data_format: RAW
1955 __nexus_repo__: { get_param: nexus_repo }
1956 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1957 __nexus_username__: { get_param: nexus_username }
1958 __nexus_password__: { get_param: nexus_password }
1959 __artifacts_version__: { get_param: artifacts_version }
1960 __dns_ip_addr__: { get_param: dns_ip_addr }
1961 __docker_version__: { get_param: oof_docker }
1962 __oof_repo__: { get_param: oof_repo }
1963 __gerrit_branch__: { get_param: oof_branch }
1964 __cloud_env__: { get_param: cloud_env }
1965 __external_dns__: { get_param: external_dns }
1969 # Create configuration files
1970 mkdir -p /opt/config
1971 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1972 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1973 echo "__nexus_username__" > /opt/config/nexus_username.txt
1974 echo "__nexus_password__" > /opt/config/nexus_password.txt
1975 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1976 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1977 echo "__docker_version__" > /opt/config/docker_version.txt
1978 echo "__oof_repo__" > /opt/config/remote_repo.txt
1979 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1980 echo "__cloud_env__" > /opt/config/cloud_env.txt
1981 echo "__external_dns__" > /opt/config/external_dns.txt
1983 # Download and run install script
1984 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1986 chmod +x oof_install.sh
1992 type: OS::Neutron::Port
1994 network: { get_resource: oam_onap }
1995 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1997 - { get_resource: onap_sg }
2000 type: OS::Neutron::FloatingIP
2002 floating_network_id: { get_param: public_net_id }
2003 port_id: { get_resource: aaf_private_port }
2006 type: OS::Nova::Server
2008 image: { get_param: ubuntu_1604_image }
2009 flavor: { get_param: flavor_medium }
2014 base: { get_param: vm_base_name }
2015 key_name: { get_resource: vm_key }
2017 - port: { get_resource: aaf_private_port }
2018 user_data_format: RAW
2022 __nexus_repo__: { get_param: nexus_repo }
2023 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2024 __nexus_username__: { get_param: nexus_username }
2025 __nexus_password__: { get_param: nexus_password }
2026 __artifacts_version__: { get_param: artifacts_version }
2027 __dns_ip_addr__: { get_param: dns_ip_addr }
2028 __docker_version__: { get_param: aaf_docker }
2029 __cloud_env__: { get_param: cloud_env }
2030 __external_dns__: { get_param: external_dns }
2031 __aaf_repo__: { get_param: aaf_repo }
2032 __gerrit_branch__: { get_param: aaf_branch }
2033 __local_ip__: { get_param: aaf_ip_addr }
2037 # Create configuration files
2038 mkdir -p /opt/config
2039 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2040 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2041 echo "__nexus_username__" > /opt/config/nexus_username.txt
2042 echo "__nexus_password__" > /opt/config/nexus_password.txt
2043 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2044 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2045 echo "__docker_version__" > /opt/config/docker_version.txt
2046 echo "__cloud_env__" > /opt/config/cloud_env.txt
2047 echo "__external_dns__" > /opt/config/external_dns.txt
2048 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2049 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2050 echo "__local_ip__" > /opt/config/local_ip.txt
2052 # Download and run install script
2053 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2055 chmod +x aaf_install.sh
2060 type: OS::Neutron::Port
2062 network: { get_resource: oam_onap }
2063 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2065 - { get_resource: onap_sg }
2068 type: OS::Neutron::FloatingIP
2070 floating_network_id: { get_param: public_net_id }
2071 port_id: { get_resource: nbi_private_port }
2074 type: OS::Nova::Server
2076 image: { get_param: ubuntu_1604_image }
2077 flavor: { get_param: flavor_small }
2082 base: { get_param: vm_base_name }
2083 key_name: { get_resource: vm_key }
2085 - port: { get_resource: nbi_private_port }
2086 user_data_format: RAW
2090 __nexus_repo__: { get_param: nexus_repo }
2091 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2092 __nexus_username__: { get_param: nexus_username }
2093 __nexus_password__: { get_param: nexus_password }
2094 __artifacts_version__: { get_param: artifacts_version }
2095 __dns_ip_addr__: { get_param: dns_ip_addr }
2096 __docker_version__: { get_param: nbi_docker }
2097 __nbi_repo__: { get_param: nbi_repo }
2098 __gerrit_branch__: { get_param: nbi_branch }
2099 __cloud_env__: { get_param: cloud_env }
2100 __external_dns__: { get_param: external_dns }
2104 # Create configuration files
2105 mkdir -p /opt/config
2106 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2107 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2108 echo "__nexus_username__" > /opt/config/nexus_username.txt
2109 echo "__nexus_password__" > /opt/config/nexus_password.txt
2110 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2111 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2112 echo "__docker_version__" > /opt/config/docker_version.txt
2113 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2114 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2115 echo "__cloud_env__" > /opt/config/cloud_env.txt
2116 echo "__external_dns__" > /opt/config/external_dns.txt
2118 # Download and run install script
2119 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2121 chmod +x nbi_install.sh