Puppet Class: neutron::plugins::ml2::bigswitch
- Defined in:
 - manifests/plugins/ml2/bigswitch.pp
 
Overview
DEPRECATED !! Install the Big Switch ML2 plugin.
Parameters
- package_ensure
 - 
(optional) The intended state of the Big Switch ML2 plugin package (python-bsnstacklib) package, i.e. any of the possible values of the ‘ensure’ property for a package resource type. Defaults to ‘present’
 
        12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34  | 
      
        # File 'manifests/plugins/ml2/bigswitch.pp', line 12
class neutron::plugins::ml2::bigswitch (
  $package_ensure = 'present',
) {
  warning('Support for networking-bigswitch has been deprecated.')
  include neutron::deps
  include neutron::params
  require neutron::plugins::ml2
  if($::osfamily != 'Redhat') {
    # Drivers are only packaged for RedHat at this time
    fail("Unsupported osfamily ${::osfamily}")
  }
  ensure_packages('python-networking-bigswitch',
    {
      ensure => $package_ensure,
      tag    => ['openstack', 'neutron-plugin-ml2-package']
    }
  )
  warning('python-networking-bigswitch package management is deprecated, it will be dropped in a future release.')
}
       |