Implement alarm parsing

Configure tox+content to fetch event and convert alarms and logs
to rst for use in build.
Handle non-existant tmp dir in zuul builds
Add static events.yaml for CI/CD testingx
Generalize label construction to prevent namespace conflicts
Consume events directly from fm repo (required changes merged)
Update logs template for legibility.
Add clean up for temporary rst files.
Point parser at dynamically downloaded events file
Restore logs template

Note: This review deletes static alarm and log files
Note: This review excludes alarm files from git as they are now
      build-time temp files.
Note: This review uses a static copy of events.yaml to pass tox
      until the dep. below is met. It will need reconfiguration
      at that time.

Depends-On: https://review.opendev.org/c/starlingx/fault/+/863574

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I0bb8d0a77b9d3cf22b33f8930c569b3e70b7291c
This commit is contained in:
Ron Stone
2022-11-14 14:10:27 -05:00
parent 2192558b91
commit c3444e384d
44 changed files with 455 additions and 2939 deletions

View File

@@ -0,0 +1,40 @@
head_format="
.. _<series-number>-series-alarm-messages-<Context>:
<over_score>
<series_number> Series Alarm Messages
<under_score>
"
record_format="
.. list-table::
:widths: 6 25
:header-rows: 0
* - **Alarm ID: <alarm_id>**
- <Description>
* - Entity Instance
- <Entity_Instance_ID>
* - Degrade Affecting Severity:
- <Degrade_Affecting_Severity>
* - Severity:
- <Severity>
* - Proposed Repair Action
- <Proposed_Repair_Action>
* - Management Affecting Severity
- <Management_Affecting_Severity>
-----
"
foot_format="
.. raw:: html
&#8202;
"