Use more constants, use default neutron/quantum control exchange

This commit is contained in:
James Page 2013-09-24 14:42:13 +01:00
parent 6dbf3c2361
commit 23edef7f4a
2 changed files with 4 additions and 5 deletions

View File

@ -127,7 +127,7 @@ def resource_map():
# FlatDHCPManager only requires some extra packages.
if (net_manager in ['flatmanager', 'flatdhcpmanager'] and
config('multi-host').lower() == 'yes'):
resource_map['/etc/nova/nova.conf']['services'].extend(
resource_map[NOVA_CONF]['services'].extend(
['nova-api', 'nova-network']
)
@ -319,9 +319,9 @@ def configure_live_migration(configs=None):
# dont think we need this
return
configs = configs or register_configs()
configs.write('/etc/libvirt/libvirtd.conf')
configs.write('/etc/default/libvirt-bin')
configs.write('/etc/nova/nova.conf')
configs.write(LIBVIRTD_CONF)
configs.write(LIBVIRT_BIN)
configs.write(NOVA_CONF)
if not migration_enabled():
return

View File

@ -13,7 +13,6 @@ core_plugin = {{ core_plugin }}
{% endif -%}
api_paste_config = /etc/neutron/api-paste.ini
auth_strategy = keystone
control_exchange = quantum
notification_driver = neutron.openstack.common.notifier.rpc_notifier
default_notification_level = INFO
notification_topics = notifications