165438b6dSGeorge Liuoption('tests', type: 'feature', description: 'Build tests')
265438b6dSGeorge Liu
365438b6dSGeorge Liuoption(
465438b6dSGeorge Liu    'host-busname', type: 'string',
565438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Host',
665438b6dSGeorge Liu    description: 'The Host DBus busname to own.',
765438b6dSGeorge Liu)
865438b6dSGeorge Liu
965438b6dSGeorge Liuoption(
1065438b6dSGeorge Liu    'host-objpath', type: 'string',
1165438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/host',
1265438b6dSGeorge Liu    description: 'The host state manager Dbus root.',
1365438b6dSGeorge Liu)
1465438b6dSGeorge Liu
1565438b6dSGeorge Liuoption(
1665438b6dSGeorge Liu    'host-sched-objpath', type: 'string',
1765438b6dSGeorge Liu    value: '/xyz/openbmc_project/scheduled/host',
1865438b6dSGeorge Liu    description: 'The scheduled host Dbus root.',
1965438b6dSGeorge Liu)
2065438b6dSGeorge Liu
2165438b6dSGeorge Liuoption(
2265438b6dSGeorge Liu    'hypervisor-busname', type: 'string',
2365438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Hypervisor',
2465438b6dSGeorge Liu    description: 'The Hypervisor DBus busname to own.',
2565438b6dSGeorge Liu)
2665438b6dSGeorge Liu
2765438b6dSGeorge Liuoption(
2865438b6dSGeorge Liu    'hypervisor-objpath', type: 'string',
2965438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/hypervisor',
3065438b6dSGeorge Liu    description: 'The hypervisor state manager Dbus root.',
3165438b6dSGeorge Liu)
3265438b6dSGeorge Liu
3365438b6dSGeorge Liuoption(
3465438b6dSGeorge Liu    'chassis-busname', type: 'string',
3565438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Chassis',
3665438b6dSGeorge Liu    description: 'The Chassis DBus busname to own.',
3765438b6dSGeorge Liu)
3865438b6dSGeorge Liu
3965438b6dSGeorge Liuoption(
4065438b6dSGeorge Liu    'chassis-objpath', type: 'string',
4165438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/chassis',
4265438b6dSGeorge Liu    description: 'The chassis state manager Dbus root.',
4365438b6dSGeorge Liu)
4465438b6dSGeorge Liu
4565438b6dSGeorge Liuoption(
4665438b6dSGeorge Liu    'bmc-busname', type: 'string',
4765438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.BMC',
4865438b6dSGeorge Liu    description: 'The BMC DBus busname to own.',
4965438b6dSGeorge Liu)
5065438b6dSGeorge Liu
5165438b6dSGeorge Liuoption(
5265438b6dSGeorge Liu    'bmc-objpath', type: 'string',
5365438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/bmc',
5465438b6dSGeorge Liu    description: 'The bmc state manager Dbus root.',
5565438b6dSGeorge Liu)
5665438b6dSGeorge Liu
5765438b6dSGeorge Liuoption(
5865438b6dSGeorge Liu    'host-state-persist-path', type: 'string',
5965438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/host{}-PersistData',
6065438b6dSGeorge Liu    description: 'Path format of file for storing requested HostState,boot progress and os status.',
6165438b6dSGeorge Liu)
6265438b6dSGeorge Liu
6365438b6dSGeorge Liuoption(
6465438b6dSGeorge Liu    'poh-counter-persist-path', type: 'string',
6565438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
6665438b6dSGeorge Liu    description: 'Path format of file for storing POH counter.',
6765438b6dSGeorge Liu)
6865438b6dSGeorge Liu
6965438b6dSGeorge Liuoption(
7065438b6dSGeorge Liu    'chassis-state-change-persist-path', type: 'string',
7165438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
7265438b6dSGeorge Liu    description: 'Path format of file for storing the state change time.',
7365438b6dSGeorge Liu)
7465438b6dSGeorge Liu
7565438b6dSGeorge Liuoption(
7665438b6dSGeorge Liu    'scheduled-host-transition-persist-path', type: 'string',
7765438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
7865438b6dSGeorge Liu    description: 'Path of file for storing the scheduled time and the requested transition.',
7965438b6dSGeorge Liu)
8065438b6dSGeorge Liu
8165438b6dSGeorge Liuoption(
8265438b6dSGeorge Liu    'boot-count-max-allowed', type: 'integer',
8365438b6dSGeorge Liu    value: 3,
8465438b6dSGeorge Liu    description: 'The maximum allowed reboot count.',
8565438b6dSGeorge Liu)
8665438b6dSGeorge Liu
8765438b6dSGeorge Liuoption(
8865438b6dSGeorge Liu    'class-version', type: 'integer',
8965438b6dSGeorge Liu    value: 2,
9065438b6dSGeorge Liu    description: 'Class version to register with Cereal.',
9165438b6dSGeorge Liu)
9265438b6dSGeorge Liu
9365438b6dSGeorge Liuoption(
9465438b6dSGeorge Liu    'scheduled-host-transition-busname', type: 'string',
9565438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.ScheduledHostTransition',
9665438b6dSGeorge Liu    description: 'The scheduled host transition Dbus busname to own.',
9765438b6dSGeorge Liu)
9865438b6dSGeorge Liu
9965438b6dSGeorge Liuoption('warm-reboot', type : 'feature',
10065438b6dSGeorge Liu    value : 'enabled',
10165438b6dSGeorge Liu    description : 'Enable warm reboots of the system',
10265438b6dSGeorge Liu)
10365438b6dSGeorge Liu
10465438b6dSGeorge Liuoption('host-gpios', type : 'feature',
10565438b6dSGeorge Liu    value : 'disabled',
10665438b6dSGeorge Liu    description : 'Enable gpio mechanism to check host state.',
10765438b6dSGeorge Liu)
10865438b6dSGeorge Liu
10965438b6dSGeorge Liuoption('host-gpios-busname', type : 'string',
11065438b6dSGeorge Liu    value : 'xyz.openbmc_project.State.HostCondition.Gpio',
11165438b6dSGeorge Liu    description : 'The host gpios Dbus busname to own.',
11265438b6dSGeorge Liu)
11365438b6dSGeorge Liu
11465438b6dSGeorge Liuoption('host-gpios-objpath', type : 'string',
11565438b6dSGeorge Liu    value : '/xyz/openbmc_project/Gpios',
11665438b6dSGeorge Liu    description : 'The host gpios Dbus root.',
11765438b6dSGeorge Liu)
11865438b6dSGeorge Liu
11965438b6dSGeorge Liuoption('sysfs-secure-boot-path', type : 'string',
12065438b6dSGeorge Liu    value : '/sys/kernel/debug/aspeed/sbc/secure_boot',
12165438b6dSGeorge Liu    description : 'The sysfs path to the secure boot value.',
12265438b6dSGeorge Liu)
12365438b6dSGeorge Liu
12465438b6dSGeorge Liuoption('sysfs-abr-image-path', type : 'string',
12565438b6dSGeorge Liu    value : '/sys/kernel/debug/aspeed/sbc/abr_image',
12665438b6dSGeorge Liu    description : 'The sysfs path to the abr image value.',
12765438b6dSGeorge Liu)
12865438b6dSGeorge Liu
12965438b6dSGeorge Liuoption('only-run-apr-on-power-loss', type : 'boolean',
130*a15b81b4SGeorge Liu    value : false,
13165438b6dSGeorge Liu    description : 'Only run automatic restore policy due to loss of AC power.'
13265438b6dSGeorge Liu)
13365438b6dSGeorge Liu
13465438b6dSGeorge Liuoption('sysfs-tpm-device-path', type : 'string',
13565438b6dSGeorge Liu    value : '/sys/firmware/devicetree/base/ahb/apb/bus@1e78a000/i2c-bus@680/tpm@2e',
13665438b6dSGeorge Liu    description : 'The sysfs path to the tpm device.',
13765438b6dSGeorge Liu)
13865438b6dSGeorge Liu
13965438b6dSGeorge Liuoption('sysfs-tpm-measurement-path', type : 'string',
14065438b6dSGeorge Liu    value : '/sys/class/tpm/tpm0/pcr-sha256/0',
14165438b6dSGeorge Liu    description : 'The sysfs path to the tpm measurement value.',
14265438b6dSGeorge Liu)
14365438b6dSGeorge Liu
14465438b6dSGeorge Liuoption('only-allow-boot-when-bmc-ready', type : 'boolean',
145*a15b81b4SGeorge Liu    value : false,
14665438b6dSGeorge Liu    description : 'Only allow chassis and host power on operations when BMC is Ready.'
14765438b6dSGeorge Liu)
148