blob: 817919cf8ab5caee2bf1c26b955b92bbe830b70f [file] [log] [blame]
vrovachevbc2f5ce2017-05-22 19:37:24 +04001# 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.
vrovachevbc2f5ce2017-05-22 19:37:24 +040014
15import pytest
16
vrovachevbc2f5ce2017-05-22 19:37:24 +040017from tcp_tests import logger
18
19LOG = logger.logger
20
21
22@pytest.mark.deploy
23class TestVirtletInstall(object):
24 """Test class for testing Virtlet deploy"""
25
vrovachevbc2f5ce2017-05-22 19:37:24 +040026 # @pytest.mark.fail_snapshot
27 def test_virtlet_install(self, underlay, virtlet_deployed,
Dina Belovae6fdffb2017-09-19 13:58:34 -070028 show_step):
vrovachevbc2f5ce2017-05-22 19:37:24 +040029 """Test for deploying an mcp environment with virtlet
30
31 Scenario:
32 1. Prepare salt on hosts
33 2. Setup controller nodes
34 3. Setup compute nodes
35 4. Setup virtlet
36
37 """
38 LOG.info("*************** DONE **************")
Victor Ryzhenkin655587f2017-05-24 20:00:07 +040039
40 def test_virtlet_install_with_ceph(self, underlay, virtlet_ceph_deployed,
41 show_step):
42 """Test for deploying an mcp environment with virtlet and one-node
43 Ceph cluster.
44
45 Scenario:
46 1. Prepare salt on hosts
47 2. Setup controller nodes
48 3. Setup compute nodes
49 4. Setup virtlet
50 5. Launch Ceph one-node cluster in docker
51
52 """
Victor Ryzhenkin42cfc312017-06-13 12:51:39 +040053 LOG.info("*************** DONE **************")