Comment 3 for bug 1524753

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ironic-inspector (master)

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