Merge "Added licenses to test collector files"
authorMarco Platania <platania@research.att.com>
Mon, 26 Jun 2017 13:34:53 +0000 (13:34 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 26 Jun 2017 13:34:53 +0000 (13:34 +0000)
boot/aai_vm_init.sh
heat/OpenECOMP/onap_openstack_float.env
heat/OpenECOMP/onap_openstack_float.yaml

index dfbaa5f..6fcf7b0 100644 (file)
@@ -10,7 +10,7 @@ DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
 docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
 docker pull $NEXUS_DOCKER_REPO/aaidocker/aai-hbase-1.2.3
 docker rm -f hbase-1.2.3
-docker run -d --net=host --name="hbase-1.2.3" aaidocker/aai-hbase-1.2.3
+docker run -d --net=host --name="hbase-1.2.3" $NEXUS_DOCKER_REPO/aaidocker/aai-hbase-1.2.3
 
 # Wait 3 minutes before instantiating the A&AI container
 sleep 180
index aed3a4b..4c2fbee 100644 (file)
@@ -8,6 +8,10 @@ parameters:
 
   public_net_id: PUT YOUR NETWORK ID/NAME HERE
 
+  public_subnet_id: PUT PUBLIC SUBNET ID HERE
+
+  router_gateway_ip: PUT ROUTER GATEWAY PUBLIC IP HERE
+
   ubuntu_1404_image: PUT THE UBUNTU 14.04 IMAGE NAME HERE
 
   ubuntu_1604_image: PUT THE UBUNTU 16.04 IMAGE NAME HERE
index 02feac7..eff4cc8 100644 (file)
@@ -39,11 +39,19 @@ parameters:
   # Parameters used across all ONAP components #
   #                                            #
   ##############################################
-  
+
   public_net_id:
     type: string
     description: Public network for floating IP address allocation
 
+  public_subnet_id:
+    type: string
+    description: Public network subnet id
+
+  router_gateway_ip:
+    type: string
+    description: Public network gateway IP address
+
   ubuntu_1404_image:
     type: string
     description: Name of the Ubuntu 14.04 image
@@ -399,6 +407,9 @@ resources:
     properties:
       external_gateway_info:
         network: { get_param: public_net_id }
+        external_fixed_ips:
+          - ip_address: { get_param: router_gateway_ip }
+            subnet: { get_param: public_subnet_id }
 
   router_interface:
     type: OS::Neutron::RouterInterface