Add fwaas_v2 log optional configuration in l3_agent.ini

When configuring fwaas_v2 log, we can specify rate_limit, burst_limit
and local_output_log_base options in nework_log section.

Change-Id: Iba061c399599cf601c22054b3924b9a74f0f4fa0
This commit is contained in:
zhanghao2 2019-06-14 21:26:10 -04:00
parent a832a1d1b3
commit cb775ee222
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)
]