magnum/magnum/tests
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
..
contrib Replace openstack.org git:// URLs with https:// 2019-03-24 20:34:05 +00:00
functional Use oslo_serialization instead of the json module directly 2019-01-21 16:28:03 -08:00
unit Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Set is_admin flag correctly in RequestContext 2017-03-03 03:37:08 +00:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fakes.py FakeLoopingCall raises IOError 2019-02-28 10:01:17 +00:00
policy_fixture.py Register default magnum service and stat policies in code 2017-10-23 02:57:29 +00:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00