vrovachev | bc2f5ce | 2017-05-22 19:37:24 +0400 | [diff] [blame] | 1 | # Copyright 2017 Mirantis, Inc. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 | # not use this file except in compliance with the License. You may obtain |
| 5 | # a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations |
| 13 | # under the License. |
| 14 | import copy |
| 15 | import time |
| 16 | |
| 17 | import pytest |
| 18 | |
| 19 | from tcp_tests import settings |
| 20 | from tcp_tests.helpers import ext |
| 21 | from tcp_tests import logger |
| 22 | |
| 23 | LOG = logger.logger |
| 24 | |
| 25 | |
| 26 | @pytest.mark.deploy |
| 27 | class TestVirtletInstall(object): |
| 28 | """Test class for testing Virtlet deploy""" |
| 29 | |
vrovachev | bc2f5ce | 2017-05-22 19:37:24 +0400 | [diff] [blame] | 30 | # @pytest.mark.fail_snapshot |
| 31 | def test_virtlet_install(self, underlay, virtlet_deployed, |
| 32 | show_step): |
| 33 | """Test for deploying an mcp environment with virtlet |
| 34 | |
| 35 | Scenario: |
| 36 | 1. Prepare salt on hosts |
| 37 | 2. Setup controller nodes |
| 38 | 3. Setup compute nodes |
| 39 | 4. Setup virtlet |
| 40 | |
| 41 | """ |
| 42 | LOG.info("*************** DONE **************") |
Victor Ryzhenkin | 655587f | 2017-05-24 20:00:07 +0400 | [diff] [blame] | 43 | |
| 44 | def test_virtlet_install_with_ceph(self, underlay, virtlet_ceph_deployed, |
| 45 | show_step): |
| 46 | """Test for deploying an mcp environment with virtlet and one-node |
| 47 | Ceph cluster. |
| 48 | |
| 49 | Scenario: |
| 50 | 1. Prepare salt on hosts |
| 51 | 2. Setup controller nodes |
| 52 | 3. Setup compute nodes |
| 53 | 4. Setup virtlet |
| 54 | 5. Launch Ceph one-node cluster in docker |
| 55 | |
| 56 | """ |
Victor Ryzhenkin | 42cfc31 | 2017-06-13 12:51:39 +0400 | [diff] [blame] | 57 | LOG.info("*************** DONE **************") |