blob: ba8fe62b497528d18c401149007dd714ba823e40 [file] [log] [blame]
Adriana Kobylak4c60e5e2016-01-10 15:22:45 -06001---
2# Settings Config File
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +05303org.openbmc.settings.Host:
Sergey Solomin62b55f32016-10-13 10:40:27 -05004 settings:
5 powercap:
6 name: power_cap
7 type: i
8 default: 0
9 min: 0
10 max: 1000
11 unit: watts
12 validation: range
13 bootflags:
14 name: boot_flags
15 type: s
Ratan Gupta0e72d932017-04-03 17:12:35 +053016 default: "Default"
Sergey Solomin62b55f32016-10-13 10:40:27 -050017 validation: list
Ratan Gupta0e72d932017-04-03 17:12:35 +053018 allowed: ["Network", "Disk", "Safe", "CDROM", "Setup", "Default"]
Sergey Solomin62b55f32016-10-13 10:40:27 -050019 sysstate:
20 name: system_state
21 type: s
22 default: ""
23 validation: None
24 powerpolicy:
25 name: power_policy
26 type: s
27 default: "RESTORE_LAST_STATE"
28 validation: list
29 allowed: ["ALWAYS_POWER_ON", "RESTORE_LAST_STATE", "LEAVE_OFF"]
30 restrictedmode:
31 name: restricted_mode
32 type: b
33 default: false
34 min: 0
35 max: 1
36 validation: range
37 bootpolicy:
38 name: boot_policy
39 type: s
40 default: "ONETIME"
41 validation: list
42 allowed: ["ONETIME", "PERMANENT"]
43 networkconfig:
44 name: network_config
45 type: s
46 default: "ipaddress=,prefix=,gateway=,mac=,addr_type="
47 validation: custom
48 method: validate_net_config
49 TimeMode:
50 name: time_mode
51 type: s
52 default: "NTP"
53 validation: list
54 allowed: ["NTP", "MANUAL"]
Sergey Solomin62b55f32016-10-13 10:40:27 -050055 UseDhcpNtp:
56 name: use_dhcp_ntp
57 type: s
58 default: "yes"
59 validation: list
60 allowed: ["yes", "no"]
Michael Tritzaaa74c12017-01-30 15:58:41 -060061 AutoReboot:
62 name: auto_reboot
63 type: s
64 default: "yes"
65 validation: list
66 allowed: ["yes", "no"]
Sergey Solomin62b55f32016-10-13 10:40:27 -050067 query:
68 type: instance_query
69 keyregex: "host"
70 subtree: "/org/openbmc/control"
Sergey Solomin0fdfa722016-11-09 14:45:53 -060071 matchregex: "control/(host\\d*)$"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053072# Example of using regex
73# macaddress:
74# name: mac_address
75# type: s
76# default: "aa:bb:cc:dd:ee:ff"
77# validation: regex
78# regex: '([a-fA-F0-9]{2}[:|\-]?){6}'