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:
type: string
portal_branch:
type: string
- robot_branch:
- type: string
sdc_branch:
type: string
sdnc_branch:
- protocol: tcp
port_range_min: 1
port_range_max: 65535
-
+ # Protocols used for vLB/vDNS use case
+ - protocol: 47
+ - protocol: 53
+ - protocol: 132
# ONAP management private network
dns_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_small }
name:
str_replace:
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
type: OS::Nova::Server
depends_on: aai2_vm
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_xlarge }
name:
str_replace:
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
aai2_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_xlarge }
name:
str_replace:
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
mrouter_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
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 "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
+ echo "__policy_ip_addr__" > /opt/config/policy_healthcheck_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/cli_ip_addr.txt
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdc_be_ip_addr__" > /opt/config/sdc_be_ip_addr.txt
echo "__sdc_be_onboard_ip_addr__" > /opt/config/sdc_be_onboard_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
+ echo "__sdnc_ip_addr__" > /opt/config/sdnc_portal_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__openo_ip_addr__" > /opt/config/vnfsdk_ip_addr.txt
echo "__music_ip_addr__" > /opt/config/music_ip_addr.txt
echo "__oof_ip_addr__" > /opt/config/oof_ip_addr.txt
+ echo "__oof_ip_addr__" > /opt/config/oof_homing_ip_addr.txt
+ echo "__oof_ip_addr__" > /opt/config/oof_sniro_ip_addr.txt
echo "__aaf_ip_addr__" > /opt/config/aaf_ip_addr.txt
echo "__nbi_ip_addr__" > /opt/config/nbi_ip_addr.txt
echo "__cloud_env__" > /opt/config/cloud_env.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
vid_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_medium }
name:
str_replace:
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
sdnc_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
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
portal_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
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
policy_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_xlarge }
name:
str_replace:
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
appc_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
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
music_vm:
type: OS::Nova::Server
properties:
- image: { get_param: ubuntu_1404_image }
+ image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
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 }
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