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.
pull/48433/head
Derrick Johnson 5 years ago committed by Dag Wieers
parent 36add6e86f
commit f3bde056b5

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

Loading…
Cancel
Save