Merge "[config-ref] reorganize Networking sample configuration files"

This commit is contained in:
Jenkins
2016-07-05 20:16:47 +00:00
committed by Gerrit Code Review
22 changed files with 208 additions and 178 deletions

View File

@@ -9,8 +9,8 @@ Networking service
networking/lbaas.rst
networking/vpnaas.rst
networking/logs.rst
networking/sample-configuration-files.rst
networking/sample-configuration-files-advanced.rst
networking/samples/index.rst
networking/samples/advanced.rst
tables/conf-changes/neutron.rst
This chapter explains the Networking service configuration options.

View File

@@ -1,150 +0,0 @@
=====================================
Networking sample configuration files
=====================================
The Networking service implements automatic generation of configuration
files. This guide contains a snapshot of common configuration files for
convenience. However, consider generating the latest configuration files
by cloning the neutron_ repository and running the
``tools/generate_config_file_samples.sh`` script. Distribution packages
should include sample configuration files for a particular release.
Generally, these files reside in the ``/etc/neutron`` directory structure.
.. _neutron: https://git.openstack.org/cgit/openstack/neutron/
neutron.conf
~~~~~~~~~~~~
The ``neutron.conf`` file contains the majority of Networking service
options common to all components.
.. literalinclude:: ../samples/neutron/neutron.conf.sample
:language: ini
api-paste.ini
~~~~~~~~~~~~~
The ``api-paste.ini`` file contains configuration for the web services
gateway interface (WSGI).
.. remote-code-block:: ini
https://git.openstack.org/cgit/openstack/neutron/plain/etc/api-paste.ini?h=stable/mitaka
policy.json
~~~~~~~~~~~
The ``policy.json`` defines API access policy.
.. remote-code-block:: json
https://git.openstack.org/cgit/openstack/neutron/plain/etc/policy.json?h=stable/mitaka
rootwrap.conf
~~~~~~~~~~~~~
The ``rootwrap.conf`` file contains configuration for system utilities
that require privilege escalation to execute.
.. remote-code-block:: ini
https://git.openstack.org/cgit/openstack/neutron/plain/etc/rootwrap.conf?h=stable/mitaka
Reference architecture plug-ins and agents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Although the Networking service supports other plug-ins and agents, this
guide only contains configuration files for the following reference
architecture components:
* ML2 plug-in
* Layer-2 agents
* Open vSwitch (OVS)
* Linux bridge
* Single-root I/O virtualization (SR-IOV)
* DHCP agent
* Layer-3 (routing) agent
* Metadata agent
* Metering agent
ml2_conf.ini
------------
The ``plugins/ml2/ml2_conf.ini`` file contains configuration for the ML2
plug-in.
.. literalinclude:: ../samples/neutron/ml2_conf.ini.sample
:language: ini
ml2_conf_sriov.ini
------------------
The ``plugins/ml2/ml2_conf_sriov.ini`` file contains configuration for the
ML2 plug-in specific to SR-IOV.
.. literalinclude:: ../samples/neutron/ml2_conf_sriov.ini.sample
:language: ini
linuxbridge_agent.ini
---------------------
The ``plugins/ml2/linuxbridge_agent.ini`` file contains configuration for the
Linux bridge layer-2 agent.
.. literalinclude:: ../samples/neutron/linuxbridge_agent.ini.sample
:language: ini
openvswitch_agent.ini
---------------------
The ``plugins/ml2/openvswitch_agent.ini`` file contains configuration for the
Open vSwitch (OVS) layer-2 agent.
.. literalinclude:: ../samples/neutron/openvswitch_agent.ini.sample
:language: ini
sriov_agent.ini
---------------
The ``plugins/ml2/sriov_agent.ini`` file contains configuration for the
SR-IOV layer-2 agent.
.. literalinclude:: ../samples/neutron/sriov_agent.ini.sample
:language: ini
dhcp_agent.ini
--------------
The ``dhcp_agent.ini`` file contains configuration for the DHCP agent.
.. literalinclude:: ../samples/neutron/dhcp_agent.ini.sample
:language: ini
l3_agent.ini
------------
The ``l3_agent.ini`` file contains configuration for the Layer-3 (routing)
agent.
.. literalinclude:: ../samples/neutron/l3_agent.ini.sample
:language: ini
metadata_agent.ini
------------------
The ``metadata_agent.ini`` file contains configuration for the metadata
agent.
.. literalinclude:: ../samples/neutron/metadata_agent.ini.sample
:language: ini
metering_agent.ini
------------------
The ``metering_agent.ini`` file contains configuration for the metering
agent.
.. literalinclude:: ../samples/neutron/metering_agent.ini.sample
:language: ini

View File

@@ -18,35 +18,16 @@ services on their root directory.
Load-Balancer-as-a-Service (LBaaS)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
neutron_lbaas.conf
------------------
.. toctree::
.. literalinclude:: ../samples/neutron-lbaas/neutron_lbaas.conf.sample
:language: ini
lbaas_agent.ini
---------------
.. literalinclude:: ../samples/neutron-lbaas/lbaas_agent.ini.sample
:language: ini
services_lbaas.conf
-------------------
.. literalinclude:: ../samples/neutron-lbaas/services_lbaas.conf.sample
:language: ini
neutron_lbaas.conf.rst
lbaas_agent.ini.rst
services_lbaas.conf.rst
VPN-as-a-Service (VPNaaS)
~~~~~~~~~~~~~~~~~~~~~~~~~
neutron_vpnaas.conf
-------------------
.. toctree::
.. literalinclude:: ../samples/neutron-vpnaas/neutron_vpnaas.conf.sample
:language: ini
vpn_agent.ini
-------------
.. literalinclude:: ../samples/neutron-vpnaas/vpn_agent.ini.sample
:language: ini
neutron_vpnaas.conf.rst
vpn_agent.ini.rst

