Puppet Class: profile::openstack::base::neutron::dhcp_agent

Defined in:
modules/profile/manifests/openstack/base/neutron/dhcp_agent.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • version (Any) (defaults to: lookup('profile::openstack::base::version'))
  • dhcp_domain (Any) (defaults to: lookup('profile::openstack::base::nova::dhcp_domain'))
  • report_interval (Any) (defaults to: lookup('profile::openstack::base::neutron::report_interval'))
  • use_ovs (Boolean) (defaults to: lookup('profile::openstack::base::neutron::use_ovs', {default_value => false}))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/openstack/base/neutron/dhcp_agent.pp', line 2

class profile::openstack::base::neutron::dhcp_agent(
    $version = lookup('profile::openstack::base::version'),
    $dhcp_domain = lookup('profile::openstack::base::nova::dhcp_domain'),
    $report_interval = lookup('profile::openstack::base::neutron::report_interval'),
    Boolean $use_ovs = lookup('profile::openstack::base::neutron::use_ovs', {default_value => false}),
) {
    class {'::openstack::neutron::dhcp_agent':
        version          => $version,
        dhcp_domain      => $dhcp_domain,
        report_interval  => $report_interval,
        interface_driver => $use_ovs.bool2str('openvswitch', 'linuxbridge'),
    }
    contain '::openstack::neutron::dhcp_agent'
}