summaryrefslogtreecommitdiffstats
path: root/ui-ci-dev/src/main/resources/Files/VFCWithAttributes.yml
blob: 133fd02cefe6b0533bade68daa5ec61bec77b382 (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
tosca_definitions_version: tosca_simple_yaml_1_0_0

node_types:
  org.openecomp.resource.vfc.VFC:
    derived_from: tosca.nodes.Root
    properties: 
      jcp-memory:
        type: integer
        description: GB
      jcp-disk:
        type: integer
        description: GB
      jcp-version:
        type: version
    attributes:
      my_attr:
        type: integer
      private_address:
        type: string
      public_address:
        type: string
      networks:
        type: map
        entry_schema:
          type: tosca.datatypes.network.NetworkInfo
      ports:
        type: map
        entry_schema:
          type: tosca.datatypes.network.PortInfo
    capabilities: 
      vnf_hosting: 
        type: tosca.capabilities.Container
        description: Provides hosting capability for VNFs   
      WAN_connectivity:
        type: tosca.capabilities.network.Bindable
        valid_source_types: [org.openecomp.cp.Wan]
        description: external WAN1 n/w interface
        occurrences: [1,2]
      LAN_connectivity:
        type: tosca.capabilities.network.Bindable
        valid_source_types: [org.openecomp.cp.Lan]
        description: external LAN n/w interface
        occurrences: [1,8]