View File

@@ -0,0 +1,10 @@
=============
api-paste.ini
=============
The ``api-paste.ini`` file contains configuration for the web services
gateway interface (WSGI).
.. remote-code-block:: ini
https://git.openstack.org/cgit/openstack/neutron/plain/etc/api-paste.ini?h=stable/mitaka

View File

@@ -0,0 +1,8 @@
==============
dhcp_agent.ini
==============
The ``dhcp_agent.ini`` file contains configuration for the DHCP agent.
.. literalinclude:: ../../samples/neutron/dhcp_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,51 @@
=====================================
Networking sample configuration files
=====================================
The Networking service implements automatic generation of configuration
files. This guide contains a snapshot of common configuration files for
convenience. However, consider generating the latest configuration files
by cloning the neutron_ repository and running the
``tools/generate_config_file_samples.sh`` script. Distribution packages
should include sample configuration files for a particular release.
Generally, these files reside in the ``/etc/neutron`` directory structure.
.. _neutron: https://git.openstack.org/cgit/openstack/neutron/
.. toctree::
neutron.conf.rst
api-paste.ini.rst
policy.json.rst
rootwrap.conf.rst
Reference architecture plug-ins and agents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Although the Networking service supports other plug-ins and agents, this
guide only contains configuration files for the following reference
architecture components:
* ML2 plug-in
* Layer-2 agents
* Open vSwitch (OVS)
* Linux bridge
* Single-root I/O virtualization (SR-IOV)
* DHCP agent
* Layer-3 (routing) agent
* Metadata agent
* Metering agent
.. toctree::
ml2_conf.ini.rst
ml2_conf_sriov.ini.rst
linuxbridge_agent.ini.rst
sriov_agent.ini.rst
openvswitch_agent.ini.rst
dhcp_agent.ini.rst
l3_agent.ini.rst
metadata_agent.ini.rst
metering_agent.ini.rst

View File

@@ -0,0 +1,9 @@
============
l3_agent.ini
============
The ``l3_agent.ini`` file contains configuration for the Layer-3 (routing)
agent.
.. literalinclude:: ../../samples/neutron/l3_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,6 @@
===============
lbaas_agent.ini
===============
.. literalinclude:: ../../samples/neutron-lbaas/lbaas_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
=====================
linuxbridge_agent.ini
=====================
The ``plugins/ml2/linuxbridge_agent.ini`` file contains configuration for the
Linux bridge layer-2 agent.
.. literalinclude:: ../../samples/neutron/linuxbridge_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
==================
metadata_agent.ini
==================
The ``metadata_agent.ini`` file contains configuration for the metadata
agent.
.. literalinclude:: ../../samples/neutron/metadata_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
==================
metering_agent.ini
==================
The ``metering_agent.ini`` file contains configuration for the metering
agent.
.. literalinclude:: ../../samples/neutron/metering_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
============
ml2_conf.ini
============
The ``plugins/ml2/ml2_conf.ini`` file contains configuration for the ML2
plug-in.
.. literalinclude:: ../../samples/neutron/ml2_conf.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
==================
ml2_conf_sriov.ini
==================
The ``plugins/ml2/ml2_conf_sriov.ini`` file contains configuration for the
ML2 plug-in specific to SR-IOV.
.. literalinclude:: ../../samples/neutron/ml2_conf_sriov.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
============
neutron.conf
============
The ``neutron.conf`` file contains the majority of Networking service
options common to all components.
.. literalinclude:: ../../samples/neutron/neutron.conf.sample
:language: ini

View File

@@ -0,0 +1,6 @@
==================
neutron_lbaas.conf
==================
.. literalinclude:: ../../samples/neutron-lbaas/neutron_lbaas.conf.sample
:language: ini

View File

@@ -0,0 +1,6 @@
===================
neutron_vpnaas.conf
===================
.. literalinclude:: ../../samples/neutron-vpnaas/neutron_vpnaas.conf.sample
:language: ini

View File

@@ -0,0 +1,9 @@
=====================
openvswitch_agent.ini
=====================
The ``plugins/ml2/openvswitch_agent.ini`` file contains configuration for the
Open vSwitch (OVS) layer-2 agent.
.. literalinclude:: ../../samples/neutron/openvswitch_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,9 @@
===========
policy.json
===========
The ``policy.json`` defines API access policy.
.. remote-code-block:: json
https://git.openstack.org/cgit/openstack/neutron/plain/etc/policy.json?h=stable/mitaka

View File

@@ -0,0 +1,10 @@
=============
rootwrap.conf
=============
The ``rootwrap.conf`` file contains configuration for system utilities
that require privilege escalation to execute.
.. remote-code-block:: ini
https://git.openstack.org/cgit/openstack/neutron/plain/etc/rootwrap.conf?h=stable/mitaka

View File

@@ -0,0 +1,6 @@
===================
services_lbaas.conf
===================
.. literalinclude:: ../../samples/neutron-lbaas/services_lbaas.conf.sample
:language: ini

View File

@@ -0,0 +1,9 @@
===============
sriov_agent.ini
===============
The ``plugins/ml2/sriov_agent.ini`` file contains configuration for the
SR-IOV layer-2 agent.
.. literalinclude:: ../../samples/neutron/sriov_agent.ini.sample
:language: ini

View File

@@ -0,0 +1,6 @@
=============
vpn_agent.ini
=============
.. literalinclude:: ../../samples/neutron-vpnaas/vpn_agent.ini.sample
:language: ini