Adriana Kobylak | 4c60e5e | 2016-01-10 15:22:45 -0600 | [diff] [blame] | 1 | --- |
| 2 | # Settings Config File |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 3 | org.openbmc.settings.Host: |
Adriana Kobylak | 4c60e5e | 2016-01-10 15:22:45 -0600 | [diff] [blame] | 4 | powercap: |
| 5 | name: power_cap |
| 6 | type: i |
| 7 | default: 0 |
| 8 | min: 0 |
| 9 | max: 1000 |
| 10 | unit: watts |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 11 | validation: range |
Adriana Kobylak | 4c60e5e | 2016-01-10 15:22:45 -0600 | [diff] [blame] | 12 | bootflags: |
| 13 | name: boot_flags |
| 14 | type: s |
Chris Austen | ac98696 | 2016-01-29 17:42:22 -0600 | [diff] [blame] | 15 | default: "default" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 16 | validation: list |
| 17 | allowed: ["Network", "Disk", "Safe", "CDROM", "Setup", "default"] |
Adriana Kobylak | 41a925e | 2016-01-28 16:44:27 -0600 | [diff] [blame] | 18 | sysstate: |
| 19 | name: system_state |
| 20 | type: s |
| 21 | default: "" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 22 | validation: None |
Norman James | 48c21b8 | 2016-01-31 13:30:26 -0600 | [diff] [blame] | 23 | powerpolicy: |
| 24 | name: power_policy |
| 25 | type: s |
| 26 | default: "RESTORE_LAST_STATE" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 27 | validation: list |
| 28 | allowed: ["ALWAYS_POWER_ON", "RESTORE_LAST_STATE", "LEAVE_OFF"] |
tomjose | 8eb691f | 2016-03-28 14:52:34 -0500 | [diff] [blame] | 29 | restrictedmode: |
| 30 | name: restricted_mode |
| 31 | type: b |
ratagupt | 7fb6880 | 2016-04-04 06:29:10 -0500 | [diff] [blame] | 32 | default: false |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 33 | min: 0 |
| 34 | max: 1 |
| 35 | validation: range |
ratagupt | 7fb6880 | 2016-04-04 06:29:10 -0500 | [diff] [blame] | 36 | bootpolicy: |
| 37 | name: boot_policy |
| 38 | type: s |
| 39 | default: "ONETIME" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 40 | validation: list |
| 41 | allowed: ["ONETIME", "PERMANENT"] |
Ratan Gupta | 6710772 | 2016-08-01 07:06:07 -0500 | [diff] [blame] | 42 | networkconfig: |
| 43 | name: network_config |
| 44 | type: s |
| 45 | default: "ipaddress=,prefix=,gateway=,mac=,addr_type=" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 46 | validation: custom |
| 47 | method: validate_net_config |
Vishwanatha Subbanna | 5a1fc9a | 2016-08-31 15:56:20 +0530 | [diff] [blame] | 48 | TimeMode: |
| 49 | name: time_mode |
| 50 | type: s |
| 51 | default: "NTP" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 52 | validation: list |
| 53 | allowed: ["NTP", "MANUAL"] |
Vishwanatha Subbanna | 5a1fc9a | 2016-08-31 15:56:20 +0530 | [diff] [blame] | 54 | TimeOwner: |
| 55 | name: time_owner |
| 56 | type: s |
| 57 | default: "BMC" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 58 | validation: list |
| 59 | allowed: ["BMC", "HOST", "SPLIT", "BOTH"] |
Vishwanatha Subbanna | 5a1fc9a | 2016-08-31 15:56:20 +0530 | [diff] [blame] | 60 | UseDhcpNtp: |
| 61 | name: use_dhcp_ntp |
| 62 | type: s |
| 63 | default: "yes" |
Vishwanatha Subbanna | 5b090c6 | 2016-09-21 15:49:26 +0530 | [diff] [blame] | 64 | 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}' |