X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Falarm_api.rst;fp=docs%2Falarm_api.rst;h=0734075f277af22c385b8ae5bbc493881f30c421;hb=a03c517f024363d54865cf75f8e566bb446decf5;hp=87b7914d9740a25d89be7bb21571a406622fd7ac;hpb=1e92812fca9164e9ccd7e884f36e2411f6b013e1;p=ric-plt%2Fxapp-frame-py.git diff --git a/docs/alarm_api.rst b/docs/alarm_api.rst index 87b7914..0734075 100644 --- a/docs/alarm_api.rst +++ b/docs/alarm_api.rst @@ -14,13 +14,16 @@ methods for creating, raising and clearing alarms. The alarm feature reuses the `ricxappframe.rmr` subpackage for transporting alarm messages. That in turn requires the RMR -shared-object library to be available in a system library that is +shared-object library to be available in a system directory that is searched by default, usually something like /usr/local/lib. -The alarm feature sends messages using RMR message type -`RIC_ALARM_UPDATE` in the `ricxappframe.alarm.alarm` module, currently -value 13111. The Xapp's routing table must have one (or more) entries -for that message type. +The alarm feature opens a direct connection to the alarm manager +using the RMR library's wormhole feature, taking the host name and +port number from environment variables defined as the constants +`ALARM_MGR_SERVICE_NAME_ENV` and `ALARM_MGR_SERVICE_PORT_ENV` in +the `ricxappframe.alarm.alarm` module. The message type is set to +constant `RIC_ALARM_UPDATE` in the `ricxappframe.alarm.alarm` module, +currently 13111. The complete API for the Alarm feature appears below.