blob: ca2684042f1f1d479ed49dc0598b9b5687c9d2cf [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:
Adriana Kobylak4c60e5e2016-01-10 15:22:45 -06004 powercap:
5 name: power_cap
6 type: i
7 default: 0
8 min: 0
9 max: 1000
10 unit: watts
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053011 validation: range
Adriana Kobylak4c60e5e2016-01-10 15:22:45 -060012 bootflags:
13 name: boot_flags
14 type: s
Chris Austenac986962016-01-29 17:42:22 -060015 default: "default"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053016 validation: list
17 allowed: ["Network", "Disk", "Safe", "CDROM", "Setup", "default"]
Adriana Kobylak41a925e2016-01-28 16:44:27 -060018 sysstate:
19 name: system_state
20 type: s
21 default: ""
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053022 validation: None
Norman James48c21b82016-01-31 13:30:26 -060023 powerpolicy:
24 name: power_policy
25 type: s
26 default: "RESTORE_LAST_STATE"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053027 validation: list
28 allowed: ["ALWAYS_POWER_ON", "RESTORE_LAST_STATE", "LEAVE_OFF"]
tomjose8eb691f2016-03-28 14:52:34 -050029 restrictedmode:
30 name: restricted_mode
31 type: b
ratagupt7fb68802016-04-04 06:29:10 -050032 default: false
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053033 min: 0
34 max: 1
35 validation: range
ratagupt7fb68802016-04-04 06:29:10 -050036 bootpolicy:
37 name: boot_policy
38 type: s
39 default: "ONETIME"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053040 validation: list
41 allowed: ["ONETIME", "PERMANENT"]
Ratan Gupta67107722016-08-01 07:06:07 -050042 networkconfig:
43 name: network_config
44 type: s
45 default: "ipaddress=,prefix=,gateway=,mac=,addr_type="
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053046 validation: custom
47 method: validate_net_config
Vishwanatha Subbanna5a1fc9a2016-08-31 15:56:20 +053048 TimeMode:
49 name: time_mode
50 type: s
51 default: "NTP"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053052 validation: list
53 allowed: ["NTP", "MANUAL"]
Vishwanatha Subbanna5a1fc9a2016-08-31 15:56:20 +053054 TimeOwner:
55 name: time_owner
56 type: s
57 default: "BMC"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053058 validation: list
59 allowed: ["BMC", "HOST", "SPLIT", "BOTH"]
Vishwanatha Subbanna5a1fc9a2016-08-31 15:56:20 +053060 UseDhcpNtp:
61 name: use_dhcp_ntp
62 type: s
63 default: "yes"
Vishwanatha Subbanna5b090c62016-09-21 15:49:26 +053064 validation: list
65 allowed: ["yes", "no"]
66
67# Example of using regex
68# macaddress:
69# name: mac_address
70# type: s
71# default: "aa:bb:cc:dd:ee:ff"
72# validation: regex
73# regex: '([a-fA-F0-9]{2}[:|\-]?){6}'