Add quota for the number of floating IP's to allow in Network. (#21471)

* Add quota for the number of floating IP's to allow in Network.

* Add nova_floating_ips and neutron_floating_ips aliases to avoid confusion.

* rename aliases to compute_floating_ips and network_floating_ips.
pull/22090/head
Chenjun Shen 8 years ago committed by Ricardo Carrillo Cruz
parent 30bee433c3
commit 4ba131d442

@ -59,7 +59,13 @@ options:
floating_ips:
required: False
default: None
description: Number of floating IP's to allow.
description: Number of floating IP's to allow in Compute.
aliases: ['compute_floating_ips']
floatingip:
required: False
default: None
description: Number of floating IP's to allow in Network.
aliases: ['network_floating_ips']
gigabytes:
required: False
default: None
@ -202,6 +208,7 @@ EXAMPLES = '''
cores: "{{ item.cores }}"
fixed_ips: "{{ item.fixed_ips }}"
floating_ips: "{{ item.floating_ips }}"
floatingip: "{{ item.floatingip }}"
gigabytes: "{{ item.gigabytes }}"
injected_file_size: "{{ item.injected_file_size }}"
injected_files: "{{ item.injected_files }}"
@ -372,7 +379,8 @@ def main():
backups=dict(required=False, type='int', default=None),
cores=dict(required=False, type='int', default=None),
fixed_ips=dict(required=False, type='int', default=None),
floating_ips=dict(required=False, type='int', default=None),
floating_ips=dict(required=False, type='int', default=None, aliases=['compute_floating_ips']),
floatingip=dict(required=False, type='int', default=None, aliases=['network_floating_ips']),
gigabytes=dict(required=False, type='int', default=None),
gigabytes_types=dict(required=False, type='dict', default={}),
injected_file_size=dict(required=False, type='int', default=None),

Loading…
Cancel
Save