aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Neutronport-template-1.yml
blob: 2abfc1b59e524eede6b41afcd45648aa3ab67eb3 (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
88
89
90
91
92
93
94
95
96
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
  invariantUUID: e929eb25-c82d-4dac-9a9c-0193ccc131c8
  UUID: b88ab067-a684-4c44-bdd1-80fb859cbcdd
  name: NeutronPort
  description: Represents a logical entity that associates between Compute and Network normative types.
  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.neutron.Port:
    derived_from: org.openecomp.resource.cp.nodes.network.Port
    description: Represents a logical entity that associates between Compute and Network normative types.
    properties:
      port_security_enabled:
        type: boolean
        description: Flag to enable/disable port security on the network
      device_id:
        type: string
        description: Device ID of this port
      qos_policy:
        type: string
        description: The name or ID of QoS policy to attach to this network
      allowed_address_pairs:
        type: list
        description: Additional MAC/IP address pairs allowed to pass through the port
        entry_schema:
          type: org.openecomp.datatypes.heat.network.AddressPair
      binding:vnic_type:
        type: string
        description: The vnic type to be bound on the neutron port
      value_specs:
        type: map
        default: {
          }
        description: Extra parameters to include in the request
        entry_schema:
          type: string
      device_owner:
        type: string
        description: Name of the network owning the port
      network:
        type: string
        description: Network this port belongs to
      replacement_policy:
        type: string
        default: AUTO
        description: Policy on how to respond to a stack-update for this resource
      security_groups:
        type: list
        description: List of security group names or IDs
        entry_schema:
          type: string
      fixed_ips:
        type: list
        description: Desired IPs for this port
        entry_schema:
          type: org.openecomp.datatypes.heat.neutron.port.FixedIps
      mac_address:
        type: string
        description: MAC address to give to this port
      admin_state_up:
        type: boolean
        default: true
        description: A boolean value specifying the administrative status of the network
      name:
        type: string
        description: A symbolic name for this port
    capabilities:
      attachment:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED
      binding:
        type: tosca.capabilities.network.Bindable
        occurrences:
        - 0
        - UNBOUNDED
        valid_source_types:
        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface