vFW and vDNS support added to azure-plugin
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / tests / resources / service-templates / tosca-simple-1.0 / reqs_caps / reqs_caps1.yaml
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 tosca_definitions_version: tosca_simple_yaml_1_0
17
18 capability_types:
19   Socket:
20     derived_from: tosca.capabilities.Root
21
22 node_types:
23   Socket:
24     derived_from: tosca.nodes.Root
25     capabilities:
26       socket: Socket
27
28   Plug:
29     derived_from: tosca.nodes.Root
30     requirements:
31       - plug:
32           capability: Socket
33
34 topology_template:
35   node_templates:
36     socket:
37       type: Socket
38
39     plug:
40       type: Plug