5bdee932a3decb4e5755ae6a1e3222e557fcc8f2
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: ContrailAbstractSubstituteGlobalTypes
4   template_version: 1.0.0
5 description: Contrail Abstract Substitute Global Types
6 imports:
7   common_definitions:
8     file: CommonGlobalTypesServiceTemplate.yaml
9 node_types:
10   org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute:
11     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
12     properties:
13       availability_zone:
14         type: string
15         description: Availability zone to create servers in
16         required: false
17         status: SUPPORTED
18       static_routes_list:
19         type: list
20         description: Static routes enabled
21         required: false
22         status: SUPPORTED
23         entry_schema:
24           type: boolean
25       availability_zone_enable:
26         type: boolean
27         description: Indicates availability zone is enabled
28         required: false
29         default: false
30         status: SUPPORTED
31       service_template_name:
32         type: string
33         description: Service template name
34         required: false
35         status: SUPPORTED
36       ordered_interfaces:
37         type: boolean
38         description: Indicates if service interface are ordered
39         required: false
40         default: false
41         status: SUPPORTED
42       flavor:
43         type: string
44         description: flavor
45         required: false
46         status: SUPPORTED
47       image_name:
48         type: string
49         description: Image name
50         required: true
51         status: SUPPORTED
52       service_type:
53         type: string
54         description: Service type
55         required: true
56         status: SUPPORTED
57         constraints:
58         - valid_values:
59           - firewall
60           - analyzer
61           - source-nat
62           - loadbalancer
63       service_interface_type_list:
64         type: list
65         description: List of interface types
66         required: true
67         status: SUPPORTED
68         entry_schema:
69           type: string
70           constraints:
71           - valid_values:
72             - management
73             - left
74             - right
75             - other
76       service_instance_name:
77         type: string
78         description: Service instance name
79         required: true
80         status: SUPPORTED
81       interface_list:
82         type: list
83         description: List of interfaces
84         required: false
85         status: SUPPORTED
86         entry_schema:
87           type: org.openecomp.datatypes.heat.network.contrail.InterfaceData
88       service_mode:
89         type: string
90         description: Service mode
91         required: true
92         status: SUPPORTED
93         constraints:
94         - valid_values:
95           - transparent
96           - in-network
97           - in-network-nat
98       shared_ip_list:
99         type: list
100         description: Shared ips enabled
101         required: false
102         status: SUPPORTED
103         entry_schema:
104           type: boolean
105     attributes:
106       tenant_id:
107         type: string
108         description: Tenant id of the Service Instance
109         status: SUPPORTED
110       fq_name:
111         type: string
112         description: The FQ name of the service instance
113         status: SUPPORTED
114       service_template_name:
115         type: string
116         description: Service Template of the Service Instance
117         status: SUPPORTED
118       show:
119         type: string
120         description: All attributes
121         status: SUPPORTED
122       active_vms:
123         type: string
124         description: Number of service VMs active for this Service Instance
125         status: SUPPORTED
126       service_instance_name:
127         type: string
128         description: The name of the service instance
129         status: SUPPORTED
130       virtual_machines:
131         type: string
132         description: Service VMs for the Service Instance
133         status: SUPPORTED
134       status:
135         type: string
136         description: Status of the service instance
137         status: SUPPORTED