magnum/magnum/tests/unit/api
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
..
controllers Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
base.py Removed not required style.css file 2016-08-28 17:27:39 +05:30
test_app.py Fix order of arguments in assertEqual 2015-10-10 14:24:44 +08:00
test_attr_validator.py Make providing a keypair optional 2018-11-21 16:17:46 +00:00
test_expose.py Increase test coverage 2016-08-15 11:33:17 +05:30
test_hooks.py Add accidentally deleted test_hooks.py 2016-05-25 00:45:58 +00:00
test_servicegroup.py Fix invalid import order 2016-02-07 22:54:41 -08:00
test_validation.py Don't create clusters of an unsupported type 2017-02-01 14:02:31 -06:00
utils.py ng-5: APIs for listing and showing nodegroups 2019-03-29 10:31:48 +00:00