diff --git a/playbooks/vagrant/ovn-octavia/local.conf b/playbooks/vagrant/ovn-octavia/local.conf new file mode 100644 index 0000000..9f9a3cc --- /dev/null +++ b/playbooks/vagrant/ovn-octavia/local.conf @@ -0,0 +1,95 @@ +[[local|localrc]] +ADMIN_PASSWORD=secret +DATABASE_PASSWORD=$ADMIN_PASSWORD +KEYSTONE_ADMIN_ENDPOINT=true +RABBIT_PASSWORD=$ADMIN_PASSWORD +SERVICE_PASSWORD=$ADMIN_PASSWORD +SERVICE_TOKEN=$ADMIN_PASSWORD + +LOGFILE=/opt/stack/devstack/stack.log +VERBOSE=True +LOG_COLOR=True + +# Enable required services ---------------------------------------------------- +enable_service key +enable_service mysql +enable_service placement-api +enable_service placement-client +enable_service rabbit + +# Disable unrequired services ------------------------------------------------- +disable_service horizon +disable_service tempest + +# Configure Nova -------------------------------------------------------------- +enable_service n-api +enable_service n-api-meta +enable_service n-cond +enable_service n-cpu +enable_service n-crt +enable_service n-sch +enable_service n-sproxy + +# Configure Neutron ----------------------------------------------------------- +enable_plugin neutron https://opendev.org/openstack/neutron.git +enable_service neutron +enable_service ovn-northd +enable_service ovn-controller +enable_service q-ovn-metadata-agent +enable_service q-svc + +disable_service q-agt +disable_service q-l3 +disable_service q-dhcp +disable_service q-meta + +enable_service q-trunk +enable_service q-dns +#enable_service q-qos + +HOST_IP=192.168.33.10 +IP_VERSION=4 +# Q_PLUGIN=ml2 +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 +# ENABLE_TENANT_TUNNELS=True +# ENABLE_TENANT_VLANS=True + + +# Configure Glance ------------------------------------------------------------ +enable_service g-api + +# Configure Cinder ------------------------------------------------------------ +disable_service cinder c-sch c-api c-vol + +# Configure Heat -------------------------------------------------------------- +enable_plugin heat https://opendev.org/openstack/heat.git + +# Configure Tobiko ------------------------------------------------------------ +enable_plugin devstack-plugin-tobiko https://opendev.org/x/devstack-plugin-tobiko.git + +TOBIKO_NEUTRON_IPV4_DNS_NAMESERVERS=1.1.1.1,8.8.8.8 + +# Configure Octavia ---------------------------------------------------------- +OCTAVIA_NODE="api" +DISABLE_AMP_IMAGE_BUILD=True +enable_plugin barbican https://opendev.org/openstack/barbican +enable_plugin octavia https://opendev.org/openstack/octavia +enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard +LIBS_FROM_GIT+=python-octaviaclient +enable_service octavia +enable_service o-api +enable_service o-hk +enable_service o-da +disable_service o-cw +disable_service o-hm + +# OVN octavia provider plugin ------------------------------------------------- +enable_plugin ovn-octavia-provider https://opendev.org/openstack/ovn-octavia-provider + + +[[post-config|$NOVA_CONF]] +[scheduler] +discover_hosts_in_cells_interval = 2 diff --git a/playbooks/vagrant/octavia/local.conf b/playbooks/vagrant/ovs-octavia/local.conf similarity index 100% rename from playbooks/vagrant/octavia/local.conf rename to playbooks/vagrant/ovs-octavia/local.conf