2013-10-25 13:54:09 +02:00
|
|
|
# == Class: vswitch
|
|
|
|
#
|
|
|
|
# Install and configure vswitch (ovs and others) using puppet.
|
|
|
|
#
|
|
|
|
# === Parameters
|
|
|
|
#
|
|
|
|
# [*provider*]
|
|
|
|
# Select vswitch to install
|
|
|
|
#
|
|
|
|
# === Examples
|
|
|
|
#
|
|
|
|
# class { 'vswitch':
|
|
|
|
# provider => 'ovs',
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
# === Authors
|
|
|
|
#
|
|
|
|
# - Endre Karlson <endre.karlson@gmail.com>
|
|
|
|
# - Dan Bode <dan@puppetlabs.com>
|
|
|
|
# - Ian Wells <iawells@cisco.com>
|
|
|
|
# - Gilles Dubreuil <gdubreui@redhat.com>
|
|
|
|
#
|
|
|
|
# === Copyright
|
|
|
|
#
|
|
|
|
# Apache License 2.0 (see LICENSE file)
|
|
|
|
#
|
2012-10-06 22:12:33 +02:00
|
|
|
class vswitch (
|
2013-09-20 15:25:05 +10:00
|
|
|
$provider = $vswitch::params::provider
|
2012-10-06 22:12:33 +02:00
|
|
|
) {
|
2015-04-17 11:54:35 +02:00
|
|
|
$cls = "::vswitch::${provider}"
|
2012-10-06 22:12:33 +02:00
|
|
|
include $cls
|
2012-10-05 10:24:15 +02:00
|
|
|
}
|