1 ##########################################################################
3 #==================LICENSE_START==========================================
6 # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 #==================LICENSE_END============================================
21 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ##########################################################################
25 heat_template_version: 2015-10-15
27 description: Heat template to install ONAP components
37 ##############################################
39 # Parameters used across all ONAP components #
41 ##############################################
45 description: The ID of the Public network for floating IP address allocation
49 description: The name of the Public network referred by public_net_id
53 description: Name of the Ubuntu 14.04 image
57 description: Name of the Ubuntu 16.04 image
61 description: Name of the Small Flavor supported by the cloud provider
65 description: Name of the Medium Flavor supported by the cloud provider
69 description: Name of the Large Flavor supported by the cloud provider
73 description: Name of the Extra Large Flavor supported by the cloud provider
77 description: Name of the Extra Extra Large Flavor supported by the cloud provider
81 description: Base name of ONAP VMs
85 description: Public/Private key pair name
89 description: Public key to be installed on the compute instance
93 description: Complete URL for the Nexus repository.
97 description: Complete URL for the Nexus repository for docker images.
101 description: Nexus Repository username
105 description: Nexus Repository Password
109 description: Artifacts version of ONAP components
113 description: DMaaP Topic name
117 description: OpenStack tenant ID
119 openstack_tenant_name:
121 description: OpenStack tenant name (matching with the openstack_tenant_id)
125 description: OpenStack username
127 openstack_auth_method:
129 description: OpenStack authentication method (password VS. api-key)
133 description: OpenStack password or API Key
137 description: URL of OpenStack Horizon
141 description: URL of OpenStack Keystone
145 description: Cloud Provider Name in lower case
149 description: Region where the DCAE controller will spin the VMs
151 ######################
153 # Network parameters #
155 ######################
158 type: comma_delimited_list
159 description: List of External DNS for OAM ONAP network
163 description: Public IP of the external DNS for ONAP network
167 description: the forwarder address for setting up ONAP's private DNS server
171 description: CIDR of the OAM ONAP network
173 ### Private IP addresses ###
213 ###########################
215 # Parameters used by DCAE #
217 ###########################
219 dnsaas_config_enabled:
221 description: whether the DNSaaS configuration section is enabled
225 description: the region of the cloud instance providing the Designate DNS as a Service
229 description: the keystone URL of the cloud instance providing the Designate DNS as a Service
233 description: the username of the cloud instance providing the Designate DNS as a Service
237 description: the password of the cloud instance providing the Designate DNS as a Service
241 description: the name of the tenant in the cloud instance providing the Designate DNS as a Service
245 description: the keystone URL for DCAE to use (via MultiCloud)
249 description: the private key of the key-apir used between the DCAE bootstrap container and DCAE VMs
253 description: the prublic key of the key-apir used between the DCAE bootstrap container and DCAE VMs
257 description: the id/name of the CentOS 7 VM imange
261 description: the top level domain to register DCAE VMs (the zone will be random-str.dcae_domain)
263 #####################
265 # ONAP repositories #
267 #####################
302 ################################
304 # Docker versions and branches #
306 ################################
359 vfc_ztevnfmdriver_docker:
361 vfc_ztesdncdriver_docker:
369 vfc_resmanagement_docker:
375 vfc_jujudriver_docker:
377 vfc_gvnfmdriver_docker:
379 vfc_emsdriver_docker:
383 vfc_wfengine_mgrservice_docker:
385 vfc_wfengine_activiti_docker:
436 type: OS::Heat::RandomString
440 # Public key used to access ONAP components
442 type: OS::Nova::KeyPair
448 base: { get_param: key_name }
449 rand: { get_resource: random-str }
450 public_key: { get_param: pub_key }
451 save_private_key: false
454 # ONAP security group
456 type: OS::Neutron::SecurityGroup
463 rand: { get_resource: random-str }
464 description: security group used by ONAP
476 port_range_max: 65535
479 port_range_max: 65535
483 # ONAP management private network
485 type: OS::Neutron::Net
489 template: oam_onap_rand
491 rand: { get_resource: random-str }
494 type: OS::Neutron::Subnet
498 template: oam_onap_rand
500 rand: { get_resource: random-str }
501 network_id: { get_resource: oam_onap }
502 cidr: { get_param: oam_network_cidr }
503 dns_nameservers: { get_param: dns_list }
506 type: OS::Neutron::Router
508 external_gateway_info:
509 network: { get_param: public_net_id }
512 type: OS::Neutron::RouterInterface
514 router_id: { get_resource: router }
515 subnet_id: { get_resource: oam_onap_subnet }
518 # DNS Server instantiation
520 type: OS::Neutron::Port
522 network: { get_resource: oam_onap }
523 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
525 - { get_resource: onap_sg }
528 type: OS::Neutron::FloatingIP
530 floating_network_id: { get_param: public_net_id }
531 port_id: { get_resource: dns_private_port }
534 type: OS::Nova::Server
536 image: { get_param: ubuntu_1404_image }
537 flavor: { get_param: flavor_small }
540 template: base-dns-server
542 base: { get_param: vm_base_name }
543 key_name: { get_resource: vm_key }
545 - port: { get_resource: dns_private_port }
546 user_data_format: RAW
550 __nexus_repo__: { get_param: nexus_repo }
551 __artifacts_version__: { get_param: artifacts_version }
552 __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
553 __dns_ip_addr__: { get_param: dns_ip_addr }
554 __aai1_ip_addr__: { get_param: aai1_ip_addr }
555 __aai2_ip_addr__: { get_param: aai2_ip_addr }
556 __appc_ip_addr__: { get_param: appc_ip_addr }
557 __dcae_ip_addr__: { get_param: dcae_ip_addr }
558 __so_ip_addr__: { get_param: so_ip_addr }
559 __mr_ip_addr__: { get_param: mr_ip_addr }
560 __policy_ip_addr__: { get_param: policy_ip_addr }
561 __portal_ip_addr__: { get_param: portal_ip_addr }
562 __robot_ip_addr__: { get_param: robot_ip_addr }
563 __sdc_ip_addr__: { get_param: sdc_ip_addr }
564 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
565 __vid_ip_addr__: { get_param: vid_ip_addr }
566 __clamp_ip_addr__: { get_param: clamp_ip_addr }
567 __openo_ip_addr__: { get_param: openo_ip_addr }
568 __music_ip_addr__: { get_param: music_ip_addr }
569 __oof_ip_addr__: { get_param: oof_ip_addr }
570 __aaf_ip_addr__: { get_param: aaf_ip_addr }
571 __cloud_env__: { get_param: cloud_env }
572 __external_dns__: { get_param: external_dns }
573 __dns_forwarder__: { get_param: dns_forwarder }
577 # Create configuration files
579 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
580 echo "__cloud_env__" > /opt/config/cloud_env.txt
581 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
582 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
583 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
584 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
585 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
586 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
587 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
588 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
589 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
590 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
591 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
592 echo "__robot_ip_addr__" > /opt/config/robot_ip_addr.txt
593 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
594 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
595 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
596 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
597 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
598 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
599 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
600 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
601 echo "__external_dns__" > /opt/config/external_dns.txt
602 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
604 # Download and run install script
605 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dns_install.sh -o /opt/dns_install.sh
607 chmod +x dns_install.sh
611 # A&AI instantiation (2 VMs)
613 type: OS::Neutron::Port
615 network: { get_resource: oam_onap }
616 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
618 - { get_resource: onap_sg }
621 type: OS::Neutron::FloatingIP
623 floating_network_id: { get_param: public_net_id }
624 port_id: { get_resource: aai1_private_port }
627 type: OS::Nova::Server
630 image: { get_param: ubuntu_1404_image }
631 flavor: { get_param: flavor_large }
634 template: base-aai-inst1
636 base: { get_param: vm_base_name }
637 key_name: { get_resource: vm_key }
639 - port: { get_resource: aai1_private_port }
640 user_data_format: RAW
644 __nexus_repo__: { get_param: nexus_repo }
645 __nexus_docker_repo__: { get_param: nexus_docker_repo }
646 __nexus_username__: { get_param: nexus_username }
647 __nexus_password__: { get_param: nexus_password }
648 __dmaap_topic__: { get_param: dmaap_topic }
649 __artifacts_version__: { get_param: artifacts_version }
650 __dns_ip_addr__: { get_param: dns_ip_addr }
651 __docker_version__: { get_param: aai_docker }
652 __aai_sparky_docker__ : { get_param: aai_sparky_docker }
653 __gerrit_branch__: { get_param: aai_branch }
654 __cloud_env__: { get_param: cloud_env }
655 __external_dns__: { get_param: external_dns }
656 __aai_repo__: { get_param: aai_repo }
660 # Create configuration files
662 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
663 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
664 echo "__nexus_username__" > /opt/config/nexus_username.txt
665 echo "__nexus_password__" > /opt/config/nexus_password.txt
666 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
667 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
668 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
669 echo "__docker_version__" > /opt/config/docker_version.txt
670 echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
671 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
672 echo "aai_instance_1" > /opt/config/aai_instance.txt
673 echo "__cloud_env__" > /opt/config/cloud_env.txt
674 echo "__external_dns__" > /opt/config/external_dns.txt
675 echo "__aai_repo__" > /opt/config/remote_repo.txt
677 # Download and run install script
678 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
680 chmod +x aai_install.sh
685 type: OS::Neutron::Port
687 network: { get_resource: oam_onap }
688 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
690 - { get_resource: onap_sg }
693 type: OS::Neutron::FloatingIP
695 floating_network_id: { get_param: public_net_id }
696 port_id: { get_resource: aai2_private_port }
699 type: OS::Nova::Server
701 image: { get_param: ubuntu_1404_image }
702 flavor: { get_param: flavor_large }
705 template: base-aai-inst2
707 base: { get_param: vm_base_name }
708 key_name: { get_resource: vm_key }
710 - port: { get_resource: aai2_private_port }
711 user_data_format: RAW
715 __nexus_repo__: { get_param: nexus_repo }
716 __nexus_docker_repo__: { get_param: nexus_docker_repo }
717 __nexus_username__: { get_param: nexus_username }
718 __nexus_password__: { get_param: nexus_password }
719 __dmaap_topic__: { get_param: dmaap_topic }
720 __artifacts_version__: { get_param: artifacts_version }
721 __dns_ip_addr__: { get_param: dns_ip_addr }
722 __docker_version__: { get_param: aai_docker }
723 __gerrit_branch__: { get_param: aai_branch }
724 __cloud_env__: { get_param: cloud_env }
725 __external_dns__: { get_param: external_dns }
726 __aai_repo__: { get_param: aai_repo }
730 # Create configuration files
732 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
733 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
734 echo "__nexus_username__" > /opt/config/nexus_username.txt
735 echo "__nexus_password__" > /opt/config/nexus_password.txt
736 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
737 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
738 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
739 echo "__docker_version__" > /opt/config/docker_version.txt
740 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
741 echo "aai_instance_2" > /opt/config/aai_instance.txt
742 echo "__cloud_env__" > /opt/config/cloud_env.txt
743 echo "__external_dns__" > /opt/config/external_dns.txt
744 echo "__aai_repo__" > /opt/config/remote_repo.txt
746 # Download and run install script
747 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
749 chmod +x aai_install.sh
755 type: OS::Neutron::Port
757 network: { get_resource: oam_onap }
758 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
760 - { get_resource: onap_sg }
763 type: OS::Neutron::FloatingIP
765 floating_network_id: { get_param: public_net_id }
766 port_id: { get_resource: so_private_port }
769 type: OS::Nova::Server
771 image: { get_param: ubuntu_1604_image }
772 flavor: { get_param: flavor_medium }
777 base: { get_param: vm_base_name }
778 key_name: { get_resource: vm_key }
780 - port: { get_resource: so_private_port }
781 user_data_format: RAW
785 __nexus_repo__: { get_param: nexus_repo }
786 __nexus_docker_repo__: { get_param: nexus_docker_repo }
787 __nexus_username__: { get_param: nexus_username }
788 __nexus_password__: { get_param: nexus_password }
789 __openstack_username__: { get_param: openstack_username }
790 __openstack_tenant_id__: { get_param: openstack_tenant_id }
791 __openstack_api_key__: { get_param: openstack_api_key }
792 __openstack_region__: { get_param: openstack_region }
793 __keystone_url__: { get_param: keystone_url }
794 __dmaap_topic__: { get_param: dmaap_topic }
795 __artifacts_version__: { get_param: artifacts_version }
796 __dns_ip_addr__: { get_param: dns_ip_addr }
797 __openo_ip__: { get_param: openo_ip_addr }
798 __docker_version__: { get_param: so_docker }
799 __gerrit_branch__: { get_param: so_branch }
800 __cloud_env__: { get_param: cloud_env }
801 __external_dns__: { get_param: external_dns }
802 __so_repo__: { get_param: so_repo }
806 # Create configuration files
808 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
809 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
810 echo "__nexus_username__" > /opt/config/nexus_username.txt
811 echo "__nexus_password__" > /opt/config/nexus_password.txt
812 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
813 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
814 echo "__openo_ip__" > /opt/config/openo_ip.txt
815 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
816 echo "__openstack_username__" > /opt/config/openstack_username.txt
817 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
818 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
819 echo "__openstack_region__" > /opt/config/openstack_region.txt
820 echo "__keystone_url__" > /opt/config/keystone.txt
821 echo "__docker_version__" > /opt/config/docker_version.txt
822 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
823 echo "__cloud_env__" > /opt/config/cloud_env.txt
824 echo "__external_dns__" > /opt/config/external_dns.txt
825 echo "__so_repo__" > /opt/config/remote_repo.txt
827 # Download and run install script
828 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
830 chmod +x so_install.sh
834 # Message Router instantiation
835 mrouter_private_port:
836 type: OS::Neutron::Port
838 network: { get_resource: oam_onap }
839 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
841 - { get_resource: onap_sg }
844 type: OS::Neutron::FloatingIP
846 floating_network_id: { get_param: public_net_id }
847 port_id: { get_resource: mrouter_private_port }
850 type: OS::Nova::Server
852 image: { get_param: ubuntu_1404_image }
853 flavor: { get_param: flavor_medium }
856 template: base-message-router
858 base: { get_param: vm_base_name }
859 key_name: { get_resource: vm_key }
861 - port: { get_resource: mrouter_private_port }
862 user_data_format: RAW
866 __nexus_repo__: { get_param: nexus_repo }
867 __nexus_docker_repo__: { get_param: nexus_docker_repo }
868 __nexus_username__: { get_param: nexus_username }
869 __nexus_password__: { get_param: nexus_password }
870 __artifacts_version__: { get_param: artifacts_version }
871 __dns_ip_addr__: { get_param: dns_ip_addr }
872 __gerrit_branch__: { get_param: mr_branch }
873 __cloud_env__: { get_param: cloud_env }
874 __external_dns__: { get_param: external_dns }
875 __mr_repo__: { get_param: mr_repo }
879 # Create configuration files
881 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
882 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
883 echo "__nexus_username__" > /opt/config/nexus_username.txt
884 echo "__nexus_password__" > /opt/config/nexus_password.txt
885 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
886 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
887 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
888 echo "__cloud_env__" > /opt/config/cloud_env.txt
889 echo "__external_dns__" > /opt/config/external_dns.txt
890 echo "__mr_repo__" > /opt/config/remote_repo.txt
892 # Download and run install script
893 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
895 chmod +x mr_install.sh
899 # Robot Framework instantiation
901 type: OS::Neutron::Port
903 network: { get_resource: oam_onap }
904 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
906 - { get_resource: onap_sg }
909 type: OS::Neutron::FloatingIP
911 floating_network_id: { get_param: public_net_id }
912 port_id: { get_resource: robot_private_port }
915 type: OS::Nova::Server
917 image: { get_param: ubuntu_1604_image }
918 flavor: { get_param: flavor_small }
923 base: { get_param: vm_base_name }
924 key_name: { get_resource: vm_key }
926 - port: { get_resource: robot_private_port }
927 user_data_format: RAW
931 __nexus_repo__: { get_param: nexus_repo }
932 __nexus_docker_repo__: { get_param: nexus_docker_repo }
933 __nexus_username__: { get_param: nexus_username }
934 __nexus_password__: { get_param: nexus_password }
935 __network_name__: { get_attr: [oam_onap, name] }
936 __openstack_username__: { get_param: openstack_username }
937 __openstack_api_key__: { get_param : openstack_api_key }
938 __openstack_tenant_id__: { get_param: openstack_tenant_id }
939 __artifacts_version__: { get_param: artifacts_version }
940 __openstack_region__: { get_param: openstack_region }
941 __dns_ip_addr__: { get_param: dns_ip_addr }
942 __gerrit_branch__: { get_param: robot_branch }
943 __cloud_env__: { get_param: cloud_env }
944 __keystone_url__: { get_param: keystone_url }
945 __aai1_ip_addr__: { get_param: aai1_ip_addr }
946 __aai2_ip_addr__: { get_param: aai2_ip_addr }
947 __appc_ip_addr__: { get_param: appc_ip_addr }
948 __dcae_ip_addr__: { get_param: dcae_ip_addr }
949 __so_ip_addr__: { get_param: so_ip_addr }
950 __mr_ip_addr__: { get_param: mr_ip_addr }
951 __policy_ip_addr__: { get_param: policy_ip_addr }
952 __portal_ip_addr__: { get_param: portal_ip_addr }
953 __sdc_ip_addr__: { get_param: sdc_ip_addr }
954 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
955 __vid_ip_addr__: { get_param: vid_ip_addr }
956 __clamp_ip_addr__: { get_param: clamp_ip_addr }
957 __openo_ip_addr__: { get_param: openo_ip_addr }
958 __clamp_ip_addr__: { get_param: clamp_ip_addr }
959 __openo_ip_addr__: { get_param: openo_ip_addr }
960 __music_ip_addr__: { get_param: music_ip_addr }
961 __nbi_ip_addr__: { get_param: nbi_ip_addr }
962 __external_dns__: { get_param: external_dns }
963 __vm_image_name__: { get_param: ubuntu_1404_image }
964 __vm_flavor__: { get_param: flavor_medium }
965 __public_net_id__: { get_param: public_net_id }
966 __script_version__: { get_param: artifacts_version }
967 __robot_repo__: { get_param: robot_repo }
968 __docker_version__: { get_param: robot_docker }
972 # Create configuration files
974 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
975 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
976 echo "__nexus_username__" > /opt/config/nexus_username.txt
977 echo "__nexus_password__" > /opt/config/nexus_password.txt
978 echo "__network_name__" > /opt/config/network.txt
979 echo "__openstack_username__" > /opt/config/openstack_username.txt
980 echo "__openstack_api_key__" > /opt/config/openstack_password.txt
981 echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
982 echo "__openstack_region__" > /opt/config/region.txt
983 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
984 echo "__docker_version__" > /opt/config/docker_version.txt
985 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
986 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
987 echo "__keystone_url__" > /opt/config/keystone.txt
988 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
989 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
990 echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
991 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
992 echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
993 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
994 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
995 echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
996 echo "__portal_ip_addr__" > /opt/config/cli_ip_addr.txt
997 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
998 echo "__sdc_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
999 echo "__sdc_ip_addr__" > /opt/config/sdc_fe_ip_addr.txt
1000 echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
1001 echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
1002 echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
1003 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1004 echo "__openo_ip_addr__" > /opt/config/vnfsdk_ip_addr.txt
1005 echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
1006 echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
1007 echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
1008 echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
1009 echo "__cloud_env__" > /opt/config/cloud_env.txt
1010 echo "__external_dns__" > /opt/config/external_dns.txt
1011 echo "__vm_image_name__" > /opt/config/vm_image_name.txt
1012 echo "__ubuntu_1404_image__" > /opt/config/ubuntu_1404_image.txt
1013 echo "__ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1014 echo "__script_version__" > /opt/config/script_version.txt
1015 echo "__public_net_id__" > /opt/config/public_net_id.txt
1016 echo "__robot_repo__" > /opt/config/remote_repo.txt
1018 # Download and run install script
1019 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
1021 chmod +x robot_install.sh
1027 type: OS::Neutron::Port
1029 network: { get_resource: oam_onap }
1030 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
1032 - { get_resource: onap_sg }
1035 type: OS::Neutron::FloatingIP
1037 floating_network_id: { get_param: public_net_id }
1038 port_id: { get_resource: vid_private_port }
1041 type: OS::Nova::Server
1043 image: { get_param: ubuntu_1404_image }
1044 flavor: { get_param: flavor_medium }
1049 base: { get_param: vm_base_name }
1050 key_name: { get_resource: vm_key }
1052 - port: { get_resource: vid_private_port }
1053 user_data_format: RAW
1057 __nexus_repo__: { get_param: nexus_repo }
1058 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1059 __nexus_username__: { get_param: nexus_username }
1060 __nexus_password__: { get_param: nexus_password }
1061 __artifacts_version__: { get_param: artifacts_version }
1062 __dns_ip_addr__: { get_param: dns_ip_addr }
1063 __docker_version__: { get_param: vid_docker }
1064 __gerrit_branch__: { get_param: vid_branch }
1065 __cloud_env__: { get_param: cloud_env }
1066 __external_dns__: { get_param: external_dns }
1067 __vid_repo__: { get_param: vid_repo }
1071 # Create configuration files
1072 mkdir -p /opt/config
1073 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1074 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1075 echo "__nexus_username__" > /opt/config/nexus_username.txt
1076 echo "__nexus_password__" > /opt/config/nexus_password.txt
1077 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1078 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1079 echo "__docker_version__" > /opt/config/docker_version.txt
1080 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1081 echo "__cloud_env__" > /opt/config/cloud_env.txt
1082 echo "__external_dns__" > /opt/config/external_dns.txt
1083 echo "__vid_repo__" > /opt/config/remote_repo.txt
1085 # Download and run install script
1086 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
1088 chmod +x vid_install.sh
1092 # SDN-C instantiation
1094 type: OS::Neutron::Port
1096 network: { get_resource: oam_onap }
1097 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
1099 - { get_resource: onap_sg }
1102 type: OS::Neutron::FloatingIP
1104 floating_network_id: { get_param: public_net_id }
1105 port_id: { get_resource: sdnc_private_port }
1108 type: OS::Nova::Server
1110 image: { get_param: ubuntu_1404_image }
1111 flavor: { get_param: flavor_medium }
1116 base: { get_param: vm_base_name }
1117 key_name: { get_resource: vm_key }
1119 - port: { get_resource: sdnc_private_port }
1120 user_data_format: RAW
1124 __nexus_repo__: { get_param: nexus_repo }
1125 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1126 __nexus_username__: { get_param: nexus_username }
1127 __nexus_password__: { get_param: nexus_password }
1128 __artifacts_version__: { get_param: artifacts_version }
1129 __dns_ip_addr__: { get_param: dns_ip_addr }
1130 __docker_version__: { get_param: sdnc_docker }
1131 __gerrit_branch__: { get_param: sdnc_branch }
1132 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1133 __cloud_env__: { get_param: cloud_env }
1134 __external_dns__: { get_param: external_dns }
1135 __sdnc_repo__: { get_param: sdnc_repo }
1139 # Create configuration files
1140 mkdir -p /opt/config
1141 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1142 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1143 echo "__nexus_username__" > /opt/config/nexus_username.txt
1144 echo "__nexus_password__" > /opt/config/nexus_password.txt
1145 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1146 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1147 echo "__docker_version__" > /opt/config/docker_version.txt
1148 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1149 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1150 echo "__cloud_env__" > /opt/config/cloud_env.txt
1151 echo "__external_dns__" > /opt/config/external_dns.txt
1152 echo "__sdnc_repo__" > /opt/config/remote_repo.txt
1154 # Download and run install script
1155 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
1157 chmod +x sdnc_install.sh
1163 type: OS::Neutron::Port
1165 network: { get_resource: oam_onap }
1166 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
1168 - { get_resource: onap_sg }
1171 type: OS::Neutron::FloatingIP
1173 floating_network_id: { get_param: public_net_id }
1174 port_id: { get_resource: sdc_private_port }
1177 type: OS::Cinder::Volume
1183 type: OS::Nova::Server
1185 image: { get_param: ubuntu_1604_image }
1186 flavor: { get_param: flavor_large }
1191 base: { get_param: vm_base_name }
1192 key_name: { get_resource: vm_key }
1194 - port: { get_resource: sdc_private_port }
1195 block_device_mapping:
1196 - device_name: /dev/vdb
1197 volume_id: {get_resource: sdc_volume_data}
1198 user_data_format: RAW
1202 __nexus_repo__: { get_param: nexus_repo }
1203 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1204 __nexus_username__: { get_param: nexus_username }
1205 __nexus_password__: { get_param: nexus_password }
1206 __env_name__: { get_param: dmaap_topic }
1207 __artifacts_version__: { get_param: artifacts_version }
1208 __dns_ip_addr__: { get_param: dns_ip_addr }
1209 __mr_ip_addr__: { get_param: mr_ip_addr }
1210 __private_ip__: { get_param: sdc_ip_addr }
1211 __docker_version__: { get_param: sdc_docker }
1212 __sdc_wfd_docker__: { get_param: sdc_wfd_docker }
1213 __gerrit_branch__: { get_param: sdc_branch }
1214 __cloud_env__: { get_param: cloud_env }
1215 __external_dns__: { get_param: external_dns }
1216 __sdc_repo__: { get_param: sdc_repo }
1220 # Create configuration files
1221 mkdir -p /opt/config
1222 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1223 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1224 echo "__nexus_username__" > /opt/config/nexus_username.txt
1225 echo "__nexus_password__" > /opt/config/nexus_password.txt
1226 echo "__env_name__" > /opt/config/env_name.txt
1227 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1228 echo "__private_ip__" > /opt/config/private_ip.txt
1229 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1230 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1231 echo "__docker_version__" > /opt/config/docker_version.txt
1232 echo "__sdc_wfd_docker__" > /opt/config/sdc_wfd_docker.txt
1233 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1234 echo "__cloud_env__" > /opt/config/cloud_env.txt
1235 echo "__external_dns__" > /opt/config/external_dns.txt
1236 echo "__sdc_repo__" > /opt/config/remote_repo.txt
1238 # Download and run install script
1239 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
1241 chmod +x sdc_install.sh
1245 # PORTAL instantiation
1246 portal_private_port:
1247 type: OS::Neutron::Port
1249 network: { get_resource: oam_onap }
1250 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
1252 - { get_resource: onap_sg }
1255 type: OS::Neutron::FloatingIP
1257 floating_network_id: { get_param: public_net_id }
1258 port_id: { get_resource: portal_private_port }
1261 type: OS::Nova::Server
1263 image: { get_param: ubuntu_1404_image }
1264 flavor: { get_param: flavor_medium }
1267 template: base-portal
1269 base: { get_param: vm_base_name }
1270 key_name: { get_resource: vm_key }
1272 - port: { get_resource: portal_private_port }
1273 user_data_format: RAW
1277 __nexus_repo__: { get_param: nexus_repo }
1278 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1279 __nexus_username__: { get_param: nexus_username }
1280 __nexus_password__: { get_param: nexus_password }
1281 __artifacts_version__: { get_param: artifacts_version }
1282 __dns_ip_addr__: { get_param: dns_ip_addr }
1283 __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
1284 __docker_version__: { get_param: portal_docker }
1285 __gerrit_branch__: { get_param: portal_branch }
1286 __cli_docker__: { get_param: cli_docker }
1287 __cloud_env__: { get_param: cloud_env }
1288 __external_dns__: { get_param: external_dns }
1289 __portal_repo__: { get_param: portal_repo }
1293 # Create configuration files
1294 mkdir -p /opt/config
1295 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1296 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1297 echo "__nexus_username__" > /opt/config/nexus_username.txt
1298 echo "__nexus_password__" > /opt/config/nexus_password.txt
1299 echo "__public_ip__" > /opt/config/public_ip.txt
1300 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1301 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1302 echo "__docker_version__" > /opt/config/docker_version.txt
1303 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1304 echo "__cli_docker__" > /opt/config/cli_docker_version.txt
1305 echo "__cloud_env__" > /opt/config/cloud_env.txt
1306 echo "__external_dns__" > /opt/config/external_dns.txt
1307 echo "__portal_repo__" > /opt/config/remote_repo.txt
1309 # Download and run install script
1310 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
1312 chmod +x portal_install.sh
1316 # Policy Engine instantiation
1317 policy_private_port:
1318 type: OS::Neutron::Port
1320 network: { get_resource: oam_onap }
1321 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
1323 - { get_resource: onap_sg }
1326 type: OS::Neutron::FloatingIP
1328 floating_network_id: { get_param: public_net_id }
1329 port_id: { get_resource: policy_private_port }
1332 type: OS::Nova::Server
1334 image: { get_param: ubuntu_1404_image }
1335 flavor: { get_param: flavor_medium }
1338 template: base-policy
1340 base: { get_param: vm_base_name }
1341 key_name: { get_resource: vm_key }
1343 - port: { get_resource: policy_private_port }
1344 user_data_format: RAW
1348 __nexus_repo__: { get_param: nexus_repo }
1349 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1350 __nexus_username__: { get_param: nexus_username }
1351 __nexus_password__: { get_param: nexus_password }
1352 __artifacts_version__: { get_param: artifacts_version }
1353 __dns_ip_addr__: { get_param: dns_ip_addr }
1354 __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
1355 __docker_version__: { get_param: policy_docker }
1356 __gerrit_branch__: { get_param: policy_branch }
1357 __cloud_env__: { get_param: cloud_env }
1358 __external_dns__: { get_param: external_dns }
1359 __policy_repo__: { get_param: policy_repo }
1363 # Create configuration files
1364 mkdir -p /opt/config
1365 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1366 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1367 echo "__nexus_username__" > /opt/config/nexus_username.txt
1368 echo "__nexus_password__" > /opt/config/nexus_password.txt
1369 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1370 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1371 echo "__public_ip__" > /opt/config/public_ip.txt
1372 echo "__docker_version__" > /opt/config/docker_version.txt
1373 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1374 echo "__cloud_env__" > /opt/config/cloud_env.txt
1375 echo "__external_dns__" > /opt/config/external_dns.txt
1376 echo "__policy_repo__" > /opt/config/remote_repo.txt
1378 # Download and run install script
1379 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
1381 chmod +x policy_install.sh
1385 # APP-C instantiation
1387 type: OS::Neutron::Port
1389 network: { get_resource: oam_onap }
1390 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
1392 - { get_resource: onap_sg }
1395 type: OS::Neutron::FloatingIP
1397 floating_network_id: { get_param: public_net_id }
1398 port_id: { get_resource: appc_private_port }
1401 type: OS::Nova::Server
1403 image: { get_param: ubuntu_1404_image }
1404 flavor: { get_param: flavor_medium }
1409 base: { get_param: vm_base_name }
1410 key_name: { get_resource: vm_key }
1412 - port: { get_resource: appc_private_port }
1413 user_data_format: RAW
1417 __nexus_repo__: { get_param: nexus_repo }
1418 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1419 __nexus_username__: { get_param: nexus_username }
1420 __nexus_password__: { get_param: nexus_password }
1421 __dmaap_topic__: { get_param: dmaap_topic }
1422 __artifacts_version__: { get_param: artifacts_version }
1423 __dns_ip_addr__: { get_param: dns_ip_addr }
1424 __docker_version__: { get_param: appc_docker }
1425 __gerrit_branch__: { get_param: appc_branch }
1426 __dgbuilder_docker__: { get_param: dgbuilder_docker }
1427 __cloud_env__: { get_param: cloud_env }
1428 __external_dns__: { get_param: external_dns }
1429 __appc_repo__: { get_param: appc_repo }
1433 # Create configuration files
1434 mkdir -p /opt/config
1435 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1436 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1437 echo "__nexus_username__" > /opt/config/nexus_username.txt
1438 echo "__nexus_password__" > /opt/config/nexus_password.txt
1439 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1440 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1441 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1442 echo "__docker_version__" > /opt/config/docker_version.txt
1443 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1444 echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
1445 echo "__cloud_env__" > /opt/config/cloud_env.txt
1446 echo "__external_dns__" > /opt/config/external_dns.txt
1447 echo "__appc_repo__" > /opt/config/remote_repo.txt
1449 # Download and run install script
1450 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
1452 chmod +x appc_install.sh
1456 # CLAMP instantiation
1458 type: OS::Neutron::Port
1460 network: { get_resource: oam_onap }
1461 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
1463 - { get_resource: onap_sg }
1466 type: OS::Neutron::FloatingIP
1468 floating_network_id: { get_param: public_net_id }
1469 port_id: { get_resource: clamp_private_port }
1472 type: OS::Nova::Server
1474 image: { get_param: ubuntu_1604_image }
1475 flavor: { get_param: flavor_medium }
1478 template: base-clamp
1480 base: { get_param: vm_base_name }
1481 key_name: { get_resource: vm_key }
1483 - port: { get_resource: clamp_private_port }
1484 user_data_format: RAW
1488 __nexus_repo__: { get_param: nexus_repo }
1489 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1490 __nexus_username__: { get_param: nexus_username }
1491 __nexus_password__: { get_param: nexus_password }
1492 __openstack_username__: { get_param: openstack_username }
1493 __openstack_tenant_id__: { get_param: openstack_tenant_id }
1494 __openstack_api_key__: { get_param: openstack_api_key }
1495 __openstack_region__: { get_param: openstack_region }
1496 __keystone_url__: { get_param: keystone_url }
1497 __dmaap_topic__: { get_param: dmaap_topic }
1498 __artifacts_version__: { get_param: artifacts_version }
1499 __dns_ip_addr__: { get_param: dns_ip_addr }
1500 __docker_version__: { get_param: clamp_docker }
1501 __gerrit_branch__: { get_param: clamp_branch }
1502 __cloud_env__: { get_param: cloud_env }
1503 __external_dns__: { get_param: external_dns }
1504 __clamp_repo__: { get_param: clamp_repo }
1508 # Create configuration files
1509 mkdir -p /opt/config
1510 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1511 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1512 echo "__nexus_username__" > /opt/config/nexus_username.txt
1513 echo "__nexus_password__" > /opt/config/nexus_password.txt
1514 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1515 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1516 echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
1517 echo "__openstack_username__" > /opt/config/openstack_username.txt
1518 echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
1519 echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
1520 echo "__openstack_region__" > /opt/config/openstack_region.txt
1521 echo "__keystone_url__" > /opt/config/keystone.txt
1522 echo "__docker_version__" > /opt/config/docker_version.txt
1523 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1524 echo "__cloud_env__" > /opt/config/cloud_env.txt
1525 echo "__external_dns__" > /opt/config/external_dns.txt
1526 echo "__clamp_repo__" > /opt/config/remote_repo.txt
1528 # Download and run install script
1529 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
1531 chmod +x clamp_install.sh
1535 # OPEN-O VM instantiation
1537 type: OS::Neutron::Port
1539 network: { get_resource: oam_onap }
1540 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
1542 - { get_resource: onap_sg }
1545 type: OS::Neutron::FloatingIP
1547 floating_network_id: { get_param: public_net_id }
1548 port_id: { get_resource: openo_private_port }
1551 type: OS::Nova::Server
1553 image: { get_param: ubuntu_1604_image }
1554 flavor: { get_param: flavor_large }
1557 template: base-multi-service
1559 base: { get_param: vm_base_name }
1560 key_name: { get_resource: vm_key }
1562 - port: { get_resource: openo_private_port }
1563 user_data_format: RAW
1567 __nexus_repo__: { get_param: nexus_repo }
1568 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1569 __nexus_username__: { get_param: nexus_username }
1570 __nexus_password__: { get_param: nexus_password }
1571 __artifacts_version__: { get_param: artifacts_version }
1572 __dns_ip_addr__: { get_param: dns_ip_addr }
1573 __oam_network_cidr__: { get_param: oam_network_cidr }
1574 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1575 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1576 __appc_ip_addr__: { get_param: appc_ip_addr }
1577 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1578 __so_ip_addr__: { get_param: so_ip_addr }
1579 __mr_ip_addr__: { get_param: mr_ip_addr }
1580 __policy_ip_addr__: { get_param: policy_ip_addr }
1581 __portal_ip_addr__: { get_param: portal_ip_addr }
1582 __robot_ip_addr__: { get_param: robot_ip_addr }
1583 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1584 __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
1585 __vid_ip_addr__: { get_param: vid_ip_addr }
1586 __clamp_ip_addr__: { get_param: clamp_ip_addr }
1587 __openo_ip_addr__: { get_param: openo_ip_addr }
1588 __cloud_env__: { get_param: cloud_env }
1589 __external_dns__: { get_param: external_dns }
1590 __vnfsdk_branch__: { get_param: vnfsdk_branch }
1591 __msb_docker__: { get_param: msb_docker }
1592 __mvim_docker__: { get_param: mvim_docker }
1593 __uui_docker__: { get_param: uui_docker }
1594 __esr_docker__: { get_param: esr_docker }
1595 __vnfsdk_repo__: { get_param: vnfsdk_repo }
1596 __vfc_nokia_docker__: { get_param: vfc_nokia_docker }
1597 __vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
1598 __cbam_ip__: { get_param: cbam_ip }
1599 __cbam_username__: { get_param: cbam_username }
1600 __cbam_password__: { get_param: cbam_password }
1601 __vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
1602 __vfc_multivimproxy_docker__: { get_param: vfc_multivimproxy_docker }
1603 __vfc_ztesdncdriver_docker__: { get_param: vfc_ztesdncdriver_docker }
1604 __vfc_vnfres_docker__: { get_param: vfc_vnfres_docker }
1605 __vfc_vnfmgr_docker__: { get_param: vfc_vnfmgr_docker }
1606 __vfc_vnflcm_docker__: { get_param: vfc_vnflcm_docker }
1607 __vfc_resmanagement_docker__: { get_param: vfc_resmanagement_docker }
1608 __vfc_nslcm_docker__: { get_param: vfc_nslcm_docker }
1609 __vfc_huawei_docker__: { get_param: vfc_huawei_docker }
1610 __vfc_jujudriver_docker__: { get_param: vfc_jujudriver_docker }
1611 __vfc_gvnfmdriver_docker__: { get_param: vfc_gvnfmdriver_docker }
1612 __vfc_emsdriver_docker__: { get_param: vfc_emsdriver_docker }
1613 __vfc_catalog_docker__: { get_param: vfc_catalog_docker }
1614 __vfc_wfengine_mgrservice_docker__: { get_param: vfc_wfengine_mgrservice_docker }
1615 __vfc_wfengine_activiti_docker__: { get_param: vfc_wfengine_activiti_docker }
1619 # Create configuration files
1620 mkdir -p /opt/config
1621 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1622 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1623 echo "__nexus_username__" > /opt/config/nexus_username.txt
1624 echo "__nexus_password__" > /opt/config/nexus_password.txt
1625 echo "__cloud_env__" > /opt/config/cloud_env.txt
1626 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1627 echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
1628 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1629 echo "__external_dns__" > /opt/config/external_dns.txt
1630 echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
1631 echo "__msb_docker__" > /opt/config/msb_docker.txt
1632 echo "__mvim_docker__" > /opt/config/mvim_docker.txt
1633 echo "__uui_docker__" > /opt/config/uui_docker.txt
1634 echo "__esr_docker__" > /opt/config/esr_docker.txt
1635 echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
1636 echo "__cbam_ip__" > /opt/config/cbam_ip.txt
1637 echo "__cbam_username__" > /opt/config/cbam_username.txt
1638 echo "__cbam_password__" > /opt/config/cbam_password.txt
1640 echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
1641 echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
1642 echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
1643 echo "export ZTEVNFMDRIVER_DOCKER_VER=__vfc_ztevnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1644 echo "export ZTESDNCDRIVER_DOCKER_VER=__vfc_ztesdncdriver_docker__" >> /opt/config/vfc_docker.txt
1645 echo "export VNFRES_DOCKER_VER=__vfc_vnfres_docker__" >> /opt/config/vfc_docker.txt
1646 echo "export VNFMGR_DOCKER_VER=__vfc_vnfmgr_docker__" >> /opt/config/vfc_docker.txt
1647 echo "export VNFLCM_DOCKER_VER=__vfc_vnflcm_docker__" >> /opt/config/vfc_docker.txt
1648 echo "export RESMANAGEMENT_DOCKER_VER=__vfc_resmanagement_docker__" >> /opt/config/vfc_docker.txt
1649 echo "export NSLCM_DOCKER_VER=__vfc_nslcm_docker__" >> /opt/config/vfc_docker.txt
1650 echo "export HUAWEI_DOCKER_VER=__vfc_huawei_docker__" >> /opt/config/vfc_docker.txt
1651 echo "export JUJUDRIVER_DOCKER_VER=__vfc_jujudriver_docker__" >> /opt/config/vfc_docker.txt
1652 echo "export GVNFMDRIVER_DOCKER_VER=__vfc_gvnfmdriver_docker__" >> /opt/config/vfc_docker.txt
1653 echo "export EMSDRIVER_DOCKER_VER=__vfc_emsdriver_docker__" >> /opt/config/vfc_docker.txt
1654 echo "export CATALOG_DOCKER_VER=__vfc_catalog_docker__" >> /opt/config/vfc_docker.txt
1655 echo "export MGRSERVICE_DOCKER_VER=__vfc_wfengine_mgrservice_docker__" >> /opt/config/vfc_docker.txt
1656 echo "export ACTIVITI_DOCKER_VER=__vfc_wfengine_activiti_docker__" >> /opt/config/vfc_docker.txt
1658 # Create env file with the IP address of all ONAP components
1659 echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
1660 echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
1661 echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
1662 echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
1663 echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
1664 echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
1665 echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
1666 echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
1667 echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
1668 echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
1669 echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
1670 echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
1671 echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
1672 echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
1674 # Download and run install script
1675 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
1677 chmod +x openo_install.sh
1681 # DCAE GEN 2 Controller instantiation
1682 dcae_c_private_port:
1683 type: OS::Neutron::Port
1685 network: { get_resource: oam_onap }
1686 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
1688 - { get_resource: onap_sg }
1691 type: OS::Neutron::FloatingIP
1693 floating_network_id: { get_param: public_net_id }
1694 port_id: { get_resource: dcae_c_private_port }
1697 type: OS::Nova::Server
1699 image: { get_param: ubuntu_1604_image }
1700 flavor: { get_param: flavor_small }
1705 base: { get_param: vm_base_name }
1706 key_name: { get_resource: vm_key }
1708 - port: { get_resource: dcae_c_private_port }
1710 # - { get_resource: onap_sg }
1711 user_data_format: RAW
1715 __rand_str__: { get_resource: random-str }
1717 __artifacts_version__: { get_param: artifacts_version }
1718 __docker_version__: { get_param: dcae_docker }
1719 __nexus_repo__: { get_param: nexus_repo }
1720 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1721 __nexus_username__: { get_param: nexus_username }
1722 __nexus_password__: { get_param: nexus_password }
1723 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1724 __mac_addr__: { get_attr: [dcae_c_private_port, mac_address] }
1725 __dcae_ip_addr__: { get_param: dcae_ip_addr }
1726 __dcae_float_ip__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1727 __dns_ip_addr__: { get_param: dns_ip_addr }
1728 __external_dns__: { get_param: external_dns }
1729 __dns_forwarder__: { get_param: dns_forwarder }
1730 __dcae_domain__: { get_param: dcae_domain }
1731 # conf for VMs DCAE is to bringup
1732 __openstack_keystone_url__: { get_param: keystone_url }
1733 __dcae_keystone_url__: { get_param: dcae_keystone_url }
1734 __dcaeos_cloud_env__: { get_param: cloud_env }
1735 __dcaeos_keystone_url__: { get_param: dcae_keystone_url }
1736 __dcaeos_region__: { get_param: openstack_region }
1737 __dcaeos_tenant_id__: { get_param: openstack_tenant_id }
1738 __dcaeos_tenant_name__: { get_param: openstack_tenant_name }
1739 __dcaeos_security_group__:
1741 template: 'onap_sg_rand'
1743 rand: { get_resource: random-str }
1744 #__dcaeos_security_group__: { get_attr: [onap_sg, name] }
1745 __dcaeos_username__: { get_param: openstack_username }
1746 __dcaeos_password__: { get_param: openstack_api_key }
1747 __dcaeos_key_name__: { get_resource: vm_key }
1748 __dcaeos_public_key__: { get_param: dcae_public_key }
1749 __dcaeos_private_key__: { get_param: dcae_private_key }
1750 __dcaeos_private_network_name__: { get_attr: [oam_onap, name] }
1751 __dcaeos_public_network_name__: { get_param: public_net_name }
1752 __dcaeos_ubuntu_1604_image__: { get_param: ubuntu_1604_image }
1753 __dcaeos_centos_7_image__: { get_param: dcae_centos_7_image }
1754 __dcaeos_flavor_id__: { get_param: flavor_medium }
1755 __dcaeos_flavor_id_cdap__: { get_param: flavor_large }
1756 __dcaeos_dnsaas_config_enabled__: { get_param: dnsaas_config_enabled }
1757 __dcaeos_dnsaas_region__: { get_param: dnsaas_region }
1758 __dcaeos_dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
1759 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
1760 __dcaeos_dnsaas_username__: { get_param: dnsaas_username }
1761 __dcaeos_dnsaas_password__: { get_param: dnsaas_password }
1763 __mr_ip_addr__: { get_param: mr_ip_addr }
1764 __policy_ip_addr__: { get_param: policy_ip_addr }
1765 __sdc_ip_addr__: { get_param: sdc_ip_addr }
1766 __openo_ip_addr__: { get_param: openo_ip_addr }
1767 __aai1_ip_addr__: { get_param: aai1_ip_addr }
1768 __aai2_ip_addr__: { get_param: aai2_ip_addr }
1770 __dns_floating_ip_addr__: { get_attr: [dns_floating_ip, floating_ip_address] }
1771 __aai1_floating_ip_addr__: { get_attr: [aai1_floating_ip, floating_ip_address] }
1772 __aai2_floating_ip_addr__: { get_attr: [aai2_floating_ip, floating_ip_address] }
1773 __mrouter_floating_ip_addr__: { get_attr: [mrouter_floating_ip, floating_ip_address] }
1774 __sdc_floating_ip_addr__: { get_attr: [sdc_floating_ip, floating_ip_address] }
1775 __policy_floating_ip_addr__: { get_attr: [policy_floating_ip, floating_ip_address] }
1776 __openo_floating_ip_addr__: { get_attr: [openo_floating_ip, floating_ip_address] }
1777 __dcae_c_floating_ip_addr__: { get_attr: [dcae_c_floating_ip, floating_ip_address] }
1782 # Create configuration files
1783 mkdir -p /opt/config
1784 echo "__rand_str__" > /opt/config/dcae_zone.txt
1785 echo "__rand_str__" > /opt/config/rand_str.txt
1787 echo "__docker_version__" > /opt/config/docker_version.txt
1788 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1789 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1790 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1791 echo "__nexus_username__" > /opt/config/nexus_username.txt
1792 echo "__nexus_password__" > /opt/config/nexus_password.txt
1793 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1794 # conf for the ONAP environment where the DCAE bootstrap vm/conatiner runs
1795 echo "__mac_addr__" > /opt/config/mac_addr.txt
1796 echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
1797 echo "__dcae_float_ip__" > /opt/config/dcae_float_ip.txt
1798 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1799 echo "__external_dns__" > /opt/config/external_dns.txt
1800 echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
1801 echo "__dcae_domain__" > /opt/config/dcae_domain.txt
1802 # conf for the OpenStack env where DCAE is deployed
1803 echo "__openstack_keystone_url__" > /opt/config/openstack_keystone_url.txt
1804 echo "__dcaeos_cloud_env__" > /opt/config/cloud_env.txt
1805 echo "__dcaeos_keystone_url__" > /opt/config/keystone_url.txt
1806 echo "__dcaeos_region__" > /opt/config/openstack_region.txt
1807 echo "__dcaeos_tenant_id__" > /opt/config/tenant_id.txt
1808 echo "__dcaeos_tenant_name__" > /opt/config/tenant_name.txt
1809 echo "__dcaeos_username__" > /opt/config/openstack_user.txt
1810 echo "__dcaeos_password__" > /opt/config/openstack_password.txt
1811 echo "__dcaeos_key_name__" > /opt/config/key_name.txt
1812 echo "__dcaeos_public_key__" > /opt/config/pub_key.txt
1813 echo "__dcaeos_private_key__" > /opt/config/priv_key
1814 echo "__dcaeos_private_network_name__" > /opt/config/openstack_private_network_name.txt
1815 echo "__dcaeos_public_network_name__" > /opt/config/public_net_name.txt
1816 echo "__dcaeos_public_network_name__" > /opt/config/public_net_id.txt
1817 echo "__dcaeos_ubuntu_1604_image__" > /opt/config/ubuntu_1604_image.txt
1818 echo "__dcaeos_centos_7_image__" > /opt/config/centos_7_image.txt
1819 echo "__dcaeos_security_group__" > /opt/config/security_group.txt
1820 echo "__dcaeos_flavor_id__" > /opt/config/flavor_id.txt
1821 echo "__dcaeos_flavor_id_cdap__" > /opt/config/flavor_id_cdap.txt
1822 echo "__dcaeos_dnsaas_config_enabled__" > /opt/config/dnsaas_config_enabled.txt
1823 echo "__dcaeos_dnsaas_region__" > /opt/config/dnsaas_region.txt
1824 echo "__dcaeos_dnsaas_keystone_url__" > /opt/config/dnsaas_keystone_url.txt
1825 echo "__dnsaas_tenant_name__" > /opt/config/dnsaas_tenant_name.txt
1826 echo "__dcaeos_dnsaas_username__" > /opt/config/dnsaas_username.txt
1827 echo "__dcaeos_dnsaas_password__" > /opt/config/dnsaas_password.txt
1828 # fixed private IP addresses of other ONAP components
1829 echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
1830 echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
1831 echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
1832 echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
1833 echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
1834 echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
1836 echo "__dns_floating_ip_addr__" > /opt/config/dns_floating_ip_addr.txt
1837 echo "__aai1_floating_ip_addr__" > /opt/config/aai1_floating_ip_addr.txt
1838 echo "__aai2_floating_ip_addr__" > /opt/config/aai2_floating_ip_addr.txt
1839 echo "__mrouter_floating_ip_addr__" > /opt/config/mrouter_floating_ip_addr.txt
1840 echo "__sdc_floating_ip_addr__" > /opt/config/sdc_floating_ip_addr.txt
1841 echo "__policy_floating_ip_addr__" > /opt/config/policy_floating_ip_addr.txt
1842 echo "__openo_floating_ip_addr__" > /opt/config/openo_floating_ip_addr.txt
1843 echo "__dcae_c_floating_ip_addr__" > /opt/config/dcae_c_floating_ip_addr.txt
1845 # Download and run install script
1846 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae2_install.sh -o /opt/dcae2_install.sh
1848 chmod +x dcae2_install.sh
1849 ./dcae2_install.sh > /tmp/dcae2_install.log 2>&1
1852 # MUSIC instantiation
1854 type: OS::Neutron::Port
1856 network: { get_resource: oam_onap }
1857 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: music_ip_addr }}]
1859 - { get_resource: onap_sg }
1862 type: OS::Neutron::FloatingIP
1864 floating_network_id: { get_param: public_net_id }
1865 port_id: { get_resource: music_private_port }
1868 type: OS::Nova::Server
1870 image: { get_param: ubuntu_1404_image }
1871 flavor: { get_param: flavor_large }
1874 template: base-music
1876 base: { get_param: vm_base_name }
1877 key_name: { get_resource: vm_key }
1879 - port: { get_resource: music_private_port }
1880 user_data_format: RAW
1884 __nexus_repo__: { get_param: nexus_repo }
1885 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1886 __nexus_username__: { get_param: nexus_username }
1887 __nexus_password__: { get_param: nexus_password }
1888 __artifacts_version__: { get_param: artifacts_version }
1889 __dns_ip_addr__: { get_param: dns_ip_addr }
1890 __docker_version__: { get_param: music_docker }
1891 __music_repo__: { get_param: music_repo }
1892 __gerrit_branch__: { get_param: music_branch }
1893 __cloud_env__: { get_param: cloud_env }
1894 __external_dns__: { get_param: external_dns }
1898 # Create configuration files
1899 mkdir -p /opt/config
1900 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1901 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1902 echo "__nexus_username__" > /opt/config/nexus_username.txt
1903 echo "__nexus_password__" > /opt/config/nexus_password.txt
1904 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1905 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1906 echo "__docker_version__" > /opt/config/docker_version.txt
1907 echo "__music_repo__" > /opt/config/remote_repo.txt
1908 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1909 echo "__cloud_env__" > /opt/config/cloud_env.txt
1910 echo "__external_dns__" > /opt/config/external_dns.txt
1912 # Download and run install script
1913 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/music_install.sh -o /opt/music_install.sh
1915 chmod +x music_install.sh
1921 type: OS::Neutron::Port
1923 network: { get_resource: oam_onap }
1924 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: oof_ip_addr }}]
1926 - { get_resource: onap_sg }
1929 type: OS::Neutron::FloatingIP
1931 floating_network_id: { get_param: public_net_id }
1932 port_id: { get_resource: oof_private_port }
1935 type: OS::Nova::Server
1937 image: { get_param: ubuntu_1404_image }
1938 flavor: { get_param: flavor_medium }
1943 base: { get_param: vm_base_name }
1944 key_name: { get_resource: vm_key }
1946 - port: { get_resource: oof_private_port }
1947 user_data_format: RAW
1951 __nexus_repo__: { get_param: nexus_repo }
1952 __nexus_docker_repo__: { get_param: nexus_docker_repo }
1953 __nexus_username__: { get_param: nexus_username }
1954 __nexus_password__: { get_param: nexus_password }
1955 __artifacts_version__: { get_param: artifacts_version }
1956 __dns_ip_addr__: { get_param: dns_ip_addr }
1957 __docker_version__: { get_param: oof_docker }
1958 __oof_repo__: { get_param: oof_repo }
1959 __gerrit_branch__: { get_param: oof_branch }
1960 __cloud_env__: { get_param: cloud_env }
1961 __external_dns__: { get_param: external_dns }
1965 # Create configuration files
1966 mkdir -p /opt/config
1967 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
1968 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
1969 echo "__nexus_username__" > /opt/config/nexus_username.txt
1970 echo "__nexus_password__" > /opt/config/nexus_password.txt
1971 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
1972 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
1973 echo "__docker_version__" > /opt/config/docker_version.txt
1974 echo "__oof_repo__" > /opt/config/remote_repo.txt
1975 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
1976 echo "__cloud_env__" > /opt/config/cloud_env.txt
1977 echo "__external_dns__" > /opt/config/external_dns.txt
1979 # Download and run install script
1980 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/oof_install.sh -o /opt/oof_install.sh
1982 chmod +x oof_install.sh
1988 type: OS::Neutron::Port
1990 network: { get_resource: oam_onap }
1991 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aaf_ip_addr }}]
1993 - { get_resource: onap_sg }
1996 type: OS::Neutron::FloatingIP
1998 floating_network_id: { get_param: public_net_id }
1999 port_id: { get_resource: aaf_private_port }
2002 type: OS::Nova::Server
2004 image: { get_param: ubuntu_1604_image }
2005 flavor: { get_param: flavor_medium }
2010 base: { get_param: vm_base_name }
2011 key_name: { get_resource: vm_key }
2013 - port: { get_resource: aaf_private_port }
2014 user_data_format: RAW
2018 __nexus_repo__: { get_param: nexus_repo }
2019 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2020 __nexus_username__: { get_param: nexus_username }
2021 __nexus_password__: { get_param: nexus_password }
2022 __artifacts_version__: { get_param: artifacts_version }
2023 __dns_ip_addr__: { get_param: dns_ip_addr }
2024 __docker_version__: { get_param: aaf_docker }
2025 __cloud_env__: { get_param: cloud_env }
2026 __external_dns__: { get_param: external_dns }
2027 __aaf_repo__: { get_param: aaf_repo }
2028 __gerrit_branch__: { get_param: aaf_branch }
2029 __local_ip__: { get_param: aaf_ip_addr }
2033 # Create configuration files
2034 mkdir -p /opt/config
2035 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2036 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2037 echo "__nexus_username__" > /opt/config/nexus_username.txt
2038 echo "__nexus_password__" > /opt/config/nexus_password.txt
2039 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2040 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2041 echo "__docker_version__" > /opt/config/docker_version.txt
2042 echo "__cloud_env__" > /opt/config/cloud_env.txt
2043 echo "__external_dns__" > /opt/config/external_dns.txt
2044 echo "__aaf_repo__" > /opt/config/remote_repo.txt
2045 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2046 echo "__local_ip__" > /opt/config/local_ip.txt
2048 # Download and run install script
2049 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aaf_install.sh -o /opt/aaf_install.sh
2051 chmod +x aaf_install.sh
2056 type: OS::Neutron::Port
2058 network: { get_resource: oam_onap }
2059 fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: nbi_ip_addr }}]
2061 - { get_resource: onap_sg }
2064 type: OS::Neutron::FloatingIP
2066 floating_network_id: { get_param: public_net_id }
2067 port_id: { get_resource: nbi_private_port }
2070 type: OS::Nova::Server
2072 image: { get_param: ubuntu_1604_image }
2073 flavor: { get_param: flavor_small }
2078 base: { get_param: vm_base_name }
2079 key_name: { get_resource: vm_key }
2081 - port: { get_resource: nbi_private_port }
2082 user_data_format: RAW
2086 __nexus_repo__: { get_param: nexus_repo }
2087 __nexus_docker_repo__: { get_param: nexus_docker_repo }
2088 __nexus_username__: { get_param: nexus_username }
2089 __nexus_password__: { get_param: nexus_password }
2090 __artifacts_version__: { get_param: artifacts_version }
2091 __dns_ip_addr__: { get_param: dns_ip_addr }
2092 __docker_version__: { get_param: nbi_docker }
2093 __nbi_repo__: { get_param: nbi_repo }
2094 __gerrit_branch__: { get_param: nbi_branch }
2095 __cloud_env__: { get_param: cloud_env }
2096 __external_dns__: { get_param: external_dns }
2100 # Create configuration files
2101 mkdir -p /opt/config
2102 echo "__nexus_repo__" > /opt/config/nexus_repo.txt
2103 echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
2104 echo "__nexus_username__" > /opt/config/nexus_username.txt
2105 echo "__nexus_password__" > /opt/config/nexus_password.txt
2106 echo "__artifacts_version__" > /opt/config/artifacts_version.txt
2107 echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
2108 echo "__docker_version__" > /opt/config/docker_version.txt
2109 echo "__nbi_repo__" > /opt/config/remote_repo.txt
2110 echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
2111 echo "__cloud_env__" > /opt/config/cloud_env.txt
2112 echo "__external_dns__" > /opt/config/external_dns.txt
2114 # Download and run install script
2115 curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/nbi_install.sh -o /opt/nbi_install.sh
2117 chmod +x nbi_install.sh