|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|