Adding ETSI NS types
[sdc.git] / catalog-be / src / main / resources / import / tosca / nfv-types / NS / NS.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3   tosca.nodes.nfv.NS:
4     derived_from: tosca.nodes.Root
5     properties: 
6       descriptor_id: 
7         type: string # UUID
8         description: Identifier of this NS descriptor
9         required: true
10       designer:
11         type: string
12         description: Identifies the designer of the NSD.
13         required: true
14       version:
15         type: string
16         description: Identifies the version of the NSD.
17         required: true
18       name:
19         type: string
20         description: Provides the human readable name of the NSD.
21         required: true
22       invariant_id: # UUID
23         type: string
24         description: Identifies an NSD in a version independent manner. This attribute is invariant across versions of NSD
25         required: true
26       flavour_id:
27         type: string
28         description: Identifier of the NS Deployment Flavour within the NSD
29         required: true
30       ns_profile:
31         type: tosca.datatypes.nfv.NsProfile
32         description: Specifies a profile of a NS, when this NS is used as nested NS within another NS.
33         required: false
34     requirements:
35       - virtual_link:
36           capability: tosca.capabilities.nfv.VirtualLinkable
37           relationship: tosca.relationships.nfv.VirtualLinksTo
38           node: tosca.nodes.nfv.NsVirtualLink
39           occurrences: [ 0, 1 ]
40     interfaces:
41       Nslcm:
42         type: tosca.interfaces.nfv.Nslcm