From 6a1099c89ea050638d970673348481180066b2f3 Mon Sep 17 00:00:00 2001 From: Pino de Candia <32303022+pinodeca@users.noreply.github.com> Date: Fri, 5 Jan 2018 12:48:31 -0600 Subject: [PATCH] Add devstack local.conf and .gitignore --- .gitignore | 71 +++++++++++++++++++++++++++++++++++++++++++-- devstack/local.conf | 44 ++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 devstack/local.conf diff --git a/.gitignore b/.gitignore index 1559f2e..6d933b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,68 @@ -*.pyc -*.swp -*.swo +*.py[cod] + +# C extensions +*.so + +# Packages +*.egg +*.eggs +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +lib +lib64 + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox +nosetests.xml +.testrepository +.stestr +.venv + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Complexity +output/*.html +output/*/index.html + +# Sphinx +doc/build + +# pbr generates these +AUTHORS +ChangeLog + +# Editors +*~ +.*.swp +.*sw? +.idea + +# Vagrant +.vagrant + +# etcd Configuration +/devstack/etcd.override + +# Configurations +etc/*.sample + +# Releasenotes +releasenotes/build diff --git a/devstack/local.conf b/devstack/local.conf new file mode 100644 index 0000000..1492f82 --- /dev/null +++ b/devstack/local.conf @@ -0,0 +1,44 @@ +[[local|localrc]] + +DATABASE_PASSWORD=pinot +RABBIT_PASSWORD=pinot +SERVICE_PASSWORD=pinot +SERVICE_TOKEN=pinot +ADMIN_PASSWORD=pinot + +enable_plugin designate https://git.openstack.org/openstack/designate +enable_plugin barbican https://git.openstack.org/openstack/barbican +enable_plugin dragonflow https://github.com/pinodeca/dragonflow tatu +enable_service df-redis +enable_service df-redis-server +enable_service df-controller +enable_service df-publisher-service + +disable_service n-net +enable_service q-svc +enable_service df-l3-agent +disable_service heat +disable_service tempest + + +# Enable df-metadata (Dragonflow metadata service proxy) once nova is being used. +enable_service df-metadata + +# We have to disable the neutron L2 agent. DF does not use the L2 agent. +disable_service q-agt + +# We have to disable the neutron dhcp agent. DF does not use the dhcp agent. +disable_service q-dhcp + +Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True +DF_SELECTIVE_TOPO_DIST=False +DF_REDIS_PUBSUB=True +Q_USE_PROVIDERNET_FOR_PUBLIC=True +Q_FLOATING_ALLOCATION_POOL=start=172.24.4.10,end=172.24.4.200 +PUBLIC_NETWORK_NAME=public +PUBLIC_NETWORK_GATEWAY=172.24.4.1 + +IMAGE_URL_SITE="http://download.fedoraproject.org" +IMAGE_URL_PATH="/pub/fedora/linux/releases/25/CloudImages/x86_64/images/" +IMAGE_URL_FILE="Fedora-Cloud-Base-25-1.3.x86_64.qcow2" +IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE