1 # Licensed under the Apache License, Version 2.0 (the "License"); you may
2 # not use this file except in compliance with the License. You may obtain
3 # a copy of the License at
5 # http://www.apache.org/licenses/LICENSE-2.0
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 # License for the specific language governing permissions and limitations
13 ##########################################################################
14 # The content of this file reflects TOSCA NFV Profile in YAML version
15 # 1.0.0. It describes the definition for TOSCA NFV types including Node Type,
16 # Relationship Type, CapabilityAssignment Type and Interfaces.
17 ##########################################################################
18 tosca_definitions_version: tosca_simple_yaml_1_0_0
20 ##########################################################################
22 # A Node Type is a reusable entity that defines the type of one or more
24 ##########################################################################
27 derived_from: tosca.nodes.Root # Or should this be its own top - level type?
31 description: ID of this VNF
34 description: name of the vendor who generate this VNF
37 description: version of the software for this VNF
40 capability: tosca.capabilities.nfv.VirtualLinkable
41 relationship: tosca.relationships.nfv.VirtualLinksTo
42 node: tosca.nodes.nfv.VL
45 derived_from: tosca.nodes.Compute
48 type: tosca.capabilities.nfv.HA
50 type: tosca.capabilities.nfv.VirtualBindable
52 type: tosca.capabilities.nfv.Metric
55 capability: tosca.capabilities.nfv.HA
56 relationship: tosca.relationships.nfv.HA
57 node: tosca.nodes.nfv.VDU
61 derived_from: tosca.nodes.network.Port
68 capability: tosca.capabilities.nfv.VirtualLinkable
69 relationship: tosca.relationships.nfv.VirtualLinksTo
70 node: tosca.nodes.nfv.VL
72 capability: tosca.capabilities.nfv.VirtualBindable
73 relationship: tosca.relationships.nfv.VirtualBindsTo
74 node: tosca.nodes.nfv.VDU
80 derived_from: tosca.nodes.network.Network
85 description: name of the vendor who generate this VL
88 type: tosca.capabilities.nfv.VirtualLinkable
90 tosca.nodes.nfv.VL.ELine:
91 derived_from: tosca.nodes.nfv.VL
96 tosca.nodes.nfv.VL.ELAN:
97 derived_from: tosca.nodes.nfv.VL
99 tosca.nodes.nfv.VL.ETree:
100 derived_from: tosca.nodes.nfv.VL
103 derived_from: tosca.nodes.Root
108 description: name of the vendor who generate this VL
111 capability: tosca.capabilities.nfv.Forwarder
112 relationship: tosca.relationships.nfv.ForwardsTo
114 ##########################################################################
116 # A Relationship Type is a reusable entity that defines the type of one
117 # or more relationships between Node Types or Node Templates.
118 ##########################################################################
121 tosca.relationships.nfv.VirtualLinksTo:
122 derived_from: tosca.relationships.network.LinksTo
123 valid_target_types: [ tosca.capabilities.nfv.VirtualLinkable ]
125 tosca.relationships.nfv.VirtualBindsTo:
126 derived_from: tosca.relationships.network.BindsTo
127 valid_target_types: [ tosca.capabilities.nfv.VirtualBindable ]
129 tosca.relationships.nfv.HA:
130 derived_from: tosca.relationships.Root
131 valid_target_types: [ tosca.capabilities.nfv.HA ]
133 tosca.relationships.nfv.Monitor:
134 derived_from: tosca.relationships.ConnectsTo
135 valid_target_types: [ tosca.capabilities.nfv.Metric ]
137 tosca.relationships.nfv.ForwardsTo:
138 derived_from: tosca.relationships.root
139 valid_target_types: [ tosca.capabilities.nfv.Forwarder]
141 ##########################################################################
142 # CapabilityAssignment Type.
143 # A CapabilityAssignment Type is a reusable entity that describes a kind of
144 # capability that a Node Type can declare to expose.
145 ##########################################################################
148 tosca.capabilities.nfv.VirtualLinkable:
149 derived_from: tosca.capabilities.network.Linkable
151 tosca.capabilities.nfv.VirtualBindable:
152 derived_from: tosca.capabilities.network.Bindable
154 tosca.capabilities.nfv.HA:
155 derived_from: tosca.capabilities.Root
156 valid_source_types: [ tosca.nodes.nfv.VDU ]
158 tosca.capabilities.nfv.HA.ActiveActive:
159 derived_from: tosca.capabilities.nfv.HA
161 tosca.capabilities.nfv.HA.ActivePassive:
162 derived_from: tosca.capabilities.nfv.HA
164 tosca.capabilities.nfv.Metric:
165 derived_from: tosca.capabilities.Root
167 tosca.capabilities.nfv.Forwarder:
168 derived_from: tosca.capabilities.Root
170 ##########################################################################
172 # The Interfaces element describes a list of one or more interface
173 # definitions for a modelable entity (e.g., a Node or Relationship Type)
174 # as defined within the TOSCA Simple Profile specification.
175 ##########################################################################
177 ##########################################################################
179 # A Datatype is a complex data type declaration which contains other
180 # complex or simple data types.
181 ##########################################################################
183 ##########################################################################
185 # An Artifact Type is a reusable entity that defines the type of one or more
186 # files which Node Types or Node Templates can have dependent relationships
187 # and used during operations such as during installation or deployment.
188 ##########################################################################
190 ##########################################################################
192 # TOSCA Policy Types represent logical grouping of TOSCA nodes that have
193 # an implied relationship and need to be orchestrated or managed together
194 # to achieve some result.
195 ##########################################################################
197 ##########################################################################
200 ##########################################################################
202 tosca.groups.nfv.VNFFG:
203 derived_from: tosca.groups.Root
209 description: name of the vendor who generate this VNFFG
214 description: version of this VNFFG
219 description: count of the external endpoints included in this VNFFG
221 dependent_virtual_link:
226 description: Reference to a VLD used in this Forwarding Graph
233 description: Reference to Connection Points forming the VNFFG
240 description: Reference to a list of VNFD used in this VNF Forwarding Graph