From b0563a4ba414a19327aa86919240c3b5a3599ae4 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Wed, 28 Oct 2020 12:56:55 +0100 Subject: [PATCH] Fix external network connection on OVN Change-Id: I9a320011204ff5c6f4bce62ae3ca67ff9994f373 --- Vagrantfile | 4 ---- playbooks/vagrant/ovn/local.conf | 13 +++++++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index b83d5a0..06141fe 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -99,10 +99,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # using a specific IP. config.vm.network "private_network", ip: HOST_IP - # Create a private network, which allows host-only access to the machine - # using a specific IP. - config.vm.network "private_network" - # Create a public network, which generally matched to bridged network. # Bridged networks make the machine appear as another physical device on # your network. diff --git a/playbooks/vagrant/ovn/local.conf b/playbooks/vagrant/ovn/local.conf index 1457f23..fc4b35d 100644 --- a/playbooks/vagrant/ovn/local.conf +++ b/playbooks/vagrant/ovn/local.conf @@ -19,11 +19,20 @@ disable_service tempest HOST_IP=192.168.33.10 IP_VERSION=4 +ENABLE_CHASSIS_AS_GW=true +ENABLE_TLS=true +ML2_L3_PLUGIN=ovn-router,trunk +OVN_BUILD_MODULES=false +OVN_DBS_LOG_LEVEL=dbg +OVN_IGMP_SNOOPING_ENABLE=true +OVN_L3_CREATE_PUBLIC_NETWORK=true +PHYSICAL_NETWORK=public +PUBLIC_INTERFACE=eth0 Q_AGENT=ovn Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve -Q_ML2_TENANT_NETWORK_TYPE="geneve" -PUBLIC_INTERFACE=eth2 +Q_ML2_TENANT_NETWORK_TYPE=geneve +Q_USE_PROVIDERNET_FOR_PUBLIC=true enable_service ovn-northd enable_service ovn-controller