aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Contrailport-template.yml
blob: c9e005ef141a954cbcfa36195783544b2dc20851 (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
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
  invariantUUID: ae87766c-00ff-4973-bcbd-8385fafcd7c9
  UUID: c8e68dc7-3e0c-44ec-ad06-b7df45e67d2c
  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
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