Merge "Add allocation pool for octavia mgmt subnet"
This commit is contained in:
commit
8b053378fd
@ -325,6 +325,9 @@ octavia_provider_network_name: lbaas
|
||||
octavia_provider_network_type: flat
|
||||
# Network CIDR
|
||||
octavia_management_net_subnet_cidr: 172.29.232.0/22
|
||||
# Example allocation range:
|
||||
# octavia_management_net_subnet_allocation_pools: "172.29.232.10-172.29.235.200"
|
||||
octavia_management_net_subnet_allocation_pools: ""
|
||||
# Do we require the Neutron DHCP server
|
||||
octavia_management_net_dhcp: "True"
|
||||
# Should Octavia set up the network and subnet?
|
||||
|
@ -50,6 +50,8 @@
|
||||
name: "{{ octavia_neutron_management_network_name }}-subnet"
|
||||
cidr: "{{ octavia_management_net_subnet_cidr }}"
|
||||
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) }}"
|
||||
when: octavia_service_net_setup
|
||||
|
||||
- name: Get neutron network
|
||||
|
Loading…
Reference in New Issue
Block a user