Deepak Kodihalli | db83862 | 2017-08-27 02:46:47 -0500 | [diff] [blame] | 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 |
Deepak Kodihalli | 5de0957 | 2017-05-16 23:53:40 -0500 | [diff] [blame] | 11 | |
Deepak Kodihalli | db83862 | 2017-08-27 02:46:47 -0500 | [diff] [blame] | 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 |
Dhruvaraj Subhashchandran | 61d3b6a | 2017-07-25 09:36:54 -0500 | [diff] [blame] | 22 | |
Deepak Kodihalli | db83862 | 2017-08-27 02:46:47 -0500 | [diff] [blame] | 23 | # This settings object has a property that needs to be validated, when changed. |
Dhruvaraj Subhashchandran | 61d3b6a | 2017-07-25 09:36:54 -0500 | [diff] [blame] | 24 | /xyz/openbmc_project/network/host0/intf: |
Deepak Kodihalli | db83862 | 2017-08-27 02:46:47 -0500 | [diff] [blame] | 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 | |
Dhruvaraj Subhashchandran | 61d3b6a | 2017-07-25 09:36:54 -0500 | [diff] [blame] | 33 | /xyz/openbmc_project/control/host0/power_cap: |
Deepak Kodihalli | db83862 | 2017-08-27 02:46:47 -0500 | [diff] [blame] | 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' |