From 882dcdfd4bd0cc3a5c58d792e63bf1978ab86f97 Mon Sep 17 00:00:00 2001 From: Shannon Mitchell Date: Mon, 12 Mar 2018 17:00:35 -0500 Subject: [PATCH] Allow enabling of dhcp on provider network. Dhcp is disabled by default for the provider network. We are getting complaints as teams using the mnaio env are expecting to be able to attach devices to the provider network as well as the private network. This change is to allow the setting of a 'enable_provider_net_dhcp' bool variable to enable it during the service setup playbooks if needed. Closes-Bug: 1755295 Change-Id: I46b22635fd8eece5528afecc76310f3c116b9e89 --- multi-node-aio/playbooks/vars/openstack-service-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-node-aio/playbooks/vars/openstack-service-config.yml b/multi-node-aio/playbooks/vars/openstack-service-config.yml index 8bdd67fd..bedfc242 100644 --- a/multi-node-aio/playbooks/vars/openstack-service-config.yml +++ b/multi-node-aio/playbooks/vars/openstack-service-config.yml @@ -81,7 +81,7 @@ subnets: ip_version: 4 cidr: "{{ provider_net_cidr }}" gateway_ip: "{{ provider_net_cidr | ipaddr('1') | ipaddr('address') }}" - enable_dhcp: false + enable_dhcp: "{{ enable_provider_net_dhcp | default(false) | bool }}" allocation_pool_start: "{{ provider_net_cidr | ipaddr('201') | ipaddr('address') }}" allocation_pool_end: "{{ provider_net_cidr | ipaddr('255') | ipaddr('address') }}" dns_nameservers: