Change-Id: I35310e60fe40766b67c71780069bba5090deba09
Signed-off-by: Marco Platania <platania@research.att.com>
type: string
description: A&AI IP Address
type: string
description: A&AI IP Address
type: string
description: APP-C IP Address
type: string
description: APP-C IP Address
type: string
description: DNS IP Address
type: string
description: DNS IP Address
type: string
description: MSO IP Address
type: string
description: MSO IP Address
type: string
description: Message Router IP Address
type: string
description: Message Router IP Address
type: string
description: Portal IP Address
type: string
description: Portal IP Address
type: string
description: Robot Framework IP Address
type: string
description: Robot Framework IP Address
# Reboot the VM to pick up configuration changes
reboot
# Reboot the VM to pick up configuration changes
reboot
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
properties:
floating_network_id: { get_param: public_net_id }
port_id: { get_resource: robot_private_port }
properties:
floating_network_id: { get_param: public_net_id }
port_id: { get_resource: robot_private_port }
robot_vm:
type: OS::Nova::Server
properties:
robot_vm:
type: OS::Nova::Server
properties:
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__docker_version__" > /opt/config/docker_version.txt
# Download dependencies
add-apt-repository -y ppa:openjdk-r/ppa
apt-get update
# Download dependencies
add-apt-repository -y ppa:openjdk-r/ppa
apt-get update
chmod +x /opt/robot_serv.sh
mv /opt/robot_serv.sh /etc/init.d
update-rc.d robot_serv.sh defaults
chmod +x /opt/robot_serv.sh
mv /opt/robot_serv.sh /etc/init.d
update-rc.d robot_serv.sh defaults
# Download and install docker-engine and docker-compose
DOCKER_KEY=$(cat /opt/config/docker_key.txt)
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys $DOCKER_KEY
# Download and install docker-engine and docker-compose
DOCKER_KEY=$(cat /opt/config/docker_key.txt)
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys $DOCKER_KEY
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
- chmod +x /opt/docker/docker-compose
+ chmod +x /opt/docker/docker-compose
# Execute RobotETE-specific instructions: create share folder to run as a docker volume
mkdir -p /opt/eteshare/logs
# Execute RobotETE-specific instructions: create share folder to run as a docker volume
mkdir -p /opt/eteshare/logs
echo 127.0.0.1 $hn >> /etc/hosts
# Create configuration files
echo 127.0.0.1 $hn >> /etc/hosts
# Create configuration files