Add flatdhcpmanager speific config options

Adding dhcp specific nova config params if the
network manager is set to dhcp.

This adds dhcp flat network support
This commit is contained in:
Dan Bode 2012-03-19 14:54:40 -07:00
parent 6e43f0a2a1
commit a999b52634
1 changed files with 7 additions and 0 deletions

View File

@ -133,6 +133,13 @@ class nova(
}
}
if $network_manager == 'nova.network.manager.FlatDHCPManager' {
nova_config {
'dhcpbridge': value => "/usr/bin/nova-dhcpbridge";
'dhcpbridge_flagfile': value => "/etc/nova/nova.conf";
}
}
if $image_service == 'nova.image.glance.GlanceImageService' {
nova_config {
'glance_api_servers': value => $glance_api_servers;