Witherspoon: Destroy invalid inventory on startup

During development, the inventory name of the power supplies
changed from power_supply to powersupply.  Because the
inventory manager persists everything, systems that were
code updated to a level that had the name change would now
show both the old and new names in the inventory.

This commit adds a rule to the inventory manager to destroy
the old objects with the old name when it starts up.

Resolves openbmc/openbmc#2726

Change-Id: Id9f68d686fbc4d8959113593f4c5837c31a73c19
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
3 files changed