blob: 807f7fe6301f9be6fd934da34182300ec0466eea (
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
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
org.openecomp.resource.cp.CP:
derived_from: tosca.nodes.Root
properties:
type:
type: string
required: false
ip_address:
type: string
required: false
description: Allow the user to set a static IP.
order:
type: integer
required: false
default: 0
description: The order of the NIC on the compute instance (e.g. eth2).
is_default:
type: boolean
required: false
default: false
description: “If is_default=true this port will be used for the default gateway route. Only one port that is associated to single compute node can set as is_default=true.”
ip_range_start:
type: string
required: false
description: “Defines the starting IP of a range to be allocated for the VFC instances that are associated with this Port.”
ip_range_end:
type: string
required: false
description: “Defines the ending IP of a range to be allocated for the compute instances that are associated with this Port.”
is_tagged:
type: boolean
required: false
default: false
description:
attributes:
private_address:
type: string
default: "Hello"
value: "HelloWord"
public_address:
default: "DefaultValuePublicAddress"
type: string
networks:
type: map
entry_schema:
type: tosca.datatypes.network.NetworkInfo
ports:
type: map
entry_schema:
type: tosca.datatypes.network.PortInfo
requirements:
- virtualLink:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
- virtualbinding:
capability: tosca.capabilities.network.Bindable
relationship: tosca.relationships.network.BindsTo
|