added period in description. Changed integration test to work correctly.

pull/46147/head
Metzger, Simon 6 years ago committed by Dag Wieers
parent 285af0b6fb
commit 00d78d7ef3

@ -41,7 +41,7 @@ options:
aliases: [ leaf_port_blk_name ]
leaf_port_blk_description:
description:
- The description to assign to the C(leaf_port_blk)
- The description to assign to the C(leaf_port_blk).
from_port:
description:
- The beginning (from-range) of the port range block for the leaf access port block.

@ -51,8 +51,6 @@
- name: Bind an Access Port Block to an Interface Access Port Selector - update works
aci_access_port_block_to_access_port:
<<: *aci_access_port_block_to_access_port_present
leaf_port_blk: anstest_leafportblkname
fromPort: 13
toPort: 15
register: accessportblock_to_accessport_update
@ -63,11 +61,11 @@
- accessportblock_to_accessport_check_mode_present is changed
- accessportblock_to_accessport_present is changed
- accessportblock_to_accessport_present.previous == []
- 'accessportblock_to_accessport_present.sent == {"infraPortBlk": {"attributes": {"descr": "anstest_leafportblkdesc", "name": "anstest_leafportblkname", "fromPort": "16", "toPort": "16"}}}'
- 'accessportblock_to_accessport_present.sent == {"infraPortBlk": {"attributes": {"descr": "anstest_leafportblkdesc", "name": "anstest_leafportblkname", "fromPort": "13", "toPort": "16"}}}'
- accessportblock_to_accessport_idempotent is not changed
- accessportblock_to_accessport_idempotent.sent == {}
- accessportblock_to_accessport_update is changed
- 'accessportblock_to_accessport_update.sent == {"infraPortBlk": {"attributes": {"name": "anstest_leafportblkname", "fromPort": "15", "toPort": "15"}}}'
- 'accessportblock_to_accessport_update.sent == {"infraPortBlk": {"attributes": {"toPort": "15"}}}'
- name: Query Specific port block and access_port_selector binding
@ -127,7 +125,7 @@
state: absent
- name: Remove Interface Access Port Selector - Cleanup
aci_interface_policy_leaf_profile:
aci_access_port_to_interface_policy_leaf_profile:
<<: *aci_access_port_to_interface_policy_leaf_profile_present
state: absent

Loading…
Cancel
Save