Configure tep-ip for genius auto tunnels 82/65282/1
authorVictor Pickard <vpickard@redhat.com>
Tue, 7 Nov 2017 19:10:44 +0000 (14:10 -0500)
committerVictor Pickard <vpickard@redhat.com>
Tue, 7 Nov 2017 19:10:44 +0000 (14:10 -0500)
Config tep-ip for control and compute nodes
as needed for genius auto tunnels to work.

Change-Id: I6146bc0bfffeb35603c89a49a02dd2f5263df0f2
Signed-off-by: Victor Pickard <vpickard@redhat.com>
jjb/integration/integration-deploy-openstack-run-test.sh

index 0c73983c74d278b76ff2abf2a612e4f6e7c0abf9..6c3d7588aa301bd455dfd3feabebe6054a76d40b 100644 (file)
@@ -1038,6 +1038,10 @@ for i in `seq 1 ${NUM_OPENSTACK_SITES}`; do
         sudo ip netns exec pnf_ns ifconfig pnf_veth1 up ${EXTNET_PNF_IP}/24;
         sudo ovs-vsctl add-port ${PUBLIC_BRIDGE} pnf_veth0;
     "
+    # Control Node - set VXLAN TEP IP for Genius Auto TZ
+    ${SSH} ${!CONTROLIP} "
+        sudo ovs-vsctl set O . external_ids:tep-ip=${!CONTROLIP};
+    "
 
     # Control Node - external net internet address simulation
     ${SSH} ${!CONTROLIP} "
@@ -1058,6 +1062,10 @@ for i in `seq 1 ${NUM_OPENSTACK_SITES}`; do
         ${SSH} $compute_ip "
             sudo ovs-vsctl add-port $PUBLIC_BRIDGE $CONTROLPORT -- set interface $CONTROLPORT type=vxlan options:local_ip=$compute_ip options:remote_ip=${!CONTROLIP} options:dst_port=9876 options:key=flow
         "
+         #Compute Node - set VXLAN TEP IP for Genius Auto TZ
+        ${SSH} $compute_ip "
+            sudo ovs-vsctl set O . external_ids:tep-ip=${compute_ip};
+        "
     done
 done