puppet-neutron/manifests/services/fwaas.pp
Emilien Macchi c5adbbc9d5 Add FWaaS service plugin
Configure fwaas_driver.ini to support FWaaS service plugin.

implement blueprint fwaas-support
Change-Id: I3b92f6045ef56f6a7215323ac8595acb460026d7
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2013-09-24 11:23:53 +02:00

44 lines
1.3 KiB
Puppet

#
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
#
# Author: Emilien Macchi <emilien.macchi@enovance.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
#
# == Class: neutron::services::fwaas
#
# Configure the Firewall as a Service Neutron Plugin
#
# === Parameters:
#
# [*enabled*]
# (required) Whether or not to enable the FWaaS neutron plugin Service
# true/false
#
# [*driver*]
# (optional) FWaaS Driver to use
# Defaults to 'neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver'
#
class neutron::services::fwaas (
$enabled = true,
$driver = 'neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver'
) {
neutron_fwaas_service_config {
'fwaas/enabled': value => $enabled;
'fwaas/driver': value => $driver;
}
}