Role os_neutron for OpenStack-Ansible
Go to file
Jesse Pretorius 56cff84860 Dynamically determine whether Neutron Agents should be enabled
Both the Nuage and PLUMgrid configuration guides advocate overwriting
the entire neutron_services dict in order to disable the DHCP,
Metadata and LinuxBridge Agents. This method is prone to error and
should ideally be more dynamic.

This patch implements a more dynamic approach based on the
neutron_plugin_type and the neutron_ml2_mechanism_drivers that are
set.

This will hopefully simplify the configuration of these and other
ML2 mechanisms (eg: openvswitch) when they're implemented.

Change-Id: I38e1fad4dfae24b32f4370b3da16561c42cd670d
2016-04-20 10:02:50 +01:00
defaults Dynamically determine whether Neutron Agents should be enabled 2016-04-20 10:02:50 +01:00
doc Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
files/rootwrap.d Remove iptables checksum rule script 2016-04-02 08:26:13 -07:00
handlers Update neutron service handler to restart only enabled services 2015-11-20 12:24:29 +00:00
library Check for migration branch dir 2016-01-05 17:59:32 +00:00
meta Update min_ansible_version to 1.9 2016-04-11 12:20:46 +01:00
releasenotes Dynamically determine whether Neutron Agents should be enabled 2016-04-20 10:02:50 +01:00
tasks Merge "Add options to auto enable VPNaaS" 2016-04-18 23:16:03 +00:00
templates Merge "Add options to auto enable VPNaaS" 2016-04-18 23:16:03 +00:00
tests Switch defaults/tests to use master branch 2016-04-03 13:48:39 +01:00
.gitignore Add reno scaffolding for release notes management 2016-04-09 19:21:03 +01:00
.gitreview Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
other-requirements.txt Add curl to bindep requirements 2016-03-04 19:23:44 +00:00
README.rst Cleanup the os_neutron role readme 2015-10-29 06:51:18 -07:00
run_tests.sh Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
setup.cfg Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
setup.py Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:43:03 -05:00
tox.ini Add reno scaffolding for release notes management 2016-04-09 19:21:03 +01:00

OpenStack Neutron

tags

openstack, neutron, cloud, ansible

category

*nix

Role for deployment, setup and installation of Neutron.

This role will install the following:
  • neutron-server
  • neutron-agents
- name: Installation and setup of Neutron
  hosts: neutron_all
  user: root
  roles:
    - { role: "os_neutron", tags: [ "os-neutron" ] }
  vars:
    neutron_galera_address: "{{ internal_lb_vip_address }}"