Puppet Class: neutron::plugins::ml2::opendaylight
- Defined in:
- manifests/plugins/ml2/opendaylight.pp
Overview
DEPRECATED !! Install the OpenDaylight and generate config file from parameters in the other classes.
Parameters
- package_ensure
-
(optional) The intended state of the python-networking-odl package, i.e. any of the possible values of the ‘ensure’ property for a package resource type. Defaults to ‘present’
- odl_username
-
(optional) The opendaylight controller username Defaults to $facts Example: ‘admin’
- odl_password
-
(optional) The opendaylight controller password Defaults to $facts Example: ‘admin’
- odl_url
-
(optional) The opendaylight controller neutron URL Defaults to $facts Example: ‘127.0.0.1:8080/controller/nb/v2/neutron’
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'manifests/plugins/ml2/opendaylight.pp', line 41
class neutron::plugins::ml2::opendaylight (
$package_ensure = 'present',
$odl_username = $facts['os_service_default'],
$odl_password = $facts['os_service_default'],
$odl_url = $facts['os_service_default'],
$port_binding_controller = $facts['os_service_default'],
$odl_hostconf_uri = $facts['os_service_default'],
$odl_features = $facts['os_service_default'],
) {
include neutron::deps
include neutron::params
require neutron::plugins::ml2
warning('Support for networking-odl has been deprecated.')
package { 'python-networking-odl':
ensure => $package_ensure,
name => $::neutron::params::odl_plugin_package,
tag => ['openstack', 'neutron-plugin-ml2-package']
}
neutron_plugin_ml2 {
'ml2_odl/username': value => $odl_username;
'ml2_odl/password': value => $odl_password, secret => true;
'ml2_odl/url': value => $odl_url;
'ml2_odl/port_binding_controller': value => $port_binding_controller;
'ml2_odl/odl_hostconf_uri': value => $odl_hostconf_uri;
'ml2_odl/odl_features': value => join(any2array($odl_features), ',');
}
}
|