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 #####################
298 ################################
300 # Docker versions and branches #
302 ################################
355 vfc_ztevnfmdriver_docker:
357 vfc_ztesdncdriver_docker:
365 vfc_resmanagement_docker:
371 vfc_jujudriver_docker:
373 vfc_gvnfmdriver_docker:
375 vfc_emsdriver_docker:
379 vfc_wfengine_mgrservice_docker:
381 vfc_wfengine_activiti_docker:
428 type: OS::Heat::RandomString
432 # Public key used to access ONAP components
434 type: OS::Nova::KeyPair
440 base: { get_param: key_name }
441 rand: { get_resource: random-str }
442 public_key: { get_param: pub_key }
443 save_private_key: false
446 # ONAP security group
448 type: OS::Neutron::SecurityGroup
455 rand: { get_resource: random-str }
456 description: security group used by ONAP
468 port_range_max: 65535
471 port_range_max: 65535
475 # ONAP management private network
477 type: OS::Neutron::Net
481 template: oam_onap_rand
483 rand: { get_resource: random-str }
486 type: OS::Neutron::Subnet
490 template: oam_onap_rand
492 rand: { get_resource: random-str }
493 network_id: { get_resource: oam_onap }
494 cidr: { get_param: oam_network_cidr }
495 dns_nameservers: { get_param: dns_list }
498 type: OS::Neutron::Router
500 external_gateway_info:
501 network: { get_param: public_net_id }
504 type: OS::Neutron::RouterInterface
506 router_id: { get_resource: router }
507 subnet_id: { get_resource: oam_onap_subnet }
510 # DNS Server instantiation
512 type: OS::Neutron::Port
514 network: { get_resource: oam_onap }
515 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
517 - { get_resource: onap_sg }
520 type: OS::Neutron::FloatingIP
522 floating_network_id: { get_param: public_net_id }
523 port_id: { get_resource: dns_private_port }
526 type: OS::Nova::Server
528 image: { get_param: ubuntu_1404_image }
529 flavor: { get_param: flavor_small }
532 template: base-dns-server
534 base: { get_param: vm_base_name }
535 key_name: { get_resource: vm_key }
537 - port: { get_resource: dns_private_port }
538 user_data_format: RAW
542 __nexus_repo__: { get_param: nexus_repo }
543 __artifacts_version__: { get_param: artifacts_version }
544 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
545 __dns_ip_addr__: { get_param: dns_ip_addr }
546 __aai1_ip_addr__: { get_param: aai1_ip_addr }
547 __aai2_ip_addr__: { get_param: aai2_ip_addr }
548 __appc_ip_addr__: { get_param: appc_ip_addr }
549 __dcae_ip_addr__: { get_param: dcae_ip_addr }
550 __so_ip_addr__: { get_param: so_ip_addr }
551 __mr_ip_addr__: { get_param: mr_ip_addr }
552 __policy_ip_addr__: { get_param: policy_ip_addr }
553 __portal_ip_addr__: { get_param: portal_ip_addr }
554 __robot_ip_addr__: { get_param: robot_ip_addr }
555 __sdc_ip_addr__: { get_param: sdc_ip_addr }
556 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
557 __vid_ip_addr__: { get_param: vid_ip_addr }
558 __clamp_ip_addr__: { get_param: clamp_ip_addr }
559 __openo_ip_addr__: { get_param: openo_ip_addr }
560 __music_ip_addr__: { get_param: music_ip_addr }
561 __oof_ip_addr__: { get_param: oof_ip_addr }
562 __aaf_ip_addr__: { get_param: aaf_ip_addr }
563 __cloud_env__: { get_param: cloud_env }
564 __external_dns__: { get_param: external_dns }
565 __dns_forwarder__: { get_param: dns_forwarder }
569 # Create configuration files
571 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
572 echo "__cloud_env__" > /opt/config/cloud_env.txt
573 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
574 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
575 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
576 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
577 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
578 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
579 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
580 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
581 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
582 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
583 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
584 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
585 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
586 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
587 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
588 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
589 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
590 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
591 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
592 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
593 echo "__external_dns__" > /opt/config/external_dns.txt
594 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
596 # Download and run install script
597 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
599 chmod +x dns_install.sh
603 # A&AI instantiation (2 VMs)
605 type: OS::Neutron::Port
607 network: { get_resource: oam_onap }
608 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
610 - { get_resource: onap_sg }
613 type: OS::Neutron::FloatingIP
615 floating_network_id: { get_param: public_net_id }
616 port_id: { get_resource: aai1_private_port }
619 type: OS::Nova::Server
622 image: { get_param: ubuntu_1404_image }
623 flavor: { get_param: flavor_large }
626 template: base-aai-inst1
628 base: { get_param: vm_base_name }
629 key_name: { get_resource: vm_key }
631 - port: { get_resource: aai1_private_port }
632 user_data_format: RAW
636 __nexus_repo__: { get_param: nexus_repo }
637 __nexus_docker_repo__: { get_param: nexus_docker_repo }
638 __nexus_username__: { get_param: nexus_username }
639 __nexus_password__: { get_param: nexus_password }
640 __dmaap_topic__: { get_param: dmaap_topic }
641 __artifacts_version__: { get_param: artifacts_version }
642 __dns_ip_addr__: { get_param: dns_ip_addr }
643 __docker_version__: { get_param: aai_docker }
644 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
645 __gerrit_branch__: { get_param: aai_branch }
646 __cloud_env__: { get_param: cloud_env }
647 __external_dns__: { get_param: external_dns }
648 __aai_repo__: { get_param: aai_repo }
652 # Create configuration files
654 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
655 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
656 echo "__nexus_username__" > /opt/config/nexus_username.txt
657 echo "__nexus_password__" > /opt/config/nexus_password.txt
658 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
659 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
660 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
661 echo "__docker_version__" > /opt/config/docker_version.txt
662 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
663 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
664 echo "aai_instance_1" > /opt/config/aai_instance.txt
665 echo "__cloud_env__" > /opt/config/cloud_env.txt
666 echo "__external_dns__" > /opt/config/external_dns.txt
667 echo "__aai_repo__" > /opt/config/remote_repo.txt
669 # Download and run install script
670 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
672 chmod +x aai_install.sh
677 type: OS::Neutron::Port
679 network: { get_resource: oam_onap }
680 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
682 - { get_resource: onap_sg }
685 type: OS::Neutron::FloatingIP
687 floating_network_id: { get_param: public_net_id }
688 port_id: { get_resource: aai2_private_port }
691 type: OS::Nova::Server
693 image: { get_param: ubuntu_1404_image }
694 flavor: { get_param: flavor_large }
697 template: base-aai-inst2
699 base: { get_param: vm_base_name }
700 key_name: { get_resource: vm_key }
702 - port: { get_resource: aai2_private_port }
703 user_data_format: RAW
707 __nexus_repo__: { get_param: nexus_repo }
708 __nexus_docker_repo__: { get_param: nexus_docker_repo }
709 __nexus_username__: { get_param: nexus_username }
710 __nexus_password__: { get_param: nexus_password }
711 __dmaap_topic__: { get_param: dmaap_topic }
712 __artifacts_version__: { get_param: artifacts_version }
713 __dns_ip_addr__: { get_param: dns_ip_addr }
714 __docker_version__: { get_param: aai_docker }
715 __gerrit_branch__: { get_param: aai_branch }
716 __cloud_env__: { get_param: cloud_env }
717 __external_dns__: { get_param: external_dns }
718 __aai_repo__: { get_param: aai_repo }
722 # Create configuration files
724 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
725 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
726 echo "__nexus_username__" > /opt/config/nexus_username.txt
727 echo "__nexus_password__" > /opt/config/nexus_password.txt
728 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
729 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
730 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
731 echo "__docker_version__" > /opt/config/docker_version.txt
732 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
733 echo "aai_instance_2" > /opt/config/aai_instance.txt
734 echo "__cloud_env__" > /opt/config/cloud_env.txt
735 echo "__external_dns__" > /opt/config/external_dns.txt
736 echo "__aai_repo__" > /opt/config/remote_repo.txt
738 # Download and run install script
739 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
741 chmod +x aai_install.sh
747 type: OS::Neutron::Port
749 network: { get_resource: oam_onap }
750 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
752 - { get_resource: onap_sg }
755 type: OS::Neutron::FloatingIP
757 floating_network_id: { get_param: public_net_id }
758 port_id: { get_resource: so_private_port }
761 type: OS::Nova::Server
763 image: { get_param: ubuntu_1604_image }
764 flavor: { get_param: flavor_medium }
769 base: { get_param: vm_base_name }
770 key_name: { get_resource: vm_key }
772 - port: { get_resource: so_private_port }
773 user_data_format: RAW
777 __nexus_repo__: { get_param: nexus_repo }
778 __nexus_docker_repo__: { get_param: nexus_docker_repo }
779 __nexus_username__: { get_param: nexus_username }
780 __nexus_password__: { get_param: nexus_password }
781 __openstack_username__: { get_param: openstack_username }
782 __openstack_tenant_id__: { get_param: openstack_tenant_id }
783 __openstack_api_key__: { get_param: openstack_api_key }
784 __openstack_region__: { get_param: openstack_region }
785 __keystone_url__: { get_param: keystone_url }
786 __dmaap_topic__: { get_param: dmaap_topic }
787 __artifacts_version__: { get_param: artifacts_version }
788 __dns_ip_addr__: { get_param: dns_ip_addr }
789 __openo_ip__: { get_param: openo_ip_addr }
790 __docker_version__: { get_param: so_docker }
791 __gerrit_branch__: { get_param: so_branch }
792 __cloud_env__: { get_param: cloud_env }
793 __external_dns__: { get_param: external_dns }
794 __so_repo__: { get_param: so_repo }
798 # Create configuration files
800 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
801 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
802 echo "__nexus_username__" > /opt/config/nexus_username.txt
803 echo "__nexus_password__" > /opt/config/nexus_password.txt
804 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
805 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
806 echo "__openo_ip__" > /opt/config/openo_ip.txt
807 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
808 echo "__openstack_username__" > /opt/config/openstack_username.txt
809 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
810 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
811 echo "__openstack_region__" > /opt/config/openstack_region.txt
812 echo "__keystone_url__" > /opt/config/keystone.txt
813 echo "__docker_version__" > /opt/config/docker_version.txt
814 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
815 echo "__cloud_env__" > /opt/config/cloud_env.txt
816 echo "__external_dns__" > /opt/config/external_dns.txt
817 echo "__so_repo__" > /opt/config/remote_repo.txt
819 # Download and run install script
820 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
822 chmod +x so_install.sh
826 # Message Router instantiation
827 mrouter_private_port:
828 type: OS::Neutron::Port
830 network: { get_resource: oam_onap }
831 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
833 - { get_resource: onap_sg }
836 type: OS::Neutron::FloatingIP
838 floating_network_id: { get_param: public_net_id }
839 port_id: { get_resource: mrouter_private_port }
842 type: OS::Nova::Server
844 image: { get_param: ubuntu_1404_image }
845 flavor: { get_param: flavor_medium }
848 template: base-message-router
850 base: { get_param: vm_base_name }
851 key_name: { get_resource: vm_key }
853 - port: { get_resource: mrouter_private_port }
854 user_data_format: RAW
858 __nexus_repo__: { get_param: nexus_repo }
859 __nexus_docker_repo__: { get_param: nexus_docker_repo }
860 __nexus_username__: { get_param: nexus_username }
861 __nexus_password__: { get_param: nexus_password }
862 __artifacts_version__: { get_param: artifacts_version }
863 __dns_ip_addr__: { get_param: dns_ip_addr }
864 __gerrit_branch__: { get_param: mr_branch }
865 __cloud_env__: { get_param: cloud_env }
866 __external_dns__: { get_param: external_dns }
867 __mr_repo__: { get_param: mr_repo }
871 # Create configuration files
873 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
874 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
875 echo "__nexus_username__" > /opt/config/nexus_username.txt
876 echo "__nexus_password__" > /opt/config/nexus_password.txt
877 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
878 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
879 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
880 echo "__cloud_env__" > /opt/config/cloud_env.txt
881 echo "__external_dns__" > /opt/config/external_dns.txt
882 echo "__mr_repo__" > /opt/config/remote_repo.txt
884 # Download and run install script
885 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
887 chmod +x mr_install.sh
891 # Robot Framework instantiation
893 type: OS::Neutron::Port
895 network: { get_resource: oam_onap }
896 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
898 - { get_resource: onap_sg }
901 type: OS::Neutron::FloatingIP
903 floating_network_id: { get_param: public_net_id }
904 port_id: { get_resource: robot_private_port }
907 type: OS::Nova::Server
909 image: { get_param: ubuntu_1604_image }
910 flavor: { get_param: flavor_small }
915 base: { get_param: vm_base_name }
916 key_name: { get_resource: vm_key }
918 - port: { get_resource: robot_private_port }
919 user_data_format: RAW
923 __nexus_repo__: { get_param: nexus_repo }
924 __nexus_docker_repo__: { get_param: nexus_docker_repo }
925 __nexus_username__: { get_param: nexus_username }
926 __nexus_password__: { get_param: nexus_password }
927 __network_name__: { get_attr: [oam_onap, name] }
928 __openstack_username__: { get_param: openstack_username }
929 __openstack_api_key__: { get_param : openstack_api_key }
930 __openstack_tenant_id__: { get_param: openstack_tenant_id }
931 __artifacts_version__: { get_param: artifacts_version }
932 __openstack_region__: { get_param: openstack_region }
933 __dns_ip_addr__: { get_param: dns_ip_addr }
934 __gerrit_branch__: { get_param: robot_branch }
935 __cloud_env__: { get_param: cloud_env }
936 __keystone_url__: { get_param: keystone_url }
937 __aai1_ip_addr__: { get_param: aai1_ip_addr }
938 __aai2_ip_addr__: { get_param: aai2_ip_addr }
939 __appc_ip_addr__: { get_param: appc_ip_addr }
940 __dcae_ip_addr__: { get_param: dcae_ip_addr }
941 __so_ip_addr__: { get_param: so_ip_addr }
942 __mr_ip_addr__: { get_param: mr_ip_addr }
943 __policy_ip_addr__: { get_param: policy_ip_addr }
944 __portal_ip_addr__: { get_param: portal_ip_addr }
945 __sdc_ip_addr__: { get_param: sdc_ip_addr }
946 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
947 __vid_ip_addr__: { get_param: vid_ip_addr }
948 __clamp_ip_addr__: { get_param: clamp_ip_addr }
949 __openo_ip_addr__: { get_param: openo_ip_addr }
950 __clamp_ip_addr__: { get_param: clamp_ip_addr }
951 __openo_ip_addr__: { get_param: openo_ip_addr }
952 __music_ip_addr__: { get_param: music_ip_addr }
953 __external_dns__: { get_param: external_dns }
954 __vm_image_name__: { get_param: ubuntu_1404_image }
955 __vm_flavor__: { get_param: flavor_medium }
956 __public_net_id__: { get_param: public_net_id }
957 __script_version__: { get_param: artifacts_version }
958 __robot_repo__: { get_param: robot_repo }
959 __docker_version__: { get_param: robot_docker }
963 # Create configuration files
965 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
966 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
967 echo "__nexus_username__" > /opt/config/nexus_username.txt
968 echo "__nexus_password__" > /opt/config/nexus_password.txt
969 echo "__network_name__" > /opt/config/network.txt
970 echo "__openstack_username__" > /opt/config/openstack_username.txt
971 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
972 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
973 echo "__openstack_region__" > /opt/config/region.txt
974 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
975 echo "__docker_version__" > /opt/config/docker_version.txt
976 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
977 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
978 echo "__keystone_url__" > /opt/config/keystone.txt
979 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
980 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
981 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
982 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
983 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
984 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
985 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
986 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
987 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
988 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
989 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
990 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
991 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
992 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
993 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
994 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
995 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
996 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
997 echo "__cloud_env__" > /opt/config/cloud_env.txt
998 echo "__external_dns__" > /opt/config/external_dns.txt
999 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
1000 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1001 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1002 echo "__script_version__" > /opt/config/script_version.txt
1003 echo "__public_net_id__" > /opt/config/public_net_id.txt
1004 echo "__robot_repo__" > /opt/config/remote_repo.txt
1006 # Download and run install script
1007 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1009 chmod +x robot_install.sh
1015 type: OS::Neutron::Port
1017 network: { get_resource: oam_onap }
1018 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1020 - { get_resource: onap_sg }
1023 type: OS::Neutron::FloatingIP
1025 floating_network_id: { get_param: public_net_id }
1026 port_id: { get_resource: vid_private_port }
1029 type: OS::Nova::Server
1031 image: { get_param: ubuntu_1404_image }
1032 flavor: { get_param: flavor_medium }
1037 base: { get_param: vm_base_name }
1038 key_name: { get_resource: vm_key }
1040 - port: { get_resource: vid_private_port }
1041 user_data_format: RAW
1045 __nexus_repo__: { get_param: nexus_repo }
1046 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1047 __nexus_username__: { get_param: nexus_username }
1048 __nexus_password__: { get_param: nexus_password }
1049 __artifacts_version__: { get_param: artifacts_version }
1050 __dns_ip_addr__: { get_param: dns_ip_addr }
1051 __docker_version__: { get_param: vid_docker }
1052 __gerrit_branch__: { get_param: vid_branch }
1053 __cloud_env__: { get_param: cloud_env }
1054 __external_dns__: { get_param: external_dns }
1055 __vid_repo__: { get_param: vid_repo }
1059 # Create configuration files
1060 mkdir -p /opt/config
1061 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1062 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1063 echo "__nexus_username__" > /opt/config/nexus_username.txt
1064 echo "__nexus_password__" > /opt/config/nexus_password.txt
1065 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1066 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1067 echo "__docker_version__" > /opt/config/docker_version.txt
1068 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1069 echo "__cloud_env__" > /opt/config/cloud_env.txt
1070 echo "__external_dns__" > /opt/config/external_dns.txt
1071 echo "__vid_repo__" > /opt/config/remote_repo.txt
1073 # Download and run install script
1074 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1076 chmod +x vid_install.sh
1080 # SDN-C instantiation
1082 type: OS::Neutron::Port
1084 network: { get_resource: oam_onap }
1085 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1087 - { get_resource: onap_sg }
1090 type: OS::Neutron::FloatingIP
1092 floating_network_id: { get_param: public_net_id }
1093 port_id: { get_resource: sdnc_private_port }
1096 type: OS::Nova::Server
1098 image: { get_param: ubuntu_1404_image }
1099 flavor: { get_param: flavor_medium }
1104 base: { get_param: vm_base_name }
1105 key_name: { get_resource: vm_key }
1107 - port: { get_resource: sdnc_private_port }
1108 user_data_format: RAW
1112 __nexus_repo__: { get_param: nexus_repo }
1113 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1114 __nexus_username__: { get_param: nexus_username }
1115 __nexus_password__: { get_param: nexus_password }
1116 __artifacts_version__: { get_param: artifacts_version }
1117 __dns_ip_addr__: { get_param: dns_ip_addr }
1118 __docker_version__: { get_param: sdnc_docker }
1119 __gerrit_branch__: { get_param: sdnc_branch }
1120 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1121 __cloud_env__: { get_param: cloud_env }
1122 __external_dns__: { get_param: external_dns }
1123 __sdnc_repo__: { get_param: sdnc_repo }
1127 # Create configuration files
1128 mkdir -p /opt/config
1129 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1130 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1131 echo "__nexus_username__" > /opt/config/nexus_username.txt
1132 echo "__nexus_password__" > /opt/config/nexus_password.txt
1133 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1134 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1135 echo "__docker_version__" > /opt/config/docker_version.txt
1136 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1137 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1138 echo "__cloud_env__" > /opt/config/cloud_env.txt
1139 echo "__external_dns__" > /opt/config/external_dns.txt
1140 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1142 # Download and run install script
1143 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1145 chmod +x sdnc_install.sh
1151 type: OS::Neutron::Port
1153 network: { get_resource: oam_onap }
1154 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1156 - { get_resource: onap_sg }
1159 type: OS::Neutron::FloatingIP
1161 floating_network_id: { get_param: public_net_id }
1162 port_id: { get_resource: sdc_private_port }
1165 type: OS::Cinder::Volume
1171 type: OS::Nova::Server
1173 image: { get_param: ubuntu_1604_image }
1174 flavor: { get_param: flavor_large }
1179 base: { get_param: vm_base_name }
1180 key_name: { get_resource: vm_key }
1182 - port: { get_resource: sdc_private_port }
1183 block_device_mapping:
1184 - device_name: /dev/vdb
1185 volume_id: {get_resource: sdc_volume_data}
1186 user_data_format: RAW
1190 __nexus_repo__: { get_param: nexus_repo }
1191 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1192 __nexus_username__: { get_param: nexus_username }
1193 __nexus_password__: { get_param: nexus_password }
1194 __env_name__: { get_param: dmaap_topic }
1195 __artifacts_version__: { get_param: artifacts_version }
1196 __dns_ip_addr__: { get_param: dns_ip_addr }
1197 __mr_ip_addr__: { get_param: mr_ip_addr }
1198 __private_ip__: { get_param: sdc_ip_addr }
1199 __docker_version__: { get_param: sdc_docker }
1200 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1201 __gerrit_branch__: { get_param: sdc_branch }
1202 __cloud_env__: { get_param: cloud_env }
1203 __external_dns__: { get_param: external_dns }
1204 __sdc_repo__: { get_param: sdc_repo }
1208 # Create configuration files
1209 mkdir -p /opt/config
1210 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1211 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1212 echo "__nexus_username__" > /opt/config/nexus_username.txt
1213 echo "__nexus_password__" > /opt/config/nexus_password.txt
1214 echo "__env_name__" > /opt/config/env_name.txt
1215 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1216 echo "__private_ip__" > /opt/config/private_ip.txt
1217 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1218 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1219 echo "__docker_version__" > /opt/config/docker_version.txt
1220 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1221 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1222 echo "__cloud_env__" > /opt/config/cloud_env.txt
1223 echo "__external_dns__" > /opt/config/external_dns.txt
1224 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1226 # Download and run install script
1227 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1229 chmod +x sdc_install.sh
1233 # PORTAL instantiation
1234 portal_private_port:
1235 type: OS::Neutron::Port
1237 network: { get_resource: oam_onap }
1238 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1240 - { get_resource: onap_sg }
1243 type: OS::Neutron::FloatingIP
1245 floating_network_id: { get_param: public_net_id }
1246 port_id: { get_resource: portal_private_port }
1249 type: OS::Nova::Server
1251 image: { get_param: ubuntu_1404_image }
1252 flavor: { get_param: flavor_medium }
1255 template: base-portal
1257 base: { get_param: vm_base_name }
1258 key_name: { get_resource: vm_key }
1260 - port: { get_resource: portal_private_port }
1261 user_data_format: RAW
1265 __nexus_repo__: { get_param: nexus_repo }
1266 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1267 __nexus_username__: { get_param: nexus_username }
1268 __nexus_password__: { get_param: nexus_password }
1269 __artifacts_version__: { get_param: artifacts_version }
1270 __dns_ip_addr__: { get_param: dns_ip_addr }
1271 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1272 __docker_version__: { get_param: portal_docker }
1273 __gerrit_branch__: { get_param: portal_branch }
1274 __cli_docker__: { get_param: cli_docker }
1275 __cloud_env__: { get_param: cloud_env }
1276 __external_dns__: { get_param: external_dns }
1277 __portal_repo__: { get_param: portal_repo }
1281 # Create configuration files
1282 mkdir -p /opt/config
1283 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1284 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1285 echo "__nexus_username__" > /opt/config/nexus_username.txt
1286 echo "__nexus_password__" > /opt/config/nexus_password.txt
1287 echo "__public_ip__" > /opt/config/public_ip.txt
1288 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1289 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1290 echo "__docker_version__" > /opt/config/docker_version.txt
1291 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1292 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1293 echo "__cloud_env__" > /opt/config/cloud_env.txt
1294 echo "__external_dns__" > /opt/config/external_dns.txt
1295 echo "__portal_repo__" > /opt/config/remote_repo.txt
1297 # Download and run install script
1298 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1300 chmod +x portal_install.sh
1304 # Policy Engine instantiation
1305 policy_private_port:
1306 type: OS::Neutron::Port
1308 network: { get_resource: oam_onap }
1309 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1311 - { get_resource: onap_sg }
1314 type: OS::Neutron::FloatingIP
1316 floating_network_id: { get_param: public_net_id }
1317 port_id: { get_resource: policy_private_port }
1320 type: OS::Nova::Server
1322 image: { get_param: ubuntu_1404_image }
1323 flavor: { get_param: flavor_medium }
1326 template: base-policy
1328 base: { get_param: vm_base_name }
1329 key_name: { get_resource: vm_key }
1331 - port: { get_resource: policy_private_port }
1332 user_data_format: RAW
1336 __nexus_repo__: { get_param: nexus_repo }
1337 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1338 __nexus_username__: { get_param: nexus_username }
1339 __nexus_password__: { get_param: nexus_password }
1340 __artifacts_version__: { get_param: artifacts_version }
1341 __dns_ip_addr__: { get_param: dns_ip_addr }
1342 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1343 __docker_version__: { get_param: policy_docker }
1344 __gerrit_branch__: { get_param: policy_branch }
1345 __cloud_env__: { get_param: cloud_env }
1346 __external_dns__: { get_param: external_dns }
1347 __policy_repo__: { get_param: policy_repo }
1351 # Create configuration files
1352 mkdir -p /opt/config
1353 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1354 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1355 echo "__nexus_username__" > /opt/config/nexus_username.txt
1356 echo "__nexus_password__" > /opt/config/nexus_password.txt
1357 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1358 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1359 echo "__public_ip__" > /opt/config/public_ip.txt
1360 echo "__docker_version__" > /opt/config/docker_version.txt
1361 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1362 echo "__cloud_env__" > /opt/config/cloud_env.txt
1363 echo "__external_dns__" > /opt/config/external_dns.txt
1364 echo "__policy_repo__" > /opt/config/remote_repo.txt
1366 # Download and run install script
1367 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1369 chmod +x policy_install.sh
1373 # APP-C instantiation
1375 type: OS::Neutron::Port
1377 network: { get_resource: oam_onap }
1378 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1380 - { get_resource: onap_sg }
1383 type: OS::Neutron::FloatingIP
1385 floating_network_id: { get_param: public_net_id }
1386 port_id: { get_resource: appc_private_port }
1389 type: OS::Nova::Server
1391 image: { get_param: ubuntu_1404_image }
1392 flavor: { get_param: flavor_medium }
1397 base: { get_param: vm_base_name }
1398 key_name: { get_resource: vm_key }
1400 - port: { get_resource: appc_private_port }
1401 user_data_format: RAW
1405 __nexus_repo__: { get_param: nexus_repo }
1406 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1407 __nexus_username__: { get_param: nexus_username }
1408 __nexus_password__: { get_param: nexus_password }
1409 __dmaap_topic__: { get_param: dmaap_topic }
1410 __artifacts_version__: { get_param: artifacts_version }
1411 __dns_ip_addr__: { get_param: dns_ip_addr }
1412 __docker_version__: { get_param: appc_docker }
1413 __gerrit_branch__: { get_param: appc_branch }
1414 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1415 __cloud_env__: { get_param: cloud_env }
1416 __external_dns__: { get_param: external_dns }
1417 __appc_repo__: { get_param: appc_repo }
1421 # Create configuration files
1422 mkdir -p /opt/config
1423 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1424 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1425 echo "__nexus_username__" > /opt/config/nexus_username.txt
1426 echo "__nexus_password__" > /opt/config/nexus_password.txt
1427 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1428 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1429 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1430 echo "__docker_version__" > /opt/config/docker_version.txt
1431 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1432 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1433 echo "__cloud_env__" > /opt/config/cloud_env.txt
1434 echo "__external_dns__" > /opt/config/external_dns.txt
1435 echo "__appc_repo__" > /opt/config/remote_repo.txt
1437 # Download and run install script
1438 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1440 chmod +x appc_install.sh
1444 # CLAMP instantiation
1446 type: OS::Neutron::Port
1448 network: { get_resource: oam_onap }
1449 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1451 - { get_resource: onap_sg }
1454 type: OS::Neutron::FloatingIP
1456 floating_network_id: { get_param: public_net_id }
1457 port_id: { get_resource: clamp_private_port }
1460 type: OS::Nova::Server
1462 image: { get_param: ubuntu_1604_image }
1463 flavor: { get_param: flavor_medium }
1466 template: base-clamp
1468 base: { get_param: vm_base_name }
1469 key_name: { get_resource: vm_key }
1471 - port: { get_resource: clamp_private_port }
1472 user_data_format: RAW
1476 __nexus_repo__: { get_param: nexus_repo }
1477 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1478 __nexus_username__: { get_param: nexus_username }
1479 __nexus_password__: { get_param: nexus_password }
1480 __openstack_username__: { get_param: openstack_username }
1481 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1482 __openstack_api_key__: { get_param: openstack_api_key }
1483 __openstack_region__: { get_param: openstack_region }
1484 __keystone_url__: { get_param: keystone_url }
1485 __dmaap_topic__: { get_param: dmaap_topic }
1486 __artifacts_version__: { get_param: artifacts_version }
1487 __dns_ip_addr__: { get_param: dns_ip_addr }
1488 __docker_version__: { get_param: clamp_docker }
1489 __gerrit_branch__: { get_param: clamp_branch }
1490 __cloud_env__: { get_param: cloud_env }
1491 __external_dns__: { get_param: external_dns }
1492 __clamp_repo__: { get_param: clamp_repo }
1496 # Create configuration files
1497 mkdir -p /opt/config
1498 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1499 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1500 echo "__nexus_username__" > /opt/config/nexus_username.txt
1501 echo "__nexus_password__" > /opt/config/nexus_password.txt
1502 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1503 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1504 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1505 echo "__openstack_username__" > /opt/config/openstack_username.txt
1506 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1507 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1508 echo "__openstack_region__" > /opt/config/openstack_region.txt
1509 echo "__keystone_url__" > /opt/config/keystone.txt
1510 echo "__docker_version__" > /opt/config/docker_version.txt
1511 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1512 echo "__cloud_env__" > /opt/config/cloud_env.txt
1513 echo "__external_dns__" > /opt/config/external_dns.txt
1514 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1516 # Download and run install script
1517 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1519 chmod +x clamp_install.sh
1523 # OPEN-O VM instantiation
1525 type: OS::Neutron::Port
1527 network: { get_resource: oam_onap }
1528 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1530 - { get_resource: onap_sg }
1533 type: OS::Neutron::FloatingIP
1535 floating_network_id: { get_param: public_net_id }
1536 port_id: { get_resource: openo_private_port }
1539 type: OS::Nova::Server
1541 image: { get_param: ubuntu_1604_image }
1542 flavor: { get_param: flavor_large }
1545 template: base-multi-service
1547 base: { get_param: vm_base_name }
1548 key_name: { get_resource: vm_key }
1550 - port: { get_resource: openo_private_port }
1551 user_data_format: RAW
1555 __nexus_repo__: { get_param: nexus_repo }
1556 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1557 __nexus_username__: { get_param: nexus_username }
1558 __nexus_password__: { get_param: nexus_password }
1559 __artifacts_version__: { get_param: artifacts_version }
1560 __dns_ip_addr__: { get_param: dns_ip_addr }
1561 __oam_network_cidr__: { get_param: oam_network_cidr }
1562 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1563 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1564 __appc_ip_addr__: { get_param: appc_ip_addr }
1565 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1566 __so_ip_addr__: { get_param: so_ip_addr }
1567 __mr_ip_addr__: { get_param: mr_ip_addr }
1568 __policy_ip_addr__: { get_param: policy_ip_addr }
1569 __portal_ip_addr__: { get_param: portal_ip_addr }
1570 __robot_ip_addr__: { get_param: robot_ip_addr }
1571 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1572 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1573 __vid_ip_addr__: { get_param: vid_ip_addr }
1574 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1575 __openo_ip_addr__: { get_param: openo_ip_addr }
1576 __cloud_env__: { get_param: cloud_env }
1577 __external_dns__: { get_param: external_dns }
1578 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1579 __msb_docker__: { get_param: msb_docker }
1580 __mvim_docker__: { get_param: mvim_docker }
1581 __uui_docker__: { get_param: uui_docker }
1582 __esr_docker__: { get_param: esr_docker }
1583 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1584 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1585 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1586 __cbam_ip__: { get_param: cbam_ip }
1587 __cbam_username__: { get_param: cbam_username }
1588 __cbam_password__: { get_param: cbam_password }
1589 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1590 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1591 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1592 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1593 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1594 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1595 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1596 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1597 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1598 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1599 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1600 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1601 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1602 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1603 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1607 # Create configuration files
1608 mkdir -p /opt/config
1609 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1610 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1611 echo "__nexus_username__" > /opt/config/nexus_username.txt
1612 echo "__nexus_password__" > /opt/config/nexus_password.txt
1613 echo "__cloud_env__" > /opt/config/cloud_env.txt
1614 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1615 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1616 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1617 echo "__external_dns__" > /opt/config/external_dns.txt
1618 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1619 echo "__msb_docker__" > /opt/config/msb_docker.txt
1620 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1621 echo "__uui_docker__" > /opt/config/uui_docker.txt
1622 echo "__esr_docker__" > /opt/config/esr_docker.txt
1623 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1624 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1625 echo "__cbam_username__" > /opt/config/cbam_username.txt
1626 echo "__cbam_password__" > /opt/config/cbam_password.txt
1628 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1629 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1630 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1631 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1632 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1633 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1634 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1635 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1636 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1637 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1638 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1639 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1640 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1641 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1642 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1643 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1644 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1646 # Create env file with the IP address of all ONAP components
1647 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1648 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1649 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1650 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1651 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1652 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1653 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1654 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1655 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1656 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1657 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1658 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1659 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1660 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1662 # Download and run install script
1663 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1665 chmod +x openo_install.sh
1669 # DCAE GEN 2 Controller instantiation
1670 dcae_c_private_port:
1671 type: OS::Neutron::Port
1673 network: { get_resource: oam_onap }
1674 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1676 - { get_resource: onap_sg }
1679 type: OS::Neutron::FloatingIP
1681 floating_network_id: { get_param: public_net_id }
1682 port_id: { get_resource: dcae_c_private_port }
1685 type: OS::Nova::Server
1687 image: { get_param: ubuntu_1604_image }
1688 flavor: { get_param: flavor_small }
1691 template: base-dcae-bootstrap
1693 base: { get_param: vm_base_name }
1694 key_name: { get_resource: vm_key }
1696 - port: { get_resource: dcae_c_private_port }
1698 # - { get_resource: onap_sg }
1699 user_data_format: RAW
1703 __rand_str__: { get_resource: random-str }
1705 __artifacts_version__: { get_param: artifacts_version }
1706 __docker_version__: { get_param: dcae_docker }
1707 __nexus_repo__: { get_param: nexus_repo }
1708 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1709 __nexus_username__: { get_param: nexus_username }
1710 __nexus_password__: { get_param: nexus_password }
1711 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1712 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1713 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1714 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1715 __dns_ip_addr__: { get_param: dns_ip_addr }
1716 __external_dns__: { get_param: external_dns }
1717 __dns_forwarder__: { get_param: dns_forwarder }
1718 __dcae_domain__: { get_param: dcae_domain }
1719 # conf for VMs DCAE is to bringup
1720 __openstack_keystone_url__: { get_param: keystone_url }
1721 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1722 __dcaeos_cloud_env__: { get_param: cloud_env }
1723 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1724 __dcaeos_region__: { get_param: openstack_region }
1725 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1726 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1727 __dcaeos_security_group__:
1729 template: 'onap_sg_rand'
1731 rand: { get_resource: random-str }
1732 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1733 __dcaeos_username__: { get_param: openstack_username }
1734 __dcaeos_password__: { get_param: openstack_api_key }
1735 __dcaeos_key_name__: { get_resource: vm_key }
1736 __dcaeos_public_key__: { get_param: dcae_public_key }
1737 __dcaeos_private_key__: { get_param: dcae_private_key }
1738 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1739 __dcaeos_public_network_name__: { get_param: public_net_name }
1740 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1741 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1742 __dcaeos_flavor_id__: { get_param: flavor_medium }
1743 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1744 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1745 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1746 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1747 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1748 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1749 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1751 __mr_ip_addr__: { get_param: mr_ip_addr }
1752 __policy_ip_addr__: { get_param: policy_ip_addr }
1753 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1754 __openo_ip_addr__: { get_param: openo_ip_addr }
1755 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1756 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1758 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1759 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1760 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1761 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1762 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1763 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1764 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1765 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1770 # Create configuration files
1771 mkdir -p /opt/config
1772 echo "__rand_str__" > /opt/config/dcae_zone.txt
1773 echo "__rand_str__" > /opt/config/rand_str.txt
1775 echo "__docker_version__" > /opt/config/docker_version.txt
1776 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1777 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1778 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1779 echo "__nexus_username__" > /opt/config/nexus_username.txt
1780 echo "__nexus_password__" > /opt/config/nexus_password.txt
1781 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1782 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1783 echo "__mac_addr__" > /opt/config/mac_addr.txt
1784 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1785 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1786 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1787 echo "__external_dns__" > /opt/config/external_dns.txt
1788 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1789 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1790 # conf for the OpenStack env where DCAE is deployed
1791 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1792 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1793 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1794 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1795 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1796 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1797 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1798 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1799 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1800 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1801 echo "__dcaeos_private_key__" > /opt/config/priv_key
1802 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1803 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1804 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1805 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1806 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1807 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1808 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1809 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1810 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1811 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1812 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1813 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1814 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1815 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1816 # fixed private IP addresses of other ONAP components
1817 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1818 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1819 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1820 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1821 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1822 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1824 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1825 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1826 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1827 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1828 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1829 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1830 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1831 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1833 # Download and run install script
1834 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1836 chmod +x dcae2_install.sh
1837 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1840 # MUSIC instantiation
1842 type: OS::Neutron::Port
1844 network: { get_resource: oam_onap }
1845 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1847 - { get_resource: onap_sg }
1850 type: OS::Neutron::FloatingIP
1852 floating_network_id: { get_param: public_net_id }
1853 port_id: { get_resource: music_private_port }
1856 type: OS::Nova::Server
1858 image: { get_param: ubuntu_1404_image }
1859 flavor: { get_param: flavor_large }
1862 template: base-music
1864 base: { get_param: vm_base_name }
1865 key_name: { get_resource: vm_key }
1867 - port: { get_resource: music_private_port }
1868 user_data_format: RAW
1872 __nexus_repo__: { get_param: nexus_repo }
1873 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1874 __nexus_username__: { get_param: nexus_username }
1875 __nexus_password__: { get_param: nexus_password }
1876 __artifacts_version__: { get_param: artifacts_version }
1877 __dns_ip_addr__: { get_param: dns_ip_addr }
1878 __docker_version__: { get_param: music_docker }
1879 __music_repo__: { get_param: music_repo }
1880 __gerrit_branch__: { get_param: music_branch }
1881 __cloud_env__: { get_param: cloud_env }
1882 __external_dns__: { get_param: external_dns }
1886 # Create configuration files
1887 mkdir -p /opt/config
1888 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1889 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1890 echo "__nexus_username__" > /opt/config/nexus_username.txt
1891 echo "__nexus_password__" > /opt/config/nexus_password.txt
1892 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1893 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1894 echo "__docker_version__" > /opt/config/docker_version.txt
1895 echo "__music_repo__" > /opt/config/remote_repo.txt
1896 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1897 echo "__cloud_env__" > /opt/config/cloud_env.txt
1898 echo "__external_dns__" > /opt/config/external_dns.txt
1900 # Download and run install script
1901 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1903 chmod +x music_install.sh
1909 type: OS::Neutron::Port
1911 network: { get_resource: oam_onap }
1912 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1914 - { get_resource: onap_sg }
1917 type: OS::Neutron::FloatingIP
1919 floating_network_id: { get_param: public_net_id }
1920 port_id: { get_resource: oof_private_port }
1923 type: OS::Nova::Server
1925 image: { get_param: ubuntu_1404_image }
1926 flavor: { get_param: flavor_medium }
1931 base: { get_param: vm_base_name }
1932 key_name: { get_resource: vm_key }
1934 - port: { get_resource: oof_private_port }
1935 user_data_format: RAW
1939 __nexus_repo__: { get_param: nexus_repo }
1940 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1941 __nexus_username__: { get_param: nexus_username }
1942 __nexus_password__: { get_param: nexus_password }
1943 __artifacts_version__: { get_param: artifacts_version }
1944 __dns_ip_addr__: { get_param: dns_ip_addr }
1945 __docker_version__: { get_param: oof_docker }
1946 __cloud_env__: { get_param: cloud_env }
1947 __external_dns__: { get_param: external_dns }
1951 # Create configuration files
1952 mkdir -p /opt/config
1953 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1954 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1955 echo "__nexus_username__" > /opt/config/nexus_username.txt
1956 echo "__nexus_password__" > /opt/config/nexus_password.txt
1957 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1958 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1959 echo "__docker_version__" > /opt/config/docker_version.txt
1960 echo "__cloud_env__" > /opt/config/cloud_env.txt
1961 echo "__external_dns__" > /opt/config/external_dns.txt
1963 # Download and run install script
1964 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1966 chmod +x oof_install.sh
1972 type: OS::Neutron::Port
1974 network: { get_resource: oam_onap }
1975 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1977 - { get_resource: onap_sg }
1980 type: OS::Neutron::FloatingIP
1982 floating_network_id: { get_param: public_net_id }
1983 port_id: { get_resource: aaf_private_port }
1986 type: OS::Nova::Server
1988 image: { get_param: ubuntu_1404_image }
1989 flavor: { get_param: flavor_medium }
1994 base: { get_param: vm_base_name }
1995 key_name: { get_resource: vm_key }
1997 - port: { get_resource: aaf_private_port }
1998 user_data_format: RAW
2002 __nexus_repo__: { get_param: nexus_repo }
2003 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2004 __nexus_username__: { get_param: nexus_username }
2005 __nexus_password__: { get_param: nexus_password }
2006 __artifacts_version__: { get_param: artifacts_version }
2007 __dns_ip_addr__: { get_param: dns_ip_addr }
2008 __docker_version__: { get_param: aaf_docker }
2009 __cloud_env__: { get_param: cloud_env }
2010 __external_dns__: { get_param: external_dns }
2011 __aaf_repo__: { get_param: aaf_repo }
2012 __gerrit_branch__: { get_param: aaf_branch }
2016 # Create configuration files
2017 mkdir -p /opt/config
2018 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2019 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2020 echo "__nexus_username__" > /opt/config/nexus_username.txt
2021 echo "__nexus_password__" > /opt/config/nexus_password.txt
2022 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2023 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2024 echo "__docker_version__" > /opt/config/docker_version.txt
2025 echo "__cloud_env__" > /opt/config/cloud_env.txt
2026 echo "__external_dns__" > /opt/config/external_dns.txt
2027 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2028 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2030 # Download and run install script
2031 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2033 chmod +x aaf_install.sh
2038 type: OS::Neutron::Port
2040 network: { get_resource: oam_onap }
2041 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2043 - { get_resource: onap_sg }
2046 type: OS::Neutron::FloatingIP
2048 floating_network_id: { get_param: public_net_id }
2049 port_id: { get_resource: nbi_private_port }
2052 type: OS::Nova::Server
2054 image: { get_param: ubuntu_1604_image }
2055 flavor: { get_param: flavor_small }
2060 base: { get_param: vm_base_name }
2061 key_name: { get_resource: vm_key }
2063 - port: { get_resource: nbi_private_port }
2064 user_data_format: RAW
2068 __nexus_repo__: { get_param: nexus_repo }
2069 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2070 __nexus_username__: { get_param: nexus_username }
2071 __nexus_password__: { get_param: nexus_password }
2072 __artifacts_version__: { get_param: artifacts_version }
2073 __dns_ip_addr__: { get_param: dns_ip_addr }
2074 __docker_version__: { get_param: nbi_docker }
2075 __nbi_repo__: { get_param: nbi_repo }
2076 __gerrit_branch__: { get_param: nbi_branch }
2077 __cloud_env__: { get_param: cloud_env }
2078 __external_dns__: { get_param: external_dns }
2082 # Create configuration files
2083 mkdir -p /opt/config
2084 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2085 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2086 echo "__nexus_username__" > /opt/config/nexus_username.txt
2087 echo "__nexus_password__" > /opt/config/nexus_password.txt
2088 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2089 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2090 echo "__docker_version__" > /opt/config/docker_version.txt
2091 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2092 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2093 echo "__cloud_env__" > /opt/config/cloud_env.txt
2094 echo "__external_dns__" > /opt/config/external_dns.txt
2096 # Download and run install script
2097 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2099 chmod +x nbi_install.sh