magnum/magnum/api/controllers/v1
Spyros Trigazis (strigazi) 9b1bd5da54 Add cluster upgrade to the API
To enable the rolling upgrade ability of Kubernetes Cluster, this
patch is proposing a new API /upgrade to support upgrade the
base operating system of nodes and the version of Kubernetes, even
add-ons running on the k8s cluster:

POST <ClusterID>/actions/upgrade

And the post body will be:

{
    "cluster_template": 'dd9cc5ed-3a2b-11e9-9233-fa163e46bcc2',
    "max_batch_size": 1,
    "nodegroup": "production_group"
}

Co-Authored-By: Feilong Wang <flwang@catalyst.net.nz>

Task: 30168
Story: 2002210

Change-Id: Ia168877778aa0d473383eb06b1c8a16dc06b0576
2019-06-07 12:01:10 +12:00
..
__init__.py ng-5: APIs for listing and showing nodegroups 2019-03-29 10:31:48 +00:00
bay.py ng-4: Adapt cluster object 2019-03-29 10:31:48 +00:00
baymodel.py Add hidden flag to cluster template 2019-02-12 11:38:15 +01:00
certificate.py Pass a mutable target to oslo policy enforcer 2017-05-10 17:47:38 +01:00
cluster.py Merge "Allow admin update cluster/template in any project" 2019-04-17 11:17:43 +00:00
cluster_actions.py Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
cluster_template.py Merge "Allow admin update cluster/template in any project" 2019-04-17 11:17:43 +00:00
collection.py Fix quotas API pagination 2017-02-14 12:33:27 -06:00
federation.py Use MultiType and types.text instead of str 2019-01-18 11:01:57 +00:00
magnum_services.py Use MultiType and types.text instead of str 2019-01-18 11:01:57 +00:00
nodegroup.py ng-5: APIs for listing and showing nodegroups 2019-03-29 10:31:48 +00:00
quota.py Use MultiType and types.text instead of str 2019-01-18 11:01:57 +00:00
stats.py Don't enforce microversion for stats API 2017-02-09 10:38:41 -06:00
types.py Support multi DNS server 2019-04-08 23:08:45 +00:00