e282bf5baf36d85759f31566835eaf31bc9ed810
[policy/clamp.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 name: ToscaServiceTemplateSimple
3 version: 1.0.0
4 metadata: {}
5 policy_types:
6   onap.policies.Monitoring:
7     derived_from: tosca.policies.Root
8     description: a base policy type for all policies that govern monitoring provisioning
9     version: 1.0.0
10     name: onap.policies.Monitoring
11     onap.policies.monitoring.dcae-pm-subscription-handler:
12       name: onap.policies.monitoring.dcae-pm-subscription-handler
13       version: 1.0.0
14       derived_from: onap.policies.Monitoring
15       metadata: {}
16       properties:
17         pmsh_policy:
18           name: pmsh_policy
19           type: onap.datatypes.monitoring.subscription
20           typeVersion: 0.0.0
21           description: PMSH Policy JSON
22           required: false
23           constraints: []
24           metadata: {}
25 data_types:
26   onap.datatypes.monitoring.managedObjectDNsBasic:
27     name: onap.datatypes.monitoring.managedObjectDNsBasic
28     version: 0.0.0
29     derived_from: tosca.datatypes.Root
30     metadata: {}
31     constraints: []
32     properties:
33       DN:
34         name: DN
35         type: string
36         typeVersion: 0.0.0
37         description: Managed object distinguished name
38         required: true
39         constraints: []
40         metadata: {}
41   onap.datatypes.monitoring.managedObjectDNsBasics:
42     name: onap.datatypes.monitoring.managedObjectDNsBasics
43     version: 0.0.0
44     derived_from: tosca.datatypes.Root
45     metadata: {}
46     constraints: []
47     properties:
48       managedObjectDNsBasic:
49         name: managedObjectDNsBasic
50         type: map
51         typeVersion: 0.0.0
52         description: Managed object distinguished name object
53         required: true
54         constraints: []
55         entry_schema:
56           type: onap.datatypes.monitoring.managedObjectDNsBasic
57           typeVersion: 0.0.0
58           constraints: []
59         metadata: {}
60   onap.datatypes.monitoring.measurementGroup:
61     name: onap.datatypes.monitoring.measurementGroup
62     version: 0.0.0
63     derived_from: tosca.datatypes.Root
64     metadata: {}
65     constraints: []
66     properties:
67       measurementTypes:
68         name: measurementTypes
69         type: list
70         typeVersion: 0.0.0
71         description: List of measurement types
72         required: true
73         constraints: []
74         entry_schema:
75           type: onap.datatypes.monitoring.measurementTypes
76           typeVersion: 0.0.0
77           constraints: []
78         metadata: {}
79       managedObjectDNsBasic:
80         name: managedObjectDNsBasic
81         type: list
82         typeVersion: 0.0.0
83         description: List of managed object distinguished names
84         required: true
85         constraints: []
86         entry_schema:
87           type: onap.datatypes.monitoring.managedObjectDNsBasics
88           typeVersion: 0.0.0
89           constraints: []
90         metadata: {}
91   onap.datatypes.monitoring.measurementGroups:
92     name: onap.datatypes.monitoring.measurementGroups
93     version: 0.0.0
94     derived_from: tosca.datatypes.Root
95     metadata: {}
96     constraints: []
97     properties:
98       measurementGroup:
99         name: measurementGroup
100         type: map
101         typeVersion: 0.0.0
102         description: Measurement Group
103         required: true
104         constraints: []
105         entry_schema:
106           type: onap.datatypes.monitoring.measurementGroup
107           typeVersion: 0.0.0
108           constraints: []
109         metadata: {}
110   onap.datatypes.monitoring.measurementType:
111     name: onap.datatypes.monitoring.measurementType
112     version: 0.0.0
113     derived_from: tosca.datatypes.Root
114     metadata: {}
115     constraints: []
116     properties:
117       measurementType:
118         name: measurementType
119         type: string
120         typeVersion: 0.0.0
121         description: Measurement type
122         required: true
123         constraints: []
124         metadata: {}
125   onap.datatypes.monitoring.measurementTypes:
126     name: onap.datatypes.monitoring.measurementTypes
127     version: 0.0.0
128     derived_from: tosca.datatypes.Root
129     metadata: {}
130     constraints: []
131     properties:
132       measurementType:
133         name: measurementType
134         type: map
135         typeVersion: 0.0.0
136         description: Measurement type object
137         required: true
138         constraints: []
139         entry_schema:
140           type: onap.datatypes.monitoring.measurementType
141           typeVersion: 0.0.0
142           constraints: []
143         metadata: {}
144   onap.datatypes.monitoring.nfFilter:
145     name: onap.datatypes.monitoring.nfFilter
146     version: 0.0.0
147     derived_from: tosca.datatypes.Root
148     metadata: {}
149     constraints: []
150     properties:
151       modelNames:
152         name: modelNames
153         type: list
154         typeVersion: 0.0.0
155         description: List of model names
156         required: true
157         constraints: []
158         entry_schema:
159           type: string
160           typeVersion: 0.0.0
161           constraints: []
162         metadata: {}
163       modelInvariantIDs:
164         name: modelInvariantIDs
165         type: list
166         typeVersion: 0.0.0
167         description: List of model invariant IDs
168         required: true
169         constraints: []
170         entry_schema:
171           type: string
172           typeVersion: 0.0.0
173           constraints: []
174         metadata: {}
175       modelVersionIDs:
176         name: modelVersionIDs
177         type: list
178         typeVersion: 0.0.0
179         description: List of model version IDs
180         required: true
181         constraints: []
182         entry_schema:
183           type: string
184           typeVersion: 0.0.0
185           constraints: []
186         metadata: {}
187       nfNames:
188         name: nfNames
189         type: list
190         typeVersion: 0.0.0
191         description: List of network functions
192         required: true
193         constraints: []
194         entry_schema:
195           type: string
196           typeVersion: 0.0.0
197           constraints: []
198         metadata: {}
199   onap.datatypes.monitoring.subscription:
200     name: onap.datatypes.monitoring.subscription
201     version: 0.0.0
202     derived_from: tosca.datatypes.Root
203     metadata: {}
204     constraints: []
205     properties:
206       measurementGroups:
207         name: measurementGroups
208         type: list
209         typeVersion: 0.0.0
210         description: Measurement Groups
211         required: true
212         constraints: []
213         entry_schema:
214           type: onap.datatypes.monitoring.measurementGroups
215           typeVersion: 0.0.0
216           constraints: []
217         metadata: {}
218       fileBasedGP:
219         name: fileBasedGP
220         type: integer
221         typeVersion: 0.0.0
222         description: File based granularity period
223         required: true
224         constraints: []
225         metadata: {}
226       fileLocation:
227         name: fileLocation
228         type: string
229         typeVersion: 0.0.0
230         description: ROP file location
231         required: true
232         constraints: []
233         metadata: {}
234       subscriptionName:
235         name: subscriptionName
236         type: string
237         typeVersion: 0.0.0
238         description: Name of the subscription
239         required: true
240         constraints: []
241         metadata: {}
242       administrativeState:
243         name: administrativeState
244         type: string
245         typeVersion: 0.0.0
246         description: State of the subscription
247         required: true
248         constraints:
249         - valid_values:
250           - LOCKED
251           - UNLOCKED
252         metadata: {}
253       nfFilter:
254         name: nfFilter
255         type: map
256         typeVersion: 0.0.0
257         description: Network function filter
258         required: true
259         constraints: []
260         entry_schema:
261           type: onap.datatypes.monitoring.nfFilter
262           typeVersion: 0.0.0
263           constraints: []
264         metadata: {}