Create mgmt subnet with gateway if provided
This change adds the ability to create the mgmt subnet with default gateway when the specified variable provided. Change-Id: Ief7f60972c62388cee1f579e8988c4ba57c8fb65 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
7a8e052276
commit
d1380ea167
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Now you can set up ``octavia_management_net_subnet_gateway`` variable to
|
||||
create the management subnet with default gateway set. By default the
|
||||
subnet created without gateway.
|
||||
|
@ -67,6 +67,7 @@
|
||||
enable_dhcp: "{{ octavia_management_net_dhcp }}"
|
||||
allocation_pool_start: "{{ octavia_management_net_subnet_allocation_pools.split('-')[0] | default(omit) }}"
|
||||
allocation_pool_end: "{{ octavia_management_net_subnet_allocation_pools.split('-')[1] | default(omit) }}"
|
||||
gateway_ip: "{{ octavia_management_net_subnet_gateway | default(omit) }}"
|
||||
interface: admin
|
||||
verify: "{{ not keystone_service_adminuri_insecure }}"
|
||||
register: add_subnet
|
||||
|
Loading…
Reference in New Issue
Block a user