aci_maintenance_group_node - Fix "target_filter" (#58675)

* aci_maintenance_group_node - Fix "target_filter"

##### SUMMARY
Fixes target_filter issue that causes the module to fail.

##### ISSUE TYPE

* Use the correct target_filter syntax

So we did not just rename `filter_target` to `target_filter`, the content is also different.
This commit is contained in:
Derrick Johnson 2019-08-27 08:10:48 -05:00 committed by Dag Wieers
parent 36add6e86f
commit f3bde056b5

View file

@ -198,13 +198,13 @@ def main():
root_class=dict(
aci_class='maintMaintGrp',
aci_rn='fabric/maintgrp-{0}'.format(group),
filter_target='eq(maintMaintGrp.name, "{0}")'.format(group),
target_filter={'name': group},
module_object=group,
),
subclass_1=dict(
aci_class='fabricNodeBlk',
aci_rn='nodeblk-blk{0}-{0}'.format(node),
filter_target='eq(fabricNodeBlk.name, "blk{0}-{0}")'.format(node),
target_filter={'name': 'blk{0}-{0}'.format(node)},
module_object=node,
),
)