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 #####################
300 ################################
302 # Docker versions and branches #
304 ################################
357 vfc_ztevnfmdriver_docker:
359 vfc_ztesdncdriver_docker:
367 vfc_resmanagement_docker:
373 vfc_jujudriver_docker:
375 vfc_gvnfmdriver_docker:
377 vfc_emsdriver_docker:
381 vfc_wfengine_mgrservice_docker:
383 vfc_wfengine_activiti_docker:
432 type: OS::Heat::RandomString
436 # Public key used to access ONAP components
438 type: OS::Nova::KeyPair
444 base: { get_param: key_name }
445 rand: { get_resource: random-str }
446 public_key: { get_param: pub_key }
447 save_private_key: false
450 # ONAP security group
452 type: OS::Neutron::SecurityGroup
459 rand: { get_resource: random-str }
460 description: security group used by ONAP
472 port_range_max: 65535
475 port_range_max: 65535
479 # ONAP management private network
481 type: OS::Neutron::Net
485 template: oam_onap_rand
487 rand: { get_resource: random-str }
490 type: OS::Neutron::Subnet
494 template: oam_onap_rand
496 rand: { get_resource: random-str }
497 network_id: { get_resource: oam_onap }
498 cidr: { get_param: oam_network_cidr }
499 dns_nameservers: { get_param: dns_list }
502 type: OS::Neutron::Router
504 external_gateway_info:
505 network: { get_param: public_net_id }
508 type: OS::Neutron::RouterInterface
510 router_id: { get_resource: router }
511 subnet_id: { get_resource: oam_onap_subnet }
514 # DNS Server instantiation
516 type: OS::Neutron::Port
518 network: { get_resource: oam_onap }
519 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
521 - { get_resource: onap_sg }
524 type: OS::Neutron::FloatingIP
526 floating_network_id: { get_param: public_net_id }
527 port_id: { get_resource: dns_private_port }
530 type: OS::Nova::Server
532 image: { get_param: ubuntu_1404_image }
533 flavor: { get_param: flavor_small }
536 template: base-dns-server
538 base: { get_param: vm_base_name }
539 key_name: { get_resource: vm_key }
541 - port: { get_resource: dns_private_port }
542 user_data_format: RAW
546 __nexus_repo__: { get_param: nexus_repo }
547 __artifacts_version__: { get_param: artifacts_version }
548 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
549 __dns_ip_addr__: { get_param: dns_ip_addr }
550 __aai1_ip_addr__: { get_param: aai1_ip_addr }
551 __aai2_ip_addr__: { get_param: aai2_ip_addr }
552 __appc_ip_addr__: { get_param: appc_ip_addr }
553 __dcae_ip_addr__: { get_param: dcae_ip_addr }
554 __so_ip_addr__: { get_param: so_ip_addr }
555 __mr_ip_addr__: { get_param: mr_ip_addr }
556 __policy_ip_addr__: { get_param: policy_ip_addr }
557 __portal_ip_addr__: { get_param: portal_ip_addr }
558 __robot_ip_addr__: { get_param: robot_ip_addr }
559 __sdc_ip_addr__: { get_param: sdc_ip_addr }
560 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
561 __vid_ip_addr__: { get_param: vid_ip_addr }
562 __clamp_ip_addr__: { get_param: clamp_ip_addr }
563 __openo_ip_addr__: { get_param: openo_ip_addr }
564 __music_ip_addr__: { get_param: music_ip_addr }
565 __oof_ip_addr__: { get_param: oof_ip_addr }
566 __aaf_ip_addr__: { get_param: aaf_ip_addr }
567 __cloud_env__: { get_param: cloud_env }
568 __external_dns__: { get_param: external_dns }
569 __dns_forwarder__: { get_param: dns_forwarder }
573 # Create configuration files
575 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
576 echo "__cloud_env__" > /opt/config/cloud_env.txt
577 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
578 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
579 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
580 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
581 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
582 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
583 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
584 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
585 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
586 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
587 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
588 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
589 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
590 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
591 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
592 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
593 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
594 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
595 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
596 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
597 echo "__external_dns__" > /opt/config/external_dns.txt
598 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
600 # Download and run install script
601 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
603 chmod +x dns_install.sh
607 # A&AI instantiation (2 VMs)
609 type: OS::Neutron::Port
611 network: { get_resource: oam_onap }
612 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
614 - { get_resource: onap_sg }
617 type: OS::Neutron::FloatingIP
619 floating_network_id: { get_param: public_net_id }
620 port_id: { get_resource: aai1_private_port }
623 type: OS::Nova::Server
626 image: { get_param: ubuntu_1404_image }
627 flavor: { get_param: flavor_large }
630 template: base-aai-inst1
632 base: { get_param: vm_base_name }
633 key_name: { get_resource: vm_key }
635 - port: { get_resource: aai1_private_port }
636 user_data_format: RAW
640 __nexus_repo__: { get_param: nexus_repo }
641 __nexus_docker_repo__: { get_param: nexus_docker_repo }
642 __nexus_username__: { get_param: nexus_username }
643 __nexus_password__: { get_param: nexus_password }
644 __dmaap_topic__: { get_param: dmaap_topic }
645 __artifacts_version__: { get_param: artifacts_version }
646 __dns_ip_addr__: { get_param: dns_ip_addr }
647 __docker_version__: { get_param: aai_docker }
648 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
649 __gerrit_branch__: { get_param: aai_branch }
650 __cloud_env__: { get_param: cloud_env }
651 __external_dns__: { get_param: external_dns }
652 __aai_repo__: { get_param: aai_repo }
656 # Create configuration files
658 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
659 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
660 echo "__nexus_username__" > /opt/config/nexus_username.txt
661 echo "__nexus_password__" > /opt/config/nexus_password.txt
662 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
663 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
664 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
665 echo "__docker_version__" > /opt/config/docker_version.txt
666 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
667 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
668 echo "aai_instance_1" > /opt/config/aai_instance.txt
669 echo "__cloud_env__" > /opt/config/cloud_env.txt
670 echo "__external_dns__" > /opt/config/external_dns.txt
671 echo "__aai_repo__" > /opt/config/remote_repo.txt
673 # Download and run install script
674 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
676 chmod +x aai_install.sh
681 type: OS::Neutron::Port
683 network: { get_resource: oam_onap }
684 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
686 - { get_resource: onap_sg }
689 type: OS::Neutron::FloatingIP
691 floating_network_id: { get_param: public_net_id }
692 port_id: { get_resource: aai2_private_port }
695 type: OS::Nova::Server
697 image: { get_param: ubuntu_1404_image }
698 flavor: { get_param: flavor_large }
701 template: base-aai-inst2
703 base: { get_param: vm_base_name }
704 key_name: { get_resource: vm_key }
706 - port: { get_resource: aai2_private_port }
707 user_data_format: RAW
711 __nexus_repo__: { get_param: nexus_repo }
712 __nexus_docker_repo__: { get_param: nexus_docker_repo }
713 __nexus_username__: { get_param: nexus_username }
714 __nexus_password__: { get_param: nexus_password }
715 __dmaap_topic__: { get_param: dmaap_topic }
716 __artifacts_version__: { get_param: artifacts_version }
717 __dns_ip_addr__: { get_param: dns_ip_addr }
718 __docker_version__: { get_param: aai_docker }
719 __gerrit_branch__: { get_param: aai_branch }
720 __cloud_env__: { get_param: cloud_env }
721 __external_dns__: { get_param: external_dns }
722 __aai_repo__: { get_param: aai_repo }
726 # Create configuration files
728 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
729 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
730 echo "__nexus_username__" > /opt/config/nexus_username.txt
731 echo "__nexus_password__" > /opt/config/nexus_password.txt
732 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
733 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
734 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
735 echo "__docker_version__" > /opt/config/docker_version.txt
736 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
737 echo "aai_instance_2" > /opt/config/aai_instance.txt
738 echo "__cloud_env__" > /opt/config/cloud_env.txt
739 echo "__external_dns__" > /opt/config/external_dns.txt
740 echo "__aai_repo__" > /opt/config/remote_repo.txt
742 # Download and run install script
743 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
745 chmod +x aai_install.sh
751 type: OS::Neutron::Port
753 network: { get_resource: oam_onap }
754 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
756 - { get_resource: onap_sg }
759 type: OS::Neutron::FloatingIP
761 floating_network_id: { get_param: public_net_id }
762 port_id: { get_resource: so_private_port }
765 type: OS::Nova::Server
767 image: { get_param: ubuntu_1604_image }
768 flavor: { get_param: flavor_medium }
773 base: { get_param: vm_base_name }
774 key_name: { get_resource: vm_key }
776 - port: { get_resource: so_private_port }
777 user_data_format: RAW
781 __nexus_repo__: { get_param: nexus_repo }
782 __nexus_docker_repo__: { get_param: nexus_docker_repo }
783 __nexus_username__: { get_param: nexus_username }
784 __nexus_password__: { get_param: nexus_password }
785 __openstack_username__: { get_param: openstack_username }
786 __openstack_tenant_id__: { get_param: openstack_tenant_id }
787 __openstack_api_key__: { get_param: openstack_api_key }
788 __openstack_region__: { get_param: openstack_region }
789 __keystone_url__: { get_param: keystone_url }
790 __dmaap_topic__: { get_param: dmaap_topic }
791 __artifacts_version__: { get_param: artifacts_version }
792 __dns_ip_addr__: { get_param: dns_ip_addr }
793 __openo_ip__: { get_param: openo_ip_addr }
794 __docker_version__: { get_param: so_docker }
795 __gerrit_branch__: { get_param: so_branch }
796 __cloud_env__: { get_param: cloud_env }
797 __external_dns__: { get_param: external_dns }
798 __so_repo__: { get_param: so_repo }
802 # Create configuration files
804 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
805 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
806 echo "__nexus_username__" > /opt/config/nexus_username.txt
807 echo "__nexus_password__" > /opt/config/nexus_password.txt
808 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
809 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
810 echo "__openo_ip__" > /opt/config/openo_ip.txt
811 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
812 echo "__openstack_username__" > /opt/config/openstack_username.txt
813 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
814 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
815 echo "__openstack_region__" > /opt/config/openstack_region.txt
816 echo "__keystone_url__" > /opt/config/keystone.txt
817 echo "__docker_version__" > /opt/config/docker_version.txt
818 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
819 echo "__cloud_env__" > /opt/config/cloud_env.txt
820 echo "__external_dns__" > /opt/config/external_dns.txt
821 echo "__so_repo__" > /opt/config/remote_repo.txt
823 # Download and run install script
824 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
826 chmod +x so_install.sh
830 # Message Router instantiation
831 mrouter_private_port:
832 type: OS::Neutron::Port
834 network: { get_resource: oam_onap }
835 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
837 - { get_resource: onap_sg }
840 type: OS::Neutron::FloatingIP
842 floating_network_id: { get_param: public_net_id }
843 port_id: { get_resource: mrouter_private_port }
846 type: OS::Nova::Server
848 image: { get_param: ubuntu_1404_image }
849 flavor: { get_param: flavor_medium }
852 template: base-message-router
854 base: { get_param: vm_base_name }
855 key_name: { get_resource: vm_key }
857 - port: { get_resource: mrouter_private_port }
858 user_data_format: RAW
862 __nexus_repo__: { get_param: nexus_repo }
863 __nexus_docker_repo__: { get_param: nexus_docker_repo }
864 __nexus_username__: { get_param: nexus_username }
865 __nexus_password__: { get_param: nexus_password }
866 __artifacts_version__: { get_param: artifacts_version }
867 __dns_ip_addr__: { get_param: dns_ip_addr }
868 __gerrit_branch__: { get_param: mr_branch }
869 __cloud_env__: { get_param: cloud_env }
870 __external_dns__: { get_param: external_dns }
871 __mr_repo__: { get_param: mr_repo }
875 # Create configuration files
877 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
878 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
879 echo "__nexus_username__" > /opt/config/nexus_username.txt
880 echo "__nexus_password__" > /opt/config/nexus_password.txt
881 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
882 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
883 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
884 echo "__cloud_env__" > /opt/config/cloud_env.txt
885 echo "__external_dns__" > /opt/config/external_dns.txt
886 echo "__mr_repo__" > /opt/config/remote_repo.txt
888 # Download and run install script
889 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
891 chmod +x mr_install.sh
895 # Robot Framework instantiation
897 type: OS::Neutron::Port
899 network: { get_resource: oam_onap }
900 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
902 - { get_resource: onap_sg }
905 type: OS::Neutron::FloatingIP
907 floating_network_id: { get_param: public_net_id }
908 port_id: { get_resource: robot_private_port }
911 type: OS::Nova::Server
913 image: { get_param: ubuntu_1604_image }
914 flavor: { get_param: flavor_small }
919 base: { get_param: vm_base_name }
920 key_name: { get_resource: vm_key }
922 - port: { get_resource: robot_private_port }
923 user_data_format: RAW
927 __nexus_repo__: { get_param: nexus_repo }
928 __nexus_docker_repo__: { get_param: nexus_docker_repo }
929 __nexus_username__: { get_param: nexus_username }
930 __nexus_password__: { get_param: nexus_password }
931 __network_name__: { get_attr: [oam_onap, name] }
932 __openstack_username__: { get_param: openstack_username }
933 __openstack_api_key__: { get_param : openstack_api_key }
934 __openstack_tenant_id__: { get_param: openstack_tenant_id }
935 __artifacts_version__: { get_param: artifacts_version }
936 __openstack_region__: { get_param: openstack_region }
937 __dns_ip_addr__: { get_param: dns_ip_addr }
938 __gerrit_branch__: { get_param: robot_branch }
939 __cloud_env__: { get_param: cloud_env }
940 __keystone_url__: { get_param: keystone_url }
941 __aai1_ip_addr__: { get_param: aai1_ip_addr }
942 __aai2_ip_addr__: { get_param: aai2_ip_addr }
943 __appc_ip_addr__: { get_param: appc_ip_addr }
944 __dcae_ip_addr__: { get_param: dcae_ip_addr }
945 __so_ip_addr__: { get_param: so_ip_addr }
946 __mr_ip_addr__: { get_param: mr_ip_addr }
947 __policy_ip_addr__: { get_param: policy_ip_addr }
948 __portal_ip_addr__: { get_param: portal_ip_addr }
949 __sdc_ip_addr__: { get_param: sdc_ip_addr }
950 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
951 __vid_ip_addr__: { get_param: vid_ip_addr }
952 __clamp_ip_addr__: { get_param: clamp_ip_addr }
953 __openo_ip_addr__: { get_param: openo_ip_addr }
954 __clamp_ip_addr__: { get_param: clamp_ip_addr }
955 __openo_ip_addr__: { get_param: openo_ip_addr }
956 __music_ip_addr__: { get_param: music_ip_addr }
957 __nbi_ip_addr__: { get_param: nbi_ip_addr }
958 __external_dns__: { get_param: external_dns }
959 __vm_image_name__: { get_param: ubuntu_1404_image }
960 __vm_flavor__: { get_param: flavor_medium }
961 __public_net_id__: { get_param: public_net_id }
962 __script_version__: { get_param: artifacts_version }
963 __robot_repo__: { get_param: robot_repo }
964 __docker_version__: { get_param: robot_docker }
968 # Create configuration files
970 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
971 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
972 echo "__nexus_username__" > /opt/config/nexus_username.txt
973 echo "__nexus_password__" > /opt/config/nexus_password.txt
974 echo "__network_name__" > /opt/config/network.txt
975 echo "__openstack_username__" > /opt/config/openstack_username.txt
976 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
977 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
978 echo "__openstack_region__" > /opt/config/region.txt
979 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
980 echo "__docker_version__" > /opt/config/docker_version.txt
981 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
982 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
983 echo "__keystone_url__" > /opt/config/keystone.txt
984 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
985 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
986 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
987 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
988 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
989 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
990 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
991 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
992 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
993 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
994 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
995 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
996 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
997 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
998 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
999 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
1000 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
1001 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
1002 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
1003 echo "__cloud_env__" > /opt/config/cloud_env.txt
1004 echo "__external_dns__" > /opt/config/external_dns.txt
1005 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
1006 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1007 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1008 echo "__script_version__" > /opt/config/script_version.txt
1009 echo "__public_net_id__" > /opt/config/public_net_id.txt
1010 echo "__robot_repo__" > /opt/config/remote_repo.txt
1012 # Download and run install script
1013 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1015 chmod +x robot_install.sh
1021 type: OS::Neutron::Port
1023 network: { get_resource: oam_onap }
1024 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1026 - { get_resource: onap_sg }
1029 type: OS::Neutron::FloatingIP
1031 floating_network_id: { get_param: public_net_id }
1032 port_id: { get_resource: vid_private_port }
1035 type: OS::Nova::Server
1037 image: { get_param: ubuntu_1404_image }
1038 flavor: { get_param: flavor_medium }
1043 base: { get_param: vm_base_name }
1044 key_name: { get_resource: vm_key }
1046 - port: { get_resource: vid_private_port }
1047 user_data_format: RAW
1051 __nexus_repo__: { get_param: nexus_repo }
1052 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1053 __nexus_username__: { get_param: nexus_username }
1054 __nexus_password__: { get_param: nexus_password }
1055 __artifacts_version__: { get_param: artifacts_version }
1056 __dns_ip_addr__: { get_param: dns_ip_addr }
1057 __docker_version__: { get_param: vid_docker }
1058 __gerrit_branch__: { get_param: vid_branch }
1059 __cloud_env__: { get_param: cloud_env }
1060 __external_dns__: { get_param: external_dns }
1061 __vid_repo__: { get_param: vid_repo }
1065 # Create configuration files
1066 mkdir -p /opt/config
1067 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1068 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1069 echo "__nexus_username__" > /opt/config/nexus_username.txt
1070 echo "__nexus_password__" > /opt/config/nexus_password.txt
1071 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1072 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1073 echo "__docker_version__" > /opt/config/docker_version.txt
1074 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1075 echo "__cloud_env__" > /opt/config/cloud_env.txt
1076 echo "__external_dns__" > /opt/config/external_dns.txt
1077 echo "__vid_repo__" > /opt/config/remote_repo.txt
1079 # Download and run install script
1080 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1082 chmod +x vid_install.sh
1086 # SDN-C instantiation
1088 type: OS::Neutron::Port
1090 network: { get_resource: oam_onap }
1091 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1093 - { get_resource: onap_sg }
1096 type: OS::Neutron::FloatingIP
1098 floating_network_id: { get_param: public_net_id }
1099 port_id: { get_resource: sdnc_private_port }
1102 type: OS::Nova::Server
1104 image: { get_param: ubuntu_1404_image }
1105 flavor: { get_param: flavor_medium }
1110 base: { get_param: vm_base_name }
1111 key_name: { get_resource: vm_key }
1113 - port: { get_resource: sdnc_private_port }
1114 user_data_format: RAW
1118 __nexus_repo__: { get_param: nexus_repo }
1119 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1120 __nexus_username__: { get_param: nexus_username }
1121 __nexus_password__: { get_param: nexus_password }
1122 __artifacts_version__: { get_param: artifacts_version }
1123 __dns_ip_addr__: { get_param: dns_ip_addr }
1124 __docker_version__: { get_param: sdnc_docker }
1125 __gerrit_branch__: { get_param: sdnc_branch }
1126 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1127 __cloud_env__: { get_param: cloud_env }
1128 __external_dns__: { get_param: external_dns }
1129 __sdnc_repo__: { get_param: sdnc_repo }
1133 # Create configuration files
1134 mkdir -p /opt/config
1135 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1136 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1137 echo "__nexus_username__" > /opt/config/nexus_username.txt
1138 echo "__nexus_password__" > /opt/config/nexus_password.txt
1139 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1140 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1141 echo "__docker_version__" > /opt/config/docker_version.txt
1142 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1143 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1144 echo "__cloud_env__" > /opt/config/cloud_env.txt
1145 echo "__external_dns__" > /opt/config/external_dns.txt
1146 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1148 # Download and run install script
1149 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1151 chmod +x sdnc_install.sh
1157 type: OS::Neutron::Port
1159 network: { get_resource: oam_onap }
1160 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1162 - { get_resource: onap_sg }
1165 type: OS::Neutron::FloatingIP
1167 floating_network_id: { get_param: public_net_id }
1168 port_id: { get_resource: sdc_private_port }
1171 type: OS::Cinder::Volume
1177 type: OS::Nova::Server
1179 image: { get_param: ubuntu_1604_image }
1180 flavor: { get_param: flavor_large }
1185 base: { get_param: vm_base_name }
1186 key_name: { get_resource: vm_key }
1188 - port: { get_resource: sdc_private_port }
1189 block_device_mapping:
1190 - device_name: /dev/vdb
1191 volume_id: {get_resource: sdc_volume_data}
1192 user_data_format: RAW
1196 __nexus_repo__: { get_param: nexus_repo }
1197 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1198 __nexus_username__: { get_param: nexus_username }
1199 __nexus_password__: { get_param: nexus_password }
1200 __env_name__: { get_param: dmaap_topic }
1201 __artifacts_version__: { get_param: artifacts_version }
1202 __dns_ip_addr__: { get_param: dns_ip_addr }
1203 __mr_ip_addr__: { get_param: mr_ip_addr }
1204 __private_ip__: { get_param: sdc_ip_addr }
1205 __docker_version__: { get_param: sdc_docker }
1206 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1207 __gerrit_branch__: { get_param: sdc_branch }
1208 __cloud_env__: { get_param: cloud_env }
1209 __external_dns__: { get_param: external_dns }
1210 __sdc_repo__: { get_param: sdc_repo }
1214 # Create configuration files
1215 mkdir -p /opt/config
1216 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1217 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1218 echo "__nexus_username__" > /opt/config/nexus_username.txt
1219 echo "__nexus_password__" > /opt/config/nexus_password.txt
1220 echo "__env_name__" > /opt/config/env_name.txt
1221 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1222 echo "__private_ip__" > /opt/config/private_ip.txt
1223 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1224 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1225 echo "__docker_version__" > /opt/config/docker_version.txt
1226 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1227 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1228 echo "__cloud_env__" > /opt/config/cloud_env.txt
1229 echo "__external_dns__" > /opt/config/external_dns.txt
1230 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1232 # Download and run install script
1233 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1235 chmod +x sdc_install.sh
1239 # PORTAL instantiation
1240 portal_private_port:
1241 type: OS::Neutron::Port
1243 network: { get_resource: oam_onap }
1244 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1246 - { get_resource: onap_sg }
1249 type: OS::Neutron::FloatingIP
1251 floating_network_id: { get_param: public_net_id }
1252 port_id: { get_resource: portal_private_port }
1255 type: OS::Nova::Server
1257 image: { get_param: ubuntu_1404_image }
1258 flavor: { get_param: flavor_medium }
1261 template: base-portal
1263 base: { get_param: vm_base_name }
1264 key_name: { get_resource: vm_key }
1266 - port: { get_resource: portal_private_port }
1267 user_data_format: RAW
1271 __nexus_repo__: { get_param: nexus_repo }
1272 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1273 __nexus_username__: { get_param: nexus_username }
1274 __nexus_password__: { get_param: nexus_password }
1275 __artifacts_version__: { get_param: artifacts_version }
1276 __dns_ip_addr__: { get_param: dns_ip_addr }
1277 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1278 __docker_version__: { get_param: portal_docker }
1279 __gerrit_branch__: { get_param: portal_branch }
1280 __cli_docker__: { get_param: cli_docker }
1281 __cloud_env__: { get_param: cloud_env }
1282 __external_dns__: { get_param: external_dns }
1283 __portal_repo__: { get_param: portal_repo }
1287 # Create configuration files
1288 mkdir -p /opt/config
1289 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1290 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1291 echo "__nexus_username__" > /opt/config/nexus_username.txt
1292 echo "__nexus_password__" > /opt/config/nexus_password.txt
1293 echo "__public_ip__" > /opt/config/public_ip.txt
1294 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1295 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1296 echo "__docker_version__" > /opt/config/docker_version.txt
1297 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1298 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1299 echo "__cloud_env__" > /opt/config/cloud_env.txt
1300 echo "__external_dns__" > /opt/config/external_dns.txt
1301 echo "__portal_repo__" > /opt/config/remote_repo.txt
1303 # Download and run install script
1304 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1306 chmod +x portal_install.sh
1310 # Policy Engine instantiation
1311 policy_private_port:
1312 type: OS::Neutron::Port
1314 network: { get_resource: oam_onap }
1315 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1317 - { get_resource: onap_sg }
1320 type: OS::Neutron::FloatingIP
1322 floating_network_id: { get_param: public_net_id }
1323 port_id: { get_resource: policy_private_port }
1326 type: OS::Nova::Server
1328 image: { get_param: ubuntu_1404_image }
1329 flavor: { get_param: flavor_medium }
1332 template: base-policy
1334 base: { get_param: vm_base_name }
1335 key_name: { get_resource: vm_key }
1337 - port: { get_resource: policy_private_port }
1338 user_data_format: RAW
1342 __nexus_repo__: { get_param: nexus_repo }
1343 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1344 __nexus_username__: { get_param: nexus_username }
1345 __nexus_password__: { get_param: nexus_password }
1346 __artifacts_version__: { get_param: artifacts_version }
1347 __dns_ip_addr__: { get_param: dns_ip_addr }
1348 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1349 __docker_version__: { get_param: policy_docker }
1350 __gerrit_branch__: { get_param: policy_branch }
1351 __cloud_env__: { get_param: cloud_env }
1352 __external_dns__: { get_param: external_dns }
1353 __policy_repo__: { get_param: policy_repo }
1357 # Create configuration files
1358 mkdir -p /opt/config
1359 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1360 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1361 echo "__nexus_username__" > /opt/config/nexus_username.txt
1362 echo "__nexus_password__" > /opt/config/nexus_password.txt
1363 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1364 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1365 echo "__public_ip__" > /opt/config/public_ip.txt
1366 echo "__docker_version__" > /opt/config/docker_version.txt
1367 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1368 echo "__cloud_env__" > /opt/config/cloud_env.txt
1369 echo "__external_dns__" > /opt/config/external_dns.txt
1370 echo "__policy_repo__" > /opt/config/remote_repo.txt
1372 # Download and run install script
1373 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1375 chmod +x policy_install.sh
1379 # APP-C instantiation
1381 type: OS::Neutron::Port
1383 network: { get_resource: oam_onap }
1384 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1386 - { get_resource: onap_sg }
1389 type: OS::Neutron::FloatingIP
1391 floating_network_id: { get_param: public_net_id }
1392 port_id: { get_resource: appc_private_port }
1395 type: OS::Nova::Server
1397 image: { get_param: ubuntu_1404_image }
1398 flavor: { get_param: flavor_medium }
1403 base: { get_param: vm_base_name }
1404 key_name: { get_resource: vm_key }
1406 - port: { get_resource: appc_private_port }
1407 user_data_format: RAW
1411 __nexus_repo__: { get_param: nexus_repo }
1412 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1413 __nexus_username__: { get_param: nexus_username }
1414 __nexus_password__: { get_param: nexus_password }
1415 __dmaap_topic__: { get_param: dmaap_topic }
1416 __artifacts_version__: { get_param: artifacts_version }
1417 __dns_ip_addr__: { get_param: dns_ip_addr }
1418 __docker_version__: { get_param: appc_docker }
1419 __gerrit_branch__: { get_param: appc_branch }
1420 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1421 __cloud_env__: { get_param: cloud_env }
1422 __external_dns__: { get_param: external_dns }
1423 __appc_repo__: { get_param: appc_repo }
1427 # Create configuration files
1428 mkdir -p /opt/config
1429 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1430 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1431 echo "__nexus_username__" > /opt/config/nexus_username.txt
1432 echo "__nexus_password__" > /opt/config/nexus_password.txt
1433 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1434 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1435 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1436 echo "__docker_version__" > /opt/config/docker_version.txt
1437 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1438 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1439 echo "__cloud_env__" > /opt/config/cloud_env.txt
1440 echo "__external_dns__" > /opt/config/external_dns.txt
1441 echo "__appc_repo__" > /opt/config/remote_repo.txt
1443 # Download and run install script
1444 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1446 chmod +x appc_install.sh
1450 # CLAMP instantiation
1452 type: OS::Neutron::Port
1454 network: { get_resource: oam_onap }
1455 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1457 - { get_resource: onap_sg }
1460 type: OS::Neutron::FloatingIP
1462 floating_network_id: { get_param: public_net_id }
1463 port_id: { get_resource: clamp_private_port }
1466 type: OS::Nova::Server
1468 image: { get_param: ubuntu_1604_image }
1469 flavor: { get_param: flavor_medium }
1472 template: base-clamp
1474 base: { get_param: vm_base_name }
1475 key_name: { get_resource: vm_key }
1477 - port: { get_resource: clamp_private_port }
1478 user_data_format: RAW
1482 __nexus_repo__: { get_param: nexus_repo }
1483 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1484 __nexus_username__: { get_param: nexus_username }
1485 __nexus_password__: { get_param: nexus_password }
1486 __openstack_username__: { get_param: openstack_username }
1487 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1488 __openstack_api_key__: { get_param: openstack_api_key }
1489 __openstack_region__: { get_param: openstack_region }
1490 __keystone_url__: { get_param: keystone_url }
1491 __dmaap_topic__: { get_param: dmaap_topic }
1492 __artifacts_version__: { get_param: artifacts_version }
1493 __dns_ip_addr__: { get_param: dns_ip_addr }
1494 __docker_version__: { get_param: clamp_docker }
1495 __gerrit_branch__: { get_param: clamp_branch }
1496 __cloud_env__: { get_param: cloud_env }
1497 __external_dns__: { get_param: external_dns }
1498 __clamp_repo__: { get_param: clamp_repo }
1502 # Create configuration files
1503 mkdir -p /opt/config
1504 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1505 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1506 echo "__nexus_username__" > /opt/config/nexus_username.txt
1507 echo "__nexus_password__" > /opt/config/nexus_password.txt
1508 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1509 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1510 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1511 echo "__openstack_username__" > /opt/config/openstack_username.txt
1512 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1513 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1514 echo "__openstack_region__" > /opt/config/openstack_region.txt
1515 echo "__keystone_url__" > /opt/config/keystone.txt
1516 echo "__docker_version__" > /opt/config/docker_version.txt
1517 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1518 echo "__cloud_env__" > /opt/config/cloud_env.txt
1519 echo "__external_dns__" > /opt/config/external_dns.txt
1520 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1522 # Download and run install script
1523 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1525 chmod +x clamp_install.sh
1529 # OPEN-O VM instantiation
1531 type: OS::Neutron::Port
1533 network: { get_resource: oam_onap }
1534 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1536 - { get_resource: onap_sg }
1539 type: OS::Neutron::FloatingIP
1541 floating_network_id: { get_param: public_net_id }
1542 port_id: { get_resource: openo_private_port }
1545 type: OS::Nova::Server
1547 image: { get_param: ubuntu_1604_image }
1548 flavor: { get_param: flavor_large }
1551 template: base-multi-service
1553 base: { get_param: vm_base_name }
1554 key_name: { get_resource: vm_key }
1556 - port: { get_resource: openo_private_port }
1557 user_data_format: RAW
1561 __nexus_repo__: { get_param: nexus_repo }
1562 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1563 __nexus_username__: { get_param: nexus_username }
1564 __nexus_password__: { get_param: nexus_password }
1565 __artifacts_version__: { get_param: artifacts_version }
1566 __dns_ip_addr__: { get_param: dns_ip_addr }
1567 __oam_network_cidr__: { get_param: oam_network_cidr }
1568 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1569 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1570 __appc_ip_addr__: { get_param: appc_ip_addr }
1571 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1572 __so_ip_addr__: { get_param: so_ip_addr }
1573 __mr_ip_addr__: { get_param: mr_ip_addr }
1574 __policy_ip_addr__: { get_param: policy_ip_addr }
1575 __portal_ip_addr__: { get_param: portal_ip_addr }
1576 __robot_ip_addr__: { get_param: robot_ip_addr }
1577 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1578 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1579 __vid_ip_addr__: { get_param: vid_ip_addr }
1580 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1581 __openo_ip_addr__: { get_param: openo_ip_addr }
1582 __cloud_env__: { get_param: cloud_env }
1583 __external_dns__: { get_param: external_dns }
1584 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1585 __msb_docker__: { get_param: msb_docker }
1586 __mvim_docker__: { get_param: mvim_docker }
1587 __uui_docker__: { get_param: uui_docker }
1588 __esr_docker__: { get_param: esr_docker }
1589 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1590 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1591 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1592 __cbam_ip__: { get_param: cbam_ip }
1593 __cbam_username__: { get_param: cbam_username }
1594 __cbam_password__: { get_param: cbam_password }
1595 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1596 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1597 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1598 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1599 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1600 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1601 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1602 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1603 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1604 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1605 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1606 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1607 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1608 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1609 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1613 # Create configuration files
1614 mkdir -p /opt/config
1615 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1616 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1617 echo "__nexus_username__" > /opt/config/nexus_username.txt
1618 echo "__nexus_password__" > /opt/config/nexus_password.txt
1619 echo "__cloud_env__" > /opt/config/cloud_env.txt
1620 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1621 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1622 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1623 echo "__external_dns__" > /opt/config/external_dns.txt
1624 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1625 echo "__msb_docker__" > /opt/config/msb_docker.txt
1626 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1627 echo "__uui_docker__" > /opt/config/uui_docker.txt
1628 echo "__esr_docker__" > /opt/config/esr_docker.txt
1629 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1630 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1631 echo "__cbam_username__" > /opt/config/cbam_username.txt
1632 echo "__cbam_password__" > /opt/config/cbam_password.txt
1634 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1635 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1636 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1637 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1638 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1639 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1640 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1641 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1642 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1643 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1644 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1645 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1646 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1647 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1648 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1649 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1650 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1652 # Create env file with the IP address of all ONAP components
1653 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1654 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1655 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1656 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1657 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1658 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1659 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1660 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1661 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1662 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1663 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1664 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1665 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1666 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1668 # Download and run install script
1669 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1671 chmod +x openo_install.sh
1675 # DCAE GEN 2 Controller instantiation
1676 dcae_c_private_port:
1677 type: OS::Neutron::Port
1679 network: { get_resource: oam_onap }
1680 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1682 - { get_resource: onap_sg }
1685 type: OS::Neutron::FloatingIP
1687 floating_network_id: { get_param: public_net_id }
1688 port_id: { get_resource: dcae_c_private_port }
1691 type: OS::Nova::Server
1693 image: { get_param: ubuntu_1604_image }
1694 flavor: { get_param: flavor_small }
1697 template: base-dcae-bootstrap
1699 base: { get_param: vm_base_name }
1700 key_name: { get_resource: vm_key }
1702 - port: { get_resource: dcae_c_private_port }
1704 # - { get_resource: onap_sg }
1705 user_data_format: RAW
1709 __rand_str__: { get_resource: random-str }
1711 __artifacts_version__: { get_param: artifacts_version }
1712 __docker_version__: { get_param: dcae_docker }
1713 __nexus_repo__: { get_param: nexus_repo }
1714 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1715 __nexus_username__: { get_param: nexus_username }
1716 __nexus_password__: { get_param: nexus_password }
1717 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1718 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1719 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1720 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1721 __dns_ip_addr__: { get_param: dns_ip_addr }
1722 __external_dns__: { get_param: external_dns }
1723 __dns_forwarder__: { get_param: dns_forwarder }
1724 __dcae_domain__: { get_param: dcae_domain }
1725 # conf for VMs DCAE is to bringup
1726 __openstack_keystone_url__: { get_param: keystone_url }
1727 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1728 __dcaeos_cloud_env__: { get_param: cloud_env }
1729 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1730 __dcaeos_region__: { get_param: openstack_region }
1731 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1732 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1733 __dcaeos_security_group__:
1735 template: 'onap_sg_rand'
1737 rand: { get_resource: random-str }
1738 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1739 __dcaeos_username__: { get_param: openstack_username }
1740 __dcaeos_password__: { get_param: openstack_api_key }
1741 __dcaeos_key_name__: { get_resource: vm_key }
1742 __dcaeos_public_key__: { get_param: dcae_public_key }
1743 __dcaeos_private_key__: { get_param: dcae_private_key }
1744 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1745 __dcaeos_public_network_name__: { get_param: public_net_name }
1746 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1747 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1748 __dcaeos_flavor_id__: { get_param: flavor_medium }
1749 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1750 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1751 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1752 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1753 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1754 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1755 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1757 __mr_ip_addr__: { get_param: mr_ip_addr }
1758 __policy_ip_addr__: { get_param: policy_ip_addr }
1759 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1760 __openo_ip_addr__: { get_param: openo_ip_addr }
1761 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1762 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1764 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1765 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1766 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1767 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1768 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1769 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1770 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1771 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1776 # Create configuration files
1777 mkdir -p /opt/config
1778 echo "__rand_str__" > /opt/config/dcae_zone.txt
1779 echo "__rand_str__" > /opt/config/rand_str.txt
1781 echo "__docker_version__" > /opt/config/docker_version.txt
1782 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1783 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1784 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1785 echo "__nexus_username__" > /opt/config/nexus_username.txt
1786 echo "__nexus_password__" > /opt/config/nexus_password.txt
1787 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1788 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1789 echo "__mac_addr__" > /opt/config/mac_addr.txt
1790 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1791 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1792 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1793 echo "__external_dns__" > /opt/config/external_dns.txt
1794 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1795 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1796 # conf for the OpenStack env where DCAE is deployed
1797 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1798 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1799 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1800 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1801 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1802 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1803 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1804 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1805 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1806 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1807 echo "__dcaeos_private_key__" > /opt/config/priv_key
1808 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1809 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1810 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1811 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1812 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1813 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1814 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1815 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1816 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1817 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1818 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1819 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1820 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1821 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1822 # fixed private IP addresses of other ONAP components
1823 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1824 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1825 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1826 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1827 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1828 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1830 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1831 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1832 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1833 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1834 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1835 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1836 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1837 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1839 # Download and run install script
1840 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1842 chmod +x dcae2_install.sh
1843 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1846 # MUSIC instantiation
1848 type: OS::Neutron::Port
1850 network: { get_resource: oam_onap }
1851 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1853 - { get_resource: onap_sg }
1856 type: OS::Neutron::FloatingIP
1858 floating_network_id: { get_param: public_net_id }
1859 port_id: { get_resource: music_private_port }
1862 type: OS::Nova::Server
1864 image: { get_param: ubuntu_1404_image }
1865 flavor: { get_param: flavor_large }
1868 template: base-music
1870 base: { get_param: vm_base_name }
1871 key_name: { get_resource: vm_key }
1873 - port: { get_resource: music_private_port }
1874 user_data_format: RAW
1878 __nexus_repo__: { get_param: nexus_repo }
1879 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1880 __nexus_username__: { get_param: nexus_username }
1881 __nexus_password__: { get_param: nexus_password }
1882 __artifacts_version__: { get_param: artifacts_version }
1883 __dns_ip_addr__: { get_param: dns_ip_addr }
1884 __docker_version__: { get_param: music_docker }
1885 __music_repo__: { get_param: music_repo }
1886 __gerrit_branch__: { get_param: music_branch }
1887 __cloud_env__: { get_param: cloud_env }
1888 __external_dns__: { get_param: external_dns }
1892 # Create configuration files
1893 mkdir -p /opt/config
1894 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1895 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1896 echo "__nexus_username__" > /opt/config/nexus_username.txt
1897 echo "__nexus_password__" > /opt/config/nexus_password.txt
1898 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1899 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1900 echo "__docker_version__" > /opt/config/docker_version.txt
1901 echo "__music_repo__" > /opt/config/remote_repo.txt
1902 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1903 echo "__cloud_env__" > /opt/config/cloud_env.txt
1904 echo "__external_dns__" > /opt/config/external_dns.txt
1906 # Download and run install script
1907 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1909 chmod +x music_install.sh
1915 type: OS::Neutron::Port
1917 network: { get_resource: oam_onap }
1918 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1920 - { get_resource: onap_sg }
1923 type: OS::Neutron::FloatingIP
1925 floating_network_id: { get_param: public_net_id }
1926 port_id: { get_resource: oof_private_port }
1929 type: OS::Nova::Server
1931 image: { get_param: ubuntu_1404_image }
1932 flavor: { get_param: flavor_medium }
1937 base: { get_param: vm_base_name }
1938 key_name: { get_resource: vm_key }
1940 - port: { get_resource: oof_private_port }
1941 user_data_format: RAW
1945 __nexus_repo__: { get_param: nexus_repo }
1946 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1947 __nexus_username__: { get_param: nexus_username }
1948 __nexus_password__: { get_param: nexus_password }
1949 __artifacts_version__: { get_param: artifacts_version }
1950 __dns_ip_addr__: { get_param: dns_ip_addr }
1951 __docker_version__: { get_param: oof_docker }
1952 __cloud_env__: { get_param: cloud_env }
1953 __external_dns__: { get_param: external_dns }
1957 # Create configuration files
1958 mkdir -p /opt/config
1959 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1960 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1961 echo "__nexus_username__" > /opt/config/nexus_username.txt
1962 echo "__nexus_password__" > /opt/config/nexus_password.txt
1963 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1964 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1965 echo "__docker_version__" > /opt/config/docker_version.txt
1966 echo "__cloud_env__" > /opt/config/cloud_env.txt
1967 echo "__external_dns__" > /opt/config/external_dns.txt
1969 # Download and run install script
1970 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1972 chmod +x oof_install.sh
1978 type: OS::Neutron::Port
1980 network: { get_resource: oam_onap }
1981 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1983 - { get_resource: onap_sg }
1986 type: OS::Neutron::FloatingIP
1988 floating_network_id: { get_param: public_net_id }
1989 port_id: { get_resource: aaf_private_port }
1992 type: OS::Nova::Server
1994 image: { get_param: ubuntu_1604_image }
1995 flavor: { get_param: flavor_medium }
2000 base: { get_param: vm_base_name }
2001 key_name: { get_resource: vm_key }
2003 - port: { get_resource: aaf_private_port }
2004 user_data_format: RAW
2008 __nexus_repo__: { get_param: nexus_repo }
2009 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2010 __nexus_username__: { get_param: nexus_username }
2011 __nexus_password__: { get_param: nexus_password }
2012 __artifacts_version__: { get_param: artifacts_version }
2013 __dns_ip_addr__: { get_param: dns_ip_addr }
2014 __docker_version__: { get_param: aaf_docker }
2015 __cloud_env__: { get_param: cloud_env }
2016 __external_dns__: { get_param: external_dns }
2017 __aaf_repo__: { get_param: aaf_repo }
2018 __gerrit_branch__: { get_param: aaf_branch }
2022 # Create configuration files
2023 mkdir -p /opt/config
2024 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2025 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2026 echo "__nexus_username__" > /opt/config/nexus_username.txt
2027 echo "__nexus_password__" > /opt/config/nexus_password.txt
2028 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2029 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2030 echo "__docker_version__" > /opt/config/docker_version.txt
2031 echo "__cloud_env__" > /opt/config/cloud_env.txt
2032 echo "__external_dns__" > /opt/config/external_dns.txt
2033 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2034 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2036 # Download and run install script
2037 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2039 chmod +x aaf_install.sh
2044 type: OS::Neutron::Port
2046 network: { get_resource: oam_onap }
2047 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2049 - { get_resource: onap_sg }
2052 type: OS::Neutron::FloatingIP
2054 floating_network_id: { get_param: public_net_id }
2055 port_id: { get_resource: nbi_private_port }
2058 type: OS::Nova::Server
2060 image: { get_param: ubuntu_1604_image }
2061 flavor: { get_param: flavor_small }
2066 base: { get_param: vm_base_name }
2067 key_name: { get_resource: vm_key }
2069 - port: { get_resource: nbi_private_port }
2070 user_data_format: RAW
2074 __nexus_repo__: { get_param: nexus_repo }
2075 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2076 __nexus_username__: { get_param: nexus_username }
2077 __nexus_password__: { get_param: nexus_password }
2078 __artifacts_version__: { get_param: artifacts_version }
2079 __dns_ip_addr__: { get_param: dns_ip_addr }
2080 __docker_version__: { get_param: nbi_docker }
2081 __nbi_repo__: { get_param: nbi_repo }
2082 __gerrit_branch__: { get_param: nbi_branch }
2083 __cloud_env__: { get_param: cloud_env }
2084 __external_dns__: { get_param: external_dns }
2088 # Create configuration files
2089 mkdir -p /opt/config
2090 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2091 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2092 echo "__nexus_username__" > /opt/config/nexus_username.txt
2093 echo "__nexus_password__" > /opt/config/nexus_password.txt
2094 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2095 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2096 echo "__docker_version__" > /opt/config/docker_version.txt
2097 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2098 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2099 echo "__cloud_env__" > /opt/config/cloud_env.txt
2100 echo "__external_dns__" > /opt/config/external_dns.txt
2102 # Download and run install script
2103 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2105 chmod +x nbi_install.sh