drydock/python/drydock_provisioner/control
Soumitra Khuntia f879e3a88d Update node-labels through Kubernetes Provisioner
Blueprint: https://airshipit.readthedocs.io/projects/specs/en/latest/specs/approved/k8s_update_node_labels_workflow.html

This commit adds:

1. A new task action ''relabel_nodes'' added to update
nodes labels
2.A new Kubernetes driver added for Kubernetes cluster
interaction through Promenade.

Change-Id: I37c2d7bfda4966d907556036bc2b343df451994c
2018-09-25 17:54:59 +05:30
..
__init__.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
api.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
base.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
bootaction.py Bootaction cleanup 2018-09-06 16:33:11 -05:00
designs.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
health.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
middleware.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
nodes.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
readme.md Refactor build to include Go 2018-09-04 13:13:21 -05:00
tasks.py Update node-labels through Kubernetes Provisioner 2018-09-25 17:54:59 +05:30
util.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
validation.py Refactor build to include Go 2018-09-04 13:13:21 -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.