summaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Contrailport-template-1.yml
blob: 48204e916caea544180759c463ed5fdd09611d01 (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
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
  invariantUUID: 3f85c405-6a4f-48ea-bf6c-bfd4421ddf00
  UUID: 1ba2f413-5111-4bb1-ae56-46d96c600612
  name: ContrailPort
  description: Represents a logical entity that associates between Compute and Network normative types for contrail.
  type: CP
  category: Generic
  subcategory: Network Elements
  resourceVendor: ATT (Tosca)
  resourceVendorRelease: 1.0.0.wd03
  resourceVendorModelNumber: ''
imports:
- nodes:
    file: nodes.yml
- datatypes:
    file: data.yml
- capabilities:
    file: capabilities.yml
- relationships:
    file: relationships.yml
- groups:
    file: groups.yml
- policies:
    file: policies.yml
node_types:
  org.openecomp.resource.cp.nodes.heat.network.contrail.Port:
    derived_from: org.openecomp.resource.cp.nodes.network.Port
    description: Represents a logical entity that associates between Compute and Network normative types for contrail.
    properties:
      static_routes:
        type: list
        description: An ordered list of static routes to be added to this interface
        entry_schema:
          type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
      virtual_network:
        type: string
        description: Virtual Network for this interface
      static_route:
        type: boolean
        default: false
        description: Static route enabled
      allowed_address_pairs:
        type: list
        description: List of allowed address pair for this interface
        entry_schema:
          type: org.openecomp.datatypes.heat.network.contrail.AddressPair
      shared_ip:
        type: boolean
        default: false
        description: Shared ip enabled
      interface_type:
        type: string
        description: Interface type