Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# A.11-MyExampleNs_Type.yaml
tosca_definitions_version: tosca_simple_yaml_1_3
description: type definition of tosca.MyExampleNS
imports:
- etsi_nfv_sol001_nsd_types.yaml # all of TOSCA NSD types as defined in ETSI GS NFVSOL 001
data_types:
MyCompany.datatypes.nfv.NsInstantiateNsAdditionalParameters:
derived_from: tosca.datatypes.nfv.NsOperationAdditionalParameters
properties:
parameter_1:
type: string
required: true
default: value_1
parameter_2:
type: string
required: true
default: value_2
node_types:
tosca.MyExampleNS:
derived_from: tosca.nodes.nfv.NS
properties:
descriptor_id:
type: string
constraints: [ valid_values: [ b1bb0ce7-ebca-4fa7-95ed-4840d70a1177 ] ]
default: b1bb0ce7-ebca-4fa7-95ed-4840d70a1177
designer:
type: string
constraints: [ valid_values: [ MyCompany] ]
default: MyCompany
name:
type: string
constraints: [ valid_values: [ ExampleService ] ]
default: ExampleService
version:
type: string
constraints: [ valid_values: [ '1.0' ] ]
default: '1.0'
invariant_id:
type: string
constraints: [ valid_values: [ 1111-2222-aaaa-bbbb ] ]
default: 1111-2222-aaaa-bbbb
flavour_id:
type: string
constraints: [ valid_values: [ small, big ] ]
default: small
requirements:
- virtual_link:
capability: tosca.capabilities.nfv.VirtualLinkable
relationship: tosca.relationships.nfv.VirtualLinksTo
interfaces:
Nslcm:
type: tosca.interfaces.nfv.Nslcm
operations:
instantiate:
inputs:
additional_parameters:
type: MyCompany.datatypes.nfv.NsInstantiateNsAdditionalParameters
required: false