Chris Donley | 85ed884 | 2018-07-24 14:08:41 -0700 | [diff] [blame^] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | .. Copyright 2017 AT&T Intellectual Property, All rights reserved |
| 4 | .. Copyright 2017-2018 Huawei Technologies Co., Ltd. |
| 5 | |
| 6 | ========================== |
| 7 | VES Event Registration 2.0 |
| 8 | ========================== |
| 9 | |
| 10 | .. contents:: Table of Contents |
| 11 | |
| 12 | Introduction |
| 13 | ============ |
| 14 | |
| 15 | This document specifies a YAML format for the registration of VES |
| 16 | Events. The YAML format enables both human designers and applications to |
| 17 | parse and understand the fields that will be sent by event sources in |
| 18 | conjunction with specific types of events, which are identified by their |
| 19 | eventNames. |
| 20 | |
| 21 | The semantics of the YAML format are easily extensible to accommodate |
| 22 | processing needs that may arise in the future. Among the types of |
| 23 | information specified in the YAML are field optionality, restrictions on |
| 24 | field values, and event handling recommendations and requirements. |
| 25 | |
| 26 | This document should be read in conjunction with the VES Event Listener |
| 27 | service specification, which defines the Common Event Format and |
| 28 | introduces the concept of specific types of events, identified by |
| 29 | eventNames. |
| 30 | |
| 31 | Audience |
| 32 | -------- |
| 33 | |
| 34 | This document is intended to support the following groups: |
| 35 | |
| 36 | - VNF Vendors |
| 37 | |
| 38 | - Service Provider (e.g., AT&T) Teams responsible for deploying VNFs |
| 39 | within their infrastructure |
| 40 | |
| 41 | VNF vendors will provide a YAML file to the Service Provider that |
| 42 | describes the events that their VNFs generate. Using the semantics and |
| 43 | syntax supported by YAML, vendors will indicate specific conditions that |
| 44 | may arise, and recommend actions that should be taken at specific |
| 45 | thresholds, or if specific conditions repeat within a specified time |
| 46 | interval. |
| 47 | |
| 48 | Based on the vendor’s recommendations, the Service Provider may create |
| 49 | another YAML, which finalizes their engineering rules for the processing |
| 50 | of the vendor’s events. The Service Provider may alter the threshold |
| 51 | levels recommended by the vendor, and may modify and more clearly |
| 52 | specify actions that should be taken when specified conditions arise. |
| 53 | The Service Provided-created version of the YAML will be distributed to |
| 54 | Service Provider applications at design time. |
| 55 | |
| 56 | Goal |
| 57 | ---- |
| 58 | |
| 59 | The goal of the YAML is to completely describe the processing of VNF |
| 60 | events in a way that can be compiled or interpreted by applications |
| 61 | across a Service Provider’s infrastructure. |
| 62 | |
| 63 | Relation to the Common Event Format |
| 64 | ----------------------------------- |
| 65 | |
| 66 | The Common Event Format described in the VES Event Listener service |
| 67 | specification defines the structure of VES events including optional |
| 68 | fields that may be provided. |
| 69 | |
| 70 | Specific eventNames registered by the YAML (e.g., an InvalidLicense |
| 71 | fault), may require that certain fields, which are optional in the |
| 72 | Common Event Format, be present when events with that eventName are |
| 73 | published. For example, a fault eventName which communicates an |
| 74 | ‘InvalidLicense’ condition, may be registered to require that the |
| 75 | configured ‘licenseKey’ be provided as a name-value pair in the Common |
| 76 | Event Format’s ‘additionalFields’ structure, within the ‘faultFields’ |
| 77 | block. Anytime an ‘InvalidLicense’ fault event is detected, designers, |
| 78 | applications and microservices across the Service Provider’s |
| 79 | infrastructure can count on that name-value pair being present. |
| 80 | |
| 81 | The YAML registration may also restrict ranges or enumerations defined |
| 82 | in the Common Event Format. For example, eventSeverity is an enumerated |
| 83 | string within the Common Event Format with several values ranging from |
| 84 | ‘NORMAL’ to ‘CRITICAL’. The YAML registration for a particular eventName |
| 85 | may require that it always be sent with eventSeverity set to a single |
| 86 | value (e.g., ‘MINOR’), or to a subset of the possible enumerated values |
| 87 | allowed by the Common Event Format (e.g., ‘MINOR’ or ‘NORMAL’). |
| 88 | |
| 89 | Relation to Service Design and Creation |
| 90 | --------------------------------------- |
| 91 | |
| 92 | Event registration for a VNF (or other event source) is provided to the |
| 93 | Service Provider’s Service Creation and Design Environment (e.g., SDC) |
| 94 | as a set of two YAML files consisting of the vendor recommendation YAML |
| 95 | and (optionally) the final Service Provider YAML. These YAML files |
| 96 | describe all the eventNames that that VNF (or other event source) |
| 97 | generates. |
| 98 | |
| 99 | Once their events are registered, the Service Creation and Design |
| 100 | Environment can then list the registered eventNames (e.g., as a drop |
| 101 | down list), for each VNF or other event source (e.g., a service), and |
| 102 | enable designers to study the YAML registrations for specific |
| 103 | eventNames. YAML registrations are both human readable and machine |
| 104 | readable. |
| 105 | |
| 106 | The final Service Provider YAML is a type of Service Design and Creation |
| 107 | ‘artifact’, which can be distributed to Service Provider applications at |
| 108 | design time: notably, to applications involved in the collection and |
| 109 | processing of VNF events. It can be parsed by those applications so they |
| 110 | can support the receipt and processing of VNF events, without the need |
| 111 | for any manual, VNF-specific development. |
| 112 | |
| 113 | YAML Files |
| 114 | ========== |
| 115 | |
| 116 | YAML Specification Conformance |
| 117 | ------------------------------ |
| 118 | |
| 119 | YAML files should conform to version 1.2 of the YAML specification |
| 120 | available at: http://yaml.org/spec/1.2/spec.html. |
| 121 | |
| 122 | Filename |
| 123 | -------- |
| 124 | |
| 125 | YAML file names should conform to the following naming convention: |
| 126 | |
| 127 | {NamingCode}_{ModelType}_{v#}_{AdditionalInfo}.yml |
| 128 | |
| 129 | The NamingCode identifies the entity, whose events are being registered |
| 130 | in the yaml, with a naming code that was established in the Service |
| 131 | Providers’ Service Design and Creation Environment (SDC). Example Naming |
| 132 | codes are: |
| 133 | |
| 134 | - tbcx |
| 135 | |
| 136 | - sgsn-mme |
| 137 | |
| 138 | The ModelType describes the type of entity whose events are being |
| 139 | registered. It consists of values like: |
| 140 | |
| 141 | - service |
| 142 | |
| 143 | - vfModule |
| 144 | |
| 145 | - vnf |
| 146 | |
| 147 | - vnfc |
| 148 | |
| 149 | The ‘#’ should be replaced with the current numbered version of the |
| 150 | file. Note that ‘#’ can be an integer or a number of the form x.y or |
| 151 | x.y.z (where x is the major number, y is the minor number and z is the |
| 152 | patch number) |
| 153 | |
| 154 | Additional descriptive info may be added after the version information |
| 155 | |
| 156 | Example file name: |
| 157 | |
| 158 | - vIsbcSsc_vnfc_v1.yml |
| 159 | |
| 160 | File Structure |
| 161 | -------------- |
| 162 | |
| 163 | Each eventType is registered as a distinct YAML ‘document’. |
| 164 | |
| 165 | YAML files consist of a series of YAML documents delimited by ‘---‘ and |
| 166 | ‘…’ for example: |
| 167 | |
| 168 | --- |
| 169 | |
| 170 | # Event Registration for eventName ‘name1’ |
| 171 | |
| 172 | # details omitted |
| 173 | |
| 174 | ... |
| 175 | |
| 176 | --- |
| 177 | |
| 178 | # Event Registration for eventName ‘name2’ |
| 179 | |
| 180 | # details omitted |
| 181 | |
| 182 | ... |
| 183 | |
| 184 | --- |
| 185 | |
| 186 | # Event Registration for eventName ‘name3’ |
| 187 | |
| 188 | # details omitted |
| 189 | |
| 190 | ... |
| 191 | |
| 192 | YAML Syntax and Semantics |
| 193 | ========================= |
| 194 | |
| 195 | YAML registration documents show each relevant VES Common Event Model |
| 196 | object and field (i.e., each element) for the eventName being |
| 197 | registered, including any extensible fields (e.g., specific name-value |
| 198 | pairs). |
| 199 | |
| 200 | Qualifiers |
| 201 | ---------- |
| 202 | |
| 203 | Each object or field name in the eventName being registered is followed |
| 204 | by a ‘qualifier’, which consists of a colon and two curly braces, for |
| 205 | example: |
| 206 | |
| 207 | “objectOrFieldName: { }” |
| 208 | |
| 209 | The curly braces contain meta-information about that object or field |
| 210 | name (also known as the ‘element’), such as whether it is required to be |
| 211 | present, what values it may have, what handling it should trigger, etc… |
| 212 | |
| 213 | Semantics have been defined for the following types of meta-information |
| 214 | within the curly braces: |
| 215 | |
| 216 | Action |
| 217 | ~~~~~~ |
| 218 | |
| 219 | The ‘action’ keyword may be applied to field values or to the event as a |
| 220 | whole. The ‘action’ keyword specifies a set of actions that should be |
| 221 | taken if a specified trigger occurs. For example, the ‘action’ keyword |
| 222 | may specify that a threshold crossing alert (i.e., tca) be generated, |
| 223 | and/or that a specific microservice handler be invoked, and/or that a |
| 224 | specific named-condition be asserted. In the Rules section of the YAML |
| 225 | file, tca’s and microservices may be defined on individual |
| 226 | named-conditions or on logical combinations of named-conditions. |
| 227 | |
| 228 | The ‘action:’ keyword is followed by five values in square brackets. The |
| 229 | first two values communicate the trigger, and the last three values |
| 230 | communicate the actions to be taken if that trigger occurs: |
| 231 | |
| 232 | 1. The first value conveys the trigger level. If the field on which the |
| 233 | action is defined reaches or passes through that level, then the |
| 234 | trigger fires. If a specific level is not important to the |
| 235 | recommended action, the ‘any’ keyword may be used as the first value. |
| 236 | (Note: ‘any’ is often used when an action is defined on the ‘event’ |
| 237 | structure as a whole). |
| 238 | |
| 239 | 2. The second value indicates the direction of traversal of the level |
| 240 | specified in the first value. The second value may be ‘up’, ‘down’, |
| 241 | ‘at’ or ‘any’. ‘any’ is used if the direction of traversal is not |
| 242 | important. ‘at’ implies that it traversed (or exactly attained) the |
| 243 | trigger level but it doesn’t matter if the traversal was in the up |
| 244 | direction or down direction. Note: If ‘up’, ‘down’ or ‘at’ are used, |
| 245 | the implication is that the microservices processing the events |
| 246 | within the service provider are maintaining state (e.g., to know that |
| 247 | a measurement field traversed a trigger level in an ‘up’ direction, |
| 248 | the microservice would have to know that the field was previously |
| 249 | below the trigger level). When initially implementing support for |
| 250 | YAML actions, a service provider may choose to use and interpret |
| 251 | these keywords in a simpler way to eliminate the need to handle |
| 252 | state. Specifically, they may choose to define and interpret all ‘up’ |
| 253 | guidance to mean ‘at the indicated trigger level or greater’, and |
| 254 | they may choose to define and interpret all ‘down’ guidance to mean |
| 255 | ‘at the indicated trigger level or lower’. |
| 256 | |
| 257 | 3. The third value optionally names the condition that has been attained |
| 258 | when the triggers fires (e.g., ‘invalidLicence’ or |
| 259 | ‘capacityExhaustion’). Named-conditions should be expressed in camel |
| 260 | case with no underscores, hyphens or spaces and with the first letter |
| 261 | in lowercase. In the Rules section of the YAML file, named-conditions |
| 262 | may be used to specify events that should be generated and/or |
| 263 | microservices that should be invoked. If it is not important to name |
| 264 | a condition, then the string ‘null’ (without the quotes) must be used |
| 265 | as the third value. |
| 266 | |
| 267 | 4. The fourth value recommends a specific microservice (e.g., ‘rebootVm’ |
| 268 | or ‘rebuildVnf’) supported by the Service Provider, be invoked if the |
| 269 | trigger is attained. Design time processing of the YAML by the |
| 270 | service provider can use these directives to automatically establish |
| 271 | policies and configure flows that need to be in place to support the |
| 272 | recommended runtime behavior. |
| 273 | |
| 274 | .. |
| 275 | |
| 276 | If a vendor wants to recommend an action, it can either work with the |
| 277 | service provider to identify and specify microservices that the |
| 278 | service provider support, or, the vendor may simply indicate and |
| 279 | recommend a generic microservice function by prefixing ‘RECO-’ in |
| 280 | front of the microservice name, which should be expressed in upper |
| 281 | camel case with no underscores, hyphens or spaces. |
| 282 | |
| 283 | A fourth value must be provided. If not needed, the string ‘null’ |
| 284 | (without the quotes) must be used. |
| 285 | |
| 286 | 5. The fifth value indicates a specific named event (e.g., a TCA) that |
| 287 | should be generated if the trigger occurs. This field must be |
| 288 | provided as a VES eventName or, if not needed, as the string ‘null’ |
| 289 | (without the quotes). |
| 290 | |
| 291 | .. |
| 292 | |
| 293 | When an event is specified, a YAML registration for that eventName |
| 294 | should be added to the event registrations within the YAML file. |
| 295 | |
| 296 | Examples: |
| 297 | |
| 298 | - event: { action: [ any, any, null, rebootVm, null ] } |
| 299 | |
| 300 | .. |
| 301 | |
| 302 | # whenever the above event occurs, the VM should be rebooted |
| 303 | |
| 304 | - fieldname: { action: [ 80, up, null, null, tcaUpEventName ], action: |
| 305 | [ 60, down, overcapacity, null, null ] } |
| 306 | |
| 307 | .. |
| 308 | |
| 309 | # when the value of fieldname crosses 80 in an up direction, |
| 310 | tcaUpEventName |
| 311 | |
| 312 | should be published; if the fieldname crosses 60 in a down direction |
| 313 | an |
| 314 | |
| 315 | ‘overCapacity’ named-condition is asserted. |
| 316 | |
| 317 | AggregationRole |
| 318 | ~~~~~~~~~~~~~~~ |
| 319 | |
| 320 | The ‘aggregationRole’ keyword is applied to a keyValuePair. |
| 321 | |
| 322 | AggregationRole may be set to one of the following: |
| 323 | |
| 324 | - counter |
| 325 | |
| 326 | - index |
| 327 | |
| 328 | - reference |
| 329 | |
| 330 | If needed, the aggergationRole setting tells the receiving event |
| 331 | processor how to aggregate the extensible keyValuePair data. Data |
| 332 | aggregation may use a combination of ‘index’ and ‘reference’ data fields |
| 333 | as aggregation keys while applying aggregation formulas, such as |
| 334 | summation or average on the ‘counter’ fields. |
| 335 | |
| 336 | Example 1: |
| 337 | |
| 338 | Interpretation of the below: If additionalMeasurements is supplied, |
| 339 | it must have key name1 and name1’s value should be interpreted as an |
| 340 | index: |
| 341 | |
| 342 | - additionalMeasurements: {presence: optional, structure: { |
| 343 | |
| 344 | .. |
| 345 | |
| 346 | keyValuePair: {presence: required, structure: { |
| 347 | |
| 348 | key: {presence: required, value: name1}, |
| 349 | |
| 350 | value: {presence: required, aggregationRole: index } |
| 351 | |
| 352 | }}, |
| 353 | |
| 354 | . . . |
| 355 | |
| 356 | }} |
| 357 | |
| 358 | Example 2: |
| 359 | |
| 360 | - Let’s say a vnf wants to send the following ‘TunnelTraffic’ fields |
| 361 | through a VES arrayOfNamedHashMap structure (specifically through |
| 362 | additionalMeasurements in the VES measurementField block): |
| 363 | |
| 364 | +-------------+-------------+-------------+-------------+-------------+ |
| 365 | | Tunnel Name | Tunnel Type | Total | Total | Total | |
| 366 | | | | Output | Output | Output | |
| 367 | | | | Bytes | Packets | Errors | |
| 368 | +=============+=============+=============+=============+=============+ |
| 369 | | ST6WA21CRS: | PRIMARY | 2457205 | 21505 | 0 | |
| 370 | | TUNNEL-TE40 | | | | | |
| 371 | | 018 | | | | | |
| 372 | +-------------+-------------+-------------+-------------+-------------+ |
| 373 | | ST6WA21CRS: | PRIMARY | 46677 | 220 | 0 | |
| 374 | | TUNNEL-TE10 | | | | | |
| 375 | | 29 | | | | | |
| 376 | +-------------+-------------+-------------+-------------+-------------+ |
| 377 | | ST6WA21CRS: | PRIMARY | 80346 | 577 | 0 | |
| 378 | | TUNNEL-TE10 | | | | | |
| 379 | | 28 | | | | | |
| 380 | +-------------+-------------+-------------+-------------+-------------+ |
| 381 | |
| 382 | - Tunnel Name is an index, Tunnel Type is reference data and the other |
| 383 | three columns are counters |
| 384 | |
| 385 | - The first three columns would be sent through VES as follows: |
| 386 | |
| 387 | additionalMeasurements: { presence: required, isHomogeneous: true, |
| 388 | array: [ |
| 389 | |
| 390 | namedHashMap: { presence: required, structure: { |
| 391 | |
| 392 | name: { presence: required, value: "TunnelTraffic" }, |
| 393 | |
| 394 | hashMap: { presence: required, array: [ |
| 395 | |
| 396 | keyValuePair: { presence: required, aggregationRole: index, structure: { |
| 397 | |
| 398 | key: { presence: required, value: TunnelName }, |
| 399 | |
| 400 | value: { presence: required } |
| 401 | |
| 402 | }}, |
| 403 | |
| 404 | keyValuePair: { presence: required, aggregationRole: reference, |
| 405 | structure: { |
| 406 | |
| 407 | key: { presence: required, value: TunnelType }, |
| 408 | |
| 409 | value: { presence: required } |
| 410 | |
| 411 | }}, |
| 412 | |
| 413 | keyValuePair: { presence: required, aggregationRole: counter, structure: |
| 414 | { |
| 415 | |
| 416 | key: { presence: required, value: TotalOutputBytes }, |
| 417 | |
| 418 | value: { presence: required, castTo: integer } |
| 419 | |
| 420 | }} |
| 421 | |
| 422 | ]} |
| 423 | |
| 424 | }} |
| 425 | |
| 426 | ]} |
| 427 | |
| 428 | Array |
| 429 | ~~~~~ |
| 430 | |
| 431 | The ‘array’ keyword indicates that the element is an array; ‘array:’ is |
| 432 | following by square brackets which contain the elements of the array. |
| 433 | Note that unlike JSON itself, the YAML registration will explicitly |
| 434 | declare the array elements and will not communicate them anonymously. |
| 435 | |
| 436 | Examples: |
| 437 | |
| 438 | - element: { array: [ |
| 439 | |
| 440 | .. |
| 441 | |
| 442 | firstArrayElement: { }, |
| 443 | |
| 444 | secondArrayElement: { } |
| 445 | |
| 446 | ] } |
| 447 | |
| 448 | CastTo |
| 449 | ~~~~~~ |
| 450 | |
| 451 | The ‘castTo’ keyword is applied to ‘value’ keywords. It tells the |
| 452 | receiving event processor to cast the supplied value from its standard |
| 453 | VES datatype (typically a string) to some other datatype. If not |
| 454 | supplied the implication is the standard VES datatype applies. |
| 455 | |
| 456 | A value may be castTo one and only one of the following data types: |
| 457 | |
| 458 | - boolean |
| 459 | |
| 460 | - integer |
| 461 | |
| 462 | - number (note: this supports decimal values as well as integral |
| 463 | values) |
| 464 | |
| 465 | - string |
| 466 | |
| 467 | Example: |
| 468 | |
| 469 | - fieldname: { value: [ x, y, z ], castTo: number } # only values ‘x’, |
| 470 | ‘y’, or ‘z’ allowed |
| 471 | |
| 472 | .. |
| 473 | |
| 474 | # each must be cast to a number |
| 475 | |
| 476 | - additionalMeasurements: {presence: optional, structure: { |
| 477 | |
| 478 | .. |
| 479 | |
| 480 | keyValuePair: {presence: required, structure: { # if |
| 481 | additionalMeasurements is |
| 482 | |
| 483 | key: {presence: required, value: name1}, # supplied, it must have key |
| 484 | ‘name1’ |
| 485 | |
| 486 | value: {presence: required, castTo: integer} # its value must be cast |
| 487 | to integer |
| 488 | |
| 489 | }} |
| 490 | |
| 491 | }} |
| 492 | |
| 493 | For another example, see the second example under AggregationRole. |
| 494 | |
| 495 | Default |
| 496 | ~~~~~~~ |
| 497 | |
| 498 | The ‘default’ keyword specifies a default field value. Note: the default |
| 499 | value must be within the range or enumeration of acceptable values. |
| 500 | |
| 501 | Examples: |
| 502 | |
| 503 | - fieldname: { range: [ 1, unbounded ], default: 5 } |
| 504 | |
| 505 | - fieldname: { value: [ red, white, blue ], default: blue } |
| 506 | |
| 507 | HeartbeatAction |
| 508 | ~~~~~~~~~~~~~~~ |
| 509 | |
| 510 | The ‘heartbeatAction’ keyword is provided on the ‘event’ objectName for |
| 511 | heartbeat events only. It provides design time guidance to the service |
| 512 | provider’s heartbeat processing applications (i.e., their watchdog |
| 513 | timers). The syntax and semantics of the ‘heartbeatAction’ keyword are |
| 514 | similar to the ‘action’ keyword except the trigger is specified by the |
| 515 | first field only instead of the first two fields. When the |
| 516 | ‘heartbeatAction’ keyword is indicated, the first field is an integer |
| 517 | indicating the number of successively missed heartbeat events. Should |
| 518 | that trigger occur, the remaining fields have the same order, meaning |
| 519 | and optionality as those described for the ‘action’ keyword. |
| 520 | |
| 521 | Examples: |
| 522 | |
| 523 | - event: { heartbeatAction: [ 3, vnfDown, RECO-rebootVnf, tcaEventName |
| 524 | ] } |
| 525 | |
| 526 | .. |
| 527 | |
| 528 | # whenever the above event occurs, a vnfDown condition is asserted |
| 529 | and the vnf should be rebooted, plus the indicated tca should be |
| 530 | generated. |
| 531 | |
| 532 | isHomogeneous |
| 533 | ~~~~~~~~~~~~~ |
| 534 | |
| 535 | The isHomogeneous keyword is applied to fields containing |
| 536 | arrayOfNamedHashMap. It lets the receiving event processor know whether |
| 537 | each namedHashMap in the arrayOfNamedHashMap conveys the same data |
| 538 | structure or whether convey different data structures. |
| 539 | |
| 540 | isHomogeneous may be set to one of the following (note that lowercase |
| 541 | letters only should be used): |
| 542 | |
| 543 | - true |
| 544 | |
| 545 | - false |
| 546 | |
| 547 | Example: The second example for the AggregationRole keyword, shows how |
| 548 | isHomogeneous is used. In that example, the implication is that all |
| 549 | namedHashMapssent through additionalMeasurements would convey |
| 550 | TunnelTraffic data sets and thus the receiving event processor could |
| 551 | convert all the data within additionalMeasurements into a single table. |
| 552 | |
| 553 | On the other hand, if isHomogeneous had been set to ‘false’, that would |
| 554 | tell the receiving event processor that different types of data are |
| 555 | being conveyed through additionalMeasurements (e.g., maybe TunnelTraffic |
| 556 | data is sent in some namedHashMaps while QosReport data is sent in other |
| 557 | namedHashMaps) and the receiving event processor would have to process |
| 558 | it accordingly. |
| 559 | |
| 560 | key |
| 561 | ~~~ |
| 562 | |
| 563 | The ‘key’ keyword describes a specific key as part of a key-value pair |
| 564 | that may be sent within a keyValuePair keyword (see ‘keyValuePair’ |
| 565 | keyword for more explanation and examples). |
| 566 | |
| 567 | keyValuePair |
| 568 | ~~~~~~~~~~~~ |
| 569 | |
| 570 | The ‘keyValuePair’ keyword describes a specific key-value pair that may |
| 571 | be sent within a hashMap structure (i.e., a VES field with the hashMap |
| 572 | datatype) or a keyValuePairString structure (see the keyValuePairString |
| 573 | keyword for more information). |
| 574 | |
| 575 | Within keyValuePair is a single ‘key’ and a single ‘value’ keyword, each |
| 576 | of which may be decorated with other keywords specified in this document |
| 577 | (e.g., with ‘presence’, ‘range’ and other relevant keywords). |
| 578 | |
| 579 | Examples: |
| 580 | |
| 581 | - The following specifies an additionalInformation field within VES, |
| 582 | which is of type hashMap: |
| 583 | |
| 584 | .. |
| 585 | |
| 586 | additionalInformation: {presence: optional, structure: { |
| 587 | |
| 588 | keyValuePair: {presence: required, structure: { |
| 589 | |
| 590 | key: {presence: required, value: name1}, |
| 591 | |
| 592 | value: {presence: required} |
| 593 | |
| 594 | }}, |
| 595 | |
| 596 | keyValuePair: {presence: optional, structure: { |
| 597 | |
| 598 | key: {presence: required, value: name2}, |
| 599 | |
| 600 | value: {presence: required} |
| 601 | |
| 602 | }} |
| 603 | |
| 604 | }} |
| 605 | |
| 606 | keyValuePairString |
| 607 | ~~~~~~~~~~~~~~~~~~ |
| 608 | |
| 609 | The ‘keyValuePairString’ keyword describes the key-value pairs to be |
| 610 | communicated through a string (e.g., in the VES Syslog Fields |
| 611 | ‘syslogSData’ or ‘additionalFields’ strings). This keyword takes three |
| 612 | parameters: |
| 613 | |
| 614 | - the first parameter specifies the character used to delimit (i.e., to |
| 615 | separate) the key-value pairs. If a space is used as a delimiter, |
| 616 | it should be communicated within single quotes as ‘ ‘; otherwise, |
| 617 | the delimiter character should be provided without any quotes. |
| 618 | |
| 619 | - The second parameter specifies the characters used to separate the |
| 620 | keys and values. If a space is used as a separator, it should be |
| 621 | communicated within single quotes as ‘ ‘; otherwise, the separator |
| 622 | character should be provided without any quotes. |
| 623 | |
| 624 | - The third parameter is a “sub-keyword” (i.e., it is used only within |
| 625 | ‘keyValuePairString’) called ‘keyValuePairs: [ ]’. Within the |
| 626 | square brackets, a list of ‘keyValuePair’ keywords can be provided |
| 627 | (see the ‘keyValuePair keyword for more information). |
| 628 | |
| 629 | Examples: |
| 630 | |
| 631 | - The following specifies an additionalFields string which is stuffed |
| 632 | with ‘key=value’ pairs delimited by the pipe (‘|’) symbol as in |
| 633 | (“key1=value1|key2=value2|key3=value3…”). |
| 634 | |
| 635 | additionalFields: {presence: required, keyValuePairString: {|, =, |
| 636 | keyValuePairs: [ |
| 637 | |
| 638 | keyValuePair: {presence: required, structure: { |
| 639 | |
| 640 | key: {presence: required, value: someKeyName}, |
| 641 | |
| 642 | value: {presence: required, range: [0, 100]} |
| 643 | |
| 644 | } }, |
| 645 | |
| 646 | keyValuePair: {presence: optional, structure: { |
| 647 | |
| 648 | key: {presence: required, value: someOtherKeyName}, |
| 649 | |
| 650 | value: {presence: required, value [red, white, blue]} |
| 651 | |
| 652 | } } |
| 653 | |
| 654 | ] } } |
| 655 | |
| 656 | Presence |
| 657 | ~~~~~~~~ |
| 658 | |
| 659 | The ‘presence’ keyword may be defined as ‘required’ or ‘optional’. If |
| 660 | not provided, the element is assumed to be ‘optional’. |
| 661 | |
| 662 | Examples |
| 663 | |
| 664 | - element: { presence: required } # element must be present |
| 665 | |
| 666 | - element: { presence: optional } # element is optional |
| 667 | |
| 668 | - element: { value: blue } # by omitting a presence definition, the |
| 669 | |
| 670 | .. |
| 671 | |
| 672 | element is assumed to be optional |
| 673 | |
| 674 | Range |
| 675 | ~~~~~ |
| 676 | |
| 677 | The ‘range’ keyword applies to fields (i.e., simpleTypes); indicates the |
| 678 | value of the field is a number within a specified range of values from |
| 679 | low to high (inclusive of the indicated values). . ‘range:’ is followed |
| 680 | by two parameters in square brackets: |
| 681 | |
| 682 | - the first parameter conveys the minimum value |
| 683 | |
| 684 | - the second parameter conveys the maximum value or ‘unbounded’ |
| 685 | |
| 686 | The keyword ‘unbounded’ is supported to convey an unbounded upper limit. |
| 687 | Note that the range cannot override any restrictions defined in the VES |
| 688 | Common Event Format. |
| 689 | |
| 690 | Examples: |
| 691 | |
| 692 | - fieldname: { range: [ 1, unbounded ] } |
| 693 | |
| 694 | - fieldname: { range: [ 0, 3.14 ] } |
| 695 | |
| 696 | Structure |
| 697 | ~~~~~~~~~ |
| 698 | |
| 699 | The ‘structure’ keyword indicates that the element is a complexType |
| 700 | (i.e., an object) and is followed by curly braces containing that |
| 701 | object. |
| 702 | |
| 703 | Example: |
| 704 | |
| 705 | - objectName: { structure: { |
| 706 | |
| 707 | element1: { }, |
| 708 | |
| 709 | element2: { }, |
| 710 | |
| 711 | anotherObject: { structure: { |
| 712 | |
| 713 | element3: { }, |
| 714 | |
| 715 | element4: { } |
| 716 | |
| 717 | } } |
| 718 | |
| 719 | } } |
| 720 | |
| 721 | Units |
| 722 | ~~~~~ |
| 723 | |
| 724 | The ‘units’ qualifier may be applied to values provided in VES Common |
| 725 | Event Format extensible field structures. The ‘units’ qualifier |
| 726 | communicates the units (e.g., megabytes, seconds, Hz) that the value is |
| 727 | expressed in. Note: the ‘units’ should not contain any space characters |
| 728 | and should be expressed in camel casing (e.g., use ‘numberOfPorts’, not |
| 729 | ‘number_of_ports’ nor ‘number of ports’). |
| 730 | |
| 731 | Example: |
| 732 | |
| 733 | - additionalInformation: { presence: optional, structure: { |
| 734 | |
| 735 | keyValuePair: {presence: required, structure: { |
| 736 | |
| 737 | key: {presence: required, value: pilotNumberPoolSize}, |
| 738 | |
| 739 | value: {presence: required, units: megaBytes} |
| 740 | |
| 741 | }} |
| 742 | |
| 743 | }} |
| 744 | |
| 745 | Value |
| 746 | ~~~~~ |
| 747 | |
| 748 | The ‘value’ keyword applies to fields (i.e., simpleTypes); indicates a |
| 749 | single value or an enumeration of possible values. If not provided, it |
| 750 | is assumed the value will be determined at runtime. Note that the |
| 751 | declared value cannot be inconsistent with restrictions defined in the |
| 752 | VES Common Event Format (e.g., it cannot add an enumerated value to an |
| 753 | enumeration defined in the Common Event Format, but it can subset the |
| 754 | defined enumerations in the Common Event Format). |
| 755 | |
| 756 | Values that are strings containing spaces should always be indicated in |
| 757 | single quotes. |
| 758 | |
| 759 | Examples: |
| 760 | |
| 761 | - fieldname: { value: x } # the value is ‘x’ |
| 762 | |
| 763 | - fieldname: { value: [ x, y, z ] } # the value is either ‘x’, ‘y’, or |
| 764 | ‘z’ |
| 765 | |
| 766 | - fieldname: { presence: required } # the value will be provided at |
| 767 | runtime |
| 768 | |
| 769 | - fieldname: { value: ‘error state’ } # the value is the string within |
| 770 | the single quotes |
| 771 | |
| 772 | Complex Conditions |
| 773 | ------------------ |
| 774 | |
| 775 | Conditions Document |
| 776 | ~~~~~~~~~~~~~~~~~~~ |
| 777 | |
| 778 | After all events have been defined, the YAML file may provide a YAML |
| 779 | document delimited by ‘---‘ and ‘…’, which specifies complex conditions |
| 780 | defined in terms of other conditions, which were asserted in the action |
| 781 | qualifiers of the preceding event definitions. For example: |
| 782 | |
| 783 | --- |
| 784 | |
| 785 | # Event Registration for eventName ‘name1’ |
| 786 | |
| 787 | event: {presence: required, action: [any, any, A, null], structure: { |
| 788 | |
| 789 | # details omitted |
| 790 | |
| 791 | }} |
| 792 | |
| 793 | ... |
| 794 | |
| 795 | --- |
| 796 | |
| 797 | # Event Registration for eventName ‘name2’ |
| 798 | |
| 799 | event: {presence: required, structure: { |
| 800 | |
| 801 | commonEventHeader: {presence: required, structure: { |
| 802 | |
| 803 | # details omitted |
| 804 | |
| 805 | }} |
| 806 | |
| 807 | measurementFields: {presence: required, structure: { |
| 808 | |
| 809 | cpuUsageArray: {presence: required, array: [ |
| 810 | |
| 811 | cpuUsage: {presence: required, structure: { |
| 812 | |
| 813 | cpuIdentifier: {presence: required}, |
| 814 | |
| 815 | percentUsage: {presence: required, action: [90, up, B, null]} |
| 816 | |
| 817 | }} |
| 818 | |
| 819 | ]}, |
| 820 | |
| 821 | # details omitted |
| 822 | |
| 823 | }} |
| 824 | |
| 825 | }} |
| 826 | |
| 827 | ... |
| 828 | |
| 829 | --- |
| 830 | |
| 831 | # Complex Conditions |
| 832 | |
| 833 | conditions: [ |
| 834 | |
| 835 | conditionC: { defined in terms of A and B, details omitted }, |
| 836 | |
| 837 | conditionD: { defined in terms of A, B and C details omitted } |
| 838 | |
| 839 | ] |
| 840 | |
| 841 | ... |
| 842 | |
| 843 | Conditions Syntax and Semantics |
| 844 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 845 | |
| 846 | The YAML ‘conditions’ document begins with the keyword ‘conditions’ |
| 847 | followed by a colon and square brackets. Each condition is then defined |
| 848 | within the square brackets. Commas are used to separate conditions. |
| 849 | |
| 850 | Each condition is expressed as follows: |
| 851 | |
| 852 | conditionName: *logical expression in terms of other conditions* |
| 853 | |
| 854 | Logical Expressions |
| 855 | ~~~~~~~~~~~~~~~~~~~ |
| 856 | |
| 857 | The following logical operators are supported: |
| 858 | |
| 859 | - &&: which is a logical AND |
| 860 | |
| 861 | - \||, which is a logical OR |
| 862 | |
| 863 | In addition parentheses may be used to group expressions. |
| 864 | |
| 865 | Example logical expression: |
| 866 | |
| 867 | (A && B) \|\| (C && D) |
| 868 | |
| 869 | Where A, B, C and D are named conditions expressed earlier in the YAML |
| 870 | file. |
| 871 | |
| 872 | Because YAML doesn’t support the above operators, the whole expression |
| 873 | needs to be enclosed in double quotes. |
| 874 | |
| 875 | Example for a condition named ‘ConditionP’: |
| 876 | |
| 877 | --- |
| 878 | |
| 879 | conditions: [ |
| 880 | |
| 881 | conditionP: "B \|\| (C && D)" |
| 882 | |
| 883 | ] |
| 884 | |
| 885 | ... |
| 886 | |
| 887 | Alternatively, Logical ORs and ANDs can be expressed using a syntax |
| 888 | defined by `metacpan.org <https://metacpan.org/pod/YAML::Logic>`__ for |
| 889 | Perl. Using this syntax, the example above looks like this: |
| 890 | |
| 891 | --- |
| 892 | |
| 893 | conditions: [ |
| 894 | |
| 895 | conditionP: [or, [B, [and, [C, D]]]] |
| 896 | |
| 897 | ] |
| 898 | |
| 899 | ... |
| 900 | |
| 901 | In the above syntax, both ORs and ANDs are provided as two nested |
| 902 | arrays, where the outer array consists of two items: |
| 903 | |
| 904 | - The desired operator as either ‘or’ or ‘and’ |
| 905 | |
| 906 | - The inner array which consists of the conditions to be OR’d or AND’d |
| 907 | together |
| 908 | |
| 909 | Note1: more than two conditions may be or’d or and’d (e.g., “B \|\| C |
| 910 | \|\| D” or “B && C && D”) |
| 911 | |
| 912 | Note2: however expressed by YAML, parsers must be developed to make use |
| 913 | of the above expressions. |
| 914 | |
| 915 | Time Based Qualifiers |
| 916 | ~~~~~~~~~~~~~~~~~~~~~ |
| 917 | |
| 918 | Time based rules may be established using a timing keyword as follows: |
| 919 | |
| 920 | --- |
| 921 | |
| 922 | conditions: [ |
| 923 | |
| 924 | PersistentB1: { |
| 925 | |
| 926 | timing: { |
| 927 | |
| 928 | condition: B, |
| 929 | |
| 930 | occurrences: 3, |
| 931 | |
| 932 | interval: 300, |
| 933 | |
| 934 | units: seconds |
| 935 | |
| 936 | } |
| 937 | |
| 938 | } |
| 939 | |
| 940 | ] |
| 941 | |
| 942 | ... |
| 943 | |
| 944 | This means that if condition B occurs 3 (or more) times in 300 seconds |
| 945 | (e.g., 5 minutes), then condition ‘PersistentB1’ has occurred. |
| 946 | |
| 947 | Array Item Qualifiers |
| 948 | ~~~~~~~~~~~~~~~~~~~~~ |
| 949 | |
| 950 | This ‘arrayItems’ keyword defines conditions evaluated across the items |
| 951 | in an array. In the example below, the condition is named ‘AnyOfC’: |
| 952 | |
| 953 | --- |
| 954 | |
| 955 | conditions: [ |
| 956 | |
| 957 | AnyOfC: { |
| 958 | |
| 959 | arrayItems: { |
| 960 | |
| 961 | condition: C, |
| 962 | |
| 963 | arrayItem: measurements.cpuUsageArray.cpuUsage, |
| 964 | |
| 965 | scope: anyOf |
| 966 | |
| 967 | } |
| 968 | |
| 969 | } |
| 970 | |
| 971 | ] |
| 972 | |
| 973 | ... |
| 974 | |
| 975 | This means that if condition C occurs on any cpuUsage structure within |
| 976 | the cpuUsageArray, then the condition ‘AnyOfC’ is in effect. |
| 977 | |
| 978 | Note the dotted notation used to convey the path to the arrayItem with |
| 979 | respect to the encapsulating domain field block. |
| 980 | |
| 981 | Scope may have the values ‘anyOf’ or ‘allOf’ |
| 982 | |
| 983 | Mathematical Expressions |
| 984 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 985 | |
| 986 | Mathematical expressions evaluate to a number, using ‘(‘, ‘)’, ‘+’, ‘-‘, |
| 987 | ‘*’, ‘/’ and variables of the form $variablePath where the variablePath |
| 988 | is defined with respect to the encapsulating domain field block. |
| 989 | |
| 990 | Mathematical expressions are specified as "${mathematicalExpress}". |
| 991 | Because YAML does not support mathematical operators, the expressions |
| 992 | must be enclosed within double quotes. |
| 993 | |
| 994 | --- |
| 995 | |
| 996 | conditions: [ |
| 997 | |
| 998 | PersistentB2: { |
| 999 | |
| 1000 | timing: { |
| 1001 | |
| 1002 | condition: B, |
| 1003 | |
| 1004 | occurrences: 3, |
| 1005 | |
| 1006 | interval: "${60 \* $measurements.measurementInterval}", |
| 1007 | |
| 1008 | units: seconds |
| 1009 | |
| 1010 | } |
| 1011 | |
| 1012 | } |
| 1013 | |
| 1014 | ] |
| 1015 | |
| 1016 | ... |
| 1017 | |
| 1018 | This means that if condition B occurs 3 (or more) times in an interval |
| 1019 | defined by 60 times the measurementInterval (e.g., if the |
| 1020 | measurementInterval was expressed in seconds as 5, then this would |
| 1021 | evaluate to 300), then condition ‘PersistentB2’ is in effect. |
| 1022 | |
| 1023 | Rules |
| 1024 | ----- |
| 1025 | |
| 1026 | Rules Document |
| 1027 | ~~~~~~~~~~~~~~ |
| 1028 | |
| 1029 | After all events and conditions have been defined, the YAML file may |
| 1030 | conclude with a final YAML document delimited by ‘---‘ and ‘…’, which |
| 1031 | defines rules based on the named ‘conditions’ asserted previously. For |
| 1032 | example: |
| 1033 | |
| 1034 | --- |
| 1035 | |
| 1036 | # Event Registration for eventName ‘name1’ |
| 1037 | |
| 1038 | event: {presence: required, action: [any, any, A, null], structure: { |
| 1039 | |
| 1040 | # details omitted |
| 1041 | |
| 1042 | }} |
| 1043 | |
| 1044 | ... |
| 1045 | |
| 1046 | --- |
| 1047 | |
| 1048 | # Event Registration for eventName ‘name2’ |
| 1049 | |
| 1050 | event: {presence: required, structure: { |
| 1051 | |
| 1052 | commonEventHeader: {presence: required, structure: { |
| 1053 | |
| 1054 | # details omitted |
| 1055 | |
| 1056 | }} |
| 1057 | |
| 1058 | measurementFields: {presence: required, structure: { |
| 1059 | |
| 1060 | cpuUsageArray: {presence: required, array: [ |
| 1061 | |
| 1062 | cpuUsage: {presence: required, structure: { |
| 1063 | |
| 1064 | cpuIdentifier: {presence: required}, |
| 1065 | |
| 1066 | percentUsage: {presence: required, action: [90, up, B, null]} |
| 1067 | |
| 1068 | }} |
| 1069 | |
| 1070 | ]}, |
| 1071 | |
| 1072 | # details omitted |
| 1073 | |
| 1074 | }} |
| 1075 | |
| 1076 | }} |
| 1077 | |
| 1078 | ... |
| 1079 | |
| 1080 | --- |
| 1081 | |
| 1082 | # Complex Conditions |
| 1083 | |
| 1084 | conditions: [ |
| 1085 | |
| 1086 | C: { details omitted } |
| 1087 | |
| 1088 | ] |
| 1089 | |
| 1090 | ... |
| 1091 | |
| 1092 | --- |
| 1093 | |
| 1094 | # Rules |
| 1095 | |
| 1096 | rules: [ |
| 1097 | |
| 1098 | # defined based on conditions ‘A’, ‘B’ and ‘C’ - details omitted |
| 1099 | |
| 1100 | ] |
| 1101 | |
| 1102 | ... |
| 1103 | |
| 1104 | Rules Syntax and Semantics |
| 1105 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1106 | |
| 1107 | The YAML ‘rules’ document begins with the keyword ‘rules’ followed by a |
| 1108 | colon and square brackets. Each rule is then defined within the square |
| 1109 | brackets (of ‘rules’). Commas are used to separate rule structure. |
| 1110 | |
| 1111 | Each rule structure is expressed as follows: |
| 1112 | |
| 1113 | rule: { |
| 1114 | |
| 1115 | trigger: *logical expression in terms of conditions*, |
| 1116 | |
| 1117 | microservices: [ *microservice1, microservice2, microservice3…* ] |
| 1118 | |
| 1119 | events: [e*ventName1, eventName2, eventName3…* ], |
| 1120 | |
| 1121 | } |
| 1122 | |
| 1123 | Notes: |
| 1124 | |
| 1125 | - All referenced eventNames should be defined within the YAML. |
| 1126 | |
| 1127 | - At least one microservice or event should be specified, and both |
| 1128 | microservices and events may be specified. |
| 1129 | |
| 1130 | - For information about microservices, see section 3.1.1 bullet number |
| 1131 | 4. |
| 1132 | |
| 1133 | Triggers |
| 1134 | ~~~~~~~~ |
| 1135 | |
| 1136 | Triggers may be as simple as a named condition, or they may be logical |
| 1137 | expressions in terms of other conditions using the same syntax as used |
| 1138 | by the complex conditions described above. For example: |
| 1139 | |
| 1140 | rules: [ |
| 1141 | |
| 1142 | ruleName1: { |
| 1143 | |
| 1144 | trigger: A, |
| 1145 | |
| 1146 | eventss: [eventName1], |
| 1147 | |
| 1148 | microservices: [rebootVm] |
| 1149 | |
| 1150 | }, |
| 1151 | |
| 1152 | ruleName2: { |
| 1153 | |
| 1154 | trigger: "B \|\| (C && D)", |
| 1155 | |
| 1156 | microservices: [scaleOut] |
| 1157 | |
| 1158 | } |
| 1159 | |
| 1160 | ] |
| 1161 | |
| 1162 | Note: when microservices are defined in terms of multiple event |
| 1163 | conditions, the designer should take care to consider whether the target |
| 1164 | of the microservice is clear (e.g., which VNF or VM instance to perform |
| 1165 | the action on). Future versions of this document may provide more |
| 1166 | clarity. |
| 1167 | |
| 1168 | YAML Examples |
| 1169 | ============= |
| 1170 | |
| 1171 | An example YAML file is provided below which registers some events for a |
| 1172 | hypothetical VNF. Note: some of the lines have been manually |
| 1173 | wrapped/indented to make it easier to read. Please ignore the section |
| 1174 | breaks that interrupt this single file; they were added to make it |
| 1175 | easier to rapidly find examples of different types of events. |
| 1176 | |
| 1177 | Fault |
| 1178 | ----- |
| 1179 | |
| 1180 | --- |
| 1181 | |
| 1182 | # registration for Fault_vMrf_alarm003 |
| 1183 | |
| 1184 | # Constants: the values of domain, eventName, priority, vfstatus |
| 1185 | |
| 1186 | # , version, alarmCondition, eventSeverity, eventSourceType, |
| 1187 | |
| 1188 | # faultFieldsVersion, specificProblem, |
| 1189 | |
| 1190 | # Variables (to be supplied at runtime) include: eventId, |
| 1191 | lastEpochMicrosec, |
| 1192 | |
| 1193 | # reportingEntityId, reportingEntityName, sequence, sourceId, |
| 1194 | sourceName, |
| 1195 | |
| 1196 | # startEpochMicrosec |
| 1197 | |
| 1198 | event: {presence: required, action: [ any, any, alarm003, |
| 1199 | RECO-rebuildVnf ], |
| 1200 | |
| 1201 | structure: { |
| 1202 | |
| 1203 | commonEventHeader: {presence: required, structure: { |
| 1204 | |
| 1205 | domain: {presence: required, value: fault}, |
| 1206 | |
| 1207 | eventName: {presence: required, value: Fault_Vmrf-Nokia_Alarm003}, |
| 1208 | |
| 1209 | eventId: {presence: required}, |
| 1210 | |
| 1211 | nfNamingCode: {value: mrfx}, |
| 1212 | |
| 1213 | priority: {presence: required, value: Medium}, |
| 1214 | |
| 1215 | reportingEntityId: {presence: required}, |
| 1216 | |
| 1217 | reportingEntityName: {presence: required}, |
| 1218 | |
| 1219 | sequence: {presence: required}, |
| 1220 | |
| 1221 | sourceId: {presence: required}, |
| 1222 | |
| 1223 | sourceName: {presence: required}, |
| 1224 | |
| 1225 | startEpochMicrosec: {presence: required}, |
| 1226 | |
| 1227 | lastEpochMicrosec: {presence: required}, |
| 1228 | |
| 1229 | timeZoneOffset: {presence: required}, |
| 1230 | |
| 1231 | version: {presence: required, value: 3.0} |
| 1232 | |
| 1233 | }}, |
| 1234 | |
| 1235 | faultFields: {presence: required, structure: { |
| 1236 | |
| 1237 | alarmCondition: {presence: required, value: alarm003}, |
| 1238 | |
| 1239 | eventSeverity: {presence: required, value: MAJOR}, |
| 1240 | |
| 1241 | eventSourceType: {presence: required, value: virtualNetworkFunction}, |
| 1242 | |
| 1243 | faultFieldsVersion: {presence: required, value: 3.0}, |
| 1244 | |
| 1245 | specificProblem: {presence: required, value: "Configuration file was |
| 1246 | corrupt or |
| 1247 | |
| 1248 | not present"}, |
| 1249 | |
| 1250 | vfStatus: {presence: required, value: "Requesting Termination"} |
| 1251 | |
| 1252 | }} |
| 1253 | |
| 1254 | }} |
| 1255 | |
| 1256 | ... |
| 1257 | |
| 1258 | --- |
| 1259 | |
| 1260 | # registration for clearing Fault_vMrf_alarm003Cleared |
| 1261 | |
| 1262 | # Constants: the values of domain, eventName, priority, |
| 1263 | |
| 1264 | # , version, alarmCondition, eventSeverity, eventSourceType, |
| 1265 | |
| 1266 | # faultFieldsVersion, specificProblem, |
| 1267 | |
| 1268 | # Variables (to be supplied at runtime) include: eventId, |
| 1269 | lastEpochMicrosec, |
| 1270 | |
| 1271 | # reportingEntityId, reportingEntityName, sequence, sourceId, |
| 1272 | |
| 1273 | # sourceName, startEpochMicrosec, vfStatus |
| 1274 | |
| 1275 | event: {presence: required, action: [ any, any, alarm003, Clear ], |
| 1276 | structure: { |
| 1277 | |
| 1278 | commonEventHeader: {presence: required, structure: { |
| 1279 | |
| 1280 | domain: {presence: required, value: fault}, |
| 1281 | |
| 1282 | eventName: {presence: required, value: |
| 1283 | Fault_Vmrf-Nokia_Alarm003Cleared}, |
| 1284 | |
| 1285 | eventId: {presence: required}, |
| 1286 | |
| 1287 | nfNamingCode: {value: mrfx}, |
| 1288 | |
| 1289 | priority: {presence: required, value: Medium}, |
| 1290 | |
| 1291 | reportingEntityId: {presence: required}, |
| 1292 | |
| 1293 | reportingEntityName: {presence: required}, |
| 1294 | |
| 1295 | sequence: {presence: required}, |
| 1296 | |
| 1297 | sourceId: {presence: required}, |
| 1298 | |
| 1299 | sourceName: {presence: required}, |
| 1300 | |
| 1301 | startEpochMicrosec: {presence: required}, |
| 1302 | |
| 1303 | lastEpochMicrosec: {presence: required}, |
| 1304 | |
| 1305 | timeZoneOffset: {presence: required}, |
| 1306 | |
| 1307 | version: {presence: required, value: 3.0} |
| 1308 | |
| 1309 | }}, |
| 1310 | |
| 1311 | faultFields: {presence: required, structure: { |
| 1312 | |
| 1313 | alarmCondition: {presence: required, value: alarm003}, |
| 1314 | |
| 1315 | eventSeverity: {presence: required, value: NORMAL}, |
| 1316 | |
| 1317 | eventSourceType: {presence: required, value: virtualNetworkFunction}, |
| 1318 | |
| 1319 | faultFieldsVersion: {presence: required, value: 3.0}, |
| 1320 | |
| 1321 | specificProblem: {presence: required, value: "Valid configuration file |
| 1322 | found"}, |
| 1323 | |
| 1324 | vfStatus: {presence: required, value: "Requesting Termination"} |
| 1325 | |
| 1326 | }} |
| 1327 | |
| 1328 | }} |
| 1329 | |
| 1330 | ... |
| 1331 | |
| 1332 | Heartbeat |
| 1333 | --------- |
| 1334 | |
| 1335 | --- |
| 1336 | |
| 1337 | # registration for Heartbeat_vMRF |
| 1338 | |
| 1339 | # Constants: the values of domain, eventName, priority, version |
| 1340 | |
| 1341 | # Variables (to be supplied at runtime) include: eventId, |
| 1342 | lastEpochMicrosec, |
| 1343 | |
| 1344 | # reportingEntityId, reportingEntityName, sequence, sourceId, |
| 1345 | sourceName, |
| 1346 | |
| 1347 | # startEpochMicrosec |
| 1348 | |
| 1349 | event: {presence: required, heartbeatAction: [3, vnfDown, |
| 1350 | RECO-rebuildVnf], |
| 1351 | |
| 1352 | structure: { |
| 1353 | |
| 1354 | commonEventHeader: {presence: required, structure: { |
| 1355 | |
| 1356 | domain: {presence: required, value: heartbeat}, |
| 1357 | |
| 1358 | eventName: {presence: required, value: Heartbeat_Vmrf-Nokia}, |
| 1359 | |
| 1360 | eventId: {presence: required}, |
| 1361 | |
| 1362 | nfNamingCode: {value: mrfx}, |
| 1363 | |
| 1364 | priority: {presence: required, value: Normal}, |
| 1365 | |
| 1366 | reportingEntityId: {presence: required}, |
| 1367 | |
| 1368 | reportingEntityName: {presence: required}, |
| 1369 | |
| 1370 | sequence: {presence: required}, |
| 1371 | |
| 1372 | sourceId: {presence: required}, |
| 1373 | |
| 1374 | sourceName: {presence: required}, |
| 1375 | |
| 1376 | startEpochMicrosec: {presence: required}, |
| 1377 | |
| 1378 | lastEpochMicrosec: {presence: required}, |
| 1379 | |
| 1380 | timeZoneOffset: {presence: required}, |
| 1381 | |
| 1382 | version: {presence: required, value: 3.0} |
| 1383 | |
| 1384 | }}, |
| 1385 | |
| 1386 | heartbeatFields: {presence: optional, structure:{ |
| 1387 | |
| 1388 | heartbeatFieldsVersion: {presence: required, value: 2.0}, |
| 1389 | |
| 1390 | heartbeatInterval: {presence: required, range: [ 15, 300 ], |
| 1391 | default: 60 } |
| 1392 | |
| 1393 | }} |
| 1394 | |
| 1395 | }} |
| 1396 | |
| 1397 | ... |
| 1398 | |
| 1399 | Measurements |
| 1400 | ------------ |
| 1401 | |
| 1402 | To see how additionalMeasurements may be sent in a way that is easy for |
| 1403 | service providers to process without custom logic, please see the |
| 1404 | following keywords: aggregationRole, castTo and isHomogeneous. In |
| 1405 | particular, see the second example under aggergationRole. |
| 1406 | |
| 1407 | --- |
| 1408 | |
| 1409 | # registration for Measurement_vMRF |
| 1410 | |
| 1411 | # Constants: the values of domain, eventName, priority, version, |
| 1412 | |
| 1413 | # measurementFieldsVersion, |
| 1414 | additionalMeasurements.namedArrayOfFields.name, |
| 1415 | |
| 1416 | # Variables (to be supplied at runtime) include: eventId, |
| 1417 | reportingEntityName, sequence, |
| 1418 | |
| 1419 | # sourceName, start/lastEpochMicrosec, measurementInterval, |
| 1420 | |
| 1421 | # concurrentSessions, requestRate, numberOfMediaPortsInUse, |
| 1422 | |
| 1423 | # cpuUsageArray.cpuUsage,cpuUsage.cpuIdentifier, cpuUsage.percentUsage, |
| 1424 | |
| 1425 | # additionalMeasurements.namedArrayOfFields.arrayOfFields, |
| 1426 | |
| 1427 | # vNicPerformance.receivedOctetsAccumulated, |
| 1428 | |
| 1429 | # vNicPerformance.transmittedOctetsAccumulated, |
| 1430 | |
| 1431 | # vNicPerformance.receivedTotalPacketsAccumulated, |
| 1432 | |
| 1433 | # vNicPerformance.transmittedTotalPacketsAccumulated, |
| 1434 | |
| 1435 | # vNicPerformance.vNicIdentifier, vNicPerformance.receivedOctetsDelta, |
| 1436 | |
| 1437 | # vNicPerformance.receivedTotalPacketsDelta, |
| 1438 | |
| 1439 | # vNicPerformance.transmittedOctetsDelta, |
| 1440 | |
| 1441 | # vNicPerformance.transmittedTotalPacketsDelta, |
| 1442 | |
| 1443 | # vNicPerformance.valuesAreSuspect, memoryUsageArray.memoryUsage, |
| 1444 | |
| 1445 | # memoryUsage.memoryConfigured, memoryUsage.vmIdentifier, |
| 1446 | |
| 1447 | # memoryUsage.memoryUsed, memoryUsage.memoryFree |
| 1448 | |
| 1449 | event: {presence: required, structure: { |
| 1450 | |
| 1451 | commonEventHeader: {presence: required, structure: { |
| 1452 | |
| 1453 | domain: {presence: required, value: measurement}, |
| 1454 | |
| 1455 | eventName: {presence: required, value: Measurement_Vmrf-Nokia}, |
| 1456 | |
| 1457 | eventId: {presence: required}, |
| 1458 | |
| 1459 | nfNamingCode: {value: mrfx}, |
| 1460 | |
| 1461 | priority: {presence: required, value: Normal}, |
| 1462 | |
| 1463 | reportingEntityId: {presence: required}, |
| 1464 | |
| 1465 | reportingEntityName: {presence: required}, |
| 1466 | |
| 1467 | sequence: {presence: required}, |
| 1468 | |
| 1469 | sourceId: {presence: required}, |
| 1470 | |
| 1471 | sourceName: {presence: required}, |
| 1472 | |
| 1473 | startEpochMicrosec: {presence: required}, |
| 1474 | |
| 1475 | lastEpochMicrosec: {presence: required}, |
| 1476 | |
| 1477 | timeZoneOffset: {presence: required}, |
| 1478 | |
| 1479 | version: {presence: required, value: 3.0} |
| 1480 | |
| 1481 | }}, |
| 1482 | |
| 1483 | measurementFields: {presence: required, structure: { |
| 1484 | |
| 1485 | measurementFieldsVersion: {presence: required, value: 3.0}, |
| 1486 | |
| 1487 | measurementInterval: {presence: required, range: [ 60, 3600 ], default: |
| 1488 | 300}, |
| 1489 | |
| 1490 | concurrentSessions: {presence: required, range: [ 0, 100000 ]}, |
| 1491 | |
| 1492 | requestRate: {presence: required, range: [ 0, 100000 ]}, |
| 1493 | |
| 1494 | numberOfMediaPortsInUse: {presence: required, range: [ 0, 100000 ]}, |
| 1495 | |
| 1496 | cpuUsageArray: {presence: required, array: [ |
| 1497 | |
| 1498 | cpuUsage: {presence: required, structure: { |
| 1499 | |
| 1500 | cpuIdentifier: {presence: required}, |
| 1501 | |
| 1502 | percentUsage: {presence: required, range: [ 0, 100 ], |
| 1503 | |
| 1504 | action: [80, up, CpuUsageHigh, RECO-scaleOut], |
| 1505 | |
| 1506 | action: [10, down, CpuUsageLow, RECO-scaleIn]} |
| 1507 | |
| 1508 | }} |
| 1509 | |
| 1510 | ]}, |
| 1511 | |
| 1512 | memoryUsageArray: {presence: required, array: [ |
| 1513 | |
| 1514 | memoryUsage: {presence: required, structure: { |
| 1515 | |
| 1516 | memoryConfigured: {presence: required, value: 33554432}, |
| 1517 | |
| 1518 | memoryFree: {presence: required, range: [ 0, 33554432 ], |
| 1519 | |
| 1520 | action: [100, down, FreeMemLow, RECO-scaleOut], |
| 1521 | |
| 1522 | action: [30198989, up, FreeMemHigh, RECO-scaleIn]}, |
| 1523 | |
| 1524 | memoryUsed: {presence: required, range: [ 0, 33554432 ]}, |
| 1525 | |
| 1526 | vmIdentifier: {presence: required} |
| 1527 | |
| 1528 | }} |
| 1529 | |
| 1530 | ]}, |
| 1531 | |
| 1532 | additionalMeasurements: {presence: required, array: [ |
| 1533 | |
| 1534 | namedHashMap: {presence: required, structure: { |
| 1535 | |
| 1536 | name: {presence: required, value: licenseUsage}, |
| 1537 | |
| 1538 | hashMap: {presence: required, structure: { |
| 1539 | |
| 1540 | keyValuePair: {presence: required, structure: { |
| 1541 | |
| 1542 | key: {presence: required, value: G711AudioPort}, |
| 1543 | |
| 1544 | value: {presence: required, range: [ 0, 100000 ], |
| 1545 | |
| 1546 | units: numberOfPorts } |
| 1547 | |
| 1548 | }}, |
| 1549 | |
| 1550 | keyValuePair: {presence: required, structure: { |
| 1551 | |
| 1552 | key: {presence: required, value: G729AudioPort}, |
| 1553 | |
| 1554 | value: {presence: required, range: [ 0, 100000 ], |
| 1555 | |
| 1556 | units: numberOfPorts } |
| 1557 | |
| 1558 | }}, |
| 1559 | |
| 1560 | keyValuePair: {presence: required, structure: { |
| 1561 | |
| 1562 | key: {presence: required, value: G722AudioPort}, |
| 1563 | |
| 1564 | value: {presence: required, range: [ 0, 100000 ], |
| 1565 | |
| 1566 | units: numberOfPorts } |
| 1567 | |
| 1568 | }}, |
| 1569 | |
| 1570 | keyValuePair: {presence: required, structure: { |
| 1571 | |
| 1572 | key: {presence: required, value: AMRAudioPort}, |
| 1573 | |
| 1574 | value: {presence: required, range: [ 0, 100000 ], |
| 1575 | |
| 1576 | units: numberOfPorts } |
| 1577 | |
| 1578 | }}, |
| 1579 | |
| 1580 | keyValuePair: {presence: required, structure: { |
| 1581 | |
| 1582 | key: {presence: required, value: AMRWBAudioPort}, |
| 1583 | |
| 1584 | value: {presence: required, range: [ 0, 100000 ], |
| 1585 | |
| 1586 | units: numberOfPorts } |
| 1587 | |
| 1588 | }}, |
| 1589 | |
| 1590 | keyValuePair: {presence: required, structure: { |
| 1591 | |
| 1592 | key: {presence: required, value: OpusAudioPort}, |
| 1593 | |
| 1594 | value: {presence: required, range: [ 0, 100000 ], |
| 1595 | |
| 1596 | units: numberOfPorts } |
| 1597 | |
| 1598 | }}, |
| 1599 | |
| 1600 | keyValuePair: {presence: required, structure: { |
| 1601 | |
| 1602 | key: {presence: required, value: H263VideoPort}, |
| 1603 | |
| 1604 | value: {presence: required, range: [ 0, 100000 ], |
| 1605 | |
| 1606 | units: numberOfPorts } |
| 1607 | |
| 1608 | }}, |
| 1609 | |
| 1610 | keyValuePair: {presence: required, structure: { |
| 1611 | |
| 1612 | key: {presence: required, value: H264NonHCVideoPort}, |
| 1613 | |
| 1614 | value: {presence: required, range: [ 0, 100000 ], |
| 1615 | |
| 1616 | units: numberOfPorts } |
| 1617 | |
| 1618 | }}, |
| 1619 | |
| 1620 | keyValuePair: {presence: required, structure: { |
| 1621 | |
| 1622 | key: {presence: required, value: H264HCVideoPort}, |
| 1623 | |
| 1624 | value: {presence: required, range: [ 0, 100000 ], |
| 1625 | |
| 1626 | units: numberOfPorts } |
| 1627 | |
| 1628 | }}, |
| 1629 | |
| 1630 | keyValuePair: {presence: required, structure: { |
| 1631 | |
| 1632 | key: {presence: required, value: MPEG4VideoPort}, |
| 1633 | |
| 1634 | value: {presence: required, range: [ 0, 100000 ], |
| 1635 | |
| 1636 | units: numberOfPorts } |
| 1637 | |
| 1638 | }}, |
| 1639 | |
| 1640 | keyValuePair: {presence: required, structure: { |
| 1641 | |
| 1642 | key: {presence: required, value: VP8NonHCVideoPort}, |
| 1643 | |
| 1644 | value: {presence: required, range: [ 0, 100000 ], |
| 1645 | |
| 1646 | units: numberOfPorts } |
| 1647 | |
| 1648 | }}, |
| 1649 | |
| 1650 | keyValuePair: {presence: required, structure: { |
| 1651 | |
| 1652 | key: {presence: required, value: VP8HCVideoPort}, |
| 1653 | |
| 1654 | value: {presence: required, range: [ 0, 100000 ], |
| 1655 | |
| 1656 | units: numberOfPorts } |
| 1657 | |
| 1658 | }}, |
| 1659 | |
| 1660 | keyValuePair: {presence: required, structure: { |
| 1661 | |
| 1662 | key: {presence: required, value: PLC}, |
| 1663 | |
| 1664 | value: {presence: required, range: [ 0, 100000 ], |
| 1665 | |
| 1666 | units: numberOfPorts } |
| 1667 | |
| 1668 | }}, |
| 1669 | |
| 1670 | keyValuePair: {presence: required, structure: { |
| 1671 | |
| 1672 | key: {presence: required, value: AEC}, |
| 1673 | |
| 1674 | value: {presence: required, range: [ 0, 100000 ], |
| 1675 | |
| 1676 | units: numberOfPorts } |
| 1677 | |
| 1678 | }}, |
| 1679 | |
| 1680 | keyValuePair: {presence: required, structure: { |
| 1681 | |
| 1682 | key: {presence: required, value: NR}, |
| 1683 | |
| 1684 | value: {presence: required, range: [ 0, 100000 ], |
| 1685 | |
| 1686 | units: numberOfPorts } |
| 1687 | |
| 1688 | }}, |
| 1689 | |
| 1690 | keyValuePair: {presence: required, structure: { |
| 1691 | |
| 1692 | key: {presence: required, value: NG}, |
| 1693 | |
| 1694 | value: {presence: required, range: [ 0, 100000 ], |
| 1695 | |
| 1696 | units: numberOfPorts } |
| 1697 | |
| 1698 | }}, |
| 1699 | |
| 1700 | keyValuePair: {presence: required, structure: { |
| 1701 | |
| 1702 | key: {presence: required, value: NLD}, |
| 1703 | |
| 1704 | value: {presence: required, range: [ 0, 100000 ], |
| 1705 | |
| 1706 | units: numberOfPorts } |
| 1707 | |
| 1708 | }}, |
| 1709 | |
| 1710 | keyValuePair: {presence: required, structure: { |
| 1711 | |
| 1712 | key: {presence: required, value: G711FaxPort}, |
| 1713 | |
| 1714 | value: {presence: required, range: [ 0, 100000 ], |
| 1715 | |
| 1716 | units: numberOfPorts } |
| 1717 | |
| 1718 | }}, |
| 1719 | |
| 1720 | keyValuePair: {presence: required, structure: { |
| 1721 | |
| 1722 | key: {presence: required, value: T38FaxPort}, |
| 1723 | |
| 1724 | value: {presence: required, range: [ 0, 100000 ], |
| 1725 | |
| 1726 | units: numberOfPorts } |
| 1727 | |
| 1728 | }}, |
| 1729 | |
| 1730 | keyValuePair: {presence: required, structure: { |
| 1731 | |
| 1732 | key: {presence: required, value: RFactor}, |
| 1733 | |
| 1734 | value: {presence: required, range: [ 0, 100000 ], |
| 1735 | |
| 1736 | units: numberOfPorts } |
| 1737 | |
| 1738 | }}, |
| 1739 | |
| 1740 | keyValuePair: {presence: required, structure: { |
| 1741 | |
| 1742 | key: {presence: required, value: T140TextPort}, |
| 1743 | |
| 1744 | value: {presence: required, range: [ 0, 100000 ], |
| 1745 | |
| 1746 | units: numberOfPorts } |
| 1747 | |
| 1748 | }}, |
| 1749 | |
| 1750 | keyValuePair: {presence: required, structure: { |
| 1751 | |
| 1752 | key: {presence: required, value: EVSAudioPort}, |
| 1753 | |
| 1754 | value: {presence: required, range: [ 0, 100000 ], |
| 1755 | |
| 1756 | units: numberOfPorts } |
| 1757 | |
| 1758 | }} |
| 1759 | |
| 1760 | }} |
| 1761 | |
| 1762 | }}, |
| 1763 | |
| 1764 | namedHashMap: {presence: required, structure: { |
| 1765 | |
| 1766 | name: {presence: required, value: mediaCoreUtilization}, |
| 1767 | |
| 1768 | hashMap: {presence: required, structure: { |
| 1769 | |
| 1770 | keyValuePair: {presence: required, structure: { |
| 1771 | |
| 1772 | key: {presence: required, value: actualAvgAudio}, |
| 1773 | |
| 1774 | value: {presence: required, range: [ 0, 255 ], |
| 1775 | |
| 1776 | action: [80, up, AudioCoreUsageHigh, RECO-scaleOut], |
| 1777 | |
| 1778 | action: [10, down, AudioCoreUsageLow, RECO-scaleIn]} |
| 1779 | |
| 1780 | }}, |
| 1781 | |
| 1782 | keyValuePair: {presence: required, structure: { |
| 1783 | |
| 1784 | key: {presence: required, value: modelAvgAudio}, |
| 1785 | |
| 1786 | value: {presence: required, range: [ 0, 100 ], |
| 1787 | |
| 1788 | action: [80, up, AudioCoreUsageHigh, RECO-scaleOut], |
| 1789 | |
| 1790 | action: [10, down, AudioCoreUsageLow, RECO-scaleIn]} |
| 1791 | |
| 1792 | }}, |
| 1793 | |
| 1794 | keyValuePair: {presence: required, structure: { |
| 1795 | |
| 1796 | key: {presence: required, value: actualMaxAudio}, |
| 1797 | |
| 1798 | value: {presence: required, range: [ 0, 255 ]} |
| 1799 | |
| 1800 | }}, |
| 1801 | |
| 1802 | keyValuePair: {presence: required, structure: { |
| 1803 | |
| 1804 | key: {presence: required, value: modelMaxAudio}, |
| 1805 | |
| 1806 | value: {presence: required, range: [ 0, 100 ]} |
| 1807 | |
| 1808 | }}, |
| 1809 | |
| 1810 | keyValuePair: {presence: required, structure: { |
| 1811 | |
| 1812 | key: {presence: required, value: actualAvgVideo}, |
| 1813 | |
| 1814 | value: {presence: required, range: [ 0, 255 ], |
| 1815 | |
| 1816 | action: [80, up, VideoCoreUsageHigh, RECO-scaleOut], |
| 1817 | |
| 1818 | action: [10, down, VideoCoreUsageLow, RECO-scaleIn]} |
| 1819 | |
| 1820 | }}, |
| 1821 | |
| 1822 | keyValuePair: {presence: required, structure: { |
| 1823 | |
| 1824 | key: {presence: required, value: modelAvgVideo}, |
| 1825 | |
| 1826 | value: {presence: required, range: [ 0, 100 ], |
| 1827 | |
| 1828 | action: [80, up, VideoCoreUsageHigh, RECO-scaleOut], |
| 1829 | |
| 1830 | action: [10, down, VideoCoreUsageLow, RECO-scaleIn]} |
| 1831 | |
| 1832 | }}, |
| 1833 | |
| 1834 | keyValuePair: {presence: required, structure: { |
| 1835 | |
| 1836 | key: {presence: required, value: actualMaxVideo}, |
| 1837 | |
| 1838 | value: {presence: required, range: [ 0, 255 ]} |
| 1839 | |
| 1840 | }}, |
| 1841 | |
| 1842 | keyValuePair: {presence: required, structure: { |
| 1843 | |
| 1844 | key: {presence: required, value: modelMaxVideo}, |
| 1845 | |
| 1846 | value: {presence: required, range: [ 0, 100 ]} |
| 1847 | |
| 1848 | }}, |
| 1849 | |
| 1850 | keyValuePair: {presence: required, structure: { |
| 1851 | |
| 1852 | key: {presence: required, value: actualAvgHcVideo}, |
| 1853 | |
| 1854 | value: {presence: required, range: [ 0, 255 ], |
| 1855 | |
| 1856 | action: [80, up, HcVideoCoreUsageHigh, RECO-scaleOut], |
| 1857 | |
| 1858 | action: [10, down, HcVideoCoreUsageLow, RECO-scaleIn]} |
| 1859 | |
| 1860 | }}, |
| 1861 | |
| 1862 | keyValuePair: {presence: required, structure: { |
| 1863 | |
| 1864 | key: {presence: required, value: modelAvgHcVideo}, |
| 1865 | |
| 1866 | value: {presence: required, range: [ 0, 100 ], |
| 1867 | |
| 1868 | action: [80, up, HcVideoCoreUsageHigh, RECO-scaleOut], |
| 1869 | |
| 1870 | action: [10, down, HcVideoCoreUsageLow, RECO-scaleIn]} |
| 1871 | |
| 1872 | }}, |
| 1873 | |
| 1874 | keyValuePair: {presence: required, structure: { |
| 1875 | |
| 1876 | key: {presence: required, value: actualMaxHcVideo}, |
| 1877 | |
| 1878 | value: {presence: required, range: [ 0, 255 ]} |
| 1879 | |
| 1880 | }}, |
| 1881 | |
| 1882 | keyValuePair: {presence: required, structure: { |
| 1883 | |
| 1884 | key: {presence: required, value: modelMaxHcVideo}, |
| 1885 | |
| 1886 | value: {presence: required, range: [ 0, 100 ]} |
| 1887 | |
| 1888 | }} |
| 1889 | |
| 1890 | }} |
| 1891 | |
| 1892 | }} |
| 1893 | |
| 1894 | ]}, |
| 1895 | |
| 1896 | vNicPerformanceArray: {presence: required, array: [ |
| 1897 | |
| 1898 | vNicPerformance: {presence: required, structure: { |
| 1899 | |
| 1900 | receivedOctetsAccumulated: {presence: required, |
| 1901 | |
| 1902 | range: [ 0, 18446744073709551615 ]}, |
| 1903 | |
| 1904 | receivedTotalPacketsAccumulated: {presence: required, |
| 1905 | |
| 1906 | range: [ 0, 18446744073709551615 ]}, |
| 1907 | |
| 1908 | receivedOctetsDelta: {presence: required}, |
| 1909 | |
| 1910 | range: [ 0, 18446744073709551615 ], |
| 1911 | |
| 1912 | receivedTotalPacketsDelta: {presence: required, |
| 1913 | |
| 1914 | range: [ 0, 18446744073709551615 ]}, |
| 1915 | |
| 1916 | transmittedOctetsDelta: {presence: required, |
| 1917 | |
| 1918 | range: [ 0, 18446744073709551615 ]}, |
| 1919 | |
| 1920 | transmittedOctetsAccumulated: {presence: required, |
| 1921 | |
| 1922 | range: [ 0, 18446744073709551615 ]}, |
| 1923 | |
| 1924 | transmittedTotalPacketsAccumulated: {presence: required, |
| 1925 | |
| 1926 | range: [ 0, 18446744073709551615 ]}, |
| 1927 | |
| 1928 | transmittedTotalPacketsDelta: {presence: required, |
| 1929 | |
| 1930 | range: [ 0, 18446744073709551615 ]}, |
| 1931 | |
| 1932 | valuesAreSuspect: {presence: required, value: [ true, false ]}, |
| 1933 | |
| 1934 | vNicIdentifier: {presence: required} |
| 1935 | |
| 1936 | }} |
| 1937 | |
| 1938 | ]} |
| 1939 | |
| 1940 | }} |
| 1941 | |
| 1942 | }} |
| 1943 | |
| 1944 | ... |
| 1945 | |
| 1946 | Mobile Flow |
| 1947 | ----------- |
| 1948 | |
| 1949 | --- |
| 1950 | |
| 1951 | # registration for mobileFlow |
| 1952 | |
| 1953 | # Constants: the values of domain, eventName, priority, version |
| 1954 | |
| 1955 | # |
| 1956 | |
| 1957 | # Variables (to be supplied at runtime) include: eventId, |
| 1958 | reportingEntityName, |
| 1959 | |
| 1960 | # sequence, sourceName, start/lastEpochMicrosec |
| 1961 | |
| 1962 | # |
| 1963 | |
| 1964 | event: {presence: required, structure: { |
| 1965 | |
| 1966 | commonEventHeader: {presence: required, structure: { |
| 1967 | |
| 1968 | domain: {presence: required, value: mobileFlow}, |
| 1969 | |
| 1970 | eventName: {presence: required, value: MobileFlow_Vxyz-Vendor}, |
| 1971 | |
| 1972 | eventId: {presence: required}, |
| 1973 | |
| 1974 | nfType: {presence: required, value: sbcx}, |
| 1975 | |
| 1976 | priority: {presence: required, value: Normal}, |
| 1977 | |
| 1978 | reportingEntityName: {presence: required}, |
| 1979 | |
| 1980 | sequence: {presence: required}, |
| 1981 | |
| 1982 | sourceName: {presence: required}, |
| 1983 | |
| 1984 | startEpochMicrosec: {presence: required}, |
| 1985 | |
| 1986 | lastEpochMicrosec: {presence: required}, |
| 1987 | |
| 1988 | timeZoneOffset: {presence: required}, |
| 1989 | |
| 1990 | version: {presence: required, value: 3.0} |
| 1991 | |
| 1992 | }}, |
| 1993 | |
| 1994 | mobileFlowFields: {presence: required, structure: { |
| 1995 | |
| 1996 | mobileFlowFieldsVersion: {presence: required, value: 3.0}, |
| 1997 | |
| 1998 | applicationType: {presence: optional}, |
| 1999 | |
| 2000 | appProtocolType: {presence: optional}, |
| 2001 | |
| 2002 | appProtocolVersion: {presence: optional}, |
| 2003 | |
| 2004 | cid: {presence: optional}, |
| 2005 | |
| 2006 | connectionType: {presence: optional}, |
| 2007 | |
| 2008 | ecgi: {presence: optional}, |
| 2009 | |
| 2010 | flowDirection: {presence: required}, |
| 2011 | |
| 2012 | gtpPerFlowMetrics: {presence: required, structure: { |
| 2013 | |
| 2014 | avgBitErrorRate: {presence: required}, |
| 2015 | |
| 2016 | avgPacketDelayVariation: {presence: required}, |
| 2017 | |
| 2018 | avgPacketLatency: {presence: required}, |
| 2019 | |
| 2020 | avgReceiveThroughput: {presence: required}, |
| 2021 | |
| 2022 | avgTransmitThroughput: {presence: required}, |
| 2023 | |
| 2024 | durConnectionFailedStatus: {presence: optional}, |
| 2025 | |
| 2026 | durTunnelFailedStatus: {presence: optional}, |
| 2027 | |
| 2028 | flowActivatedBy: {presence: optional}, |
| 2029 | |
| 2030 | flowActivationEpoch: {presence: required}, |
| 2031 | |
| 2032 | flowActivationMicrosec: {presence: required}, |
| 2033 | |
| 2034 | flowActivationTime: {presence: optional}, |
| 2035 | |
| 2036 | flowDeactivatedBy: {presence: optional}, |
| 2037 | |
| 2038 | flowDeactivationEpoch: {presence: required}, |
| 2039 | |
| 2040 | flowDeactivationMicrosec: {presence: required}, |
| 2041 | |
| 2042 | flowDeactivationTime: {presence: required}, |
| 2043 | |
| 2044 | flowStatus: {presence: required}, |
| 2045 | |
| 2046 | gtpConnectionStatus: {presence: optional}, |
| 2047 | |
| 2048 | gtpTunnelStatus: {presence: optional}, |
| 2049 | |
| 2050 | ipTosCountList: {presence: optional}, |
| 2051 | |
| 2052 | ipTosList: {presence: optional}, |
| 2053 | |
| 2054 | largePacketRtt: {presence: optional}, |
| 2055 | |
| 2056 | largePacketThreshold: {presence: optional}, |
| 2057 | |
| 2058 | maxPacketDelayVariation: {presence: required}, |
| 2059 | |
| 2060 | maxReceiveBitRate: {presence: optional}, |
| 2061 | |
| 2062 | maxTransmitBitRate: {presence: optional}, |
| 2063 | |
| 2064 | mobileQciCosCountList: {presence: optional}, |
| 2065 | |
| 2066 | mobileQciCosList: {presence: optional}, |
| 2067 | |
| 2068 | numActivationFailures: {presence: required}, |
| 2069 | |
| 2070 | numBitErrors: {presence: required}, |
| 2071 | |
| 2072 | numBytesReceived: {presence: required}, |
| 2073 | |
| 2074 | numBytesTransmitted: {presence: required}, |
| 2075 | |
| 2076 | numDroppedPackets: {presence: required}, |
| 2077 | |
| 2078 | numGtpEchoFailures: {presence: optional}, |
| 2079 | |
| 2080 | numGtpTunnelErrors: {presence: optional}, |
| 2081 | |
| 2082 | numHttpErrors: {presence: optional}, |
| 2083 | |
| 2084 | numL7BytesReceived: {presence: required}, |
| 2085 | |
| 2086 | numL7BytesTransmitted: {presence: required}, |
| 2087 | |
| 2088 | numLostPackets: {presence: required}, |
| 2089 | |
| 2090 | numOutOfOrderPackets: {presence: required}, |
| 2091 | |
| 2092 | numPacketErrors: {presence: required}, |
| 2093 | |
| 2094 | numPacketsReceivedExclRetrans: {presence: required}, |
| 2095 | |
| 2096 | numPacketsReceivedInclRetrans: {presence: required}, |
| 2097 | |
| 2098 | numPacketsTransmittedInclRetrans: {presence: required}, |
| 2099 | |
| 2100 | numRetries: {presence: required}, |
| 2101 | |
| 2102 | numTimeouts: {presence: required}, |
| 2103 | |
| 2104 | numTunneledL7BytesReceived: {presence: required}, |
| 2105 | |
| 2106 | roundTripTime: {presence: required}, |
| 2107 | |
| 2108 | tcpFlagCountList: {presence: optional}, |
| 2109 | |
| 2110 | tcpFlagList: {presence: optional}, |
| 2111 | |
| 2112 | timeToFirstByte: {presence: required} |
| 2113 | |
| 2114 | }}, |
| 2115 | |
| 2116 | gtpProtocolType: {presence: optional}, |
| 2117 | |
| 2118 | gtpVersion: {presence: optional}, |
| 2119 | |
| 2120 | httpHeader: {presence: optional}, |
| 2121 | |
| 2122 | imei: {presence: optional}, |
| 2123 | |
| 2124 | imsi: {presence: optional}, |
| 2125 | |
| 2126 | ipProtocolType: {presence: required}, |
| 2127 | |
| 2128 | ipVersion: {presence: required}, |
| 2129 | |
| 2130 | lac: {presence: optional}, |
| 2131 | |
| 2132 | mcc: {presence: optional}, |
| 2133 | |
| 2134 | mnc: {presence: optional}, |
| 2135 | |
| 2136 | msisdn: {presence: optional}, |
| 2137 | |
| 2138 | otherEndpointIpAddress: {presence: required}, |
| 2139 | |
| 2140 | otherEndpointPort: {presence: required}, |
| 2141 | |
| 2142 | otherFunctionalRole: {presence: optional}, |
| 2143 | |
| 2144 | rac: {presence: optional}, |
| 2145 | |
| 2146 | radioAccessTechnology: {presence: optional}, |
| 2147 | |
| 2148 | reportingEndpointIpAddr: {presence: required}, |
| 2149 | |
| 2150 | reportingEndpointPort: {presence: required}, |
| 2151 | |
| 2152 | sac: {presence: optional}, |
| 2153 | |
| 2154 | samplingAlgorithm: {presence: optional}, |
| 2155 | |
| 2156 | tac: {presence: optional}, |
| 2157 | |
| 2158 | tunnelId: {presence: optional}, |
| 2159 | |
| 2160 | vlanId: {presence: optional}, |
| 2161 | |
| 2162 | additionalInformation: {presence: optional, array: [ |
| 2163 | |
| 2164 | keyValuePair: {presence: required, structure: { |
| 2165 | |
| 2166 | key: {presence: required, value: name1}, |
| 2167 | |
| 2168 | value: {presence: required} |
| 2169 | |
| 2170 | }}, |
| 2171 | |
| 2172 | keyValuePair: {presence: optional, structure: { |
| 2173 | |
| 2174 | key: {presence: required, value: name2}, |
| 2175 | |
| 2176 | value: {presence: required} |
| 2177 | |
| 2178 | }} |
| 2179 | |
| 2180 | ]} |
| 2181 | |
| 2182 | }} |
| 2183 | |
| 2184 | }} |
| 2185 | |
| 2186 | ... |
| 2187 | |
| 2188 | Sip Signaling |
| 2189 | ------------- |
| 2190 | |
| 2191 | --- |
| 2192 | |
| 2193 | # registration for sipSignaling |
| 2194 | |
| 2195 | # Constants: the values of domain, eventName, priority, version |
| 2196 | |
| 2197 | # |
| 2198 | |
| 2199 | # Variables (to be supplied at runtime) include: eventId, |
| 2200 | reportingEntityName, |
| 2201 | |
| 2202 | # sequence, sourceName, start/lastEpochMicrosec |
| 2203 | |
| 2204 | # |
| 2205 | |
| 2206 | event: {presence: required, structure: { |
| 2207 | |
| 2208 | commonEventHeader: {presence: required, structure: { |
| 2209 | |
| 2210 | domain: {presence: required, value: sipSignaling}, |
| 2211 | |
| 2212 | eventName: {presence: required, value: SipSignaling_Vxyz-Vendor}, |
| 2213 | |
| 2214 | eventId: {presence: required}, |
| 2215 | |
| 2216 | nfType: {presence: required, value: sbcx}, |
| 2217 | |
| 2218 | priority: {presence: required, value: Normal}, |
| 2219 | |
| 2220 | reportingEntityName: {presence: required}, |
| 2221 | |
| 2222 | sequence: {presence: required}, |
| 2223 | |
| 2224 | sourceName: {presence: required}, |
| 2225 | |
| 2226 | startEpochMicrosec: {presence: required}, |
| 2227 | |
| 2228 | lastEpochMicrosec: {presence: required}, |
| 2229 | |
| 2230 | timeZoneOffset: {presence: required}, |
| 2231 | |
| 2232 | version: {presence: required, value: 3.0} |
| 2233 | |
| 2234 | }}, |
| 2235 | |
| 2236 | sipSignalingFields: {presence: required, structure: { |
| 2237 | |
| 2238 | compressedSIP: {presence: optional}, |
| 2239 | |
| 2240 | correlator: {presence: required}, |
| 2241 | |
| 2242 | localIpAaddress: {presence: required}, |
| 2243 | |
| 2244 | localPort: {presence: required}, |
| 2245 | |
| 2246 | remoteIpAddress: {presence: required}, |
| 2247 | |
| 2248 | remotePort: {presence: required}, |
| 2249 | |
| 2250 | sipSignalingFieldsVersion: {presence: required, value: 2.0}, |
| 2251 | |
| 2252 | summarySip: {presence: optional}, |
| 2253 | |
| 2254 | vnfVendorNameFields: {presence: required, structure: { |
| 2255 | |
| 2256 | vendorName: {presence: required}, |
| 2257 | |
| 2258 | vfModuleName: {presence: optional}, |
| 2259 | |
| 2260 | vnfName: {presence: optional} |
| 2261 | |
| 2262 | }}, |
| 2263 | |
| 2264 | additionalInformation: {presence: optional, array: [ |
| 2265 | |
| 2266 | keyValuePair: {presence: required, structure: { |
| 2267 | |
| 2268 | key: {presence: required, value: name1}, |
| 2269 | |
| 2270 | value: {presence: required} |
| 2271 | |
| 2272 | }}, |
| 2273 | |
| 2274 | keyValuePair: {presence: optional, structure: { |
| 2275 | |
| 2276 | key: {presence: required, value: name2}, |
| 2277 | |
| 2278 | value: {presence: required} |
| 2279 | |
| 2280 | }} |
| 2281 | |
| 2282 | ]} |
| 2283 | |
| 2284 | }} |
| 2285 | |
| 2286 | }} |
| 2287 | |
| 2288 | ... |
| 2289 | |
| 2290 | Syslog |
| 2291 | ------ |
| 2292 | |
| 2293 | --- |
| 2294 | |
| 2295 | # registration for Syslog_vMRF |
| 2296 | |
| 2297 | # Constants: the values of domain, eventName, priority, |
| 2298 | lastEpochMicrosec, version, |
| 2299 | |
| 2300 | # syslogFields.syslogFieldsVersion, syslogFields.syslogTag |
| 2301 | |
| 2302 | # Variables include: eventId, lastEpochMicrosec, reportingEntityId, |
| 2303 | reportingEntityName, |
| 2304 | |
| 2305 | # sequence, sourceId, sourceName, startEpochMicrosec, |
| 2306 | |
| 2307 | # syslogFields.eventSourceHost, syslogFields.eventSourceType, |
| 2308 | |
| 2309 | # syslogFields.syslogFacility, syslogFields.syslogMsg |
| 2310 | |
| 2311 | event: {presence: required, structure: { |
| 2312 | |
| 2313 | commonEventHeader: {presence: required, structure: { |
| 2314 | |
| 2315 | domain: {presence: required, value: syslog}, |
| 2316 | |
| 2317 | eventName: {presence: required, value: Syslog_Vmrf-Nokia}, |
| 2318 | |
| 2319 | eventId: {presence: required}, |
| 2320 | |
| 2321 | nfNamingCode: {value: mrfx}, |
| 2322 | |
| 2323 | priority: {presence: required, value: Normal}, |
| 2324 | |
| 2325 | reportingEntityId: {presence: required}, |
| 2326 | |
| 2327 | reportingEntityName: {presence: required}, |
| 2328 | |
| 2329 | sequence: {presence: required}, |
| 2330 | |
| 2331 | sourceId: {presence: required}, |
| 2332 | |
| 2333 | sourceName: {presence: required}, |
| 2334 | |
| 2335 | startEpochMicrosec: {presence: required}, |
| 2336 | |
| 2337 | lastEpochMicrosec: {presence: required}, |
| 2338 | |
| 2339 | timeZoneOffset: {presence: required}, |
| 2340 | |
| 2341 | version: {presence: required, value: 3.0}, |
| 2342 | |
| 2343 | }}, |
| 2344 | |
| 2345 | syslogFields: {presence: required, structure: { |
| 2346 | |
| 2347 | eventSourceHost: {presence: required}, |
| 2348 | |
| 2349 | eventSourceType: {presence: required, value: virtualNetworkFunction}, |
| 2350 | |
| 2351 | syslogFacility: {presence: required, range: [16, 23]}, |
| 2352 | |
| 2353 | syslogSev: {presence: required, value: [Emergency, Alert, Critical, |
| 2354 | Error]}, |
| 2355 | |
| 2356 | syslogFieldsVersion: {presence: required, value: 3.0}, |
| 2357 | |
| 2358 | syslogMsg: {presence: required}, |
| 2359 | |
| 2360 | syslogSData: {presence: required, keyValuePairString: {‘ ‘, =, |
| 2361 | keyValuePairs: [ |
| 2362 | |
| 2363 | keyValuePair: {presence: required, structure: { |
| 2364 | |
| 2365 | key: {presence: required, value: ATTEST}, |
| 2366 | |
| 2367 | value: {presence: required} |
| 2368 | |
| 2369 | }}, |
| 2370 | |
| 2371 | keyValuePair: {presence: required, structure: { |
| 2372 | |
| 2373 | key: {presence: required, value: DATE_IN}, |
| 2374 | |
| 2375 | value: {presence: required} |
| 2376 | |
| 2377 | }}, |
| 2378 | |
| 2379 | keyValuePair: {presence: required, structure: { |
| 2380 | |
| 2381 | key: {presence: required, value: DATE_OUT}, |
| 2382 | |
| 2383 | value: {presence: required} |
| 2384 | |
| 2385 | }}, |
| 2386 | |
| 2387 | keyValuePair: {presence: required, structure: { |
| 2388 | |
| 2389 | key: {presence: required, value: DEST_IN}, |
| 2390 | |
| 2391 | value: {presence: required} |
| 2392 | |
| 2393 | }}, |
| 2394 | |
| 2395 | keyValuePair: {presence: required, structure: { |
| 2396 | |
| 2397 | key: {presence: required, value: FUNCTION}, |
| 2398 | |
| 2399 | value: {presence: required} |
| 2400 | |
| 2401 | }}, |
| 2402 | |
| 2403 | keyValuePair: {presence: required, structure: { |
| 2404 | |
| 2405 | key: {presence: required, value: ICID}, |
| 2406 | |
| 2407 | value: {presence: required} |
| 2408 | |
| 2409 | }}, |
| 2410 | |
| 2411 | keyValuePair: {presence: required, structure: { |
| 2412 | |
| 2413 | key: {presence: required, value: ORIGID}, |
| 2414 | |
| 2415 | value: {presence: required} |
| 2416 | |
| 2417 | }}, |
| 2418 | |
| 2419 | keyValuePair: {presence: required, structure: { |
| 2420 | |
| 2421 | key: {presence: required, value: ORIG_TN}, |
| 2422 | |
| 2423 | value: {presence: required} |
| 2424 | |
| 2425 | }}, |
| 2426 | |
| 2427 | keyValuePair: {presence: required, structure: { |
| 2428 | |
| 2429 | key: {presence: required, value: SIP_REASON_HEADER}, |
| 2430 | |
| 2431 | value: {presence: required} |
| 2432 | |
| 2433 | }}, |
| 2434 | |
| 2435 | keyValuePair: {presence: required, structure: { |
| 2436 | |
| 2437 | key: {presence: required, value: STATE}, |
| 2438 | |
| 2439 | value: {presence: required} |
| 2440 | |
| 2441 | }}, |
| 2442 | |
| 2443 | keyValuePair: {presence: required, structure: { |
| 2444 | |
| 2445 | key: {presence: required, value: STATUS}, |
| 2446 | |
| 2447 | value: {presence: required} |
| 2448 | |
| 2449 | }}, |
| 2450 | |
| 2451 | keyValuePair: {presence: required, structure: { |
| 2452 | |
| 2453 | key: {presence: required, value: VERSTAT}, |
| 2454 | |
| 2455 | value: {presence: required} |
| 2456 | |
| 2457 | }} |
| 2458 | |
| 2459 | ]}} }] |
| 2460 | |
| 2461 | syslogTag: {presence: required, value: vMRF}, |
| 2462 | |
| 2463 | additionalFields: {presence: required, keyValuePairString: {|, =, |
| 2464 | keyValuePairs: [ |
| 2465 | |
| 2466 | keyValuePair: {presence: required, structure: { |
| 2467 | |
| 2468 | key: {presence: required, value: someKeyName}, |
| 2469 | |
| 2470 | value: {presence: required} |
| 2471 | |
| 2472 | }}, |
| 2473 | |
| 2474 | keyValuePair: {presence: optional, structure: { |
| 2475 | |
| 2476 | key: {presence: required, value: someOtherKeyName}, |
| 2477 | |
| 2478 | value: {presence: required} |
| 2479 | |
| 2480 | }} |
| 2481 | |
| 2482 | ]}} |
| 2483 | |
| 2484 | }} |
| 2485 | |
| 2486 | }} |
| 2487 | |
| 2488 | ... |
| 2489 | |
| 2490 | Voice Quality |
| 2491 | ------------- |
| 2492 | |
| 2493 | --- |
| 2494 | |
| 2495 | # registration for voiceQuality |
| 2496 | |
| 2497 | # Constants: the values of domain, eventName, priority, version |
| 2498 | |
| 2499 | # |
| 2500 | |
| 2501 | # Variables (to be supplied at runtime) include: eventId, |
| 2502 | lastEpochMicrosec, |
| 2503 | |
| 2504 | # reportingEntityId, reportingEntityName, sequence, sourceId, |
| 2505 | |
| 2506 | # sourceName, startEpochMicrosec |
| 2507 | |
| 2508 | event: {presence: required, structure: { |
| 2509 | |
| 2510 | commonEventHeader: {presence: required, structure: { |
| 2511 | |
| 2512 | domain: {presence: required, value: voiceQualityFields}, |
| 2513 | |
| 2514 | eventName: {presence: required, value: VoiceQuality_Vxyz-Vendor}, |
| 2515 | |
| 2516 | eventId: {presence: required}, |
| 2517 | |
| 2518 | nfType: {presence: required, value: sbcx}, |
| 2519 | |
| 2520 | priority: {presence: required, value: Normal}, |
| 2521 | |
| 2522 | reportingEntityName: {presence: required}, |
| 2523 | |
| 2524 | sequence: {presence: required}, |
| 2525 | |
| 2526 | sourceName: {presence: required}, |
| 2527 | |
| 2528 | startEpochMicrosec: {presence: required}, |
| 2529 | |
| 2530 | lastEpochMicrosec: {presence: required}, |
| 2531 | |
| 2532 | timeZoneOffset: {presence: required}, |
| 2533 | |
| 2534 | version: {presence: required, value: 3.0} |
| 2535 | |
| 2536 | }}, |
| 2537 | |
| 2538 | voiceQualityFields: {presence: required, structure: { |
| 2539 | |
| 2540 | voiceQualityFieldsVersion: {presence: required, value: 2.0}, |
| 2541 | |
| 2542 | calleeSideCodec: {presence: required}, |
| 2543 | |
| 2544 | callerSideCodec: {presence: required}, |
| 2545 | |
| 2546 | correlator: {presence: required}, |
| 2547 | |
| 2548 | remoteIpAddress: {presence: required}, |
| 2549 | |
| 2550 | endOfCallVqmSummaries: {presence: required, structure: { |
| 2551 | |
| 2552 | adjacencyName: {presence: required}, |
| 2553 | |
| 2554 | endpointDescription: {presence: required}, |
| 2555 | |
| 2556 | endpointAverageJitter: {presence: optional}, |
| 2557 | |
| 2558 | endpointMaxJitter: {presence: optional}, |
| 2559 | |
| 2560 | endpointRtpOctetsLost: {presence: optional}, |
| 2561 | |
| 2562 | endpointRtpPacketsLost: {presence: optional}, |
| 2563 | |
| 2564 | endpointRtpOctetsDiscarded: {presence: optional}, |
| 2565 | |
| 2566 | endpointRtpOctetsReceived: {presence: optional}, |
| 2567 | |
| 2568 | endpointRtpOctetsSent: {presence: optional}, |
| 2569 | |
| 2570 | endpointRtpPacketsDiscarded: {presence: optional}, |
| 2571 | |
| 2572 | endpointRtpPacketsReceived: {presence: optional}, |
| 2573 | |
| 2574 | endpointRtpPacketsSent: {presence: optional}, |
| 2575 | |
| 2576 | localAverageJitter: {presence: optional}, |
| 2577 | |
| 2578 | localMaxJitter: {presence: optional}, |
| 2579 | |
| 2580 | localAverageJitterBufferDelay: {presence: optional}, |
| 2581 | |
| 2582 | localMaxJitterBufferDelay: {presence: optional}, |
| 2583 | |
| 2584 | localRtpOctetsDiscarded: {presence: optional}, |
| 2585 | |
| 2586 | localRtpOctetsLost: {presence: optional}, |
| 2587 | |
| 2588 | localRtpOctetsReceived: {presence: optional}, |
| 2589 | |
| 2590 | localRtpOctetsSent: {presence: optional}, |
| 2591 | |
| 2592 | localRtpPacketsDiscarded: {presence: optional}, |
| 2593 | |
| 2594 | localRtpPacketsLost: {presence: optional}, |
| 2595 | |
| 2596 | localRtpPacketsReceived: {presence: optional}, |
| 2597 | |
| 2598 | localRtpPacketsSent: {presence: optional}, |
| 2599 | |
| 2600 | mosCqe: {presence: optional}, |
| 2601 | |
| 2602 | oneWayDelay: {presence: optional}, |
| 2603 | |
| 2604 | packetLossPercent: {presence: optional}, |
| 2605 | |
| 2606 | rFactor: {presence: optional}, |
| 2607 | |
| 2608 | roundTripDelay: {presence: optional} |
| 2609 | |
| 2610 | }}, |
| 2611 | |
| 2612 | phoneNumber: {presence: required}, |
| 2613 | |
| 2614 | midCallRtcp: {presence: required}, |
| 2615 | |
| 2616 | vendorVnfNameFields: {presence: required, structure: { |
| 2617 | |
| 2618 | vendorName: {presence: required}, |
| 2619 | |
| 2620 | vfModuleName: {presence: optional}, |
| 2621 | |
| 2622 | vnfName: {presence: optional} |
| 2623 | |
| 2624 | }}, |
| 2625 | |
| 2626 | additionalInformation: {presence: optional, array: [ |
| 2627 | |
| 2628 | keyValuePair: {presence: required, structure: { |
| 2629 | |
| 2630 | key: {presence: required, value: name1}, |
| 2631 | |
| 2632 | value: {presence: required} |
| 2633 | |
| 2634 | }}, |
| 2635 | |
| 2636 | keyValuePair: {presence: optional, structure: { |
| 2637 | |
| 2638 | key: {presence: required, value: name2}, |
| 2639 | |
| 2640 | value: {presence: required} |
| 2641 | |
| 2642 | }} |
| 2643 | |
| 2644 | ]} |
| 2645 | |
| 2646 | }} |
| 2647 | |
| 2648 | }} |
| 2649 | |
| 2650 | ... |
| 2651 | |
| 2652 | .. _rules-1: |
| 2653 | |
| 2654 | Rules |
| 2655 | ----- |
| 2656 | |
| 2657 | --- |
| 2658 | |
| 2659 | #Rules |
| 2660 | |
| 2661 | Rules: [ |
| 2662 | |
| 2663 | ruleName1: { |
| 2664 | |
| 2665 | trigger: "CpuUsageHigh \|\| FreeMemLow \|\| AudioCoreUsageHigh \|\| |
| 2666 | |
| 2667 | VideoCoreUsageHigh \|\| HcVideoCoreUsageHigh", |
| 2668 | |
| 2669 | microservices: [scaleOut] |
| 2670 | |
| 2671 | }, |
| 2672 | |
| 2673 | ruleName2: { |
| 2674 | |
| 2675 | trigger: "CpuUsageLow && FreeMemHigh && AudioCoreUsageLow && |
| 2676 | |
| 2677 | VideoCoreUsageLow && HcVideoCoreUsageLow", |
| 2678 | |
| 2679 | microservices: [scaleIn] |
| 2680 | |
| 2681 | } |
| 2682 | |
| 2683 | ] |
| 2684 | |
| 2685 | ... |
| 2686 | |
| 2687 | Appendix: Historical Change Log |
| 2688 | =============================== |
| 2689 | |
| 2690 | For the latest changes, see the Change Block just before the Table of |
| 2691 | Contents. |
| 2692 | |
| 2693 | +-----------------------+-----------------------+-----------------------+ |
| 2694 | | Date | Revision | Description | |
| 2695 | +-----------------------+-----------------------+-----------------------+ |
| 2696 | | 3/15/2017 | 1.0 | This is the initial | |
| 2697 | | | | release of the VES | |
| 2698 | | | | Event Registration | |
| 2699 | | | | document. | |
| 2700 | +-----------------------+-----------------------+-----------------------+ |
| 2701 | | 3/22/2017 | 1.1 | - Changed the | |
| 2702 | | | | ‘alert’ | |
| 2703 | | | | qualifier to | |
| 2704 | | | | ‘action’ and | |
| 2705 | | | | added support | |
| 2706 | | | | for conditions | |
| 2707 | | | | that will | |
| 2708 | | | | trigger rules. | |
| 2709 | | | | | |
| 2710 | | | | - Formatted the | |
| 2711 | | | | document with | |
| 2712 | | | | more sections | |
| 2713 | | | | and | |
| 2714 | | | | subsections. | |
| 2715 | | | | | |
| 2716 | | | | - Defined the syntax | |
| 2717 | | | | and semantics | |
| 2718 | | | | for condition | |
| 2719 | | | | based rules. | |
| 2720 | | | | | |
| 2721 | | | | - Fixed the YAML | |
| 2722 | | | | examples. | |
| 2723 | +-----------------------+-----------------------+-----------------------+ |
| 2724 | | 3/27/2017 | 1.2 | - Clarified the | |
| 2725 | | | | audience of the | |
| 2726 | | | | document and | |
| 2727 | | | | the | |
| 2728 | | | | expectations | |
| 2729 | | | | for vendors. | |
| 2730 | | | | | |
| 2731 | | | | - Changed the order | |
| 2732 | | | | of fields in | |
| 2733 | | | | the action | |
| 2734 | | | | keyword. | |
| 2735 | | | | | |
| 2736 | | | | - Updated the YAML | |
| 2737 | | | | examples. | |
| 2738 | | | | | |
| 2739 | | | | - Wordsmithed | |
| 2740 | | | | throughout. | |
| 2741 | +-----------------------+-----------------------+-----------------------+ |
| 2742 | | 3/31/2017 | 1.3 | - Generalized the | |
| 2743 | | | | descriptions | |
| 2744 | | | | from an ASDC, | |
| 2745 | | | | ECOMP and | |
| 2746 | | | | AT&T-specific | |
| 2747 | | | | interaction | |
| 2748 | | | | with a VNF | |
| 2749 | | | | vendor, to a | |
| 2750 | | | | generic Service | |
| 2751 | | | | Provider | |
| 2752 | | | | interaction | |
| 2753 | | | | with a VNF | |
| 2754 | | | | vendor. | |
| 2755 | | | | | |
| 2756 | | | | - Wordsmithed | |
| 2757 | | | | throughout. | |
| 2758 | | | | | |
| 2759 | | | | - Added a ‘default’ | |
| 2760 | | | | qualifier | |
| 2761 | | | | | |
| 2762 | | | | - Fixed syntax and | |
| 2763 | | | | semantic | |
| 2764 | | | | inconsistencies | |
| 2765 | | | | in the Rules | |
| 2766 | | | | section | |
| 2767 | | | | | |
| 2768 | | | | - Brought all | |
| 2769 | | | | examples into | |
| 2770 | | | | compliance with | |
| 2771 | | | | v5.0 | |
| 2772 | | | | | |
| 2773 | | | | - Added a heartbeat | |
| 2774 | | | | example | |
| 2775 | | | | | |
| 2776 | | | | - Modified the | |
| 2777 | | | | measurement | |
| 2778 | | | | example | |
| 2779 | | | | | |
| 2780 | | | | - Modified the | |
| 2781 | | | | syslog example | |
| 2782 | | | | | |
| 2783 | | | | - Added two complex | |
| 2784 | | | | rules | |
| 2785 | +-----------------------+-----------------------+-----------------------+ |
| 2786 | | 4/14/2017 | 1.4 | - Wordsmithed | |
| 2787 | | | | throughout | |
| 2788 | | | | | |
| 2789 | | | | - Action keyword: | |
| 2790 | | | | clarified use | |
| 2791 | | | | of ‘up’, ‘down’ | |
| 2792 | | | | and ‘at’ | |
| 2793 | | | | triggers; | |
| 2794 | | | | clarified the | |
| 2795 | | | | specification | |
| 2796 | | | | and use of | |
| 2797 | | | | microservices | |
| 2798 | | | | directives at | |
| 2799 | | | | design time and | |
| 2800 | | | | runtime, | |
| 2801 | | | | clarified the | |
| 2802 | | | | use of tca’s | |
| 2803 | | | | | |
| 2804 | | | | - HeartbeatAction | |
| 2805 | | | | keyword: Added | |
| 2806 | | | | the | |
| 2807 | | | | heartbeatAction | |
| 2808 | | | | keyword | |
| 2809 | | | | | |
| 2810 | | | | - Value keyword: | |
| 2811 | | | | clarified the | |
| 2812 | | | | communicaton of | |
| 2813 | | | | strings | |
| 2814 | | | | containing | |
| 2815 | | | | spaces. | |
| 2816 | | | | | |
| 2817 | | | | - Rules: corrected | |
| 2818 | | | | the use of | |
| 2819 | | | | quotes in | |
| 2820 | | | | examples | |
| 2821 | | | | | |
| 2822 | | | | - Examples: added | |
| 2823 | | | | the | |
| 2824 | | | | heartbeatAction | |
| 2825 | | | | keyword on the | |
| 2826 | | | | heartbeat event | |
| 2827 | | | | example; also | |
| 2828 | | | | corrected use | |
| 2829 | | | | of quotes | |
| 2830 | | | | throughout. | |
| 2831 | +-----------------------+-----------------------+-----------------------+ |
| 2832 | | 10/3/2017 | 1.5 | - Back of Cover | |
| 2833 | | | | Page: updated the | |
| 2834 | | | | license and | |
| 2835 | | | | copyright notice | |
| 2836 | | | | to comply with | |
| 2837 | | | | ONAP guidelines | |
| 2838 | | | | | |
| 2839 | | | | - Section 3.1: Added | |
| 2840 | | | | a ‘Units’ | |
| 2841 | | | | qualifier | |
| 2842 | | | | | |
| 2843 | | | | - Examples: updated | |
| 2844 | | | | the examples to | |
| 2845 | | | | align with VES | |
| 2846 | | | | 5.4.1 | |
| 2847 | +-----------------------+-----------------------+-----------------------+ |
| 2848 | | 10/31/2017 | 1.6 | - Added | |
| 2849 | | | | KeyValuePairString | |
| 2850 | | | | keyword to handle | |
| 2851 | | | | strings which have | |
| 2852 | | | | delimited | |
| 2853 | | | | key-value pairs | |
| 2854 | | | | within them. | |
| 2855 | | | | | |
| 2856 | | | | - Updated the syslog | |
| 2857 | | | | example to show | |
| 2858 | | | | the use of | |
| 2859 | | | | KeyValuePairStr | |
| 2860 | | | | ing | |
| 2861 | | | | | |
| 2862 | | | | - Updated the syslog | |
| 2863 | | | | example to | |
| 2864 | | | | align syslogSev | |
| 2865 | | | | with VES 5.4.1 | |
| 2866 | | | | | |
| 2867 | | | | - Added examples for | |
| 2868 | | | | mobile flow, | |
| 2869 | | | | sip signaling | |
| 2870 | | | | and voice | |
| 2871 | | | | quality | |
| 2872 | | | | | |
| 2873 | | | | - Added sections | |
| 2874 | | | | within the | |
| 2875 | | | | examples to | |
| 2876 | | | | facilitate | |
| 2877 | | | | rapid access to | |
| 2878 | | | | specific types | |
| 2879 | | | | of example | |
| 2880 | | | | events | |
| 2881 | | | | | |
| 2882 | | | | - Wordsmithed the | |
| 2883 | | | | Introduction | |
| 2884 | +-----------------------+-----------------------+-----------------------+ |