Home
last modified time | relevance | path

Searched hist:a227a16df7b38254791f6c7a8e5e8cce8f95b11b (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hppa227a16df7b38254791f6c7a8e5e8cce8f95b11b Wed Aug 05 10:51:45 CDT 2020 Matthew Barth <msbarth@us.ibm.com> control: Parse optional "manager.json"

Parse the optional "manager.json" configuration file which currently
provides a single optional attribute "power_on_delay". When the
"power_on_delay" attribute is not present, it is defaulted to 0.

An example "manager.json" file:
```
{
"power_on_delay": 20
}
```

Tested:
Power on delay of 0 when no "manager.json" file present
Power on delay of 0 when no "power_on_delay" JSON attribute present
Power on delay set to value given in "power_on_delay"

Change-Id: I5506ad4e853bdea249b9a794ce335261fdfcaa9f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
H A Dmanager.cppa227a16df7b38254791f6c7a8e5e8cce8f95b11b Wed Aug 05 10:51:45 CDT 2020 Matthew Barth <msbarth@us.ibm.com> control: Parse optional "manager.json"

Parse the optional "manager.json" configuration file which currently
provides a single optional attribute "power_on_delay". When the
"power_on_delay" attribute is not present, it is defaulted to 0.

An example "manager.json" file:
```
{
"power_on_delay": 20
}
```

Tested:
Power on delay of 0 when no "manager.json" file present
Power on delay of 0 when no "power_on_delay" JSON attribute present
Power on delay set to value given in "power_on_delay"

Change-Id: I5506ad4e853bdea249b9a794ce335261fdfcaa9f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>