summaryrefslogtreecommitdiff
path: root/idl/parlay/cm.idl
blob: 51bfee3ca5c01711f56d557df9d338d4f15403e3 (plain)
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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
//Source file: cm.idl
//Date:  11 October 2004
//Connectivity Manager Interfaces and Data Types for ETSI ES 203 915-10 V1.1.1, DES/TISPAN-01005-10-OSA, Parlay 5.0

#ifndef __CM_DEFINED
#define __CM_DEFINED


#include "osa.idl"

module org {
	
	module csapi {
		
		module cm {
			interface IpVPrN ;
			interface IpEnterpriseNetwork ;
			interface IpConnectivityManager ;
			interface IpQoSTemplate ;
			interface IpEnterpriseNetworkSite ;
			
			
			enum TpTrafficDirection {

				UNIDIRECTIONAL,
				BIDIRECTIONAL				
			};
			
			
			enum TpTagValue {

				PROVIDER_SPECIFIED,
				OPERATOR_SPECIFIED,
				UNSPECIFIED				
			};
			
			enum TpSiteOrSap {

				SITE,
				SAP				
			};
			
			
			struct TpNameDescrpTagTimePeriod {
				TpInt32 duration;
			};
			
			
			struct TpNameDescrpTagTimeOfDay {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpString value;
			};
			
			struct TpNameDescrpTagString {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpString value;
			};
			
			
			struct TpNameDescrpTagMonth {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpInt32 value;
			};
			
			struct TpNameDescrpTagInt {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpInt32 value;
			};
			
			struct TpNameDescrpTagDir {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpTrafficDirection value;
			};
			
			
			struct TpNameDescrpTagDayOfWeek {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpInt32 value;
			};
			
			
			struct TpNameDescrpTagDateTime {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpDateAndTime value;
			};
			
			
			struct TpLossDescriptor {
				TpNameDescrpTagInt meanLoss;
				TpNameDescrpTagInt measurementPeriod;
				TpNameDescrpTagInt maxLoss;
				TpNameDescrpTagInt minLoss;
				TpNameDescrpTagInt lossPriority;
				TpNameDescrpTagString description;
			};
			
			
			struct TpLoadDescriptor {
				TpNameDescrpTagInt meanBandwidth;
				TpNameDescrpTagInt measurementInterval;
				TpNameDescrpTagInt maxBandwidth;
				TpNameDescrpTagInt minBandwidth;
				TpNameDescrpTagInt bandwidthShare;
				TpNameDescrpTagInt bandwidthWeight;
				TpNameDescrpTagInt burstSize;
				TpNameDescrpTagString description;
			};
			
			
			struct TpJitterDescriptor {
				TpNameDescrpTagInt meanJitter;
				TpNameDescrpTagInt measurementPeriod;
				TpNameDescrpTagInt maxJitter;
				TpNameDescrpTagInt minJitter;
				TpNameDescrpTagInt jitterPriority;
				TpNameDescrpTagString description;
			};
			
			enum TpIPVersion {

				VERSION_UNKNOWN,
				VERSION_IPV4,
				VERSION_IPV6				
			};
			
			enum TpIPv4AddType {

				IPV4_ADD_CLASS_A,
				IPV4_ADD_CLASS_B,
				IPV4_ADD_CLASS_C,
				IPV4_ADD_CLASS_D,
				IPV4_ADD_CLASS_E				
			};
			
			struct TpEndpoint {
				TpSiteOrSap type;
				TpString id;
			};
			
			
			struct TpDelayDescriptor {
				TpNameDescrpTagInt meanDelay;
				TpNameDescrpTagInt measurementPeriod;
				TpNameDescrpTagInt maxDelay;
				TpNameDescrpTagInt minDelay;
				TpNameDescrpTagInt delayPriority;
				TpNameDescrpTagString description;
			};
			
			
			enum TpAction {

