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

This commit is contained in:
Metzger, Simon 2018-09-27 22:05:32 +02:00 committed by Dag Wieers
parent 285af0b6fb
commit 00d78d7ef3
2 changed files with 4 additions and 6 deletions

View file

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

View file

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