8b2319e210
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: Idb1332dd498bb3065720f2ccaf68e6b0e9fa80c3
38 lines
866 B
Puppet
38 lines
866 B
Puppet
# == Class: neutron::plugins::ml2::midonet
|
|
#
|
|
# Configure the Mech Driver for midonet neutron plugin
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*midonet_uri*]
|
|
# (required) MidoNet API server URI.
|
|
# Usually of the form 'http://<midonet-api-hostname>:8080/midonet-api'
|
|
#
|
|
# [*username*]
|
|
# (required) MidoNet admin username.
|
|
#
|
|
# [*password*]
|
|
# (required) MidoNet admin password.
|
|
#
|
|
# [*project_id*]
|
|
# (optional) Name of the project that MidoNet admin user belongs to.
|
|
# Defaults to 'service'
|
|
#
|
|
class neutron::plugins::ml2::midonet (
|
|
$midonet_uri,
|
|
$username,
|
|
$password,
|
|
$project_id = 'services',
|
|
) {
|
|
|
|
include ::neutron::deps
|
|
|
|
neutron_plugin_ml2 {
|
|
'MIDONET/midonet_uri' : value => $midonet_uri;
|
|
'MIDONET/username' : value => $username;
|
|
'MIDONET/password' : value => $password, secret => true;
|
|
'MIDONET/project_id' : value => $project_id;
|
|
}
|
|
|
|
}
|