mhamdani049

Untitled

Jan 12th, 2021
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.29 KB | None | 0 0
  1. //File: AlarmIRPConstDefs.idl
  2.  
  3. #ifndef _ALARM_IRP_CONST_DEFS_IDL_
  4.  
  5. #define _ALARM_IRP_CONST_DEFS_IDL_
  6.  
  7. #include <CosNotification.idl>
  8.  
  9. #include <ManagedGenericIRPConstDefs.idl>
  10.  
  11. // This statement must appear after all include statements
  12.  
  13. #pragma prefix "3gppsa5.org"
  14.  
  15. /* ## Module: AlarmIRPConstDefs
  16.  
  17. This module contains commonly used definitions for Alarm IRP
  18.  
  19. ================================================================
  20.  
  21. */
  22.  
  23. module AlarmIRPConstDefs
  24.  
  25. {
  26.  
  27. /*
  28.  
  29. The format of Distinguished Name (DN) is specified in 3GPP TS 32.300
  30.  
  31. "Name Conventions for Managed Objects".
  32.  
  33. */
  34.  
  35. typedef string DN;
  36.  
  37. /* DNOpt is an optional type.
  38.  
  39. If the discriminator is true the value is present.
  40.  
  41. Otherwise the value is null.
  42.  
  43. */
  44.  
  45. union DNOpt switch (boolean)
  46.  
  47. {
  48.  
  49. case TRUE: DN value;
  50.  
  51. };
  52.  
  53. /*
  54.  
  55. This block identifies the alarm types specified for this IRP version.
  56.  
  57. These types carry the same semantics as the TMN ITU-T defined event
  58.  
  59. types of the same name.
  60.  
  61. Their encodings for this version of Alarm IRP are defined here. Other IRP
  62.  
  63. documents, or other versions of Alarm IRP, shall identify their own
  64.  
  65. alarm types for their use. They shall define their encodings
  66.  
  67. as well. Values defined here are unique among themselves.
  68.  
  69. */
  70.  
  71. interface AlarmType
  72.  
  73. {
  74.  
  75. const string COMMUNICATIONS_ALARM = "x1";
  76.  
  77. const string PROCESSING_ERROR_ALARM = "x2";
  78.  
  79. const string ENVIRONMENTAL_ALARM = "x3";
  80.  
  81. const string QUALITY_OF_SERVICE_ALARM = "x4";
  82.  
  83. const string EQUIPMENT_ALARM = "x5";
  84.  
  85. const string INTEGRITY_VIOLATION = "x6";
  86.  
  87. const string OPERATIONAL_VIOLATION = "x7";
  88.  
  89. const string PHYSICAL_VIOLATION = "x8";
  90.  
  91. const string SECURITY_SERVICE_OR_MECHANISM_VIOLATION = "x9";
  92.  
  93. const string TIME_DOMAIN_VIOLATION = "x10";
  94.  
  95. };
  96.  
  97. /*
  98.  
  99. This block identifies the notification types defined by this
  100.  
  101. Alarm IRP version.
  102.  
  103. */
  104.  
  105. interface NotificationType
  106.  
  107. {
  108.  
  109. const string NOTIFY_FM_NEW_ALARM = "x1";
  110.  
  111. const string NOTIFY_FM_CHANGED_ALARM = "x2";
  112.  
  113. const string NOTIFY_FM_ACK_STATE_CHANGED = "x3";
  114.  
  115. const string NOTIFY_FM_COMMENT_ADDED = "x4";
  116.  
  117. const string NOTIFY_FM_CLEARED_ALARM = "x5";
  118.  
  119. const string NOTIFY_FM_ALARM_LIST_REBUILT = "x6";
  120.  
  121. const string NOTIFY_FM_POTENTIAL_FAULTY_ALARM_LIST = "x7";
  122.  
  123. };
  124.  
  125. /*
  126.  
  127. This block identifies the levels of severity.
  128.  
  129. */
  130.  
  131. interface PerceivedSeverity
  132.  
  133. {
  134.  
  135. const short INDETERMINATE = 1;
  136.  
  137. const short CRITICAL = 2;
  138.  
  139. const short MAJOR = 3;
  140.  
  141. const short MINOR = 4;
  142.  
  143. const short WARNING = 5;
  144.  
  145. const short CLEARED = 6;
  146.  
  147. };
  148.  
  149. /*
  150.  
  151. This block identifies the probable cause of a reported alarm.
  152.  
  153. */
  154.  
  155. interface ProbableCause
  156.  
  157. {
  158.  
  159. /*
  160.  
  161. Probable causes originating from M.3100.
  162.  
  163. Values below correspond to M.3100 values.
  164.  
  165. */
  166.  
  167. const short INDETERMINATE = 0;
  168.  
  169. const short ALARM_INDICATION_SIGNAL = 1;
  170.  
  171. const short CALL_SETUP_FAILURE = 2;
  172.  
  173. const short DEGRADED_SIGNAL = 3;
  174.  
  175. const short FAR_END_RECEIVER_FAILURE = 4;
  176.  
  177. const short FRAMING_ERROR = 5;
  178.  
  179. const short LOSS_OF_FRAME = 6;
  180.  
  181. const short LOSS_OF_POINTER = 7;
  182.  
  183. const short LOSS_OF_SIGNAL = 8;
  184.  
  185. const short PAYLOAD_TYPE_MISMATCH = 9;
  186.  
  187. // Values 10 correspond to a duplicated probable cause
  188.  
  189. const short REMOTE_ALARM_INTERFACE = 11;
  190.  
  191. const short EXCESSIVE_BIT_ERROR_RATE = 12;
  192.  
  193. const short PATH_TRACE_MISMATCH = 13;
  194.  
  195. const short UNAVAILABLE = 14;
  196.  
  197. const short SIGNAL_LABEL_MISMATCH = 15;
  198.  
  199. const short LOSS_OF_MULTI_FRAME = 16;
  200.  
  201. const short COMMUNICATIONS_RECEIVE_FAILURE = 17;
  202.  
  203. const short COMMUNICATIONS_TRANSMIT_FAILURE = 18;
  204.  
  205. const short MODULATION_FAILURE = 19;
  206.  
  207. const short DEMODULATION_FAILURE = 20;
  208.  
  209. // Values 21-26 correspond to duplicated probable causes
  210.  
  211. // Values 27-50 are reserved for M.3100 potential future extensions
  212.  
  213. const short BACK_PLANE_FAILURE = 51;
  214.  
  215. const short DATA_SET_PROBLEM = 52;
  216.  
  217. const short EQUIPMENT_IDENTIFIER_DUPLICATION = 53;
  218.  
  219. const short EXTERNAL_IF_DEVICE_PROBLEM = 54;
  220.  
  221. const short LINE_CARD_PROBLEM = 55;
  222.  
  223. const short MULTIPLEXER_PROBLEM = 56;
  224.  
  225. const short NE_IDENTIFIER_DUPLICATION = 57;
  226.  
  227. const short POWER_PROBLEM = 58;
  228.  
  229. const short PROCESSOR_PROBLEM = 59;
  230.  
  231. const short PROTECTION_PATH_FAILURE = 60;
  232.  
  233. const short RECEIVER_FAILURE = 61;
  234.  
  235. const short REPLACEABLE_UNIT_MISSING = 62;
  236.  
  237. const short REPLACEABLE_UNIT_TYPE_MISMATCH = 63;
  238.  
  239. const short SYNCHRONIZATION_SOURCE_MISMATCH = 64;
  240.  
  241. const short TERMINAL_PROBLEM = 65;
  242.  
  243. const short TIMING_PROBLEM = 66;
  244.  
  245. const short TRANSMITTER_FAILURE = 67;
  246.  
  247. const short TRUNK_CARD_PROBLEM = 68;
  248.  
  249. const short REPLACEABLE_UNIT_PROBLEM = 69;
  250.  
  251. const short REAL_TIME_CLOCK_FAILURE = 70;
  252.  
  253. // Values 71-80 correspond to duplicated probable causes
  254.  
  255. const short PROTECTION_MECHANISM_FAILURE = 81;
  256.  
  257. const short PROTECTING_RESOURCE_FAILURE = 82;
  258.  
  259. // Values 83-100 are reserved for M.3100 potential future extensions
  260.  
  261. const short AIR_COMPRESSOR_FAILURE = 101;
  262.  
  263. const short AIR_CONDITIONING_FAILURE = 102;
  264.  
  265. const short AIR_DRYER_FAILURE = 103;
  266.  
  267. const short BATTERY_DISCHARGING = 104;
  268.  
  269. const short BATTERY_FAILURE = 105;
  270.  
  271. const short COMMERCIAL_POWER_FAILURE = 106;
  272.  
  273. const short COOLING_FAN_FAILURE = 107;
  274.  
  275. const short ENGINE_FAILURE = 108;
  276.  
  277. const short FIRE_DETECTOR_FAILURE = 109;
  278.  
  279. const short FUSE_FAILURE = 110;
  280.  
  281. const short GENERATOR_FAILURE = 111;
  282.  
  283. const short LOW_BATTERY_THRESHOLD = 112;
  284.  
  285. const short PUMP_FAILURE = 113;
  286.  
  287. const short RECTIFIER_FAILURE = 114;
  288.  
  289. const short RECTIFIER_HIGH_VOLTAGE = 115;
  290.  
  291. const short RECTIFIER_LOW_F_VOLTAGE = 116;
  292.  
  293. const short VENTILATION_SYSTEM_FAILURE = 117;
  294.  
  295. const short ENCLOSURE_DOOR_OPEN = 118;
  296.  
  297. const short EXPLOSIVE_GAS = 119;
  298.  
  299. const short FIRE = 120;
  300.  
  301. const short FLOOD = 121;
  302.  
  303. const short HIGH_HUMIDITY = 122;
  304.  
  305. const short HIGH_TEMPERATURE = 123;
  306.  
  307. const short HIGH_WIND = 124;
  308.  
  309. const short ICE_BUILD_UP = 125;
  310.  
  311. const short INTRUSION_DETECTION = 126;
  312.  
  313. const short LOW_FUEL = 127;
  314.  
  315. const short LOW_HUMIDITY = 128;
  316.  
  317. const short LOW_CABLE_PRESSURE = 129;
  318.  
  319. const short LOW_TEMPERATURE = 130;
  320.  
  321. const short LOW_WATER = 131;
  322.  
  323. const short SMOKE = 132;
  324.  
  325. const short TOXIC_GAS = 133;
  326.  
  327. // Values 134-135 correspond to duplicated probable causes
  328.  
  329. const short EXTERNAL_POINT_FAILURE = 136;
  330.  
  331. // Values 137-150 are reserved for potential M.3100 future extensions
  332.  
  333. const short STORAGE_CAPACITY_PROBLEM = 151;
  334.  
  335. const short MEMORY_MISMATCH = 152;
  336.  
  337. const short CORRUPT_DATA = 153;
  338.  
  339. const short OUT_OF_CPU_CYCLES = 154;
  340.  
  341. const short SOFTWARE_ENVIRONMENT_PROBLEM = 155;
  342.  
  343. const short SOFTWARE_DOWNLOAD_FAILURE = 156;
  344.  
  345. const short LOSS_OF_REAL_TIME = 157;
  346.  
  347. const short REINITIALIZED = 158;
  348.  
  349. // Values 159-167 correspond to duplicated probable causes
  350.  
  351. // Values 168-200 are reserved for potential M.3100 future extensions
  352.  
  353. // Values 201-202 correspond to duplicated probable causes
  354.  
  355. const short EXCESSIVE_ERROR_RATE = 203;
  356.  
  357. // Values 204-207 correspond to duplicated probable causes
  358.  
  359. // Values 208-300 are reserved for potential M.3100 future extensions
  360.  
  361. /*
  362.  
  363. Probable causes originating from X.721.
  364.  
  365. Values below correspond to X.721 values with an offset of 300.
  366.  
  367. */
  368.  
  369. const short ADAPTER_ERROR = 301;
  370.  
  371. const short APPLICATION_SUBSYSTEM_FAILURE = 302;
  372.  
  373. const short BANDWIDTH_REDUCED = 303;
  374.  
  375. // Value 304 corresponds to a duplicated probable cause
  376.  
  377. const short COMMUNICATIONS_PROTOCOL_ERROR = 305;
  378.  
  379. const short COMMUNICATIONS_SUBSYSTEM_FAILURE = 306;
  380.  
  381. const short CONFIGURATION_OR_CUSTOMIZATION_ERROR = 307;
  382.  
  383. const short CONGESTION = 308;
  384.  
  385. // Value 309 corresponds to a duplicated probable cause
  386.  
  387. const short CPU_CYCLES_LIMIT_EXCEEDED = 310;
  388.  
  389. const short DATA_SET_OR_MODEM_ERROR = 311;
  390.  
  391. // Value 312 corresponds to a duplicated probable cause
  392.  
  393. const short DTE_DCE_INTERFACE_ERROR = 313;
  394.  
  395. // Value 314 corresponds to a duplicated probable cause
  396.  
  397. const short EQUIPMENT_MALFUNCTION = 315;
  398.  
  399. const short EXCESSIVE_VIBRATION = 316;
  400.  
  401. const short FILE_ERROR = 317;
  402.  
  403. // Values 318-320 correspond to duplicated probable causes
  404.  
  405. const short HEATING_OR_VENTILATION_OR_COOLING_SYSTEM_PROBLEM = 321;
  406.  
  407. const short HUMIDITY_UNACCEPTABLE = 322;
  408.  
  409. const short INPUT_OUTPUT_DEVICE_ERROR = 323;
  410.  
  411. const short INPUT_DEVICE_ERROR = 324;
  412.  
  413. const short LAN_ERROR = 325;
  414.  
  415. const short LEAK_DETECTED = 326;
  416.  
  417. const short LOCAL_NODE_TRANSMISSION_ERROR = 327;
  418.  
  419. // Values 328-329 correspond to duplicated probable causes
  420.  
  421. const short MATERIAL_SUPPLY_EXHAUSTED = 330;
  422.  
  423. // Value 331 corresponds to a duplicated probable cause
  424.  
  425. const short OUT_OF_MEMORY = 332;
  426.  
  427. const short OUTPUT_DEVICE_ERROR = 333;
  428.  
  429. const short PERFORMANCE_DEGRADED = 334;
  430.  
  431. // Value 335 corresponds to a duplicated probable cause
  432.  
  433. const short PRESSURE_UNACCEPTABLE = 336;
  434.  
  435. // Values 337-338 correspond to duplicated probable causes
  436.  
  437. const short QUEUE_SIZE_EXCEEDED = 339;
  438.  
  439. const short RECEIVE_FAILURE = 340;
  440.  
  441. // Value 341 corresponds to a duplicated probable cause
  442.  
  443. const short REMOTE_NODE_TRANSMISSION_ERROR = 342;
  444.  
  445. const short RESOURCE_AT_OR_NEARING_CAPACITY = 343;
  446.  
  447. const short RESPONSE_TIME_EXCESSIVE = 344;
  448.  
  449. const short RETRANSMISSION_RATE_EXCESSIVE = 345;
  450.  
  451. const short SOFTWARE_ERROR = 346;
  452.  
  453. const short SOFTWARE_PROGRAM_ABNORMALLY_TERMINATED = 347;
  454.  
  455. const short SOFTWARE_PROGRAM_ERROR = 348;
  456.  
  457. // Value 349 corresponds to a duplicated probable cause
  458.  
  459. const short TEMPERATURE_UNACCEPTABLE = 350;
  460.  
  461. const short THRESHOLD_CROSSED = 351;
  462.  
  463. // Value 352 corresponds to a duplicated probable cause
  464.  
  465. const short TOXIC_LEAK_DETECTED = 353;
  466.  
  467. const short TRANSMIT_FAILURE = 354;
  468.  
  469. // Value 355 corresponds to a duplicated probable cause
  470.  
  471. const short UNDERLYING_RESOURCE_UNAVAILABLE = 356;
  472.  
  473. const short VERSION_MISMATCH = 357;
  474.  
  475. // Values 358-500 are reserved for potential X.721 future extensions
  476.  
  477. /*
  478.  
  479. Probable causes for 2G & 3G wireless systems.
  480.  
  481. */
  482.  
  483. const short A_BIS_TO_BTS_INTERFACE_FAILURE = 501;
  484.  
  485. const short A_BIS_TO_TRX_INTERFACE_FAILURE = 502;
  486.  
  487. const short ANTENNA_PROBLEM = 503;
  488.  
  489. const short BATTERY_BREAKDOWN = 504;
  490.  
  491. const short BATTERY_CHARGING_FAULT = 505;
  492.  
  493. const short CLOCK_SYNCHRONIZATION_PROBLEM = 506;
  494.  
  495. const short COMBINER_PROBLEM = 507;
  496.  
  497. const short DISK_PROBLEM = 508;
  498.  
  499. // Value 509 corresponds to a duplicated probable cause
  500.  
  501. const short EXCESSIVE_RECEIVER_TEMPERATURE = 510;
  502.  
  503. const short EXCESSIVE_TRANSMITTER_OUTPUT_POWER = 511;
  504.  
  505. const short EXCESSIVE_TRANSMITTER_TEMPERATURE = 512;
  506.  
  507. const short FREQUENCY_HOPPING_DEGRADED = 513;
  508.  
  509. const short FREQUENCY_HOPPING_FAILURE = 514;
  510.  
  511. const short FREQUENCY_REDEFINITION_FAILED = 515;
  512.  
  513. const short LINE_INTERFACE_FAILURE = 516;
  514.  
  515. const short LINK_FAILURE = 517;
  516.  
  517. const short LOSS_OF_SYNCHRONIZATION = 518;
  518.  
  519. const short LOST_REDUNDANCY = 519;
  520.  
  521. const short MAINS_BREAKDOWN_WITH_BATTERY_BACKUP = 520;
  522.  
  523. const short MAINS_BREAKDOWN_WITHOUT_BATTERY_BACKUP = 521;
  524.  
  525. const short POWER_SUPPLY_FAILURE = 522;
  526.  
  527. const short RECEIVER_ANTENNA_FAULT = 523;
  528.  
  529. // Value 524 corresponds to a duplicated probable cause
  530.  
  531. const short RECEIVER_MULTICOUPLER_FAILURE = 525;
  532.  
  533. const short REDUCED_TRANSMITTER_OUTPUT_POWER = 526;
  534.  
  535. const short SIGNAL_QUALITY_EVALUATION_FAULT = 527;
  536.  
  537. const short TIMESLOT_HARDWARE_FAILURE = 528;
  538.  
  539. const short TRANSCEIVER_PROBLEM = 529;
  540.  
  541. const short TRANSCODER_PROBLEM = 530;
  542.  
  543. const short TRANSCODER_OR_RATE_ADAPTER_PROBLEM = 531;
  544.  
  545. const short TRANSMITTER_ANTENNA_FAILURE = 532;
  546.  
  547. const short TRANSMITTER_ANTENNA_NOT_ADJUSTED = 533;
  548.  
  549. // Value 534 corresponds to a duplicated probable cause
  550.  
  551. const short TRANSMITTER_LOW_VOLTAGE_OR_CURRENT = 535;
  552.  
  553. const short TRANSMITTER_OFF_FREQUENCY = 536;
  554.  
  555. const short DATABASE_INCONSISTENCY = 537;
  556.  
  557. const short FILE_SYSTEM_CALL_UNSUCCESSFUL = 538;
  558.  
  559. const short INPUT_PARAMETER_OUT_OF_RANGE = 539;
  560.  
  561. const short INVALID_PARAMETER = 540;
  562.  
  563. const short INVALID_POINTER = 541;
  564.  
  565. const short MESSAGE_NOT_EXPECTED = 542;
  566.  
  567. const short MESSAGE_NOT_INITIALIZED = 543;
  568.  
  569. const short MESSAGE_OUT_OF_SEQUENCE = 544;
  570.  
  571. const short SYSTEM_CALL_UNSUCCESSFUL = 545;
  572.  
  573. const short TIMEOUT_EXPIRED = 546;
  574.  
  575. const short VARIABLE_OUT_OF_RANGE = 547;
  576.  
  577. const short WATCH_DOG_TIMER_EXPIRED = 548;
  578.  
  579. const short COOLING_SYSTEM_FAILURE = 549;
  580.  
  581. const short EXTERNAL_EQUIPMENT_FAILURE = 550;
  582.  
  583. const short EXTERNAL_POWER_SUPPLY_FAILURE = 551;
  584.  
  585. const short EXTERNAL_TRANSMISSION_DEVICE_FAILURE = 552;
  586.  
  587. // Values 553-560 correspond to duplicated probable causes
  588.  
  589. const short REDUCED_ALARM_REPORTING = 561;
  590.  
  591. const short REDUCED_EVENT_REPORTING = 562;
  592.  
  593. const short RECUCED_LOGGING_CAPABILITY = 563;
  594.  
  595. const short SYSTEM_RESOURCES_OVERLOAD = 564;
  596.  
  597. const short BROADCAST_CHANNEL_FAILURE = 565;
  598.  
  599. const short CONNECTION_ESTABLISHMENT_ERROR = 566;
  600.  
  601. const short INVALID_MESSAGE_RECEIVED = 567;
  602.  
  603. const short INVALID_MSU_RECEIVED = 568;
  604.  
  605. const short LAPD_LINK_PROTOCOL_FAILURE = 569;
  606.  
  607. const short LOCAL_ALARM_INDICATION = 570;
  608.  
  609. const short REMOTE_ALARM_INDICATION = 571;
  610.  
  611. const short ROUTING_FAILURE = 572;
  612.  
  613. const short SS7_PROTOCOL_FAILURE = 573;
  614.  
  615. const short TRANSMISSION_ERROR = 574;
  616.  
  617. // Value 575 corresponds to a duplicated probable cause
  618.  
  619. // Values 576-700 are reserved for potential future extensions
  620.  
  621. // for 2G & 3G wireless systems
  622.  
  623. /*
  624.  
  625. Probable causes originating from M.3100 security alarm causes.
  626.  
  627. Values below correspond to M.3100 values with an offset of 700.
  628.  
  629. */
  630.  
  631. const short AUTHENTICATION_FAILURE = 701;
  632.  
  633. const short BREACH_OF_CONFIDENTIALITY = 702;
  634.  
  635. const short CABLE_TAMPER = 703;
  636.  
  637. const short DELAYED_INFORMATION = 704;
  638.  
  639. const short DENIAL_OF_SERVICE = 705;
  640.  
  641. const short DUPLICATE_INFORMATION = 706;
  642.  
  643. const short INFORMATION_MISSING = 707;
  644.  
  645. const short INFORMATION_MODIFICATION_DETECTED = 708;
  646.  
  647. const short INFORMATION_OUT_OF_SEQUENCE = 709;
  648.  
  649. // Value 710 corresponds to a duplicated probable cause
  650.  
  651. const short KEY_EXPIRED = 711;
  652.  
  653. const short NON_REPUDIATION_FAILURE = 712;
  654.  
  655. const short OUT_OF_HOURS_ACTIVITY = 713;
  656.  
  657. const short OUT_OF_SERVICE = 714;
  658.  
  659. const short PROCEDURAL_ERROR = 715;
  660.  
  661. const short UNAUTHORISED_ACCESS_ATTEMPT = 716;
  662.  
  663. const short UNEXPECTED_INFORMATION = 717;
  664.  
  665. const short UNSPECIFIED_REASON = 718;
  666.  
  667. // Values 719-800 are reserved for potential M.3100 future extensions
  668.  
  669. };
  670.  
  671. /*
  672.  
  673. This block identifies the acknowledgement state of a reported alarm.
  674.  
  675. */
  676.  
  677. interface AckState
  678.  
  679. {
  680.  
  681. const short ACKNOWLEDGED = 1;
  682.  
  683. const short UNACKNOWLEDGED = 2;
  684.  
  685. };
  686.  
  687. /*
  688.  
  689. This block identifies attributes which are included as part of the Alarm IRP
  690.  
  691. These attribute values should not clash with those defined for the attributes
  692.  
  693. of notification header (see IDL of Notification IRP).
  694.  
  695. */
  696.  
  697. interface AttributeNameValue
  698.  
  699. {
  700.  
  701. const string ALARM_ID = "f";
  702.  
  703. const string PROBABLE_CAUSE = "g";
  704.  
  705. const string PERCEIVED_SEVERITY = "h";
  706.  
  707. const string SPECIFIC_PROBLEM = "i";
  708.  
  709. const string ADDITIONAL_TEXT = "j";
  710.  
  711. const string ACK_TIME = "k";
  712.  
  713. const string ACK_USER_ID = "l";
  714.  
  715. const string ACK_SYSTEM_ID = "m";
  716.  
  717. const string ACK_STATE = "n";
  718.  
  719. const string COMMENTS = "o";
  720.  
  721. const string BACKED_UP_STATUS = "p";
  722.  
  723. const string BACK_UP_OBJECT = "q";
  724.  
  725. const string THRESHOLD_INFO = "r";
  726.  
  727. const string TREND_INDICATION = "s";
  728.  
  729. const string STATE_CHANGE_DEFINITION = "t";
  730.  
  731. const string MONITORED_ATTRIBUTES = "u";
  732.  
  733. const string PROPOSED_REPAIR_ACTIONS = "v";
  734.  
  735. const string CORRELATED_NOTIFICATIONS = "w";
  736.  
  737. const string REASON = "x";
  738.  
  739. const string CLEAR_USER_ID = "y";
  740.  
  741. const string CLEAR_SYSTEM_ID = "z";
  742.  
  743. const string ALARM_LIST_ALIGNMENT_REQUIREMENT = "ff";
  744.  
  745. const string SERVICE_USER = "gg";
  746.  
  747. const string SERVICE_PROVIDER = "hh";
  748.  
  749. const string SECURITY_ALARM_DETECTOR = "ii";
  750.  
  751. const string ALARM_RAISED_TIME = "kk";
  752.  
  753. const string ALARM_CLEARED_TIME = "ll";
  754.  
  755. };
  756.  
  757. /*
  758.  
  759. constants for use in populating the additional information
  760.  
  761. name field Names
  762.  
  763. */
  764.  
  765. interface AdditionalInformation
  766.  
  767. {
  768.  
  769. const string AI_VS_PERCEIVED_SEVERITY = "ai_ps";
  770.  
  771. const string AI_VS_ALARM_TYPE = "ai_at";
  772.  
  773. };
  774.  
  775. /*
  776.  
  777. Defines the content of a Comment
  778.  
  779. */
  780.  
  781. struct Comment
  782.  
  783. {
  784.  
  785. ManagedGenericIRPConstDefs::IRPTime comment_time;
  786.  
  787. string comment_text;
  788.  
  789. string user_id;
  790.  
  791. string system_id;
  792.  
  793. };
  794.  
  795. /*
  796.  
  797. Defines a set of comments which are placed in the COMMENTS attribute
  798.  
  799. of a structured event.
  800.  
  801. */
  802.  
  803. typedef sequence <Comment> CommentSet;
  804.  
  805. /*
  806.  
  807. It indicates if an object has a back up.
  808.  
  809. True implies backed up. False implies not backed up.
  810.  
  811. */
  812.  
  813. typedef boolean BackedUpStatus;
  814.  
  815. /*
  816.  
  817. It indicates if the threshold crossed was in the up or down direction.
  818.  
  819. */
  820.  
  821. enum ThresholdIndication {UP, DOWN};
  822.  
  823. /*
  824.  
  825. It indicates if the AlarmList alignment is required.
  826.  
  827. */
  828.  
  829. enum AlarmListAlignmentRequirement {REQUIRED, NOTREQUIRED};
  830.  
  831. /* FloatOpt is an optional type.
  832.  
  833. If the discriminator is true the value is present.
  834.  
  835. Otherwise the value is null.
  836.  
  837. */
  838.  
  839. union FloatOpt switch (boolean)
  840.  
  841. {
  842.  
  843. case TRUE: float value;
  844.  
  845. };
  846.  
  847. /* ThresholdLevelInd describes multi-level
  848.  
  849. threshold crossings.
  850.  
  851. Up is the only permitted choice for a counter.
  852.  
  853. If indication is "up", low value is optional.
  854.  
  855. @member indication: indicates up or down direction
  856.  
  857. of crossing.
  858.  
  859. @member low: the low observed value.
  860.  
  861. @member high: the high observed value.
  862.  
  863. */
  864.  
  865. struct ThresholdLevelInd
  866.  
  867. {
  868.  
  869. ThresholdIndication indication;
  870.  
  871. FloatOpt low;
  872.  
  873. float high;
  874.  
  875. };
  876.  
  877. /* ThresholdLevelIndOpt is an optional type.
  878.  
  879. If the discriminator is true the value is present.
  880.  
  881. Otherwise, the value is null.
  882.  
  883. */
  884.  
  885. union ThresholdLevelIndOpt switch (boolean)
  886.  
  887. {
  888.  
  889. case TRUE: ThresholdLevelInd value;
  890.  
  891. };
  892.  
  893. /* ThresholdInfo indicates some gauge or counter
  894.  
  895. attribute passed a set threshold.
  896.  
  897. @member attribute_id: identifies the attribute that
  898.  
  899. crossed the threshold.
  900.  
  901. @member observed_value: attributes that are of type
  902.  
  903. integer will be converted to floats.
  904.  
  905. @member threshold_level: This parameter is for
  906.  
  907. multi-level thresholds. Optional.
  908.  
  909. @member arm_time: May contain empty string.
  910.  
  911. */
  912.  
  913. struct ThresholdInfo
  914.  
  915. {
  916.  
  917. string attribute_id;
  918.  
  919. float observed_value;
  920.  
  921. ThresholdLevelIndOpt threshold_level;
  922.  
  923. string arm_time;
  924.  
  925. };
  926.  
  927. /*
  928.  
  929. It indicates if some observed condition is getting better, worse,
  930.  
  931. or not changing.
  932.  
  933. */
  934.  
  935. enum TrendIndication {LESS_SEVERE, NO_CHANGE, MORE_SEVERE};
  936.  
  937. /*
  938.  
  939. It is used to report a changed attribute value.
  940.  
  941. */
  942.  
  943. struct AttributeValueChange
  944.  
  945. {
  946.  
  947. string attribute_name;
  948.  
  949. any old_value; // type depends on attribute
  950.  
  951. any new_value; // type depends on attribute
  952.  
  953. };
  954.  
  955. typedef sequence <AttributeValueChange> AttributeChangeSet;
  956.  
  957. /*
  958.  
  959. It is used to report an attribute and its value.
  960.  
  961. */
  962.  
  963. struct AttributeValue
  964.  
  965. {
  966.  
  967. string attribute_name;
  968.  
  969. any value; // type depends on the attribute
  970.  
  971. };
  972.  
  973. typedef sequence <AttributeValue> AttributeSet;
  974.  
  975. typedef sequence <long> NotifIdSet;
  976.  
  977. /*
  978.  
  979. This holds identifiers of notifications that are correlated.
  980.  
  981. */
  982.  
  983. struct CorrelatedNotification
  984.  
  985. {
  986.  
  987. DN source; // Contains DN of MO that emitted the set of notifications
  988.  
  989. // DN string format in compliance with Name Convention for
  990.  
  991. // Managed Object.
  992.  
  993. // This may be a zero-length string. In this case, the MO
  994.  
  995. // is identified by the value of the MOI attribute
  996.  
  997. // of the Structured Event, i.e., the notification.
  998.  
  999. NotifIdSet notif_id_set; // Set of related notification ids
  1000.  
  1001. };
  1002.  
  1003. /*
  1004.  
  1005. Correlated Notification sets are sets of Correlated Notification
  1006.  
  1007. structures.
  1008.  
  1009. */
  1010.  
  1011. typedef sequence <CorrelatedNotification> CorrelatedNotificationSet;
  1012.  
  1013. /*
  1014.  
  1015. Define the structure of Alarm ID and Perceived Severity used within the
  1016.  
  1017. alarm acknowledgment operation. Note: perceived_severity is an optional
  1018.  
  1019. parameter. If this value is present, it must have one of the defined values
  1020.  
  1021. of Interface PerceivedSeverity.
  1022.  
  1023. */
  1024.  
  1025. struct AlarmInformationIdAndSev
  1026.  
  1027. {
  1028.  
  1029. string alarm_id;
  1030.  
  1031. ManagedGenericIRPConstDefs::ShortOpt perceived_severity;
  1032.  
  1033. };
  1034.  
  1035. /*
  1036.  
  1037. Define set of the above structure of Alarm ID and Perceived Severity.
  1038.  
  1039. */
  1040.  
  1041. typedef sequence <AlarmInformationIdAndSev> AlarmInformationIdAndSevSeq;
  1042.  
  1043. /*
  1044.  
  1045. It indicates the reason for an alarm acknowledgement to have failed:
  1046.  
  1047. – The specified Alarm Information is absent from the Alarm List
  1048.  
  1049. – The Perceived Severity to be acknowledged has changed and/or is different
  1050.  
  1051. within the Alarm List
  1052.  
  1053. – The acknowledgement failed for some other reason
  1054.  
  1055. */
  1056.  
  1057. enum AcknowledgeFailureCategories
  1058.  
  1059. {
  1060.  
  1061. UNKNOWN_ALARM_ID,
  1062.  
  1063. WRONG_PERCEIVED_SEVERITY,
  1064.  
  1065. ACKNOWLEDGMENT_FAILED
  1066.  
  1067. };
  1068.  
  1069. /*
  1070.  
  1071. Define the structure returned when an operation fails for a set of alarm ids.
  1072.  
  1073. A reason is provided in order to indicate why the operation failed.
  1074.  
  1075. */
  1076.  
  1077. struct BadAlarmInformationId
  1078.  
  1079. {
  1080.  
  1081. string alarm_id;
  1082.  
  1083. string reason;
  1084.  
  1085. };
  1086.  
  1087. /*
  1088.  
  1089. Define the structure returned when the acknowledge operation fails for a set
  1090.  
  1091. of alarm ids.
  1092.  
  1093. A failure category and a reason are provided in order to indicate why the
  1094.  
  1095. operation failed.
  1096.  
  1097. */
  1098.  
  1099. struct BadAcknowledgeAlarmInfo
  1100.  
  1101. {
  1102.  
  1103. string alarm_id;
  1104.  
  1105. AcknowledgeFailureCategories failure_category;
  1106.  
  1107. string reason;
  1108.  
  1109. };
  1110.  
  1111. typedef sequence <BadAlarmInformationId> BadAlarmInformationIdSeq;
  1112.  
  1113. typedef sequence <BadAcknowledgeAlarmInfo> BadAcknowledgeAlarmInfoSeq;
  1114.  
  1115. typedef sequence <string> AlarmInformationIdSeq;
  1116.  
  1117. typedef CosNotification::EventBatch AlarmInformationSeq;
  1118.  
  1119. /*
  1120.  
  1121. Define the cause values of notifyPotentialFaultyAlarmList and
  1122.  
  1123. notifyAlarmListRebuilt, which have been defined in 32111-2.
  1124.  
  1125. */
  1126.  
  1127. const string AGENT_NE_COMMUNICATION_ERROR = "Agent-NE communication error";
  1128.  
  1129. const string AGENT_RESTARTS = "Agent restarts";
  1130.  
  1131. const string INDETERMINATE = "Indeterminate";
  1132.  
  1133. };
  1134.  
  1135. #endif // _ALARM_IRP_CONST_DEFS_IDL_
Advertisement
Add Comment
Please, Sign In to add comment