ironic/ironic/api/controllers/v1
Yuriy Zveryanskyy 487f6738bc Add parameter for filtering nodes by maintenance mode
Boolean parameter 'maintenance' added to API for filtering
nodes by maintenance mode, example:
/nodes?maintenance=false
strutils.bool_from_string() used for converting 'associated'
and 'maintenance' parameters, accepted values now for True
('1', 't', 'true', 'on', 'y', 'yes'), for False
('0', 'f', 'false', 'off', 'n', 'no') case-insensitive.
Refactored dbapi method get_node_list with filters used for
_get_nodes_collection in nodes controller.

Partial-Bug: #1260099
Partial-Bug: #1271291
Change-Id: I01a62eb641316e890d191cf569bb3cf00b7619f2
2014-02-11 11:22:06 +02:00
..
__init__.py Add missing link for drivers resource 2013-12-03 11:21:28 +02:00
base.py Reworks Chassis validations 2013-12-16 10:14:14 +00:00
chassis.py Return correct HTTP response codes for create ops 2014-02-06 20:48:09 +00:00
collection.py Collection named based on resource type 2013-09-23 11:32:09 +01:00
driver.py GET /drivers to show a list of active conductors 2013-12-17 16:48:06 -08:00
link.py Implement the root and v1 entry points of the API 2013-08-07 16:18:14 +01:00
node.py Add parameter for filtering nodes by maintenance mode 2014-02-11 11:22:06 +02:00
port.py Return correct HTTP response codes for create ops 2014-02-06 20:48:09 +00:00
state.py API Nodes states 2013-08-22 09:17:02 +01:00
types.py API to validate UUID parameters 2014-01-03 18:40:54 +00:00
utils.py Handle multiple exceptions raised by jsonpatch 2014-02-05 11:00:46 +00:00