control: PCIe floors action
This action sets the PCIe floor index by looking up the highest floor
index of all the powered on PCIe cards that are recognized in the PCIe
card JSON files. If a PCIe card has its own temperature sensor then it
doesn't provide a floor index. If a card isn't recognized then it's
just ignored as it isn't considered a hot card.
The class documentation contains additional details on how the action
behaves. It's JSON name is 'pcie_card_floors'.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I474916773476a6232d479119acb4ac2989909cb3
diff --git a/control/Makefile.am b/control/Makefile.am
index 3cd2c0a..4f68e80 100644
--- a/control/Makefile.am
+++ b/control/Makefile.am
@@ -88,6 +88,7 @@
json/actions/set_parameter_from_group_max.cpp \
json/actions/count_state_floor.cpp \
json/actions/get_managed_objects.cpp \
+ json/actions/pcie_card_floors.cpp \
json/utils/flight_recorder.cpp \
json/utils/modifier.cpp \
json/utils/pcie_card_metadata.cpp