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=0e7b2620ab7be35b38957920d1e1605814bfedbc;hb=81084bc31ea1d5cde6616dd2267ea01f49a1d6d1;hp=0000000000000000000000000000000000000000;hpb=884192bf7ab8d637e8007760fbe50dbcdccd4671;p=ric-plt%2Fxapp-frame-py.git diff --git a/docs/alarm_api.rst b/docs/alarm_api.rst new file mode 100644 index 0000000..0e7b262 --- /dev/null +++ b/docs/alarm_api.rst @@ -0,0 +1,29 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. SPDX-License-Identifier: CC-BY-4.0 +.. Copyright (C) 2020 AT&T Intellectual Property + +RIC Alarm API +============= + +Overview +-------- + +The xapp python framework package includes a python subpackage called +`Alarm`. This subpackage (`ricxappframe.alarm`) provides objects and +methods for defining and raising alarms, which are transmitted using +the RMR shared library. + +Usage of this python package requires that the RMR shared-object +library is installed in a system library that is included in the +directories found by default, usually something like /usr/local/lib. + +Alarm messages conform to the following JSON schema. + +.. literalinclude:: ../ricxappframe/alarm/alarm-schema.json + :language: JSON + +Alarm API +--------- + +.. automodule:: ricxappframe.alarm.alarm + :members: