blob: 010a5ccc8d846375a1887743d433db644f9773ef [file] [log] [blame]
rdudyala996d70b2016-10-13 17:40:55 +00001tosca_definitions_version: tosca_simple_yaml_1_0
2
3# compile this with "m4 monitoring_custom_tosca_types.m4 > monitoring_custom_tosca_types.yaml"
4
5# include macros
6# Note: Tosca derived_from isn't working the way I think it should, it's not
7# inheriting from the parent template. Until we get that figured out, use
8# m4 macros do our inheritance
9
10
11# Service
12
13
14# Subscriber
15
16
17
18
19# end m4 macros
20
21
22
23node_types:
24 tosca.nodes.SFlowService:
25 derived_from: tosca.nodes.Root
26 description: >
27 XOS SFlow Collection Service
28 capabilities:
29 scalable:
30 type: tosca.capabilities.Scalable
31 service:
32 type: tosca.capabilities.xos.Service
33 properties:
34 no-delete:
35 type: boolean
36 default: false
37 description: Do not allow Tosca to delete this object
38 no-create:
39 type: boolean
40 default: false
41 description: Do not allow Tosca to create this object
42 no-update:
43 type: boolean
44 default: false
45 description: Do not allow Tosca to update this object
46 kind:
47 type: string
48 default: generic
49 description: Type of service.
50 view_url:
51 type: string
52 required: false
53 description: URL to follow when icon is clicked in the Service Directory.
54 icon_url:
55 type: string
56 required: false
57 description: ICON to display in the Service Directory.
58 enabled:
59 type: boolean
60 default: true
61 published:
62 type: boolean
63 default: true
64 description: If True then display this Service in the Service Directory.
65 public_key:
66 type: string
67 required: false
68 description: Public key to install into Instances to allows Services to SSH into them.
69 private_key_fn:
70 type: string
71 required: false
72 description: Location of private key file
73 versionNumber:
74 type: string
75 required: false
76 description: Version number of Service.
77 sflow_port:
78 type: integer
79 required: false
80 default: 6343
81 description: sFlow listening port
82 sflow_api_port:
83 type: integer
84 required: false
85 default: 33333
86 description: sFlow publish subscribe api listening port
87
88 tosca.nodes.CeilometerService:
89 derived_from: tosca.nodes.Root
90 description: >
91 XOS Ceilometer Service
92 capabilities:
93 scalable:
94 type: tosca.capabilities.Scalable
95 service:
96 type: tosca.capabilities.xos.Service
97 properties:
98 no-delete:
99 type: boolean
100 default: false
101 description: Do not allow Tosca to delete this object
102 no-create:
103 type: boolean
104 default: false
105 description: Do not allow Tosca to create this object
106 no-update:
107 type: boolean
108 default: false
109 description: Do not allow Tosca to update this object
110 kind:
111 type: string
112 default: generic
113 description: Type of service.
114 view_url:
115 type: string
116 required: false
117 description: URL to follow when icon is clicked in the Service Directory.
118 icon_url:
119 type: string
120 required: false
121 description: ICON to display in the Service Directory.
122 enabled:
123 type: boolean
124 default: true
125 published:
126 type: boolean
127 default: true
128 description: If True then display this Service in the Service Directory.
129 public_key:
130 type: string
131 required: false
132 description: Public key to install into Instances to allows Services to SSH into them.
133 private_key_fn:
134 type: string
135 required: false
136 description: Location of private key file
137 versionNumber:
138 type: string
139 required: false
140 description: Version number of Service.
141 ceilometer_pub_sub_url:
142 type: string
143 required: false
Srikanth Vavilapalli71aa28d2017-01-31 00:43:13 +0000144 description: Deprecated....REST URL of ceilometer PUB/SUB component
145 ceilometer_enable_pub_sub:
146 type: boolean
147 default: false
148 required: false
149 description: If True then ceilometer PUB/SUB feature will be enabled.
rdudyala996d70b2016-10-13 17:40:55 +0000150
151 tosca.nodes.CeilometerTenant:
152 derived_from: tosca.nodes.Root
153 description: >
154 CORD: A Tenant of the Ceilometer Service.
155 properties:
156 kind:
157 type: string
158 default: generic
159 description: Kind of tenant
160
161 tosca.nodes.InfraMonitoringAgentInfo:
162 derived_from: tosca.nodes.Root
163 description: >
164 Infra Monitoring agent info
165 capabilities:
166 inframonitoringagentinfo:
167 type: tosca.capabilities.xos.InfraMonitoringAgentInfo
168 properties:
169 start_url:
170 type: string
171 required: true
172 description: REST URL to be invoked to start monitoring agent
173 start_url_json_data:
174 type: string
175 required: false
176 description: Meta data to be sent along with start API
177 stop_url:
178 type: string
179 required: true
180 description: REST URL to be invoked to stop monitoring agent
181
182 tosca.relationships.ProvidesInfraMonitoringAgentInfo:
183 derived_from: tosca.relationships.Root
184 valid_target_types: [ tosca.capabilities.xos.InfraMonitoringAgentInfo ]
185
186 tosca.capabilities.xos.InfraMonitoringAgentInfo:
187 derived_from: tosca.capabilities.Root
188 description: An XOS Infra MonitoringAgentInfo
189
190 tosca.nodes.MonitoringCollectorPluginInfo:
191 derived_from: tosca.nodes.Root
192 description: >
193 Monitoring collector plugin info
194 capabilities:
195 monitoringcollectorplugininfo:
196 type: tosca.capabilities.xos.MonitoringCollectorPluginInfo
197 properties:
198 plugin_folder_path:
199 type: string
200 required: true
201 description: Folder path pointing to plugin files.
202 plugin_rabbit_exchange:
203 type: string
204 required: true
205 description: RabbitMQ exchange used by Monitoring collector notification plugin
206
207 tosca.relationships.ProvidesMonitoringCollectorPluginInfo:
208 derived_from: tosca.relationships.Root
209 valid_target_types: [ tosca.capabilities.xos.MonitoringCollectorPluginInfo ]
210
211 tosca.capabilities.xos.MonitoringCollectorPluginInfo:
212 derived_from: tosca.capabilities.Root
213 description: An XOS MonitoringCollectorPluginInfo
214
215 tosca.nodes.OpenStackMonitoringPublisher:
216 derived_from: tosca.nodes.Root
217 description: >
218 A OpenStack Publish Tenant of the Monitoring service
219 properties:
220 kind:
221 type: string
222 default: generic
223 description: Kind of tenant
224
225 tosca.nodes.ONOSMonitoringPublisher:
226 derived_from: tosca.nodes.Root
227 description: >
228 A ONOS Publish Tenant of the Monitoring service
229 properties:
230 kind:
231 type: string
232 default: generic
233 description: Kind of tenant
234
235 tosca.relationships.PublishesMonitoringData:
236 derived_from: tosca.relationships.Root
237 valid_target_types: [ tosca.capabilities.xos.Service ]
238
239 tosca.nodes.UserServiceMonitoringPublisher:
240 derived_from: tosca.nodes.Root
241 description: >
242 A Publish Tenant of the Monitoring service user defined services
243 properties:
244 kind:
245 type: string
246 default: generic
247 description: Kind of tenant
248