ironic/ironic/tests/unit/api
Ilya Etingof 263fd021b2 Add indicators REST API endpoints
Added REST API endpoints for indicator management:

* GET /v1/nodes/<node_ident>/management/indicators` to list all
  available indicators names for each of the hardware component.
* GET /v1/nodes/<node_ident>/management/indicators/<indicator_ident>
  to retrieve the state of given indicator.
* PUT /v1/nodes/<node_ident>/management/indicators/<indicator_ident>`
  change state of the desired indicator.

This implementation slightly deviates from the original spec in
part of having component name in the URL - this implementation
flattens component out.

The spec: https://review.opendev.org/#/c/655685/7/specs/approved/expose-hardware-indicators.rst

Change-Id: I3a36f58b12487e18a6898aef6b077d4221f8a5b8
Story: 2005342
Task: 30291
2020-03-21 18:45:01 +00:00
..
controllers Add indicators REST API endpoints 2020-03-21 18:45:01 +00:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Stop using six library 2019-12-23 09:38:25 +01:00
test_acl.py Stop using six library 2019-12-23 09:38:25 +01:00
test_audit.py Remove unnecessary setUp function in testcase 2017-03-30 15:39:55 +08:00
test_healthcheck.py Add optional healthcheck middleware 2018-02-12 14:48:05 -05:00
test_hooks.py Stop using six library 2019-12-23 09:38:25 +01:00
test_middleware.py Stop using six library 2019-12-23 09:38:25 +01:00
test_ospmiddleware.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_proxy_middleware.py Use HTTPProxyToWSGI middleware from oslo 2019-08-02 12:29:37 +00:00
test_root.py Stop using six library 2019-12-23 09:38:25 +01:00
utils.py Add owner to allocations and create relevant policies 2019-12-10 19:00:33 +00:00