Reviewed: https://review.openstack.org/262199 Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=bf86545ca46cd5d33cb31e207fd276948e54ff1c Submitter: Jenkins Branch: master
commit bf86545ca46cd5d33cb31e207fd276948e54ff1c Author: Anton Arefiev <email address hidden> Date: Wed Feb 17 16:18:52 2016 +0200
Extend conditions and actions
Conditions: ``field`` supports new format, it allow to comparison data both from inspection and node info:
{'field': 'node://ironic/style/path', 'op': 'eq', 'value': 'val'} {'field': 'data://introspection/path', 'op': 'eq', 'value': 'val'}
Actions: ``value`` supports fetching data from introspection, it's using python string formatting notation:
{'action': 'set-attribute', 'path': '/driver_info/ipmi_address', 'value': '{data[inventory][bmc_address]}'}
Related-Bug: #1524753 Change-Id: Ie05f82e7a29fba2f743217f0893c085fd843cd5b
Reviewed: https:/ /review. openstack. org/262199 /git.openstack. org/cgit/ openstack/ ironic- inspector/ commit/ ?id=bf86545ca46 cd5d33cb31e207f d276948e54ff1c
Committed: https:/
Submitter: Jenkins
Branch: master
commit bf86545ca46cd5d 33cb31e207fd276 948e54ff1c
Author: Anton Arefiev <email address hidden>
Date: Wed Feb 17 16:18:52 2016 +0200
Extend conditions and actions
Conditions: ``field`` supports new format, it allow to comparison
data both from inspection and node info:
{'field': 'node:/ /ironic/ style/path' , 'op': 'eq', 'value': 'val'} /introspection/ path', 'op': 'eq', 'value': 'val'}
{'field': 'data:/
Actions: ``value`` supports fetching data from introspection, it's
using python string formatting notation:
{'action': 'set-attribute', 'path': '/driver_ info/ipmi_ address' , inventory] [bmc_address] }'}
'value': '{data[
Related-Bug: #1524753 2f743217f0893c0 85fd843cd5b
Change-Id: Ie05f82e7a29fba