Commit Graph

2 Commits

Author SHA1 Message Date
zhouxinyong b750ef5013 Replaces http with https in release notes
Change-Id: Idac5fc5abc0e2f6bff1d6e3bb3f024f0053f0c7a
2018-11-14 09:15:12 +00:00
Anton Arefiev bf86545ca4 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
2016-02-17 19:07:30 +02:00