drydock/drydock_provisioner/control
Scott Hussey da84af2d0f Add node enquiry API
Provide an API endpoint in Drydock to query
the state of nodes in the downstream MAAS
service.

Change-Id: I7cf4f3cf81e51ef5dc604c778d6a03d7f1208ffa
2017-10-18 16:18:06 -05:00
..
__init__.py Orchestration of MaaS enlistment (#42) 2017-06-15 20:42:53 -07:00
api.py Add node enquiry API 2017-10-18 16:18:06 -05:00
base.py DRYD21 - YAPF formatting for 375626 2017-08-25 11:21:22 -05:00
bootdata.py Node storage configuration support 2017-09-21 10:04:18 -05:00
designs.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00
middleware.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00
nodes.py Add node enquiry API 2017-10-18 16:18:06 -05:00
readme.md Merge branch 'master' into module_rename 2017-06-23 07:54:14 -05:00
tasks.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00

readme.md

Control

This is the external facing API service to control the rest of Drydock and query Drydock-managed data.

v1.0 Endpoints

/api/v1.0/tasks

POST - Create a new orchestration task and submit it for execution GET - Get status of a task DELETE - Cancel execution of a task if permitted

/api/v1.0/designs

POST - Create a new site design so design parts can be added

/api/v1.0/designs/{id}

GET - Get a current design if available. Param 'source=compiled' to calculate the inheritance chain and compile the effective design.

/api/v1.0/designs/{id}/parts

POST - Submit a new design part to be ingested and added to this design GET - View a currently defined design part PUT - Replace an existing design part Not Implemented

/api/v1.0/designs/{id}/parts/{kind}/{name}

GET - View a single design part. param 'source=compiled' to calculate the inheritance chain and compile the effective configuration for the design part.