aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/components/normativeTypes/network/normative-types-network.yml
blob: bb860f82be5329131d63263acf8a64958559d5bf (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
tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03

template_name: tosca-normative-types-network
template_author: TOSCA TC
template_version: 1.0.0.wd03-SNAPSHOT

description: Contains the normative types definition.
imports:
  - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT"

node_types:
  tosca.nodes.Network:
    derived_from: tosca.nodes.Root
    description: >
      The TOSCA Network node represents a simple, logical network service.
    properties:
      ip_version:
        type: integer
        required: false
        default: 4
        constraints:
          - valid_values: [ 4, 6 ]
      cidr:
        type: string
        required: false
      gateway_ip:
        type: string
        required: false
      network_name:
        type: string
        required: false
      network_id:
        type: string
        required: false
    capabilities:
      connection:
        type: tosca.capabilities.Connectivity
    tags:
      icon: /images/network.png