diff --git a/lib/ansible/modules/network/aci/aci_access_port_block_to_access_port.py b/lib/ansible/modules/network/aci/aci_access_port_block_to_access_port.py index 6c2a4e537e3..c680de46ddf 100644 --- a/lib/ansible/modules/network/aci/aci_access_port_block_to_access_port.py +++ b/lib/ansible/modules/network/aci/aci_access_port_block_to_access_port.py @@ -255,8 +255,8 @@ def main(): leaf_port_blk=dict(type='str', aliases=['leaf_port_blk_name']), # Not required for querying all objects from_port=dict(type='str', aliases=['from', 'fromPort', 'from_port_range']), # Not required for querying all objects and deleting port blocks to_port=dict(type='str', aliases=['to', 'toPort', 'to_port_range']), # Not required for querying all objects and deleting port blocks - from_card=dict(type='str', aliases=['from_card_range']), # Not required for querying all objects and deleting port blocks - to_card=dict(type='str', aliases=['to_card_range']), # Not required for querying all objects and deleting port blocks + from_card=dict(type='str', aliases=['from_card_range']), + to_card=dict(type='str', aliases=['to_card_range']), state=dict(type='str', default='present', choices=['absent', 'present', 'query']), ) diff --git a/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py b/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py index 1230efd436c..e5b48130589 100644 --- a/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py +++ b/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py @@ -39,29 +39,53 @@ options: - The description to assign to the C(access_port_selector) leaf_port_blk: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The name of the Fabric access policy leaf interface profile access port block. required: yes aliases: [ leaf_port_blk_name ] leaf_port_blk_description: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The description to assign to the C(leaf_port_blk) from_port: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The beginning (from-range) of the port range block for the leaf access port block. aliases: [ from, fromPort, from_port_range ] required: yes to_port: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The end (to-range) of the port range block for the leaf access port block. aliases: [ to, toPort, to_port_range ] required: yes from_card: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The beginning (from-range) of the card range block for the leaf access port block. aliases: [ from_card_range ] version_added: '2.6' to_card: description: + - B(Deprecated) + - Starting with Ansible 2.8 we recommend using the module L(aci_access_port_block_to_access_port, aci_access_port_block_to_access_port.html). + - The parameter will be removed in Ansible 2.12. + - HORIZONTALLINE - The end (to-range) of the card range block for the leaf access port block. aliases: [ to_card_range ] version_added: '2.6'