Puppet Class: openstack::neutron::ovs_agent::bobcat

Defined in:
modules/openstack/manifests/neutron/ovs_agent/bobcat.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • overlay_address (Stdlib::IP::Address::Nosubnet)
  • provider_networks (Hash[String[1], OpenStack::Neutron::ProviderNetwork])


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/openstack/manifests/neutron/ovs_agent/bobcat.pp', line 2

class openstack::neutron::ovs_agent::bobcat (
    Stdlib::IP::Address::Nosubnet                        $overlay_address,
    Hash[String[1], OpenStack::Neutron::ProviderNetwork] $provider_networks,
) {
    require "openstack::serverpackages::bobcat::${debian::codename()}"

    package { 'neutron-openvswitch-agent':
        ensure => 'present',
    }

    file { '/etc/neutron/plugins/ml2/openvswitch_agent.ini':
        owner   => 'neutron',
        group   => 'neutron',
        mode    => '0640',
        content => template('openstack/bobcat/neutron/plugins/ml2/openvswitch_agent.ini.erb'),
        require => Package['neutron-openvswitch-agent'],
        notify  => Service['neutron-openvswitch-agent'],
    }
}