forked from jdegre/5GC_APIs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TS28312_IntentNrm.yaml
475 lines (451 loc) · 18.8 KB
/
TS28312_IntentNrm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
openapi: 3.0.1
info:
title: Intent NRM
version: 18.2.0
description: >-
OAS 3.0.1 definition of the Intent NRM
© 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 28.312; Intent driven management services for mobile networks
url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.312/
paths: {}
components:
schemas:
#-------Definition of generic IOCs ----------#
SubNetwork-Single:
allOf:
- $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
- type: object
properties:
attributes:
$ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-Attr'
- $ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-ncO'
- type: object
properties:
SubNetwork:
$ref: '#/components/schemas/SubNetwork-Multiple'
IntentHandlingFunction:
$ref: '#/components/schemas/IntentHandlingFunction-Multiple'
Intent-Single:
description: >-
This IOC represents the properties of an Intent driven management information between MnS consumer and MnS producer.
allOf:
- $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
- type: object
properties:
userLabel:
type: string
intentExpectations:
type: array
items:
type: object
oneOf:
- $ref: "#/components/schemas/IntentExpectation"
- $ref: "TS28312_IntentExpectations.yaml#/components/schemas/RadioNetworkExpectation"
- $ref: "TS28312_IntentExpectations.yaml#/components/schemas/EdgeServiceSupportExpectation"
- $ref: "TS28312_IntentExpectations.yaml#/components/schemas/5GCNetworkExpectation"
- $ref: "TS28312_IntentExpectations.yaml#/components/schemas/RadioServiceExpectation"
contextSelectivity:
$ref: "#/components/schemas/Selectivity"
intentContexts:
type: array
items:
$ref: '#/components/schemas/Context'
description: >-
It describes the list of Context(s) which represents the constraints and conditions that should apply
for the entire intent even if there may be specific contexts defined for specific parts of the intent
intentAdminState:
type: string
enum:
- ACTIVATED
- DEACTIVATED
description: >-
It describes the intent administrative state.
This attribute is used when MnS consumer-suspension mechanism is supported
intentPriority:
type: integer
minimum: 1
maximum: 100
description: It expresses the priority of the stated intent within a MnS consumer.
intentPreemptionCapability:
type: string
enum:
- TRUE
- FALSE
observationPeriod:
type: integer
description: >-
It represents the observation period of the fulfilmentInfo for corresponding
ExpectationTargets, IntentExpectations and Intent.
intentReportReference:
$ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
IntentReport-Single:
description: It represents intent report information from MnS producer to MnS consumer.
allOf:
- $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
- type: object
properties:
intentFulfilmentReport:
$ref: '#/components/schemas/IntentFulfilmentReport'
intentConflictReports:
type: array
items:
$ref: '#/components/schemas/IntentConflictReport'
intentFeasibilityCheckReport:
$ref: '#/components/schemas/IntentFeasibilityCheckReport'
lastUpdatedTime:
$ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'
intentReference:
$ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
IntentHandlingFunction-Single:
description: >-
It represents the intent handling capabilities can be supported by a specific intent
handling function of MnS producer.
allOf:
- $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
- type: object
properties:
intentHandlingCapabilityList:
type: array
items:
$ref: '#/components/schemas/IntentHandlingCapability'
Intent:
$ref: '#/components/schemas/Intent-Multiple'
IntentReport:
$ref: '#/components/schemas/IntentReport-Multiple'
#-------Definition of generic IOCs ----------#
#-------Definition of the generic IntentExpectation dataType ----------#
IntentExpectation:
description: >-
This data type is the "IntentExpectation" data type without specialisations
It represents MnS consumer's requirements, goals and contexts given to a 3GPP system
type: object
properties:
expectationId:
type: string
description: A unique identifier of the intentExpectation within the intent.
expectationVerb:
$ref: "#/components/schemas/ExpectationVerb"
expectationObject:
$ref: "#/components/schemas/ExpectationObject"
expectationTargets:
type: array
items:
$ref: '#/components/schemas/ExpectationTarget'
contextSelectivity:
$ref: "#/components/schemas/Selectivity"
expectationContexts:
type: array
items:
$ref: '#/components/schemas/Context'
required:
- expectationId
#-------Definition of the generic IntentExpectation dataType ----------#
#-------Definition of the generic ExpectationObject dataType ----------#
ExpectationObject:
description: >-
It represents the Object to which the IntentExpectation should apply.
This data type is the "ExpectationObject" data type without specialisations
type: object
properties:
objectType:
type: string
enum:
- RAN_SubNetwork #value for Radio Network Expectation--#
- Edge_Service_Support #value for Edge Service Support Expectation--#
- 5GC_SubNetwork #value for 5GC Network Expectation--#
objectInstance:
$ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
contextSelectivity:
$ref: "#/components/schemas/Selectivity"
objectContexts:
type: array
items:
$ref: '#/components/schemas/Context'
description: >-
It describes the list of Context(s) which represents the constraints and conditions to be
used as filter information to identify the object(s) to which a given intentExpectation should apply.
#-------Definition of the generic ExpectationObject dataType ----------#
#-------Definition of the generic dataType --------------#
Condition:
type: string
enum:
- IS_EQUAL_TO
- IS_LESS_THAN
- IS_GREATER_THAN
- IS_WITHIN_RANGE
- IS_OUTSIDE_RANGE
- IS_ONE_OF
- IS_NOT_ONE_OF
- IS_EQUAL_TO_OR_LESS_THAN
- IS_EQUAL_TO_OR_GREATER_THAN
- IS_ALL_OF
Selectivity:
type: string
enum:
- ALL_OF
- ONE_OF
- ANY_OF
FulfilmentStatus:
type: string
readOnly: true
enum:
- FULFILLED
- NOT_FULFILLED
description: It describes the current status of the intent fulfilment result.
NotFulfilledState:
type: string
readOnly: true
enum:
- ACKNOWLEDGED
- COMPLIANT
- DEGRADED
- SUSPENDED
- TERMINATED
- FULFILMENTFAILED
description: It describes the current progress of or the reason for not achieving fulfilment
for the intent, intentExpectation or expectationTarget.
An attribute which is used when FulfilmentInfo is implemented for IntentFulfilmentInfo
FulfilmentInfo:
description: >-
This dataType represents the properties of a specific fulfilment information for an aspect of
the intent (i.e. either an expectation, a target or the whole intent).
type: object
properties:
fulfilmentStatus:
$ref: '#/components/schemas/FulfilmentStatus'
notFullfilledState:
$ref: "#/components/schemas/NotFulfilledState"
notFulfilledReasons:
type: array
items:
type: string
readOnly: true
description: An attribute which is used when FulfilmentInfo is implemented for IntentFulfilmentInfo
ExpectationVerb:
type: string
enum:
- DELIVER
- ENSURE
description: It describes the characteristic of the intentExpectation and is the property that describes the types of intentExpectations.
Frequency:
description: >-
It desribes the RF reference frequency (i.e. Absolute Radio Frequency Channel Number)
and/or the frequency operating band used for a given direction (UL or DL) in FDD or
for both UL and DL directions in TDD.
type: object
properties:
arfcn:
type: integer
description: >-
This attribute shall be supported, when the frequency information represent RF reference frequency.
The allowed values for NR see TS 38.104 subclause 5.4.2.1; The allowed values for EUTRAN see TS 36.104 [X] subclause 5.7.3;
freqband:
type: string
description: >-
This attribute shall be supported, when the frequency information represent frequency operating band.
The allowed values for NR see TS 38.104 subclause 5.4.2.3; The allowed value for EUTRAN see TS 36.104 subclause 5.7.3
ValueRangeType:
oneOf:
- type: number
- type: string
- type: boolean
- type: integer
- $ref: 'TS28623_ComDefs.yaml#/components/schemas/TimeWindow'
- $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'
- $ref: 'TS28623_ComDefs.yaml#/components/schemas/GeoArea'
- $ref: 'TS28623_ComDefs.yaml#/components/schemas/PlmnId'
- $ref: 'TS28623_ComDefs.yaml#/components/schemas/GeoCoordinate'
- $ref: '#/components/schemas/UEGroup'
- $ref: '#/components/schemas/Frequency'
UEGroup:
description: >-
It describes the UE Group, which is
represented by specific 5QI, specific S-NSSAI, or a specific combination
of S-NSSAI and 5QI
type: object
properties:
fiveQI:
type: integer
minimum: 0
maximum: 255
sNssai:
$ref: 'TS28541_NrNrm.yaml#/components/schemas/Snssai'
#-------Definition of the generic dataType --------------#
#-------Definition of the generic ExpectationTarget dataType----------#
ExpectationTarget:
description: >-
This data type represents the target of the IntentExpectation that are required to be achieved.
This data type is the "ExpectationTarget" data type without specialisations
type: object
properties:
targetName:
type: string
targetCondition:
$ref: '#/components/schemas/Condition'
targetValueRange:
oneOf:
- type: array
items:
$ref: "#/components/schemas/ValueRangeType"
- $ref: "#/components/schemas/ValueRangeType"
contextSelectivity:
$ref: "#/components/schemas/Selectivity"
targetContexts:
type: array
items:
$ref: '#/components/schemas/Context'
description: It describes the list of constraints and conditions that should apply for a specific expectationTarget.
#-------Definition of the generic ExpectationTarget dataType----------#
#-------Definition of the generic Context dataType----------------#
Context:
description: >-
This data type is the "Context" data type without specialisations
type: object
properties:
contextAttribute:
type: string
contextCondition:
$ref: '#/components/schemas/Condition'
contextValueRange:
oneOf:
- type: array
items:
$ref: "#/components/schemas/ValueRangeType"
- $ref: "#/components/schemas/ValueRangeType"
#-------Definition of the generic Context dataType----------------#
#-------Definition of the generic IntentFulfilmentReport dataType----------------#
IntentFulfilmentReport:
description: >-
It includes the intentFulfilmentInfo and expectationFulfilmetResult.
This attribute shall be supported when intent fulfilment information is supported by IntentReport
type: object
properties:
intentFulfilmentInfo:
$ref: '#/components/schemas/FulfilmentInfo'
expectationFulfilmentResult:
type: array
items:
$ref: '#/components/schemas/ExpectationFulfilmentResult'
#-------Definition of the concrete IntentFulfilmentReport dataType----------------#
#-------Definition of the generic ExpectationFulfilmentResult dataType----------------#
ExpectationFulfilmentResult:
description: >-
It includes the expectationFulfilmentInfo and targetFulfilmetResults for each IntentExpectation.
type: object
properties:
expectaitonId:
type: string
expectationFulfilmentInfo:
$ref: '#/components/schemas/FulfilmentInfo'
targetFulfilmentResult:
type: array
items:
$ref: '#/components/schemas/TargetFulfilmentResult'
#-------Definition of the concrete ExpectationFulfilmentResult dataType----------------#
#-------Definition of the generic TargetFulfilmentResult dataType----------------#
TargetFulfilmentResult:
description: >-
This data type includes targetFulfilmentInfo and targetAchievedValue for each ExpectationTarget.
type: object
properties:
targetName:
type: string
targetFulfilmentInfo:
$ref: '#/components/schemas/FulfilmentInfo'
targetAchievedValue:
type: number
#-------Definition of the concrete TargetFulfilmentResult dataType----------------#
#-------Definition of the generic IntentConflictReport dataType----------------#
IntentConflictReport:
description: >-
It represents the conflict information for the detected conflict
This attribute shall be supported when intent conflict information is supported by IntentReport
type: object
properties:
conflictId:
type: string
conflictType:
type: string
enum:
- INTENT_CONFLICT
- EXPECTATION_CONFLICT
- TARGET_CONFLICT
conflictingIntent:
description: >-
This will be present if the value of conflictType is INTENT_CONFLICT. It describes the DN of the conflicting intent
$ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
conflictingExpectation:
description: >-
This will be present if the value of conflictType is EXPECTATION_CONFLICT. It describes the expectationId of the conflicting IntentExpectation with an Intent
type: string
conflictingTarget:
description: >-
This will be present if the value of conflictType is TARGET_CONFLICT. It describes the targetName of the conflicting ExpectationTarget with an IntentExpectation
type: string
#-------Definition of the concrete IntentConflictReport dataType----------------#
#-------Definition of the generic IntentFeasibilityCheckReport dataType----------------#
IntentFeasibilityCheckReport:
description: >-
It represents the intent feasibility check information
This attribute shall be supported when intent feasibility check information information is supported by IntentReport
type: object
properties:
feasibilityCheckResult:
type: string
enum:
- FEASIBLE
- INFEASIBLE
infeasibilityReason:
type: string
description: An attribute which is used when feasibilityCheckResult is INFEASIBLE
#-------Definition of the concrete IntentFeasibilityCheckReport dataType----------------#
#-------Definition of the generic IntentHandlingCapability dataType----------------#
IntentHandlingCapability:
description: >-
It represents expectation object information and expectation target information
which can be supported by a specific intent handling function of MnS producer.
type: object
properties:
intentHandlingCapabilityId:
type: string
supportedExpectationObjectType:
type: string
enum:
- RAN_SUBNETWORK
- EDGE_SERVICE_SUPPORT
- 5GC_SUBNETWORK
description: It describes the expectation object type which can be supported by a specific intent handling function of MnS producer.
supportedExpectationTargetNames:
type: array
items:
type: string
description: It describes the supported expectation targets for the supported expectation object type.
#-------Definition of the concrete IntentHandlingCapability dataType----------------#
#------Definition of JSON arrays for name-contained IOCs ---------------#
SubNetwork-Multiple:
type: array
items:
$ref: '#/components/schemas/SubNetwork-Single'
Intent-Multiple:
type: array
items:
$ref: '#/components/schemas/Intent-Single'
IntentReport-Multiple:
type: array
items:
$ref: '#/components/schemas/IntentReport-Single'
IntentHandlingFunction-Multiple:
type: array
items:
$ref: '#/components/schemas/IntentHandlingFunction-Single'
#------Definition of JSON arrays for name-contained IOCs ---------------#
#----- Definitions in TS 28.312 for TS 28.532 --------------------------#
resources-intentNrm:
oneOf:
- $ref: '#/components/schemas/SubNetwork-Single'
- $ref: '#/components/schemas/IntentHandlingFunction-Single'
- $ref: '#/components/schemas/Intent-Single'
- $ref: '#/components/schemas/IntentReport-Single'
#----- Definitions in TS 28.312 for TS 28.532 --------------------------#