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 #####################
296 ################################
298 # Docker versions and branches #
300 ################################
353 vfc_ztevnfmdriver_docker:
355 vfc_ztesdncdriver_docker:
363 vfc_resmanagement_docker:
369 vfc_jujudriver_docker:
371 vfc_gvnfmdriver_docker:
373 vfc_emsdriver_docker:
377 vfc_wfengine_mgrservice_docker:
379 vfc_wfengine_activiti_docker:
425 type: OS::Heat::RandomString
429 # Public key used to access ONAP components
431 type: OS::Nova::KeyPair
437 base: { get_param: key_name }
438 rand: { get_resource: random-str }
439 public_key: { get_param: pub_key }
440 save_private_key: false
443 # ONAP security group
445 type: OS::Neutron::SecurityGroup
452 rand: { get_resource: random-str }
453 description: security group used by ONAP
465 port_range_max: 65535
468 port_range_max: 65535
472 # ONAP management private network
474 type: OS::Neutron::Net
478 template: oam_onap_rand
480 rand: { get_resource: random-str }
483 type: OS::Neutron::Subnet
487 template: oam_onap_rand
489 rand: { get_resource: random-str }
490 network_id: { get_resource: oam_onap }
491 cidr: { get_param: oam_network_cidr }
492 dns_nameservers: { get_param: dns_list }
495 type: OS::Neutron::Router
497 external_gateway_info:
498 network: { get_param: public_net_id }
501 type: OS::Neutron::RouterInterface
503 router_id: { get_resource: router }
504 subnet_id: { get_resource: oam_onap_subnet }
507 # DNS Server instantiation
509 type: OS::Neutron::Port
511 network: { get_resource: oam_onap }
512 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
514 - { get_resource: onap_sg }
517 type: OS::Neutron::FloatingIP
519 floating_network_id: { get_param: public_net_id }
520 port_id: { get_resource: dns_private_port }
523 type: OS::Nova::Server
525 image: { get_param: ubuntu_1404_image }
526 flavor: { get_param: flavor_small }
529 template: base-dns-server
531 base: { get_param: vm_base_name }
532 key_name: { get_resource: vm_key }
534 - port: { get_resource: dns_private_port }
535 user_data_format: RAW
539 __nexus_repo__: { get_param: nexus_repo }
540 __artifacts_version__: { get_param: artifacts_version }
541 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
542 __dns_ip_addr__: { get_param: dns_ip_addr }
543 __aai1_ip_addr__: { get_param: aai1_ip_addr }
544 __aai2_ip_addr__: { get_param: aai2_ip_addr }
545 __appc_ip_addr__: { get_param: appc_ip_addr }
546 __dcae_ip_addr__: { get_param: dcae_ip_addr }
547 __so_ip_addr__: { get_param: so_ip_addr }
548 __mr_ip_addr__: { get_param: mr_ip_addr }
549 __policy_ip_addr__: { get_param: policy_ip_addr }
550 __portal_ip_addr__: { get_param: portal_ip_addr }
551 __robot_ip_addr__: { get_param: robot_ip_addr }
552 __sdc_ip_addr__: { get_param: sdc_ip_addr }
553 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
554 __vid_ip_addr__: { get_param: vid_ip_addr }
555 __clamp_ip_addr__: { get_param: clamp_ip_addr }
556 __openo_ip_addr__: { get_param: openo_ip_addr }
557 __music_ip_addr__: { get_param: music_ip_addr }
558 __oof_ip_addr__: { get_param: oof_ip_addr }
559 __aaf_ip_addr__: { get_param: aaf_ip_addr }
560 __cloud_env__: { get_param: cloud_env }
561 __external_dns__: { get_param: external_dns }
562 __dns_forwarder__: { get_param: dns_forwarder }
566 # Create configuration files
568 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
569 echo "__cloud_env__" > /opt/config/cloud_env.txt
570 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
571 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
572 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
573 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
574 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
575 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
576 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
577 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
578 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
579 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
580 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
581 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
582 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
583 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
584 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
585 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
586 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
587 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
588 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
589 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
590 echo "__external_dns__" > /opt/config/external_dns.txt
591 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
593 # Download and run install script
594 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
596 chmod +x dns_install.sh
600 # A&AI instantiation (2 VMs)
602 type: OS::Neutron::Port
604 network: { get_resource: oam_onap }
605 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
607 - { get_resource: onap_sg }
610 type: OS::Neutron::FloatingIP
612 floating_network_id: { get_param: public_net_id }
613 port_id: { get_resource: aai1_private_port }
616 type: OS::Nova::Server
619 image: { get_param: ubuntu_1404_image }
620 flavor: { get_param: flavor_large }
623 template: base-aai-inst1
625 base: { get_param: vm_base_name }
626 key_name: { get_resource: vm_key }
628 - port: { get_resource: aai1_private_port }
629 user_data_format: RAW
633 __nexus_repo__: { get_param: nexus_repo }
634 __nexus_docker_repo__: { get_param: nexus_docker_repo }
635 __nexus_username__: { get_param: nexus_username }
636 __nexus_password__: { get_param: nexus_password }
637 __dmaap_topic__: { get_param: dmaap_topic }
638 __artifacts_version__: { get_param: artifacts_version }
639 __dns_ip_addr__: { get_param: dns_ip_addr }
640 __docker_version__: { get_param: aai_docker }
641 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
642 __gerrit_branch__: { get_param: aai_branch }
643 __cloud_env__: { get_param: cloud_env }
644 __external_dns__: { get_param: external_dns }
645 __aai_repo__: { get_param: aai_repo }
649 # Create configuration files
651 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
652 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
653 echo "__nexus_username__" > /opt/config/nexus_username.txt
654 echo "__nexus_password__" > /opt/config/nexus_password.txt
655 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
656 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
657 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
658 echo "__docker_version__" > /opt/config/docker_version.txt
659 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
660 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
661 echo "aai_instance_1" > /opt/config/aai_instance.txt
662 echo "__cloud_env__" > /opt/config/cloud_env.txt
663 echo "__external_dns__" > /opt/config/external_dns.txt
664 echo "__aai_repo__" > /opt/config/remote_repo.txt
666 # Download and run install script
667 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
669 chmod +x aai_install.sh
674 type: OS::Neutron::Port
676 network: { get_resource: oam_onap }
677 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
679 - { get_resource: onap_sg }
682 type: OS::Neutron::FloatingIP
684 floating_network_id: { get_param: public_net_id }
685 port_id: { get_resource: aai2_private_port }
688 type: OS::Nova::Server
690 image: { get_param: ubuntu_1404_image }
691 flavor: { get_param: flavor_large }
694 template: base-aai-inst2
696 base: { get_param: vm_base_name }
697 key_name: { get_resource: vm_key }
699 - port: { get_resource: aai2_private_port }
700 user_data_format: RAW
704 __nexus_repo__: { get_param: nexus_repo }
705 __nexus_docker_repo__: { get_param: nexus_docker_repo }
706 __nexus_username__: { get_param: nexus_username }
707 __nexus_password__: { get_param: nexus_password }
708 __dmaap_topic__: { get_param: dmaap_topic }
709 __artifacts_version__: { get_param: artifacts_version }
710 __dns_ip_addr__: { get_param: dns_ip_addr }
711 __docker_version__: { get_param: aai_docker }
712 __gerrit_branch__: { get_param: aai_branch }
713 __cloud_env__: { get_param: cloud_env }
714 __external_dns__: { get_param: external_dns }
715 __aai_repo__: { get_param: aai_repo }
719 # Create configuration files
721 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
722 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
723 echo "__nexus_username__" > /opt/config/nexus_username.txt
724 echo "__nexus_password__" > /opt/config/nexus_password.txt
725 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
726 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
727 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
728 echo "__docker_version__" > /opt/config/docker_version.txt
729 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
730 echo "aai_instance_2" > /opt/config/aai_instance.txt
731 echo "__cloud_env__" > /opt/config/cloud_env.txt
732 echo "__external_dns__" > /opt/config/external_dns.txt
733 echo "__aai_repo__" > /opt/config/remote_repo.txt
735 # Download and run install script
736 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
738 chmod +x aai_install.sh
744 type: OS::Neutron::Port
746 network: { get_resource: oam_onap }
747 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
749 - { get_resource: onap_sg }
752 type: OS::Neutron::FloatingIP
754 floating_network_id: { get_param: public_net_id }
755 port_id: { get_resource: so_private_port }
758 type: OS::Nova::Server
760 image: { get_param: ubuntu_1604_image }
761 flavor: { get_param: flavor_medium }
766 base: { get_param: vm_base_name }
767 key_name: { get_resource: vm_key }
769 - port: { get_resource: so_private_port }
770 user_data_format: RAW
774 __nexus_repo__: { get_param: nexus_repo }
775 __nexus_docker_repo__: { get_param: nexus_docker_repo }
776 __nexus_username__: { get_param: nexus_username }
777 __nexus_password__: { get_param: nexus_password }
778 __openstack_username__: { get_param: openstack_username }
779 __openstack_tenant_id__: { get_param: openstack_tenant_id }
780 __openstack_api_key__: { get_param: openstack_api_key }
781 __openstack_region__: { get_param: openstack_region }
782 __keystone_url__: { get_param: keystone_url }
783 __dmaap_topic__: { get_param: dmaap_topic }
784 __artifacts_version__: { get_param: artifacts_version }
785 __dns_ip_addr__: { get_param: dns_ip_addr }
786 __openo_ip__: { get_param: openo_ip_addr }
787 __docker_version__: { get_param: so_docker }
788 __gerrit_branch__: { get_param: so_branch }
789 __cloud_env__: { get_param: cloud_env }
790 __external_dns__: { get_param: external_dns }
791 __so_repo__: { get_param: so_repo }
795 # Create configuration files
797 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
798 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
799 echo "__nexus_username__" > /opt/config/nexus_username.txt
800 echo "__nexus_password__" > /opt/config/nexus_password.txt
801 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
802 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
803 echo "__openo_ip__" > /opt/config/openo_ip.txt
804 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
805 echo "__openstack_username__" > /opt/config/openstack_username.txt
806 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
807 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
808 echo "__openstack_region__" > /opt/config/openstack_region.txt
809 echo "__keystone_url__" > /opt/config/keystone.txt
810 echo "__docker_version__" > /opt/config/docker_version.txt
811 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
812 echo "__cloud_env__" > /opt/config/cloud_env.txt
813 echo "__external_dns__" > /opt/config/external_dns.txt
814 echo "__so_repo__" > /opt/config/remote_repo.txt
816 # Download and run install script
817 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
819 chmod +x so_install.sh
823 # Message Router instantiation
824 mrouter_private_port:
825 type: OS::Neutron::Port
827 network: { get_resource: oam_onap }
828 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
830 - { get_resource: onap_sg }
833 type: OS::Neutron::FloatingIP
835 floating_network_id: { get_param: public_net_id }
836 port_id: { get_resource: mrouter_private_port }
839 type: OS::Nova::Server
841 image: { get_param: ubuntu_1404_image }
842 flavor: { get_param: flavor_medium }
845 template: base-message-router
847 base: { get_param: vm_base_name }
848 key_name: { get_resource: vm_key }
850 - port: { get_resource: mrouter_private_port }
851 user_data_format: RAW
855 __nexus_repo__: { get_param: nexus_repo }
856 __nexus_docker_repo__: { get_param: nexus_docker_repo }
857 __nexus_username__: { get_param: nexus_username }
858 __nexus_password__: { get_param: nexus_password }
859 __artifacts_version__: { get_param: artifacts_version }
860 __dns_ip_addr__: { get_param: dns_ip_addr }
861 __gerrit_branch__: { get_param: mr_branch }
862 __cloud_env__: { get_param: cloud_env }
863 __external_dns__: { get_param: external_dns }
864 __mr_repo__: { get_param: mr_repo }
868 # Create configuration files
870 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
871 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
872 echo "__nexus_username__" > /opt/config/nexus_username.txt
873 echo "__nexus_password__" > /opt/config/nexus_password.txt
874 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
875 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
876 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
877 echo "__cloud_env__" > /opt/config/cloud_env.txt
878 echo "__external_dns__" > /opt/config/external_dns.txt
879 echo "__mr_repo__" > /opt/config/remote_repo.txt
881 # Download and run install script
882 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
884 chmod +x mr_install.sh
888 # Robot Framework instantiation
890 type: OS::Neutron::Port
892 network: { get_resource: oam_onap }
893 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
895 - { get_resource: onap_sg }
898 type: OS::Neutron::FloatingIP
900 floating_network_id: { get_param: public_net_id }
901 port_id: { get_resource: robot_private_port }
904 type: OS::Nova::Server
906 image: { get_param: ubuntu_1604_image }
907 flavor: { get_param: flavor_small }
912 base: { get_param: vm_base_name }
913 key_name: { get_resource: vm_key }
915 - port: { get_resource: robot_private_port }
916 user_data_format: RAW
920 __nexus_repo__: { get_param: nexus_repo }
921 __nexus_docker_repo__: { get_param: nexus_docker_repo }
922 __nexus_username__: { get_param: nexus_username }
923 __nexus_password__: { get_param: nexus_password }
924 __network_name__: { get_attr: [oam_onap, name] }
925 __openstack_username__: { get_param: openstack_username }
926 __openstack_api_key__: { get_param : openstack_api_key }
927 __openstack_tenant_id__: { get_param: openstack_tenant_id }
928 __artifacts_version__: { get_param: artifacts_version }
929 __openstack_region__: { get_param: openstack_region }
930 __dns_ip_addr__: { get_param: dns_ip_addr }
931 __gerrit_branch__: { get_param: robot_branch }
932 __cloud_env__: { get_param: cloud_env }
933 __keystone_url__: { get_param: keystone_url }
934 __aai1_ip_addr__: { get_param: aai1_ip_addr }
935 __aai2_ip_addr__: { get_param: aai2_ip_addr }
936 __appc_ip_addr__: { get_param: appc_ip_addr }
937 __dcae_ip_addr__: { get_param: dcae_ip_addr }
938 __so_ip_addr__: { get_param: so_ip_addr }
939 __mr_ip_addr__: { get_param: mr_ip_addr }
940 __policy_ip_addr__: { get_param: policy_ip_addr }
941 __portal_ip_addr__: { get_param: portal_ip_addr }
942 __sdc_ip_addr__: { get_param: sdc_ip_addr }
943 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
944 __vid_ip_addr__: { get_param: vid_ip_addr }
945 __clamp_ip_addr__: { get_param: clamp_ip_addr }
946 __openo_ip_addr__: { get_param: openo_ip_addr }
947 __clamp_ip_addr__: { get_param: clamp_ip_addr }
948 __openo_ip_addr__: { get_param: openo_ip_addr }
949 __music_ip_addr__: { get_param: music_ip_addr }
950 __external_dns__: { get_param: external_dns }
951 __vm_image_name__: { get_param: ubuntu_1404_image }
952 __vm_flavor__: { get_param: flavor_medium }
953 __public_net_id__: { get_param: public_net_id }
954 __script_version__: { get_param: artifacts_version }
955 __robot_repo__: { get_param: robot_repo }
956 __docker_version__: { get_param: robot_docker }
960 # Create configuration files
962 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
963 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
964 echo "__nexus_username__" > /opt/config/nexus_username.txt
965 echo "__nexus_password__" > /opt/config/nexus_password.txt
966 echo "__network_name__" > /opt/config/network.txt
967 echo "__openstack_username__" > /opt/config/openstack_username.txt
968 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
969 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
970 echo "__openstack_region__" > /opt/config/region.txt
971 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
972 echo "__docker_version__" > /opt/config/docker_version.txt
973 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
974 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
975 echo "__keystone_url__" > /opt/config/keystone.txt
976 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
977 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
978 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
979 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
980 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
981 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
982 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
983 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
984 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
985 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
986 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
987 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
988 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
989 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
990 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
991 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
992 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
993 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
994 echo "__cloud_env__" > /opt/config/cloud_env.txt
995 echo "__external_dns__" > /opt/config/external_dns.txt
996 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
997 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
998 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
999 echo "__script_version__" > /opt/config/script_version.txt
1000 echo "__public_net_id__" > /opt/config/public_net_id.txt
1001 echo "__robot_repo__" > /opt/config/remote_repo.txt
1003 # Download and run install script
1004 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1006 chmod +x robot_install.sh
1012 type: OS::Neutron::Port
1014 network: { get_resource: oam_onap }
1015 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1017 - { get_resource: onap_sg }
1020 type: OS::Neutron::FloatingIP
1022 floating_network_id: { get_param: public_net_id }
1023 port_id: { get_resource: vid_private_port }
1026 type: OS::Nova::Server
1028 image: { get_param: ubuntu_1404_image }
1029 flavor: { get_param: flavor_medium }
1034 base: { get_param: vm_base_name }
1035 key_name: { get_resource: vm_key }
1037 - port: { get_resource: vid_private_port }
1038 user_data_format: RAW
1042 __nexus_repo__: { get_param: nexus_repo }
1043 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1044 __nexus_username__: { get_param: nexus_username }
1045 __nexus_password__: { get_param: nexus_password }
1046 __artifacts_version__: { get_param: artifacts_version }
1047 __dns_ip_addr__: { get_param: dns_ip_addr }
1048 __docker_version__: { get_param: vid_docker }
1049 __gerrit_branch__: { get_param: vid_branch }
1050 __cloud_env__: { get_param: cloud_env }
1051 __external_dns__: { get_param: external_dns }
1052 __vid_repo__: { get_param: vid_repo }
1056 # Create configuration files
1057 mkdir -p /opt/config
1058 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1059 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1060 echo "__nexus_username__" > /opt/config/nexus_username.txt
1061 echo "__nexus_password__" > /opt/config/nexus_password.txt
1062 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1063 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1064 echo "__docker_version__" > /opt/config/docker_version.txt
1065 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1066 echo "__cloud_env__" > /opt/config/cloud_env.txt
1067 echo "__external_dns__" > /opt/config/external_dns.txt
1068 echo "__vid_repo__" > /opt/config/remote_repo.txt
1070 # Download and run install script
1071 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1073 chmod +x vid_install.sh
1077 # SDN-C instantiation
1079 type: OS::Neutron::Port
1081 network: { get_resource: oam_onap }
1082 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1084 - { get_resource: onap_sg }
1087 type: OS::Neutron::FloatingIP
1089 floating_network_id: { get_param: public_net_id }
1090 port_id: { get_resource: sdnc_private_port }
1093 type: OS::Nova::Server
1095 image: { get_param: ubuntu_1404_image }
1096 flavor: { get_param: flavor_medium }
1101 base: { get_param: vm_base_name }
1102 key_name: { get_resource: vm_key }
1104 - port: { get_resource: sdnc_private_port }
1105 user_data_format: RAW
1109 __nexus_repo__: { get_param: nexus_repo }
1110 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1111 __nexus_username__: { get_param: nexus_username }
1112 __nexus_password__: { get_param: nexus_password }
1113 __artifacts_version__: { get_param: artifacts_version }
1114 __dns_ip_addr__: { get_param: dns_ip_addr }
1115 __docker_version__: { get_param: sdnc_docker }
1116 __gerrit_branch__: { get_param: sdnc_branch }
1117 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1118 __cloud_env__: { get_param: cloud_env }
1119 __external_dns__: { get_param: external_dns }
1120 __sdnc_repo__: { get_param: sdnc_repo }
1124 # Create configuration files
1125 mkdir -p /opt/config
1126 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1127 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1128 echo "__nexus_username__" > /opt/config/nexus_username.txt
1129 echo "__nexus_password__" > /opt/config/nexus_password.txt
1130 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1131 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1132 echo "__docker_version__" > /opt/config/docker_version.txt
1133 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1134 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1135 echo "__cloud_env__" > /opt/config/cloud_env.txt
1136 echo "__external_dns__" > /opt/config/external_dns.txt
1137 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1139 # Download and run install script
1140 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1142 chmod +x sdnc_install.sh
1148 type: OS::Neutron::Port
1150 network: { get_resource: oam_onap }
1151 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1153 - { get_resource: onap_sg }
1156 type: OS::Neutron::FloatingIP
1158 floating_network_id: { get_param: public_net_id }
1159 port_id: { get_resource: sdc_private_port }
1162 type: OS::Cinder::Volume
1168 type: OS::Nova::Server
1170 image: { get_param: ubuntu_1604_image }
1171 flavor: { get_param: flavor_large }
1176 base: { get_param: vm_base_name }
1177 key_name: { get_resource: vm_key }
1179 - port: { get_resource: sdc_private_port }
1180 block_device_mapping:
1181 - device_name: /dev/vdb
1182 volume_id: {get_resource: sdc_volume_data}
1183 user_data_format: RAW
1187 __nexus_repo__: { get_param: nexus_repo }
1188 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1189 __nexus_username__: { get_param: nexus_username }
1190 __nexus_password__: { get_param: nexus_password }
1191 __env_name__: { get_param: dmaap_topic }
1192 __artifacts_version__: { get_param: artifacts_version }
1193 __dns_ip_addr__: { get_param: dns_ip_addr }
1194 __mr_ip_addr__: { get_param: mr_ip_addr }
1195 __private_ip__: { get_param: sdc_ip_addr }
1196 __docker_version__: { get_param: sdc_docker }
1197 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1198 __gerrit_branch__: { get_param: sdc_branch }
1199 __cloud_env__: { get_param: cloud_env }
1200 __external_dns__: { get_param: external_dns }
1201 __sdc_repo__: { get_param: sdc_repo }
1205 # Create configuration files
1206 mkdir -p /opt/config
1207 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1208 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1209 echo "__nexus_username__" > /opt/config/nexus_username.txt
1210 echo "__nexus_password__" > /opt/config/nexus_password.txt
1211 echo "__env_name__" > /opt/config/env_name.txt
1212 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1213 echo "__private_ip__" > /opt/config/private_ip.txt
1214 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1215 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1216 echo "__docker_version__" > /opt/config/docker_version.txt
1217 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1218 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1219 echo "__cloud_env__" > /opt/config/cloud_env.txt
1220 echo "__external_dns__" > /opt/config/external_dns.txt
1221 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1223 # Download and run install script
1224 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1226 chmod +x sdc_install.sh
1230 # PORTAL instantiation
1231 portal_private_port:
1232 type: OS::Neutron::Port
1234 network: { get_resource: oam_onap }
1235 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1237 - { get_resource: onap_sg }
1240 type: OS::Neutron::FloatingIP
1242 floating_network_id: { get_param: public_net_id }
1243 port_id: { get_resource: portal_private_port }
1246 type: OS::Nova::Server
1248 image: { get_param: ubuntu_1404_image }
1249 flavor: { get_param: flavor_medium }
1252 template: base-portal
1254 base: { get_param: vm_base_name }
1255 key_name: { get_resource: vm_key }
1257 - port: { get_resource: portal_private_port }
1258 user_data_format: RAW
1262 __nexus_repo__: { get_param: nexus_repo }
1263 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1264 __nexus_username__: { get_param: nexus_username }
1265 __nexus_password__: { get_param: nexus_password }
1266 __artifacts_version__: { get_param: artifacts_version }
1267 __dns_ip_addr__: { get_param: dns_ip_addr }
1268 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1269 __docker_version__: { get_param: portal_docker }
1270 __gerrit_branch__: { get_param: portal_branch }
1271 __cli_docker__: { get_param: cli_docker }
1272 __cloud_env__: { get_param: cloud_env }
1273 __external_dns__: { get_param: external_dns }
1274 __portal_repo__: { get_param: portal_repo }
1278 # Create configuration files
1279 mkdir -p /opt/config
1280 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1281 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1282 echo "__nexus_username__" > /opt/config/nexus_username.txt
1283 echo "__nexus_password__" > /opt/config/nexus_password.txt
1284 echo "__public_ip__" > /opt/config/public_ip.txt
1285 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1286 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1287 echo "__docker_version__" > /opt/config/docker_version.txt
1288 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1289 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1290 echo "__cloud_env__" > /opt/config/cloud_env.txt
1291 echo "__external_dns__" > /opt/config/external_dns.txt
1292 echo "__portal_repo__" > /opt/config/remote_repo.txt
1294 # Download and run install script
1295 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1297 chmod +x portal_install.sh
1301 # Policy Engine instantiation
1302 policy_private_port:
1303 type: OS::Neutron::Port
1305 network: { get_resource: oam_onap }
1306 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1308 - { get_resource: onap_sg }
1311 type: OS::Neutron::FloatingIP
1313 floating_network_id: { get_param: public_net_id }
1314 port_id: { get_resource: policy_private_port }
1317 type: OS::Nova::Server
1319 image: { get_param: ubuntu_1404_image }
1320 flavor: { get_param: flavor_medium }
1323 template: base-policy
1325 base: { get_param: vm_base_name }
1326 key_name: { get_resource: vm_key }
1328 - port: { get_resource: policy_private_port }
1329 user_data_format: RAW
1333 __nexus_repo__: { get_param: nexus_repo }
1334 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1335 __nexus_username__: { get_param: nexus_username }
1336 __nexus_password__: { get_param: nexus_password }
1337 __artifacts_version__: { get_param: artifacts_version }
1338 __dns_ip_addr__: { get_param: dns_ip_addr }
1339 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1340 __docker_version__: { get_param: policy_docker }
1341 __gerrit_branch__: { get_param: policy_branch }
1342 __cloud_env__: { get_param: cloud_env }
1343 __external_dns__: { get_param: external_dns }
1344 __policy_repo__: { get_param: policy_repo }
1348 # Create configuration files
1349 mkdir -p /opt/config
1350 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1351 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1352 echo "__nexus_username__" > /opt/config/nexus_username.txt
1353 echo "__nexus_password__" > /opt/config/nexus_password.txt
1354 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1355 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1356 echo "__public_ip__" > /opt/config/public_ip.txt
1357 echo "__docker_version__" > /opt/config/docker_version.txt
1358 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1359 echo "__cloud_env__" > /opt/config/cloud_env.txt
1360 echo "__external_dns__" > /opt/config/external_dns.txt
1361 echo "__policy_repo__" > /opt/config/remote_repo.txt
1363 # Download and run install script
1364 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1366 chmod +x policy_install.sh
1370 # APP-C instantiation
1372 type: OS::Neutron::Port
1374 network: { get_resource: oam_onap }
1375 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1377 - { get_resource: onap_sg }
1380 type: OS::Neutron::FloatingIP
1382 floating_network_id: { get_param: public_net_id }
1383 port_id: { get_resource: appc_private_port }
1386 type: OS::Nova::Server
1388 image: { get_param: ubuntu_1404_image }
1389 flavor: { get_param: flavor_medium }
1394 base: { get_param: vm_base_name }
1395 key_name: { get_resource: vm_key }
1397 - port: { get_resource: appc_private_port }
1398 user_data_format: RAW
1402 __nexus_repo__: { get_param: nexus_repo }
1403 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1404 __nexus_username__: { get_param: nexus_username }
1405 __nexus_password__: { get_param: nexus_password }
1406 __dmaap_topic__: { get_param: dmaap_topic }
1407 __artifacts_version__: { get_param: artifacts_version }
1408 __dns_ip_addr__: { get_param: dns_ip_addr }
1409 __docker_version__: { get_param: appc_docker }
1410 __gerrit_branch__: { get_param: appc_branch }
1411 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1412 __cloud_env__: { get_param: cloud_env }
1413 __external_dns__: { get_param: external_dns }
1414 __appc_repo__: { get_param: appc_repo }
1418 # Create configuration files
1419 mkdir -p /opt/config
1420 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1421 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1422 echo "__nexus_username__" > /opt/config/nexus_username.txt
1423 echo "__nexus_password__" > /opt/config/nexus_password.txt
1424 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1425 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1426 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1427 echo "__docker_version__" > /opt/config/docker_version.txt
1428 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1429 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1430 echo "__cloud_env__" > /opt/config/cloud_env.txt
1431 echo "__external_dns__" > /opt/config/external_dns.txt
1432 echo "__appc_repo__" > /opt/config/remote_repo.txt
1434 # Download and run install script
1435 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1437 chmod +x appc_install.sh
1441 # CLAMP instantiation
1443 type: OS::Neutron::Port
1445 network: { get_resource: oam_onap }
1446 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1448 - { get_resource: onap_sg }
1451 type: OS::Neutron::FloatingIP
1453 floating_network_id: { get_param: public_net_id }
1454 port_id: { get_resource: clamp_private_port }
1457 type: OS::Nova::Server
1459 image: { get_param: ubuntu_1604_image }
1460 flavor: { get_param: flavor_medium }
1463 template: base-clamp
1465 base: { get_param: vm_base_name }
1466 key_name: { get_resource: vm_key }
1468 - port: { get_resource: clamp_private_port }
1469 user_data_format: RAW
1473 __nexus_repo__: { get_param: nexus_repo }
1474 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1475 __nexus_username__: { get_param: nexus_username }
1476 __nexus_password__: { get_param: nexus_password }
1477 __openstack_username__: { get_param: openstack_username }
1478 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1479 __openstack_api_key__: { get_param: openstack_api_key }
1480 __openstack_region__: { get_param: openstack_region }
1481 __keystone_url__: { get_param: keystone_url }
1482 __dmaap_topic__: { get_param: dmaap_topic }
1483 __artifacts_version__: { get_param: artifacts_version }
1484 __dns_ip_addr__: { get_param: dns_ip_addr }
1485 __docker_version__: { get_param: clamp_docker }
1486 __gerrit_branch__: { get_param: clamp_branch }
1487 __cloud_env__: { get_param: cloud_env }
1488 __external_dns__: { get_param: external_dns }
1489 __clamp_repo__: { get_param: clamp_repo }
1493 # Create configuration files
1494 mkdir -p /opt/config
1495 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1496 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1497 echo "__nexus_username__" > /opt/config/nexus_username.txt
1498 echo "__nexus_password__" > /opt/config/nexus_password.txt
1499 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1500 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1501 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1502 echo "__openstack_username__" > /opt/config/openstack_username.txt
1503 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1504 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1505 echo "__openstack_region__" > /opt/config/openstack_region.txt
1506 echo "__keystone_url__" > /opt/config/keystone.txt
1507 echo "__docker_version__" > /opt/config/docker_version.txt
1508 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1509 echo "__cloud_env__" > /opt/config/cloud_env.txt
1510 echo "__external_dns__" > /opt/config/external_dns.txt
1511 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1513 # Download and run install script
1514 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1516 chmod +x clamp_install.sh
1520 # OPEN-O VM instantiation
1522 type: OS::Neutron::Port
1524 network: { get_resource: oam_onap }
1525 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1527 - { get_resource: onap_sg }
1530 type: OS::Neutron::FloatingIP
1532 floating_network_id: { get_param: public_net_id }
1533 port_id: { get_resource: openo_private_port }
1536 type: OS::Nova::Server
1538 image: { get_param: ubuntu_1604_image }
1539 flavor: { get_param: flavor_large }
1542 template: base-multi-service
1544 base: { get_param: vm_base_name }
1545 key_name: { get_resource: vm_key }
1547 - port: { get_resource: openo_private_port }
1548 user_data_format: RAW
1552 __nexus_repo__: { get_param: nexus_repo }
1553 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1554 __nexus_username__: { get_param: nexus_username }
1555 __nexus_password__: { get_param: nexus_password }
1556 __artifacts_version__: { get_param: artifacts_version }
1557 __dns_ip_addr__: { get_param: dns_ip_addr }
1558 __oam_network_cidr__: { get_param: oam_network_cidr }
1559 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1560 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1561 __appc_ip_addr__: { get_param: appc_ip_addr }
1562 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1563 __so_ip_addr__: { get_param: so_ip_addr }
1564 __mr_ip_addr__: { get_param: mr_ip_addr }
1565 __policy_ip_addr__: { get_param: policy_ip_addr }
1566 __portal_ip_addr__: { get_param: portal_ip_addr }
1567 __robot_ip_addr__: { get_param: robot_ip_addr }
1568 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1569 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1570 __vid_ip_addr__: { get_param: vid_ip_addr }
1571 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1572 __openo_ip_addr__: { get_param: openo_ip_addr }
1573 __cloud_env__: { get_param: cloud_env }
1574 __external_dns__: { get_param: external_dns }
1575 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1576 __msb_docker__: { get_param: msb_docker }
1577 __mvim_docker__: { get_param: mvim_docker }
1578 __uui_docker__: { get_param: uui_docker }
1579 __esr_docker__: { get_param: esr_docker }
1580 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1581 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1582 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1583 __cbam_ip__: { get_param: cbam_ip }
1584 __cbam_username__: { get_param: cbam_username }
1585 __cbam_password__: { get_param: cbam_password }
1586 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1587 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1588 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1589 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1590 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1591 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1592 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1593 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1594 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1595 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1596 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1597 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1598 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1599 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1600 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1604 # Create configuration files
1605 mkdir -p /opt/config
1606 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1607 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1608 echo "__nexus_username__" > /opt/config/nexus_username.txt
1609 echo "__nexus_password__" > /opt/config/nexus_password.txt
1610 echo "__cloud_env__" > /opt/config/cloud_env.txt
1611 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1612 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1613 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1614 echo "__external_dns__" > /opt/config/external_dns.txt
1615 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1616 echo "__msb_docker__" > /opt/config/msb_docker.txt
1617 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1618 echo "__uui_docker__" > /opt/config/uui_docker.txt
1619 echo "__esr_docker__" > /opt/config/esr_docker.txt
1620 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1621 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1622 echo "__cbam_username__" > /opt/config/cbam_username.txt
1623 echo "__cbam_password__" > /opt/config/cbam_password.txt
1625 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1626 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1627 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1628 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1629 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1630 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1631 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1632 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1633 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1634 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1635 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1636 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1637 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1638 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1639 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1640 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1641 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1643 # Create env file with the IP address of all ONAP components
1644 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1645 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1646 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1647 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1648 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1649 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1650 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1651 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1652 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1653 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1654 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1655 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1656 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1657 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1659 # Download and run install script
1660 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1662 chmod +x openo_install.sh
1666 # DCAE GEN 2 Controller instantiation
1667 dcae_c_private_port:
1668 type: OS::Neutron::Port
1670 network: { get_resource: oam_onap }
1671 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1673 - { get_resource: onap_sg }
1676 type: OS::Neutron::FloatingIP
1678 floating_network_id: { get_param: public_net_id }
1679 port_id: { get_resource: dcae_c_private_port }
1682 type: OS::Nova::Server
1684 image: { get_param: ubuntu_1604_image }
1685 flavor: { get_param: flavor_small }
1688 template: base-dcae-bootstrap
1690 base: { get_param: vm_base_name }
1691 key_name: { get_resource: vm_key }
1693 - port: { get_resource: dcae_c_private_port }
1695 # - { get_resource: onap_sg }
1696 user_data_format: RAW
1700 __rand_str__: { get_resource: random-str }
1702 __artifacts_version__: { get_param: artifacts_version }
1703 __docker_version__: { get_param: dcae_docker }
1704 __nexus_repo__: { get_param: nexus_repo }
1705 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1706 __nexus_username__: { get_param: nexus_username }
1707 __nexus_password__: { get_param: nexus_password }
1708 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1709 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1710 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1711 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1712 __dns_ip_addr__: { get_param: dns_ip_addr }
1713 __external_dns__: { get_param: external_dns }
1714 __dns_forwarder__: { get_param: dns_forwarder }
1715 __dcae_domain__: { get_param: dcae_domain }
1716 # conf for VMs DCAE is to bringup
1717 __openstack_keystone_url__: { get_param: keystone_url }
1718 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1719 __dcaeos_cloud_env__: { get_param: cloud_env }
1720 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1721 __dcaeos_region__: { get_param: openstack_region }
1722 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1723 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1724 __dcaeos_security_group__:
1726 template: 'onap_sg_rand'
1728 rand: { get_resource: random-str }
1729 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1730 __dcaeos_username__: { get_param: openstack_username }
1731 __dcaeos_password__: { get_param: openstack_api_key }
1732 __dcaeos_key_name__: { get_resource: vm_key }
1733 __dcaeos_public_key__: { get_param: dcae_public_key }
1734 __dcaeos_private_key__: { get_param: dcae_private_key }
1735 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1736 __dcaeos_public_network_name__: { get_param: public_net_name }
1737 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1738 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1739 __dcaeos_flavor_id__: { get_param: flavor_medium }
1740 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1741 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1742 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1743 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1744 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1745 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1746 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1748 __mr_ip_addr__: { get_param: mr_ip_addr }
1749 __policy_ip_addr__: { get_param: policy_ip_addr }
1750 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1751 __openo_ip_addr__: { get_param: openo_ip_addr }
1752 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1753 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1755 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1756 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1757 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1758 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1759 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1760 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1761 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1762 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1767 # Create configuration files
1768 mkdir -p /opt/config
1769 echo "__rand_str__" > /opt/config/dcae_zone.txt
1770 echo "__rand_str__" > /opt/config/rand_str.txt
1772 echo "__docker_version__" > /opt/config/docker_version.txt
1773 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1774 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1775 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1776 echo "__nexus_username__" > /opt/config/nexus_username.txt
1777 echo "__nexus_password__" > /opt/config/nexus_password.txt
1778 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1779 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1780 echo "__mac_addr__" > /opt/config/mac_addr.txt
1781 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1782 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1783 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1784 echo "__external_dns__" > /opt/config/external_dns.txt
1785 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1786 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1787 # conf for the OpenStack env where DCAE is deployed
1788 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1789 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1790 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1791 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1792 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1793 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1794 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1795 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1796 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1797 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1798 echo "__dcaeos_private_key__" > /opt/config/priv_key
1799 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1800 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1801 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1802 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1803 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1804 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1805 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1806 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1807 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1808 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1809 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1810 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1811 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1812 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1813 # fixed private IP addresses of other ONAP components
1814 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1815 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1816 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1817 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1818 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1819 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1821 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1822 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1823 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1824 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1825 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1826 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1827 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1828 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1830 # Download and run install script
1831 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1833 chmod +x dcae2_install.sh
1834 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1837 # MUSIC instantiation
1839 type: OS::Neutron::Port
1841 network: { get_resource: oam_onap }
1842 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1844 - { get_resource: onap_sg }
1847 type: OS::Neutron::FloatingIP
1849 floating_network_id: { get_param: public_net_id }
1850 port_id: { get_resource: music_private_port }
1853 type: OS::Nova::Server
1855 image: { get_param: ubuntu_1404_image }
1856 flavor: { get_param: flavor_large }
1859 template: base-music
1861 base: { get_param: vm_base_name }
1862 key_name: { get_resource: vm_key }
1864 - port: { get_resource: music_private_port }
1865 user_data_format: RAW
1869 __nexus_repo__: { get_param: nexus_repo }
1870 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1871 __nexus_username__: { get_param: nexus_username }
1872 __nexus_password__: { get_param: nexus_password }
1873 __artifacts_version__: { get_param: artifacts_version }
1874 __dns_ip_addr__: { get_param: dns_ip_addr }
1875 __docker_version__: { get_param: music_docker }
1876 __music_repo__: { get_param: music_repo }
1877 __gerrit_branch__: { get_param: music_branch }
1878 __cloud_env__: { get_param: cloud_env }
1879 __external_dns__: { get_param: external_dns }
1883 # Create configuration files
1884 mkdir -p /opt/config
1885 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1886 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1887 echo "__nexus_username__" > /opt/config/nexus_username.txt
1888 echo "__nexus_password__" > /opt/config/nexus_password.txt
1889 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1890 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1891 echo "__docker_version__" > /opt/config/docker_version.txt
1892 echo "__music_repo__" > /opt/config/remote_repo.txt
1893 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1894 echo "__cloud_env__" > /opt/config/cloud_env.txt
1895 echo "__external_dns__" > /opt/config/external_dns.txt
1897 # Download and run install script
1898 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1900 chmod +x music_install.sh
1906 type: OS::Neutron::Port
1908 network: { get_resource: oam_onap }
1909 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1911 - { get_resource: onap_sg }
1914 type: OS::Neutron::FloatingIP
1916 floating_network_id: { get_param: public_net_id }
1917 port_id: { get_resource: oof_private_port }
1920 type: OS::Nova::Server
1922 image: { get_param: ubuntu_1404_image }
1923 flavor: { get_param: flavor_medium }
1928 base: { get_param: vm_base_name }
1929 key_name: { get_resource: vm_key }
1931 - port: { get_resource: oof_private_port }
1932 user_data_format: RAW
1936 __nexus_repo__: { get_param: nexus_repo }
1937 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1938 __nexus_username__: { get_param: nexus_username }
1939 __nexus_password__: { get_param: nexus_password }
1940 __artifacts_version__: { get_param: artifacts_version }
1941 __dns_ip_addr__: { get_param: dns_ip_addr }
1942 __docker_version__: { get_param: oof_docker }
1943 __cloud_env__: { get_param: cloud_env }
1944 __external_dns__: { get_param: external_dns }
1948 # Create configuration files
1949 mkdir -p /opt/config
1950 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1951 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1952 echo "__nexus_username__" > /opt/config/nexus_username.txt
1953 echo "__nexus_password__" > /opt/config/nexus_password.txt
1954 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1955 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1956 echo "__docker_version__" > /opt/config/docker_version.txt
1957 echo "__cloud_env__" > /opt/config/cloud_env.txt
1958 echo "__external_dns__" > /opt/config/external_dns.txt
1960 # Download and run install script
1961 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1963 chmod +x oof_install.sh
1969 type: OS::Neutron::Port
1971 network: { get_resource: oam_onap }
1972 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1974 - { get_resource: onap_sg }
1977 type: OS::Neutron::FloatingIP
1979 floating_network_id: { get_param: public_net_id }
1980 port_id: { get_resource: aaf_private_port }
1983 type: OS::Nova::Server
1985 image: { get_param: ubuntu_1404_image }
1986 flavor: { get_param: flavor_medium }
1991 base: { get_param: vm_base_name }
1992 key_name: { get_resource: vm_key }
1994 - port: { get_resource: aaf_private_port }
1995 user_data_format: RAW
1999 __nexus_repo__: { get_param: nexus_repo }
2000 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2001 __nexus_username__: { get_param: nexus_username }
2002 __nexus_password__: { get_param: nexus_password }
2003 __artifacts_version__: { get_param: artifacts_version }
2004 __dns_ip_addr__: { get_param: dns_ip_addr }
2005 __docker_version__: { get_param: aaf_docker }
2006 __cloud_env__: { get_param: cloud_env }
2007 __external_dns__: { get_param: external_dns }
2011 # Create configuration files
2012 mkdir -p /opt/config
2013 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2014 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2015 echo "__nexus_username__" > /opt/config/nexus_username.txt
2016 echo "__nexus_password__" > /opt/config/nexus_password.txt
2017 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2018 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2019 echo "__docker_version__" > /opt/config/docker_version.txt
2020 echo "__cloud_env__" > /opt/config/cloud_env.txt
2021 echo "__external_dns__" > /opt/config/external_dns.txt
2023 # Download and run install script
2024 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2026 chmod +x aaf_install.sh
2031 type: OS::Neutron::Port
2033 network: { get_resource: oam_onap }
2034 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2036 - { get_resource: onap_sg }
2039 type: OS::Neutron::FloatingIP
2041 floating_network_id: { get_param: public_net_id }
2042 port_id: { get_resource: nbi_private_port }
2045 type: OS::Nova::Server
2047 image: { get_param: ubuntu_1604_image }
2048 flavor: { get_param: flavor_small }
2053 base: { get_param: vm_base_name }
2054 key_name: { get_resource: vm_key }
2056 - port: { get_resource: nbi_private_port }
2057 user_data_format: RAW
2061 __nexus_repo__: { get_param: nexus_repo }
2062 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2063 __nexus_username__: { get_param: nexus_username }
2064 __nexus_password__: { get_param: nexus_password }
2065 __artifacts_version__: { get_param: artifacts_version }
2066 __dns_ip_addr__: { get_param: dns_ip_addr }
2067 __docker_version__: { get_param: nbi_docker }
2068 __cloud_env__: { get_param: cloud_env }
2069 __external_dns__: { get_param: external_dns }
2073 # Create configuration files
2074 mkdir -p /opt/config
2075 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2076 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2077 echo "__nexus_username__" > /opt/config/nexus_username.txt
2078 echo "__nexus_password__" > /opt/config/nexus_password.txt
2079 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2080 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2081 echo "__docker_version__" > /opt/config/docker_version.txt
2082 echo "__cloud_env__" > /opt/config/cloud_env.txt
2083 echo "__external_dns__" > /opt/config/external_dns.txt
2085 # Download and run install script
2086 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2088 chmod +x nbi_install.sh