vFW and vDNS support added to azure-plugin
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / tests / parser / test_tosca_simple_v1_0 / test_end2end.py
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License.  You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 from ..service_templates import (consume_use_case, consume_node_cellar)
17
18
19 # Use Cases
20
21 def test_use_case_compute_1():
22     consume_use_case('compute-1', 'instance')
23
24
25 def test_use_case_software_component_1():
26     consume_use_case('software-component-1', 'instance')
27
28
29 def test_use_case_block_storage_1():
30     consume_use_case('block-storage-1', 'instance')
31
32
33 def test_use_case_block_storage_2():
34     consume_use_case('block-storage-2', 'instance')
35
36
37 def test_use_case_block_storage_3():
38     consume_use_case('block-storage-3', 'instance')
39
40
41 def test_use_case_block_storage_4():
42     consume_use_case('block-storage-4', 'instance')
43
44
45 def test_use_case_block_storage_5():
46     consume_use_case('block-storage-5', 'instance')
47
48
49 def test_use_case_block_storage_6():
50     consume_use_case('block-storage-6', 'instance')
51
52
53 def test_use_case_object_storage_1():
54     consume_use_case('object-storage-1', 'instance')
55
56
57 def test_use_case_network_1():
58     consume_use_case('network-1', 'instance')
59
60
61 def test_use_case_network_2():
62     consume_use_case('network-2', 'instance')
63
64
65 def test_use_case_network_3():
66     consume_use_case('network-3', 'instance')
67
68
69 def test_use_case_network_4():
70     consume_use_case('network-4', 'instance')
71
72
73 def test_use_case_webserver_dbms_1():
74     consume_use_case('webserver-dbms-1', 'template')
75
76
77 def test_use_case_webserver_dbms_2():
78     consume_use_case('webserver-dbms-2', 'instance')
79
80
81 def test_use_case_multi_tier_1():
82     consume_use_case('multi-tier-1', 'instance')
83
84
85 def test_use_case_container_1():
86     consume_use_case('container-1', 'template')
87
88
89 # NodeCellar
90
91 def test_node_cellar_validation():
92     consume_node_cellar('validate')
93
94
95 def test_node_cellar_validation_no_cache():
96     consume_node_cellar('validate', False)
97
98
99 def test_node_cellar_presentation():
100     consume_node_cellar('presentation')
101
102
103 def test_node_cellar_model():
104     consume_node_cellar('template')
105
106
107 def test_node_cellar_types():
108     consume_node_cellar('types')
109
110
111 def test_node_cellar_instance():
112     consume_node_cellar('instance')