Nuage nova configuration ansible changes

Change-Id: I2f787669441e4881f340c76afbb93c7678610dcb
This commit is contained in:
Rohan Parulekar 2016-03-23 11:26:44 -04:00 committed by Jesse Pretorius
parent 1d9162904e
commit 9d6a212270
2 changed files with 12 additions and 1 deletions

View File

@ -244,6 +244,14 @@ nova_resume_guests_state_on_host_boot: False
nova_dhcp_domain: novalocal
nova_default_schedule_zone: nova
glance_api_servers: "{{ glance_host }}:{{ glance_service_port }}"
nova_network_type: linuxbridge
nova_network_services:
linuxbridge:
use_forwarded_for: False
nuage:
use_forwarded_for: True
ovs_bridge: alubr0
# Nova quota
nova_quota_cores: 20

View File

@ -93,6 +93,7 @@ dhcp_domain = {{ nova_dhcp_domain }}
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
firewall_driver = {{ nova_firewall_driver }}
use_forwarded_for = {{ nova_network_services[nova_network_type]['use_forwarded_for'] | bool }}
my_ip = {{ nova_management_address }}
default_floating_pool = public
security_group_api = neutron
@ -177,7 +178,9 @@ auth_url = {{ keystone_service_adminurl }}
insecure = {{ keystone_service_adminuri_insecure | bool }}
metadata_proxy_shared_secret = {{ nova_metadata_proxy_secret }}
service_metadata_proxy = {{ nova_metadata_proxy_enabled }}
{% if nova_network_services[nova_network_type]['ovs_bridge'] is defined %}
ovs_bridge = {{ nova_network_services[nova_network_type]['ovs_bridge'] }}
{% endif %}
[conductor]
topic = conductor