1# 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
11
12# 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
22
23# This settings object has a property that needs to be validated, when changed.
24/xyz/openbmc_project/network/host0/intf:
25    - Interface: xyz.openbmc_project.Network.MACAddress
26      Properties:
27          MACAddress:
28              Default: '"00:00:00:00:00:00"'
29              Validation:
30                  Type: "regex"
31                  Validator: "^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$"
32
33/xyz/openbmc_project/control/host0/power_cap:
34    - 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:
43              Default: "false"
44
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
51