Demonstrations: alarm correlation

End-to-end set-up for alarm correlation demo

The following steps describe how to do the end-to-end setup to demo the alarm correlation application:

Integration tests

Prior to run the demo script, one should proceed with performing first some integration tests as described here

Demo script run

For more information on the scripts written to demo the alarm correlation app, please see here

When running the demo script, one can make a choice between the following simulations:

  madshett@host-100-120-11-168:~/obcas/test$ python3 Demo.py
      Fiber Cut
      F_R: Raise a Fiber Cut
      F_C: Clear a Fiber Cut
      Power Cut
      P_R: Raise a Power Cut
      P_C: Clear a Power Cut
      High Temperature
      T_R: Raise a High Temperature
      T_C: Clear a High Temperature
      Random Test
      R_R: Raise a Random Test
      R_C: Clear a Random Test


Insert the list of simulation, for example, type {FIBERCUT_LETTER}_{RAISE_LETTER} to simulate fiber cut alarms.
Simulate []:

Testing without script

Simulating alarms

To raise/clear alarm on ONU, one can connect to onu-simulator (docker attach onu-simulator) and send the following commands (this would raise eth-loss alarm on a particular ONU, and we could see that alarm is being persisted in OpenSearch as soon as it is raised.)

ONU defect notifications

One can generate any notification with an identity derived from items-detected-at-olt-for-v-ani with below commands.


ONU Defect Notifications Collapse source
DGI
POST http://<simulator_ip>:3001/polt/polt_actions
Body:
{
"requests":
[
{
"v-ani": "vAni_ont1",
"action": "ONUALARM",
"type": "bbf-xpon-defects:dgi",
"state": "cleared"
}
]
}

LOBI
POST http://<simulator_ip>:3001/polt/polt_actions
Body:
{
"requests":
[
{
"v-ani": "vAni_ont1",
"action": "ONUALARM",
"type": "bbf-xpon-defects:lobi",
"state": "cleared"
}
]
}


<–Back to the PON simulator

«–Introduction