You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few different checks on address table contents across the uHAL packages - in particular:
Address table overlap checks
Performed when address tables parsed. Warning message printed each time a file fails the check. Details of node overlaps written to file under /tmp - one line per overlap.
Derived node classes
Performed when address tables parsed. Warning message printed each time a derived node class cannot be found
gen_ipbus_addr_decode
Script exits early if values for fwinfo attribute are inconsistent with node's address
In some scenarios it's useful to avoid some of these checks (e.g. avoiding the derived node class check if creating a plain node tree in gen_ipbus_addr_decode), and in other scenarios order it makes more sense to stop the program if the check fails (e.g. derived node checks in your main online software application, or ensuring that your FW CI jobs fail if address tables contain overlaps).
So, it would be useful update the NodeTreeBuilder and ConnectionManager::getDevice methods to give the ability to skip these checks when creating a HwInterface instance, and add a uniform (or even common) API to run each of these checks at a later point in time, with the ability for the user to:
Select the consequence of the checks failing (e.g. just warning message printed, or exception thrown)
Select from a few different levels of checks, if appropriate (e.g. ignoring hierarchical nodes in address table overlap checks)
The text was updated successfully, but these errors were encountered:
There are a few different checks on address table contents across the uHAL packages - in particular:
/tmp
- one line per overlap.gen_ipbus_addr_decode
fwinfo
attribute are inconsistent with node's addressIn some scenarios it's useful to avoid some of these checks (e.g. avoiding the derived node class check if creating a plain node tree in
gen_ipbus_addr_decode
), and in other scenarios order it makes more sense to stop the program if the check fails (e.g. derived node checks in your main online software application, or ensuring that your FW CI jobs fail if address tables contain overlaps).So, it would be useful update the
NodeTreeBuilder
andConnectionManager::getDevice
methods to give the ability to skip these checks when creating aHwInterface
instance, and add a uniform (or even common) API to run each of these checks at a later point in time, with the ability for the user to:The text was updated successfully, but these errors were encountered: