blob: 167c898574361a537a03101460d185a30a614f97 [file] [log] [blame]
Deepak Kodihallidb838622017-08-27 02:46:47 -05001# This settings object implements multiple interfaces
2/xyz/openbmc_project/control/host0/boot:
3 - Interface: xyz.openbmc_project.Control.Boot.Mode
4 Properties:
5 BootMode:
6 Default: Mode::Modes::Safe
7 - Interface: xyz.openbmc_project.Control.Boot.Source
8 Properties:
9 BootSource:
10 Default: Source::Sources::Default
Deepak Kodihalli5de09572017-05-16 23:53:40 -050011
Deepak Kodihallidb838622017-08-27 02:46:47 -050012# Same as the previous settings object, but for a different host
13/xyz/openbmc_project/control/host1/boot:
14 - Interface: xyz.openbmc_project.Control.Boot.Mode
15 Properties:
16 BootMode:
17 Default: Mode::Modes::Safe
18 - Interface: xyz.openbmc_project.Control.Boot.Source
19 Properties:
20 BootSource:
21 Default: Source::Sources::Default
Dhruvaraj Subhashchandran61d3b6a2017-07-25 09:36:54 -050022
Deepak Kodihallidb838622017-08-27 02:46:47 -050023# This settings object has a property that needs to be validated, when changed.
Dhruvaraj Subhashchandran61d3b6a2017-07-25 09:36:54 -050024/xyz/openbmc_project/network/host0/intf:
Deepak Kodihallidb838622017-08-27 02:46:47 -050025 - Interface: xyz.openbmc_project.Network.MACAddress
26 Properties:
27 MACAddress:
28 Default: '"00:00:00:00:00:00"'
29 Validation:
30 Type: "regex"
Patrick Williamsbbeb9bd2022-12-06 10:50:30 -060031 Validator: "^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$"
Deepak Kodihallidb838622017-08-27 02:46:47 -050032
Dhruvaraj Subhashchandran61d3b6a2017-07-25 09:36:54 -050033/xyz/openbmc_project/control/host0/power_cap:
Deepak Kodihallidb838622017-08-27 02:46:47 -050034 - Interface: xyz.openbmc_project.Control.Power.Cap
35 Properties:
36 PowerCap:
37 Default: 0
38 Validation:
39 Type: "range"
40 Validator: "0..1000"
41 Unit: "Watts"
42 PowerCapEnable:
Patrick Williamsbbeb9bd2022-12-06 10:50:30 -060043 Default: "false"
Matt Spinler23552632021-05-14 09:24:09 -050044
45# This interface also ends in Mode and sets an enum.
46/xyz/openbmc_project/control/power_mode:
47 - Interface: xyz.openbmc_project.Control.Power.Mode
48 Properties:
49 PowerMode:
50 Default: Mode::PowerMode::Static