(CNIT) Optical alarm notifications, subscriptions and device failover

Proposers

  • Marc Lawson (CNIT-SSSA)
  • Waleed Akbar (CTTC)
  • Margita Radovic (CNIT-SSSA)
  • Andrea Sgambelluri (CNIT-SSSA)
  • Nicola Sambo (CNIT-SSSA)

Description

Alarm handling for optical devices, with optional automatic protection.

alarm_engine evaluates each KPI sample against the configured operating ranges and holds the per-device gate that decides whether a device's alarms are trusted yet: a device is admitted only once a genuine non-zero in-range PRE_FEC_BER is seen together with an in-range RECEIVED_POWER, so it cannot qualify on its start-up defaults.

Any number of pairs can be protected. On a protected device's first confirmed alarm its path is recomputed onto the backup and monitoring follows, reverting when the backup settles, its path is deleted, or a new path is computed from the protected device. With no policy configured every entry point is inert.

The policy component forwards every optical KPI sample so the controller applies the ranges itself rather than depending on Analytics' current threshold.

Closes #440 (closed)

Demo

  • A subscriber registered through /AlarmSubscribe receives a notification when a monitored device leaves its configured range.
  • With a policy configured, a protected device's first confirmed alarm recomputes its path onto the backup; each of the three revert conditions restores monitoring.

Test evidence

  • src/opticalcontroller/tests/: 20 passed in the image built from this branch; all modules import cleanly, including the mutually dependent alarm engine and failover state machine.
  • On a deployed TFS: AlarmSubscribe, AlarmSubscriptions and the TAPI notification intake all answered correctly against the live controller.
  • The policy component compiles (mvn package, BUILD SUCCESS) and the forwarding methods are present in the packaged classes.

Acknowledgements

This work is funded by the European Commission through the HORIZON-JU-SNS-2023 PROTEUS-6G project with Grant Agreement number 101139134.

Edited by Andrea Sgambelluri

Merge request reports

Loading
Loading