Fail to Create Entity Config if Each Raw Fru is Not an Entity
Implementing go/tlbmc-enablement-sanity-check.
Slight change from the original design is to check the TopologyConfig's fru config instead of checking the FruTable since the FruTable is copied from the RawFruTable at the start of the config reload.
However an entity is only every added to the topology if its probe is valid, so this is a better measure of verifying that all raw frus are entities in tlBMC EntityConfig.
The behavior for adhoc frus will be that if a ad-hoc fru is scanned but would cause topology to fail, then the owned URLs be none since store is bad and will default to gbmcweb URLs.
#tlbmc
PiperOrigin-RevId: 744087916
Change-Id: I2e56cf2bd81600347826348f03e7345b0785bcd8
1 file changed