1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ACI validate-modules issues (#42222)

This commit is contained in:
Dag Wieers 2018-07-03 04:04:35 +02:00 committed by GitHub
parent 9539284010
commit 57c0471b54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 20 deletions

View file

@ -48,7 +48,8 @@ options:
description: description:
- The subnet mask for the Subnet. - The subnet mask for the Subnet.
- This is the number assocated with CIDR notation. - This is the number assocated with CIDR notation.
choices: [ Any 0 to 32 for IPv4 Addresses, 0-128 for IPv6 Addresses ] - For IPv4 addresses, accepted values range between C(0) and C(32).
- For IPv6 addresses, accepted Values range between C(0) and C(128).
aliases: [ subnet_mask ] aliases: [ subnet_mask ]
nd_prefix_policy: nd_prefix_policy:
description: description:

View file

@ -49,8 +49,8 @@ options:
max_count: max_count:
description: description:
- Determines how many snapshots can exist for the Export Policy before the APIC starts to rollover. - Determines how many snapshots can exist for the Export Policy before the APIC starts to rollover.
- Accepted values range between C(1) and C(10).
- The APIC defaults to C(3) when unset. - The APIC defaults to C(3) when unset.
choices: [ range between 1 and 10 ]
snapshot: snapshot:
description: description:
- The name of the snapshot to delete. - The name of the snapshot to delete.

View file

@ -55,7 +55,7 @@ options:
description: description:
- The VLAN encapsulation for the EPG when binding a VMM Domain with static encap_mode. - The VLAN encapsulation for the EPG when binding a VMM Domain with static encap_mode.
- This acts as the secondary encap when using useg. - This acts as the secondary encap when using useg.
choices: [ range from 1 to 4096 ] - Accepted values range between C(1) and C(4096).
encap_mode: encap_mode:
description: description:
- The ecapsulataion method to be used. - The ecapsulataion method to be used.
@ -73,7 +73,7 @@ options:
primary_encap: primary_encap:
description: description:
- Determines the primary VLAN ID when using useg. - Determines the primary VLAN ID when using useg.
choices: [ range from 1 to 4096 ] - Accepted values range between C(1) and C(4096).
resolution_immediacy: resolution_immediacy:
description: description:
- Determines when the policies should be resolved and available. - Determines when the policies should be resolved and available.
@ -267,7 +267,7 @@ def main():
argument_spec.update( argument_spec.update(
allow_useg=dict(type='str', choices=['encap', 'useg']), allow_useg=dict(type='str', choices=['encap', 'useg']),
ap=dict(type='str', aliases=['app_profile', 'app_profile_name']), # Not required for querying all objects ap=dict(type='str', aliases=['app_profile', 'app_profile_name']), # Not required for querying all objects
deploy_immediacy=dict(type='str', choices=['immediate', 'on-demand']), deploy_immediacy=dict(type='str', choices=['immediate', 'lazy']),
domain=dict(type='str', aliases=['domain_name', 'domain_profile']), # Not required for querying all objects domain=dict(type='str', aliases=['domain_name', 'domain_profile']), # Not required for querying all objects
domain_type=dict(type='str', choices=['phys', 'vmm'], aliases=['type']), # Not required for querying all objects domain_type=dict(type='str', choices=['phys', 'vmm'], aliases=['type']), # Not required for querying all objects
encap=dict(type='int'), encap=dict(type='int'),

View file

@ -37,18 +37,18 @@ options:
dst_port: dst_port:
description: description:
- Used to set both destination start and end ports to the same value when ip_protocol is tcp or udp. - Used to set both destination start and end ports to the same value when ip_protocol is tcp or udp.
- Accepted values are any valid TCP/UDP port range.
- The APIC defaults to C(unspecified) when unset during creation. - The APIC defaults to C(unspecified) when unset during creation.
choices: [ Valid TCP/UDP Port Ranges]
dst_port_end: dst_port_end:
description: description:
- Used to set the destination end port when ip_protocol is tcp or udp. - Used to set the destination end port when ip_protocol is tcp or udp.
- Accepted values are any valid TCP/UDP port range.
- The APIC defaults to C(unspecified) when unset during creation. - The APIC defaults to C(unspecified) when unset during creation.
choices: [ Valid TCP/UDP Port Ranges]
dst_port_start: dst_port_start:
description: description:
- Used to set the destination start port when ip_protocol is tcp or udp. - Used to set the destination start port when ip_protocol is tcp or udp.
- Accepted values are any valid TCP/UDP port range.
- The APIC defaults to C(unspecified) when unset during creation. - The APIC defaults to C(unspecified) when unset during creation.
choices: [ Valid TCP/UDP Port Ranges]
entry: entry:
description: description:
- Then name of the Filter Entry. - Then name of the Filter Entry.

View file

@ -35,13 +35,13 @@ options:
max_links: max_links:
description: description:
- Maximum links (range 1-16). - Maximum links (range 1-16).
- Accepted values range between 1 and 16.
- The APIC defaults to C(16) when unset during creation. - The APIC defaults to C(16) when unset during creation.
choices: [ Ranges from 1 to 16 ]
min_links: min_links:
description: description:
- Minimum links (range 1-16). - Minimum links (range 1-16).
- Accepted values range between 1 and 16.
- The APIC defaults to C(1) when unset during creation. - The APIC defaults to C(1) when unset during creation.
choices: [ Ranges from 1 to 16 ]
mode: mode:
description: description:
- Port channel interface policy mode. - Port channel interface policy mode.

View file

@ -42,14 +42,14 @@ options:
description: description:
- The encapsulation ID associating the C(epg) with the interface path. - The encapsulation ID associating the C(epg) with the interface path.
- This acts as the secondary C(encap_id) when using micro-segmentation. - This acts as the secondary C(encap_id) when using micro-segmentation.
- Accepted values are any valid encap ID for specified encap, currently ranges between C(1) and C(4096).
aliases: [ vlan, vlan_id ] aliases: [ vlan, vlan_id ]
choices: [ Valid encap IDs for specified encap, currently 1 to 4096 ]
primary_encap_id: primary_encap_id:
description: description:
- Determines the primary encapsulation ID associating the C(epg) - Determines the primary encapsulation ID associating the C(epg)
with the interface path when using micro-segmentation. with the interface path when using micro-segmentation.
- Accepted values are any valid encap ID for specified encap, currently ranges between C(1) and C(4096).
aliases: [ primary_vlan, primary_vlan_id ] aliases: [ primary_vlan, primary_vlan_id ]
choices: [ Valid encap IDs for specified encap, currently 1 to 4096 ]
deploy_immediacy: deploy_immediacy:
description: description:
- The Deployement Immediacy of Static EPG on PC, VPC or Interface. - The Deployement Immediacy of Static EPG on PC, VPC or Interface.
@ -89,7 +89,7 @@ options:
description: description:
- The C(extpaths) integer value part of the tDn. - The C(extpaths) integer value part of the tDn.
- C(extpaths) is only used if C(interface_type) is C(fex). - C(extpaths) is only used if C(interface_type) is C(fex).
- Usually something like '1011'. - Usually something like C(1011).
state: state:
description: description:
- Use C(present) or C(absent) for adding or removing. - Use C(present) or C(absent) for adding or removing.

View file

@ -705,16 +705,9 @@ lib/ansible/modules/net_tools/snmp_facts.py E322
lib/ansible/modules/net_tools/snmp_facts.py E324 lib/ansible/modules/net_tools/snmp_facts.py E324
lib/ansible/modules/network/a10/a10_server_axapi3.py E326 lib/ansible/modules/network/a10/a10_server_axapi3.py E326
lib/ansible/modules/network/a10/a10_virtual_server.py E324 lib/ansible/modules/network/a10/a10_virtual_server.py E324
lib/ansible/modules/network/aci/aci_bd_subnet.py E328
lib/ansible/modules/network/aci/aci_config_snapshot.py E328
lib/ansible/modules/network/aci/aci_epg_to_domain.py E326
lib/ansible/modules/network/aci/aci_epg_to_domain.py E328
lib/ansible/modules/network/aci/aci_filter_entry.py E326
lib/ansible/modules/network/aci/aci_interface_policy_l2.py E326 lib/ansible/modules/network/aci/aci_interface_policy_l2.py E326
lib/ansible/modules/network/aci/aci_interface_policy_lldp.py E326 lib/ansible/modules/network/aci/aci_interface_policy_lldp.py E326
lib/ansible/modules/network/aci/aci_interface_policy_mcp.py E326 lib/ansible/modules/network/aci/aci_interface_policy_mcp.py E326
lib/ansible/modules/network/aci/aci_interface_policy_port_channel.py E328
lib/ansible/modules/network/aci/aci_static_binding_to_epg.py E328
lib/ansible/modules/network/aci/aci_tenant_span_src_group.py E326 lib/ansible/modules/network/aci/aci_tenant_span_src_group.py E326
lib/ansible/modules/network/aos/_aos_blueprint_param.py E325 lib/ansible/modules/network/aos/_aos_blueprint_param.py E325
lib/ansible/modules/network/asa/asa_config.py E324 lib/ansible/modules/network/asa/asa_config.py E324