/openbmc/phosphor-fan-presence/presence/ |
H A D | anyof.hpp | 22 * @class AnyOf 23 * @brief AnyOf redundancy policy. 29 class AnyOf : public RedundancyPolicy class 32 AnyOf() = delete; 33 AnyOf(const AnyOf&) = default; 34 AnyOf& operator=(const AnyOf&) = default; 35 AnyOf(AnyOf&&) = default; 36 AnyOf& operator=(AnyOf&&) = default; 37 ~AnyOf() = default; 46 AnyOf(const Fan& fan, [all …]
|
H A D | anyof.cpp | 16 #include "anyof.hpp" 36 AnyOf::AnyOf(const Fan& fan, in AnyOf() function in phosphor::fan::presence::AnyOf 42 std::bind(&AnyOf::delayedAfterPowerOn, this)), in AnyOf() 51 std::get<1>(fan) + "-anyOf", in AnyOf() 52 std::bind(&AnyOf::powerStateChanged, this, std::placeholders::_1)); in AnyOf() 62 void AnyOf::stateChanged(bool present, PresenceSensor& sensor) in stateChanged() 110 void AnyOf::monitor() in monitor() 112 // Start all sensors in the anyof redundancy set. in monitor() 133 void AnyOf::checkSensorConflicts() in checkSensorConflicts() 160 void AnyOf::powerStateChanged(bool powerOn) in powerStateChanged() [all …]
|
H A D | pfpgen.py | 192 class AnyOf(Rpolicy, Renderer): class 193 """Default policy handler (policy:type:anyof).""" 196 kw["name"] = "anyof-{}".format(kw["fan"]) 197 super(AnyOf, self).__init__(**kw) 200 super(AnyOf, self).setup(objs) 203 return self.render(loader, "anyof.mako.hpp", f=self, indent=indent) 238 rpolicy = AnyOf(fan=self.name) 260 "anyof": AnyOf,
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/ |
H A D | presence.json | 15 "type": "anyof" 31 "type": "anyof" 47 "type": "anyof" 63 "type": "anyof" 79 "type": "anyof" 95 "type": "anyof"
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/mtjade/ |
H A D | presence.json | 15 "type": "anyof" 31 "type": "anyof" 47 "type": "anyof" 63 "type": "anyof" 79 "type": "anyof" 95 "type": "anyof"
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Circuit.v1_8_1.json | 118 "anyOf": [ array 131 "anyOf": [ array 160 "anyOf": [ array 173 "anyOf": [ array 197 "anyOf": [ array 225 "anyOf": [ array 238 "anyOf": [ array 255 "anyOf": [ array 299 "anyOf": [ array 317 "anyOf": [ array [all …]
|
H A D | Outlet.v1_4_4.json | 60 "anyOf": [ array 73 "anyOf": [ array 86 "anyOf": [ array 99 "anyOf": [ array 134 "anyOf": [ array 258 "anyOf": [ array 271 "anyOf": [ array 295 "anyOf": [ array 308 "anyOf": [ array 321 "anyOf": [ array [all …]
|
H A D | CoolantConnector.v1_0_2.json |
|
H A D | EnvironmentMetrics.v1_3_2.json | 72 "anyOf": [ array 91 "anyOf": [ array 102 "anyOf": [ array 116 "anyOf": [ array 130 "anyOf": [ array 155 "anyOf": [ array 181 "anyOf": [ array 196 "anyOf": [ array 210 "anyOf": [ array 223 "anyOf": [ array
|
H A D | PowerDistributionMetrics.v1_3_2.json | 90 "anyOf": [ array 109 "anyOf": [ array 120 "anyOf": [ array 133 "anyOf": [ array 160 "anyOf": [ array 174 "anyOf": [ array 187 "anyOf": [ array
|
H A D | PowerSupplyMetrics.v1_1_2.json | 95 "anyOf": [ array 106 "anyOf": [ array 119 "anyOf": [ array 147 "anyOf": [ array 164 "anyOf": [ array 177 "anyOf": [ array 190 "anyOf": [ array 212 "anyOf": [ array 266 "anyOf": [ array
|
H A D | ThermalMetrics.v1_3_2.json | 152 "anyOf": [ array 165 "anyOf": [ array 178 "anyOf": [ array 191 "anyOf": [ array 243 "anyOf": [ array 258 "anyOf": [ array 273 "anyOf": [ array 284 "anyOf": [ array 317 "anyOf": [ array
|
H A D | LeakDetector.v1_2_0.json |
|
/openbmc/phosphor-fan-presence/docs/presence/ |
H A D | rpolicy.md | 13 - ["anyof"](#anyof) 16 ### "anyof" 23 "type": "anyof" 49 "type": "anyof"
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | config.json | 18 "type": "anyof" 37 "type": "anyof" 56 "type": "anyof" 75 "type": "anyof" 94 "type": "anyof" 113 "type": "anyof"
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | config.json | 18 "type": "anyof" 37 "type": "anyof" 56 "type": "anyof" 75 "type": "anyof" 94 "type": "anyof" 113 "type": "anyof"
|
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/fans/phosphor-fan/ |
H A D | presence.json | 12 "type": "anyof" 25 "type": "anyof" 38 "type": "anyof" 51 "type": "anyof"
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/swift/ |
H A D | config.yaml | 12 type: anyof 25 type: anyof 38 type: anyof 51 type: anyof 62 type: anyof
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | config.json | 18 "type": "anyof" 37 "type": "anyof" 56 "type": "anyof" 75 "type": "anyof"
|
/openbmc/phosphor-fan-presence/presence/config_files/witherspoon/ |
H A D | config.json | 18 "type": "anyof" 37 "type": "anyof" 56 "type": "anyof" 75 "type": "anyof"
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | config.json | 18 "type": "anyof" 42 "type": "anyof" 66 "type": "anyof" 90 "type": "anyof"
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | EnvironmentMetrics.v1_3_2.json | 72 "anyOf": [ array 91 "anyOf": [ array 102 "anyOf": [ array 116 "anyOf": [ array 130 "anyOf": [ array 155 "anyOf": [ array 181 "anyOf": [ array 196 "anyOf": [ array 210 "anyOf": [ array 223 "anyOf": [ array
|
H A D | ThermalMetrics.v1_3_2.json | 152 "anyOf": [ array 165 "anyOf": [ array 178 "anyOf": [ array 191 "anyOf": [ array 243 "anyOf": [ array 258 "anyOf": [ array 273 "anyOf": [ array 284 "anyOf": [ array 317 "anyOf": [ array
|
/openbmc/phosphor-fan-presence/presence/example/ |
H A D | example.yaml | 20 Supported policy types are fallback or anyof.' 68 'Example fan with anyof redundancy policy. 70 The anyof algorithm reports true if any redundancy set component sensors 82 type: anyof
|
H A D | config.json | 9 "are fallback or anyof. The fan_missing_error_time value is the amount", 72 "Example fan with anyof redundancy policy. The anyof algorithm reports", 91 "type": "anyof"
|