#==================LICENSE_START==========================================
#
#
-# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
type: string
description: OpenStack username
- openstack_auth_method:
- type: string
- description: OpenStack authentication method (password VS. api-key)
-
openstack_api_key:
type: string
- description: OpenStack password or API Key
+ description: Encrypted OpenStack password
keystone_url:
type: string
dbcl_docker:
type: string
+ vfc_db_docker:
+ type: string
vfc_nokia_docker:
type: string
vfc_nokiav2_docker:
__vm_flavor__: { get_param: flavor_medium }
__public_net_id__: { get_param: public_net_id }
__oam_network_id__: { get_resource: oam_onap }
+ __sec_group__: { get_resource: onap_sg }
__script_version__: { get_param: artifacts_version }
__docker_version__: { get_param: robot_docker }
__sniro_docker_version__: { get_param: sniro_docker }
echo "__public_net_id__" > /opt/config/public_net_id.txt
fi
echo "__oam_network_id__" > /opt/config/oam_network_id.txt
+ echo "__sec_group__" > /opt/config/sec_group.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 "localhost" > /opt/config/log_elasticsearch_ip_addr.txt # these tests will be skipped by robot
__uui_docker__: { get_param: uui_docker }
__esr_docker__: { get_param: esr_docker }
__vnfsdk_repo__: { get_param: vnfsdk_repo }
+ __vfc_db_docker__: { get_param: vfc_db_docker }
__vfc_nokia_docker__: { get_param: vfc_nokia_docker }
__vfc_nokiav2_docker__: { get_param: vfc_nokiav2_docker }
__vfc_ztevnfmdriver_docker__: { get_param: vfc_ztevnfmdriver_docker }
echo "__esr_docker__" > /opt/config/esr_docker.txt
echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
+ echo "export DB_DOCKER_VER=__vfc_db_docker__" >> /opt/config/vfc_docker.txt
echo "export NOKIA_DOCKER_VER=__vfc_nokia_docker__" >> /opt/config/vfc_docker.txt
echo "export NOKIAV2_DOCKER_VER=__vfc_nokiav2_docker__" >> /opt/config/vfc_docker.txt
echo "export MULTIVIMPROXY_DOCKER_VER=__vfc_multivimproxy_docker__" >> /opt/config/vfc_docker.txt
- path: /opt/aaf_vm_init.sh
permissions: '0755'
content: { get_file: cloud-config/aaf_vm_init.sh }
+ - path: /opt/config/sample_ca/aaf.signer.b64
+ permissions: '0600'
+ content: { get_file: cloud-config/sample_ca/aaf.signer.b64 }
- path: /etc/init.d/serv.sh
permissions: '0755'
content:
__docker_version__: { get_param: aaf_docker }
__aaf_repo__: { get_param: aaf_repo }
__gerrit_branch__: { get_param: aaf_branch }
+ __public_ip__: { get_attr: [aaf_floating_ip, floating_ip_address] }
__local_ip__: { get_param: aaf_ip_addr }
template: |
#!/bin/bash
# Create configuration files
+ mkdir -p /opt/config/sample_ca
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__aaf_repo__" > /opt/config/remote_repo.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__public_ip__" > /opt/config/public_ip.txt
echo "__local_ip__" > /opt/config/local_ip.txt
cd /opt