src/opticalcontroller/alarm_routes.py
0 → 100644
+970
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
Thirteen resources: alarm notification intake and retrieval, the AlarmSubscribe/Unsubscribe/Subscriptions API and its TAPI create/delete/get-subscription equivalents, MarkLinkFailed, RecomputeSubflow, /pathrecomp and TAPI recompute-p2mp. PathRecomp and TapiRecomputeP2MP live here rather than with the P2MP resources because recompute-on-failure is part of this feature; the two hooks the P2MP resources need (revert on a path computed from a protected device, restore on delete) are added back to them here. As with P2MP, the classes are bound by register() so OpticalController only gains an import and one call.
File added.
Preview size limit exceeded, changes collapsed.