mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
ACI: Cleanup deprecated boolean behaviour (#55207)
* ACI: Cleanup deprecated boolean behaviour * Remove from sanity ignore list
This commit is contained in:
parent
521e62aa38
commit
9495ddbc21
7 changed files with 6 additions and 28 deletions
|
@ -297,7 +297,7 @@ def main():
|
|||
encap=dict(type='int'),
|
||||
encap_mode=dict(type='str', choices=['auto', 'vlan', 'vxlan']),
|
||||
epg=dict(type='str', aliases=['name', 'epg_name']), # Not required for querying all objects
|
||||
netflow=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
netflow=dict(type='bool'),
|
||||
primary_encap=dict(type='int'),
|
||||
resolution_immediacy=dict(type='str', choices=['immediate', 'lazy', 'pre-provision']),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
||||
|
|
|
@ -196,7 +196,7 @@ def main():
|
|||
description=dict(type='str', aliases=['descr']),
|
||||
vlan_scope=dict(type='str', choices=['global', 'portlocal']), # No default provided on purpose
|
||||
qinq=dict(type='str', choices=['core', 'disabled', 'edge']),
|
||||
vepa=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
vepa=dict(type='bool'),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
||||
)
|
||||
|
||||
|
|
|
@ -182,8 +182,8 @@ def main():
|
|||
argument_spec.update(
|
||||
lldp_policy=dict(type='str', aliases=['name']), # Not required for querying all objects
|
||||
description=dict(type='str', aliases=['descr']),
|
||||
receive_state=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
transmit_state=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
receive_state=dict(type='bool'),
|
||||
transmit_state=dict(type='bool'),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
||||
)
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ def main():
|
|||
argument_spec.update(
|
||||
mcp=dict(type='str', aliases=['mcp_interface', 'name']), # Not required for querying all objects
|
||||
description=dict(type='str', aliases=['descr']),
|
||||
admin_state=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
admin_state=dict(type='bool'),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
||||
)
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ def main():
|
|||
argument_spec.update(
|
||||
tenant=dict(type='str', aliases=['tenant_name']), # Not required for querying all objects
|
||||
src_group=dict(type='str', aliases=['name']), # Not required for querying all objects
|
||||
admin_state=dict(type='raw'), # Turn into a boolean in v2.9
|
||||
admin_state=dict(type='bool'),
|
||||
description=dict(type='str', aliases=['descr']),
|
||||
dst_group=dict(type='str'),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue