Support registration of Neutron subnets without a gateway IP address

This commit is contained in:
Mark Goddard 2017-03-27 16:43:22 +01:00
parent aa6e2e2514
commit 706233f98c

View File

@ -24,6 +24,7 @@
network_name: "{{ neutron_net_name }}" network_name: "{{ neutron_net_name }}"
cidr: "{{ neutron_net_cidr }}" cidr: "{{ neutron_net_cidr }}"
gateway_ip: "{{ neutron_net_gateway_ip | default(omit) }}" gateway_ip: "{{ neutron_net_gateway_ip | default(omit) }}"
no_gateway_ip: "{{ not neutron_net_gateway_ip }}"
allocation_pool_start: "{{ neutron_net_allocation_pool_start | default(omit) }}" allocation_pool_start: "{{ neutron_net_allocation_pool_start | default(omit) }}"
allocation_pool_end: "{{ neutron_net_allocation_pool_end | default(omit) }}" allocation_pool_end: "{{ neutron_net_allocation_pool_end | default(omit) }}"
state: present state: present