aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/main/resources/clds/tosca-converter/default-tosca-types.yaml
blob: a11a73698ce34bcc4aaa589ecd0e0769a6dd68cf (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
tosca_definitions_version: tosca_simple_yaml_1_1_0
data_types:
  tosca.datatypes.Root:
    description: The TOSCA root Data Type all other TOSCA base Data Types derive from
  tosca.datatypes.Credential:
    derived_from: tosca.datatypes.Root
    properties:
      protocol:
        type: string
        required: false
      token_type:
        type: string
        default: password
      token:
        type: string
      keys:
        type: map
        required: false
        entry_schema:
          type: string
      user:
        type: string
        required: false
  tosca.datatypes.TimeInterval:
    derived_from: tosca.datatypes.Root
    properties:
      start_time:
        type: timestamp
        required: true
      end_time:
        type: timestamp
        required: true
  tosca.datatypes.network.NetworkInfo:
    derived_from: tosca.datatypes.Root
    properties:
      network_name:
        type: string
      network_id:
        type: string
      addresses:
        type: list
        entry_schema:
          type: string
  tosca.datatypes.network.PortInfo:
    derived_from: tosca.datatypes.Root
    properties:
      port_name:
        type: string
      port_id:
        type: string
      network_id:
        type: string
      mac_address:
        type: string
      addresses:
        type: list
      entry_schema:
        type: string
  # tosca.datatypes.network.PortDef:
  #     derived_from: integer
  #     constraints:
  #     - in_range: [ 1, 65535 ]
  # tosca.datatypes.network.PortSpec:
  #     derived_from: tosca.datatypes.Root
  #     properties:
  #         protocol:
  #             type: string
  #             required: true
  #             default: tcp
  #             constraints:
  #             - valid_values: [ udp, tcp, igmp ]
  #         target:
  #             type: PortDef
  #             required: false
  #         target_range:
  #             type: range
  #             required: false
  #             constraints:
  #             - in_range: [ 1, 65535 ]
  #         source:
  #             type: PortDef
  #             required: false
  #         source_range:
  #             type: range
  #             required: false
  #             constraints:
  #             - in_range: [ 1, 65535 ]