add audit parameter to do_execute

The new bp need to get audit type from audit,
so we need to add an audit parameter to do_execute

Partially Implements: blueprint node-resource-consolidation

Change-Id: Ia979781b32202c1821aa1cb91d24253fe6d7bd2d
This commit is contained in:
licanwei
2019-08-22 23:27:14 -07:00
parent 1bd580b7a8
commit b4a02a6d31
16 changed files with 23 additions and 18 deletions

View File

@@ -65,4 +65,4 @@ class DefaultStrategyContext(base.StrategyContext):
name: value for name, value in audit.parameters.items()
})
return selected_strategy.execute()
return selected_strategy.execute(audit=audit)