[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-core / src / test / resources / mock / toscaGlobalServiceTemplates / ContrailPortGlobalTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: ContrailPortGlobalTypes
4   template_version: 1.0.0
5 description: Contrail Port TOSCA Global Types
6 imports:
7 - common_definitions:
8     file: CommonGlobalTypesServiceTemplate.yaml
9 - PortGlobalTypes:
10     file: PortGlobalTypesServiceTemplate.yaml
11 node_types:
12   org.openecomp.resource.cp.nodes.heat.network.contrail.Port:
13     derived_from: org.openecomp.resource.cp.nodes.network.Port
14     properties:
15       static_routes:
16         type: list
17         description: An ordered list of static routes to be added to this interface
18         required: false
19         status: SUPPORTED
20         entry_schema:
21           type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
22       virtual_network:
23         type: string
24         description: Virtual Network for this interface
25         required: true
26         status: SUPPORTED
27       static_route:
28         type: boolean
29         description: Static route enabled
30         required: false
31         default: false
32         status: SUPPORTED
33       allowed_address_pairs:
34         type: list
35         description: List of allowed address pair for this interface
36         required: false
37         status: SUPPORTED
38         entry_schema:
39           type: org.openecomp.datatypes.heat.network.contrail.AddressPair
40       shared_ip:
41         type: boolean
42         description: Shared ip enabled
43         required: false
44         default: false
45         status: SUPPORTED
46       ip_address:
47         type: string
48         description: IP for this interface
49         required: false
50         status: SUPPORTED
51       interface_type:
52         type: string
53         description: Interface type
54         required: true
55         status: SUPPORTED
56         constraints:
57         - valid_values:
58           - management
59           - left
60           - right
61           - other
62     attributes:
63       fq_name:
64         type: string
65         description: fq_name
66         status: SUPPORTED