Merge "Add fwaas_v2 log optional configuration in l3_agent.ini"

This commit is contained in:
Zuul 2019-06-20 23:00:18 +00:00 committed by Gerrit Code Review
commit 7a7c8e68ec
2 changed files with 9 additions and 2 deletions

View File

@ -41,6 +41,11 @@ To enable the logging service, follow the below steps.
[agent]
extensions = log
.. note::
Fwaas v2 log is currently only supported by openvswitch, the firewall
logging driver of linuxbridge is not implemented.
#. To enable logging service for ``firewall_group`` in Layer 3, add
``fwaas_v2_log`` to option ``extensions`` in section ``[AGENT]`` in
``/etc/neutron/l3_agent.ini`` for network nodes. For example:
@ -51,8 +56,8 @@ To enable the logging service, follow the below steps.
extensions = fwaas_v2,fwaas_v2_log
#. On compute/network nodes, add configuration for logging service to
``[network_log]`` in ``/etc/neutron/plugins/ml2/openvswitch_agent.ini`` as
shown bellow:
``[network_log]`` in ``/etc/neutron/plugins/ml2/openvswitch_agent.ini`` and in
``/etc/neutron/l3_agent.ini`` as shown bellow:
.. code-block:: ini

View File

@ -218,6 +218,8 @@ def list_l3_agent_opts():
),
('agent',
neutron.conf.agent.agent_extensions_manager.AGENT_EXT_MANAGER_OPTS),
('network_log',
neutron.conf.services.logging.log_driver_opts)
]