0221cd57d839816bd12168423b3c30790f8265b0
[aai/babel.git] / src / test / resources / ymlFiles / resource-Securityrules-template.YML
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 metadata:
3   invariantUUID: dd31d2de-0a7f-4198-8966-3a04100fbfe3
4   UUID: d57e57d2-e3c6-470d-8d16-e6ea05f536c5
5   name: SecurityRules
6   description: Configuration of policy rules to be applied on ports.
7   type: VFC
8   category: Generic
9   subcategory: Rules
10   resourceVendor: ATT (Tosca)
11   resourceVendorRelease: 1.0.0.wd03
12 imports:
13 - nodes:
14     file: nodes.yml
15 - datatypes:
16     file: data.yml
17 - capabilities:
18     file: capabilities.yml
19 - relationships:
20     file: relationships.yml
21 - groups:
22     file: groups.yml
23 - policies:
24     file: policies.yml
25 node_types:
26   org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules:
27     derived_from: tosca.nodes.Root
28     description: Configuration of policy rules to be applied on ports.
29     properties:
30       name:
31         type: string
32         description: A symbolic name for this security group, which is not required to be unique.
33       description:
34         type: string
35         description: Description of the security group
36       rules:
37         type: list
38         description: List of security group rules
39         entry_schema:
40           type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule
41     requirements:
42     - port:
43         occurrences:
44         - 0
45         - UNBOUNDED
46         capability: tosca.capabilities.Attachment
47         node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
48         relationship: org.openecomp.relationships.AttachesTo