Correctly create the dhcp_agent.ini and l3_agent.ini

The section [ovs] is needed only for ovs/ovn configurations.

TrivialFix

Change-Id: If9015b8f53c04cf3257331449ebd50163fabcab0
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2021-10-10 23:55:00 +03:00
parent f1cbff6b7e
commit 78260f98e4
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ dhcp_override_mac = {{ vmware_dvs_dhcp_override_mac }}
{% endif %}
{% endif %}
{% if neutron_plugin_agent in ['openvswitch', 'ovn'] %}
[ovs]
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}
{% endif %}

View File

@ -26,6 +26,8 @@ enable_detailed_logging = {{ neutron_logging_debug }}
vpn_device_driver = {{ vpn_device_driver }}
{% endif %}
{% if neutron_plugin_agent in ['openvswitch', 'ovn'] %}
[ovs]
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}
{% endif %}