Files
puppet-neutron/lib/puppet/provider/neutron_bgp_dragent_config/openstackconfig.rb
Tobias Urdin 75a999369a Add support for dynamic routing bpg dragent
This patch adds support to install and configure the
bgp dynamic routing agent. It also install the
dynamic-routing package since that is required by
the bgp dragent.

These packages already exists on Debian and Ubuntu but
since it was removed from RPM packages when dynamic-routing
was moved out of the Neutron tree there are work to add it here [1].
So until [1] is merged and hopefully backported to Queens for the latest
stable release this will work propery on RedHat based OS.

[1] https://review.rdoproject.org/r/#/c/7935/

Change-Id: Id8a97b337eff68860547e07e675b79bde94628ba
2018-06-29 13:34:04 +02:00

16 lines
332 B
Ruby

Puppet::Type.type(:neutron_bgp_dragent_config).provide(
:openstackconfig,
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
) do
def self.file_path
'/etc/neutron/bgp_dragent.ini'
end
# added for backwards compatibility with older versions of inifile
def file_path
self.class.file_path
end
end