type: string
description: Region where the DCAE controller will spin the VMs
+ http_proxy:
+ type: string
+ description: http proxy address
+ default: 'no_proxy'
+
+ https_proxy:
+ type: string
+ description: https proxy address
+ default: 'no_proxy'
+
######################
# #
# Network parameters #
type: string
portal_repo:
type: string
- robot_repo:
- type: string
sdc_repo:
type: string
sdnc_repo:
aai_docker:
type: string
- aai_sparky_docker:
- type: string
appc_docker:
type: string
so_docker:
type: string
music_docker:
type: string
- oof_docker:
+ cassandra_music_docker:
+ type: string
+ optf_has_docker:
+ type: string
+ optf_osdf_docker:
type: string
aaf_docker:
type: string
type: string
portal_branch:
type: string
- robot_branch:
- type: string
sdc_branch:
type: string
sdnc_branch:
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__artifacts_version__: { get_param: artifacts_version }
__oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__dns_forwarder__" > /opt/config/dns_forwarder.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
__docker_version__: { get_param: aai_docker }
- __aai_sparky_docker__ : { get_param: aai_sparky_docker }
__gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__docker_version__" > /opt/config/docker_version.txt
- echo "__aai_sparky_docker__" > /opt/config/sparky_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "aai_instance_1" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__aai_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__aai_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__so_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__mr_repo__" > /opt/config/remote_repo.txt
echo "__dbcl_docker__" > /opt/config/docker_version.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__artifacts_version__: { get_param: artifacts_version }
__openstack_region__: { get_param: openstack_region }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __gerrit_branch__: { get_param: robot_branch }
__cloud_env__: { get_param: cloud_env }
__keystone_url__: { get_param: keystone_url }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__public_net_id__: { get_param: public_net_id }
__oam_network_id__: { get_resource: oam_onap }
__script_version__: { get_param: artifacts_version }
- __robot_repo__: { get_param: robot_repo }
__docker_version__: { get_param: robot_docker }
__sniro_docker_version__: { get_param: sniro_docker }
__vnf_pub_key__: { get_param: pub_key }
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__sniro_docker_version__" > /opt/config/sniro_docker_version.txt
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
- echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__keystone_url__" > /opt/config/keystone.txt
echo "__aai1_ip_addr__" > /opt/config/aai1_ip_addr.txt
echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
echo "__oam_network_id__" > /opt/config/oam_network_id.txt
echo "__use_oam_net_for_robot__" > /opt/config/use_oam_net_for_robot.txt
echo "__vnf_pub_key__" > /opt/config/vnf_pub_key.txt
- echo "__robot_repo__" > /opt/config/remote_repo.txt
echo "localhost" > /opt/config/log_elasticsearch_ip_addr.txt # these tests will be skipped by robot
echo "localhost" > /opt/config/log_logstash_ip_addr.txt # these tests will be skipped by robot
echo "localhost" > /opt/config/log_kibana_ip_addr.txt # these tests will be skipped by robot
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__vid_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__sdnc_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__sdc_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__portal_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
chmod +x portal_install.sh
./portal_install.sh
-
# Policy Engine instantiation
policy_private_port:
type: OS::Neutron::Port
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__policy_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__appc_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__clamp_repo__" > /opt/config/remote_repo.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
params:
__rand_str__: { get_resource: random-str }
# repo related
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__artifacts_version__: { get_param: artifacts_version }
__docker_version__: { get_param: dcae_docker }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
echo "__dcae_prh_docker__" > /opt/config/dcae_docker_prh.txt
echo "__holmes_em_docker__" > /opt/config/holmes_docker_em.txt
echo "__holmes_rm_docker__" > /opt/config/holmes_docker_rm.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: oof_docker }
+ __has_docker_version__: { get_param: optf_has_docker }
+ __osdf_docker_version__: { get_param: optf_osdf_docker }
+ __music_docker_version__: { get_param: music_docker }
+ __cass_music_docker_version__: { get_param: cassandra_music_docker }
__oof_repo__: { get_param: oof_repo }
__gerrit_branch__: { get_param: oof_branch }
__cloud_env__: { get_param: cloud_env }
echo "__nexus_password__" > /opt/config/nexus_password.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
- echo "__docker_version__" > /opt/config/docker_version.txt
+ echo "__has_docker_version__" > /opt/config/has_docker_version.txt
+ echo "__osdf_docker_version__" > /opt/config/osdf_docker_version.txt
+ echo "__music_docker_version__" > /opt/config/music_version.txt
+ echo "__cass_music_docker_version__" > /opt/config/cass_version.txt
echo "__oof_repo__" > /opt/config/remote_repo.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__aaf_repo__" > /opt/config/remote_repo.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__local_ip__" > /opt/config/local_ip.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__sms_repo__" > /opt/config/remote_repo.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__local_ip__" > /opt/config/local_ip.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip
user_data:
str_replace:
params:
+ __http_proxy__: { get_param: http_proxy }
+ __https_proxy__: { get_param: https_proxy }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__aai1_ip_addr__" > /opt/config/aai_ip_addr.txt
echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
+ echo "__http_proxy__" > /opt/config/http_proxy.txt
+ echo "__https_proxy__" > /opt/config/https_proxy.txt
+ if [ __http_proxy__ != "no_proxy" ]
+ then
+ echo "Acquire" > /etc/apt/apt.conf.d/apt.conf
+ echo "{" >> /etc/apt/apt.conf.d/apt.conf
+ echo " Retries \"0\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " http::Proxy \"http://__http_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo " https::Proxy \"https://__https_proxy__/\";" >> /etc/apt/apt.conf.d/apt.conf
+ echo "};" >> /etc/apt/apt.conf.d/apt.conf
# Download and run install script
+ export http_proxy=__http_proxy__
+ export https_proxy=__https_proxy__
+ fi
apt-get -y install unzip
if [[ "__artifacts_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo&a=boot&e=zip&v=__artifacts_version__" -o /opt/boot-__artifacts_version__.zip