Browse Source
* Add a CoreOS test class TestCoreosKubernetesAPIs * Add a CoreOS test environment in tox.ini * Create a base class BaseK8sTest and move OS-agnostic k8s testing code to that class. * Increase the disk size from 8G to 10G for m1.magnum and s1.magnum, since CoreOS image requires more disk space to boot. * Set os-distro property for CoreOS image. Partial-Bug: #1546101 Change-Id: Ie56a9442ecebe05f39c7669bc950f5a6ca11df33changes/53/285853/8
9 changed files with 159 additions and 105 deletions
@ -0,0 +1,22 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may |
||||
# not use this file except in compliance with the License. You may obtain |
||||
# a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
||||
# License for the specific language governing permissions and limitations |
||||
# under the License. |
||||
|
||||
from magnum.tests.functional import python_client_base as base |
||||
|
||||
|
||||
class TestCoreosKubernetesAPIs(base.BaseK8sTest): |
||||
baymodel_kwargs = { |
||||
"tls_disabled": True, |
||||
"network_driver": 'flannel', |
||||
"volume_driver": None, |
||||
"fixed_network": '192.168.0.0/24' |
||||
} |
Loading…
Reference in new issue