lwa-project / ng_digital_processor

The Next Generation Digital Processor for LWA North Arm
Apache License 2.0
0 stars 0 forks source link

Do errors auto-clear on NDP? #23

Closed jaycedowell closed 7 months ago

jaycedowell commented 7 months ago

I don't recall if they do or not.

jaycedowell commented 7 months ago

It really looks like they should auto-clear but they don't seem to be.

jaycedowell commented 7 months ago

I've started testing a couple of changes to see if that helps things.

jaycedowell commented 7 months ago

https://github.com/lwa-project/ng_digital_processor/commit/45fb5f1f1c0ddac1923e56266898f3e765f8873a fixes a problem with the WARNING condition merging that is causing the OpScreen page to not update.

jaycedowell commented 7 months ago

The WARNING condition merging seems to be working now:

Report on NDPs MIB entry INFO ... SUMMARY! 0x0E! T-Engine-1 -- TX rate of 0.0 MB/sSUMMARY! 0x0E! T-Engine-0 -- RX loss of 2.9%, SUMMARY! 0x0E! T-Engine-1 -- RX loss of 4.1%, SUMMARY! 0x0E! T-Engine-2 -- RX loss of 13.0%, SUMMARY! 0x0E! T-Engine-3 -- RX loss of 16.5%, SUMMARY! 0x0E! T-Engi 240122 23:54:56

I haven't seen an ERROR condition to see what happens. I should force one...

jaycedowell commented 7 months ago

It does transition from WARNING to ERROR correctly:

Report on NDPs MIB entry INFO ... SUMMARY! 0x0E! Found 3 T-Engines instead of 4 240123 00:04:38

jaycedowell commented 7 months ago

The status changes from ERROR to WARNING correctly but the message in INFO isn't right (it includes the old error message).

jaycedowell commented 7 months ago

I think this is working now.