drydock/drydock_provisioner/control
Jason Beard 7af8623d91 Create schemas for Drydock YAML docs
Start writing JSON schema documents (in YAML) for
the YAML Kinds that Drydock defines

- Wrote schema for baremetalNode, hardwareProfile,
  hostProfile, network, networkLink, rack, and region.
- Unit tests for testing validation schemas

Change-Id: Iff52d522fc61893ab07e567e4a4e842c4b4cb25e
2017-11-20 11:14:04 -06:00
..
__init__.py Orchestration of MaaS enlistment (#42) 2017-06-15 20:42:53 -07:00
api.py Add Versions API to Drydock 2017-11-07 07:36:16 -06:00
base.py Add Versions API to Drydock 2017-11-07 07:36:16 -06:00
bootdata.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
designs.py Create schemas for Drydock YAML docs 2017-11-20 11:14:04 -06:00
health.py Add Health Check API to Drydock 2017-11-02 15:23:34 -05:00
middleware.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
nodes.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
readme.md Merge branch 'master' into module_rename 2017-06-23 07:54:14 -05:00
tasks.py Refactor orchestrator 2017-10-26 15:00:39 -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.