Files
puppet-neutron/lib/puppet/provider/neutron_agent_ovn/ini_setting.rb
Rodolfo Alonso Hernandez 240ba0babd Add support for the OVN Neutron Agent service
This patch adds support for the OVN Neutron Agent service [1].

This new agent will include any needed OVN functionality not
implemented in ovn-controller. This agent will, in a future, include
the metadata service, superseding the OVN Metadata Agent.

[1]https://review.opendev.org/c/openstack/neutron-specs/+/868076

Related-Bug: #2000385
Related-Bug: #1998608
Change-Id: I14a3868d991fbbb3472e29a7796aa61e8d225b98
2023-03-28 14:02:33 +09:00

15 lines
335 B
Ruby

Puppet::Type.type(:neutron_agent_ovn).provide(
:ini_setting,
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
) do
def self.file_path
'/etc/neutron/plugins/ml2/ovn_agent.ini'
end
# added for backwards compatibility with older versions of inifile
def file_path
self.class.file_path
end
end