Separate vxlan traffic 49/68349/4
authorManuel Buil <mbuil@suse.com>
Wed, 14 Aug 2019 08:05:49 +0000 (10:05 +0200)
committerManuel Buil <mbuil@suse.com>
Wed, 14 Aug 2019 14:04:27 +0000 (16:04 +0200)
Currently, all traffic is going through the untagged interface. However,
we are creating interfaces for the different traffic. This patch moves
the private traffic (VM-VM), which normally uses vxlan tunnels, to the
interface created for that

deploy-scenario:k8-calico-nofeature
installer-type:osh

Change-Id: I680698d0bf7ab8045d4ca8f7b5bea8c1e1881d71
Signed-off-by: Manuel Buil <mbuil@suse.com>
xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml
xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml

index 20a7c77..e5df54f 100644 (file)
   args:
     chdir: /root/repos/openstack-helm
 
+- name: Add br-vxlan as the tunnel interface
+  lineinfile:
+    path: /root/repos/openstack-helm/tools/deployment/component/compute-kit/compute-kit.sh
+    regexp: 'tunnel: docker0'
+    line: '    tunnel: br-vxlan'
+
 - name: Deploy Compute Kit (Nova and Neutron)
   command: ./tools/deployment/component/compute-kit/compute-kit.sh
   changed_when: false
index 6f6a747..befdcfc 100644 (file)
   args:
     chdir: /root/repos/openstack-helm
 
+- name: Add br-vxlan as the tunnel interface
+  lineinfile:
+    path: /root/repos/openstack-helm/tools/deployment/multinode/140-compute-kit.sh
+    regexp: 'NETWORK_TUNNEL_DEV="$(network_tunnel_dev)"'
+    line: 'NETWORK_TUNNEL_DEV=br-vxlan'
+
 - name: Deploy Compute Kit (Nova and Neutron)
   command: ./tools/deployment/multinode/140-compute-kit.sh
   changed_when: false