				DROP,
				TRANSMIT,
				RESHAPE,
				REMARK				
			};
			
			
			struct TpNameDescrpTagExcessLoadAction {
				TpString name;
				TpString description;
				TpTagValue tag;
				TpAction value;
			};
			
			
			exception P_UNKNOWN_VPRP_ID {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SLA_ID {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_STATUS {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_QOS_INFO {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_VALIDITY_INFO {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_PIPEQOSINFO {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_DSCODEPOINT {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_VPRPID {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_REF_VALUE {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_INTERFACE {
				TpString ExtraInformation;
			};
			
			
			exception P_CANT_DELETE_VPRP {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_TEMPLATES {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_MENU {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_ENTERPRISE_NETWORK {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_TEMPLATE_TYPE {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_DESCRIPTION {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_SLA_ID {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_TAG {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_VALUE {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_COMBINATION {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SITES {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_VPRN {
				TpString ExtraInformation;
			};
			
			
			exception P_ILLEGAL_SITE_ID {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SITE_ID {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SAPS {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SITE_LOCATION {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SITE_DESCRIPTION {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_IPSUBNET {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_SAP {
				TpString ExtraInformation;
			};
			
			
			exception P_UNKNOWN_VPRP {
				TpString ExtraInformation;
			};
			
			
			enum TpVprpStatus {

				ACTIVE,
				PENDING,
				DISALLOWED				
			};
			
			
			struct TpValidityInfo {
				TpNameDescrpTagDateTime validFrom;
				TpNameDescrpTagTimePeriod validPeriod;
				TpNameDescrpTagTimeOfDay validDailyFrom;
				TpNameDescrpTagTimePeriod validDailyPeriod;
				TpNameDescrpTagDayOfWeek validDayOfWeek;
				TpNameDescrpTagMonth validMonth;
				TpNameDescrpTagString description;
			};
			
			struct TpProvisionedQoSInfo {
				TpDelayDescriptor delayDescriptor;
				TpLossDescriptor lossDescriptor;
				TpJitterDescriptor jitterDescriptor;
				TpNameDescrpTagExcessLoadAction excessLoadAction;
				TpNameDescrpTagString description;
			};
			
			struct TpPipeQoSInfo {
				TpNameDescrpTagDir directionality;
				TpEndpoint serviceOrigin;
				TpEndpoint serviceDestination;
				TpLoadDescriptor forwardLoad;
				TpLoadDescriptor reverseLoad;
				TpNameDescrpTagString description;
			};
			
			
			struct TpDsCodepoint {
				TpString match;
				TpString mask;
			};
			
			
			struct TpIPSubnet {
				TpString subnetNumber;
				TpString subnetMask;
				TpIPv4AddType addressType;
				TpIPVersion IPVersionSupport;
			};
			
			
			interface IpVPrP : IpService {
				
				TpString getVPrPID ()					
					raises (TpCommonExceptions,P_UNKNOWN_VPRP_ID);
					
				TpString getSlaID ()					
					raises (TpCommonExceptions,P_UNKNOWN_SLA_ID);
					
				TpVprpStatus getStatus ()					
					raises (TpCommonExceptions,P_UNKNOWN_STATUS);
					
				TpProvisionedQoSInfo getProvisionedQoSInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_QOS_INFO);
					
				TpValidityInfo getValidityInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_VALIDITY_INFO);
					
				TpPipeQoSInfo getPipeQoSInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_PIPEQOSINFO);
					
				TpDsCodepoint getDsCodepoint ()					
					raises (TpCommonExceptions,P_UNKNOWN_DSCODEPOINT);
					
			};
			
			
			interface IpVPrN : IpService {
				
				TpStringList getVPrPList ()					
					raises (TpCommonExceptions,P_UNKNOWN_VPRP);
					
				IpInterface getVPrP (
					in TpString vPrPID	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_VPRPID,P_UNKNOWN_VPRP_ID);
					
				IpInterface createVPrP (
					in IpInterface templateRef	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_REF_VALUE,P_UNKNOWN_INTERFACE);
					
				void deleteVPrP (
					in TpString vPrPID	
					)					
					raises (TpCommonExceptions,P_CANT_DELETE_VPRP,P_UNKNOWN_VPRP_ID);
					
			};
			
			
			interface IpQoSMenu : IpService {
				
				IpInterface getTemplate (
					in TpString templateType	
					)					
					raises (TpCommonExceptions);
					
				TpStringList getTemplateList ()					
					raises (TpCommonExceptions,P_UNKNOWN_TEMPLATES);
					
			};
			
			
			interface IpConnectivityManager : IpService {
				
				IpInterface getQoSMenu ()					
					raises (TpCommonExceptions,P_UNKNOWN_MENU);
					
				IpInterface getEnterpriseNetwork ()					
					raises (TpCommonExceptions,P_UNKNOWN_ENTERPRISE_NETWORK);
					
			};
			
			
			interface IpQoSTemplate : IpService {
				
				TpString getTemplateType ()					
					raises (TpCommonExceptions,P_UNKNOWN_TEMPLATE_TYPE);
					
				TpString getDescription ()					
					raises (TpCommonExceptions,P_UNKNOWN_DESCRIPTION);
					
				void setSlaID (
					in TpString slaID	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_SLA_ID);
					
				TpPipeQoSInfo getPipeQoSInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_PIPEQOSINFO);
					
				void setPipeQoSInfo (
					in TpPipeQoSInfo pipeQoSInfo	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_TAG,P_ILLEGAL_VALUE,P_ILLEGAL_COMBINATION);
					
				TpValidityInfo getValidityInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_VALIDITY_INFO);
					
				void setValidityInfo (
					in TpValidityInfo validityInfo	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_TAG,P_ILLEGAL_VALUE,P_ILLEGAL_COMBINATION);
					
				void setProvisionedQoSInfo (
					in TpProvisionedQoSInfo provisionedQoSInfo	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_TAG,P_ILLEGAL_VALUE,P_ILLEGAL_COMBINATION);
					
				TpProvisionedQoSInfo getProvisionedQoSInfo ()					
					raises (TpCommonExceptions,P_UNKNOWN_QOS_INFO);
					
				TpDsCodepoint getDsCodepoint ()					
					raises (TpCommonExceptions,P_UNKNOWN_DSCODEPOINT);
					
			};
			
			
			interface IpEnterpriseNetwork : IpService {
				
				TpStringList getSiteList ()					
					raises (TpCommonExceptions,P_UNKNOWN_SITES);
					
				IpInterface getVPrN ()					
					raises (TpCommonExceptions,P_UNKNOWN_VPRN);
					
				IpInterface getSite (
					in TpString siteID	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_SITE_ID,P_UNKNOWN_SITE_ID);
					
			};
			
			
			interface IpEnterpriseNetworkSite : IpEnterpriseNetwork {
				
				TpStringList getSAPList ()					
					raises (TpCommonExceptions,P_UNKNOWN_SAPS);
					
				TpString getSiteID ()					
					raises (TpCommonExceptions,P_UNKNOWN_SITE_ID);
					
				TpString getSiteLocation ()					
					raises (TpCommonExceptions,P_UNKNOWN_SITE_LOCATION);
					
				TpString getSiteDescription ()					
					raises (TpCommonExceptions,P_UNKNOWN_SITE_DESCRIPTION);
					
				TpIPSubnet getIPSubnet ()					
					raises (TpCommonExceptions,P_UNKNOWN_IPSUBNET);
					
				TpIPSubnet getSAPIPSubnet (
					in TpString sapID	
					)					
					raises (TpCommonExceptions,P_ILLEGAL_SITE_ID,P_UNKNOWN_SAP,P_UNKNOWN_IPSUBNET);
					
			};
			
		};
		
	};
	
};

#endif