Puppet Class: openstack::neutron::ovs_agent::caracal

Defined in:
modules/openstack/manifests/neutron/ovs_agent/caracal.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/caracal.pp', line 2

class openstack::neutron::ovs_agent::caracal (
    Stdlib::IP::Address::Nosubnet                        $overlay_address,
    Hash[String[1], OpenStack::Neutron::ProviderNetwork] $provider_networks,
) {
    require "openstack::serverpackages::caracal::${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/caracal/neutron/plugins/ml2/openvswitch_agent.ini.erb'),
        require => Package['neutron-openvswitch-agent'],
        notify  => Service['neutron-openvswitch-agent'],
    }
}