mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 15:36:05 +00:00
6ce03f5081
This bmc gives all three of its firmware entries the same Name, "Software Inventory", and puts what they actually are in the description. The first entry took that name, and the two after it fell back to their ids, so nodefirmware answered with "Software Inventory", "cpld_active" and "d1dc9e4b" for what are the host, cpld and bmc images. Decide the labels across the collection rather than one entry at a time, so a name the platform repeats can be recognised as no name at all. Where that happens, use a description that does tell them apart, and the id when even that is shared. A platform whose names are already distinct keeps exactly the names it had. The labels are what a caller addresses an entry by, so this also turns inventory/firmware/all/d1dc9e4b into inventory/firmware/all/bmc_image.