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
This commit is contained in:
parent
372adb6bbc
commit
882dcdfd4b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user