[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / src / test / resources / CI / tests / importToscaResourceByCreateUrl / CPWithAttributes.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2
3 node_types:
4   org.openecomp.resource.cp.CP:\r    derived_from: tosca.nodes.Root
5     properties:
6       type:
7         type: string
8         required: false
9       ip_address:
10         type: string
11         required: false
12         description: Allow the user to set a static IP.
13       order:
14         type: integer
15         required: false
16         default: 0
17         description: The order of the NIC on the compute instance (e.g. eth2).
18       is_default:
19         type: boolean
20         required: false
21         default: false
22         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.”
23       ip_range_start:
24         type: string
25         required: false
26         description: “Defines the starting IP of a range to be allocated for the VFC instances that are associated with this Port.”
27       ip_range_end:
28         type: string
29         required: false
30         description: “Defines the ending IP of a range to be allocated for the compute instances that are associated with this Port.”
31       is_tagged:
32         type: boolean
33         required: false
34         default: false
35         description: 
36     attributes:
37       private_address:
38         type: string
39         default: "Hello"
40         value: "HelloWord"
41       public_address:
42         default: "DefaultValuePublicAddress"
43         type: string
44       networks:
45         type: map
46         entry_schema:
47           type: tosca.datatypes.network.NetworkInfo
48       ports:
49         type: map
50         entry_schema:
51           type: tosca.datatypes.network.PortInfo
52     requirements:
53       - virtualLink:
54           capability: tosca.capabilities.network.Linkable\r          relationship: tosca.relationships.network.LinksTo
55       - virtualbinding:
56           capability: tosca.capabilities.network.Bindable\r          relationship: tosca.relationships.network.BindsTo