Rename packages from openecomp to onap.
[sdc.git] / common / onap-tosca-datatype / src / main / resources / globalTypes / tosca / interfaces.yml
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14
15 tosca_definitions_version: tosca_simple_yaml_1_1
16
17 metadata:
18   filename: tosca/interfaces.yml
19   version: '1.0'
20
21 imports:
22 - tosca_index:
23     file: _index.yml
24
25 interface_types:
26   tosca.interfaces.Root:
27     description: This is the default (root) TOSCA Interface Type definition that all other TOSCA Interface Types derive from.
28
29   tosca.interfaces.node.lifecycle.Standard:
30     derived_from: tosca.interfaces.Root
31     description: This lifecycle interface defines the essential, normative operations that TOSCA nodes may support.
32     stop:
33       description: Standard lifecycle stop operation.
34     start:
35       description: Standard lifecycle start operation.
36     create:
37       description: Standard lifecycle create operation.
38     configure:
39       description: Standard lifecycle configure operation.
40     delete:
41       description: Standard lifecycle delete operation.
42    
43   tosca.interfaces.relationship.Configure:
44     derived_from: tosca.interfaces.Root
45     description: The lifecycle interfaces define the essential, normative operations that each TOSCA Relationship Types may support.
46     pre_configure_source:
47       description: Operation to pre-configure the source endpoint.
48     pre_configure_target:
49       description: Operation to pre-configure the target endpoint.
50     post_configure_source:
51       description: Operation to post-configure the source endpoint.
52     post_configure_target:
53       description: Operation to post-configure the target endpoint.
54     add_target:
55       description: Operation to notify the source node of a target node being added via a relationship.
56     add_source:
57       description: Operation to notify the target node of a source node which is now available via a relationship.
58     target_changed:
59       description: Operation to notify source some property or attribute of the target changed
60     remove_target:
61       description: Operation to remove a target node.