magnum/magnum/tests/unit
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
..
api Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
cmd Add framework for magnum-status upgrade check 2019-01-27 04:26:30 +00:00
common ng-2: Adapt existing cluster APIs and conductor 2019-03-28 10:31:01 +00:00
conductor [fedora_atomic] Support auto healing for k8s 2019-04-17 14:47:39 +12:00
conf Centralize config option: paths section 2016-09-22 05:56:53 +00:00
db ng-4: Adapt cluster object 2019-03-29 10:31:48 +00:00
drivers Update coredns from upstream manifest and to 1.3.1 2019-04-18 12:38:58 +02:00
objects ng-4: Adapt cluster object 2019-03-29 10:31:48 +00:00
service ng-2: Adapt existing cluster APIs and conductor 2019-03-28 10:31:01 +00:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
template Centralize config option: paths section 2016-09-22 05:56:53 +00:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_hacking.py Revert "Using assertFalse(A) instead of assertEqual(False, A)" 2017-06-15 12:46:54 +08:00