f0101c709f
This simple patch is adding following stuff: 1. Adding minimize_polling parameter to ovs ml2 agent class. 2. Adding type and provider to mange rootwrap.conf file mainly to manipulate XenServer connection parameters. Change-Id: I3dad47a34af7bab7eefe46db39b3a5eedc7c3c7f
37 lines
1.1 KiB
Puppet
37 lines
1.1 KiB
Puppet
# == Class: neutron::rootwrap
|
|
#
|
|
# Manages the neutron rootwrap.conf file on systems
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*xenapi_connection_url*]
|
|
# (optional) XenAPI connection URL. Only needed when target a XenServer/XCP
|
|
# compute host's dom0
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*xenapi_connection_username*]
|
|
# (optional) XenAPI username. Only needed when target a XenServer/XCP
|
|
# compute host's dom0
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*xenapi_connection_password*]
|
|
# (optional) XenAPI connection password. Only needed when target a XenServer/XCP
|
|
# compute host's dom0
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class neutron::rootwrap (
|
|
$xenapi_connection_url = $::os_service_default,
|
|
$xenapi_connection_username = $::os_service_default,
|
|
$xenapi_connection_password = $::os_service_default,
|
|
) {
|
|
|
|
Neutron_rootwrap_config <||> ~> Service['neutron-ovs-agent-service']
|
|
|
|
neutron_rootwrap_config {
|
|
'xenapi/xenapi_connection_url': value => $xenapi_connection_url;
|
|
'xenapi/xenapi_connection_username': value => $xenapi_connection_username;
|
|
'xenapi/xenapi_connection_password': value => $xenapi_connection_password;
|
|
}
|
|
|
|
}
|