1*65438b6dSGeorge Liuoption('tests', type: 'feature', description: 'Build tests')
2*65438b6dSGeorge Liu
3*65438b6dSGeorge Liuoption(
4*65438b6dSGeorge Liu    'host-busname', type: 'string',
5*65438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Host',
6*65438b6dSGeorge Liu    description: 'The Host DBus busname to own.',
7*65438b6dSGeorge Liu)
8*65438b6dSGeorge Liu
9*65438b6dSGeorge Liuoption(
10*65438b6dSGeorge Liu    'host-objpath', type: 'string',
11*65438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/host',
12*65438b6dSGeorge Liu    description: 'The host state manager Dbus root.',
13*65438b6dSGeorge Liu)
14*65438b6dSGeorge Liu
15*65438b6dSGeorge Liuoption(
16*65438b6dSGeorge Liu    'host-sched-objpath', type: 'string',
17*65438b6dSGeorge Liu    value: '/xyz/openbmc_project/scheduled/host',
18*65438b6dSGeorge Liu    description: 'The scheduled host Dbus root.',
19*65438b6dSGeorge Liu)
20*65438b6dSGeorge Liu
21*65438b6dSGeorge Liuoption(
22*65438b6dSGeorge Liu    'hypervisor-busname', type: 'string',
23*65438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Hypervisor',
24*65438b6dSGeorge Liu    description: 'The Hypervisor DBus busname to own.',
25*65438b6dSGeorge Liu)
26*65438b6dSGeorge Liu
27*65438b6dSGeorge Liuoption(
28*65438b6dSGeorge Liu    'hypervisor-objpath', type: 'string',
29*65438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/hypervisor',
30*65438b6dSGeorge Liu    description: 'The hypervisor state manager Dbus root.',
31*65438b6dSGeorge Liu)
32*65438b6dSGeorge Liu
33*65438b6dSGeorge Liuoption(
34*65438b6dSGeorge Liu    'chassis-busname', type: 'string',
35*65438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.Chassis',
36*65438b6dSGeorge Liu    description: 'The Chassis DBus busname to own.',
37*65438b6dSGeorge Liu)
38*65438b6dSGeorge Liu
39*65438b6dSGeorge Liuoption(
40*65438b6dSGeorge Liu    'chassis-objpath', type: 'string',
41*65438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/chassis',
42*65438b6dSGeorge Liu    description: 'The chassis state manager Dbus root.',
43*65438b6dSGeorge Liu)
44*65438b6dSGeorge Liu
45*65438b6dSGeorge Liuoption(
46*65438b6dSGeorge Liu    'bmc-busname', type: 'string',
47*65438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.BMC',
48*65438b6dSGeorge Liu    description: 'The BMC DBus busname to own.',
49*65438b6dSGeorge Liu)
50*65438b6dSGeorge Liu
51*65438b6dSGeorge Liuoption(
52*65438b6dSGeorge Liu    'bmc-objpath', type: 'string',
53*65438b6dSGeorge Liu    value: '/xyz/openbmc_project/state/bmc',
54*65438b6dSGeorge Liu    description: 'The bmc state manager Dbus root.',
55*65438b6dSGeorge Liu)
56*65438b6dSGeorge Liu
57*65438b6dSGeorge Liuoption(
58*65438b6dSGeorge Liu    'host-state-persist-path', type: 'string',
59*65438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/host{}-PersistData',
60*65438b6dSGeorge Liu    description: 'Path format of file for storing requested HostState,boot progress and os status.',
61*65438b6dSGeorge Liu)
62*65438b6dSGeorge Liu
63*65438b6dSGeorge Liuoption(
64*65438b6dSGeorge Liu    'poh-counter-persist-path', type: 'string',
65*65438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-POHCounter',
66*65438b6dSGeorge Liu    description: 'Path format of file for storing POH counter.',
67*65438b6dSGeorge Liu)
68*65438b6dSGeorge Liu
69*65438b6dSGeorge Liuoption(
70*65438b6dSGeorge Liu    'chassis-state-change-persist-path', type: 'string',
71*65438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/chassis{}-StateChangeTime',
72*65438b6dSGeorge Liu    description: 'Path format of file for storing the state change time.',
73*65438b6dSGeorge Liu)
74*65438b6dSGeorge Liu
75*65438b6dSGeorge Liuoption(
76*65438b6dSGeorge Liu    'scheduled-host-transition-persist-path', type: 'string',
77*65438b6dSGeorge Liu    value: '/var/lib/phosphor-state-manager/scheduledHostTransition',
78*65438b6dSGeorge Liu    description: 'Path of file for storing the scheduled time and the requested transition.',
79*65438b6dSGeorge Liu)
80*65438b6dSGeorge Liu
81*65438b6dSGeorge Liuoption(
82*65438b6dSGeorge Liu    'boot-count-max-allowed', type: 'integer',
83*65438b6dSGeorge Liu    value: 3,
84*65438b6dSGeorge Liu    description: 'The maximum allowed reboot count.',
85*65438b6dSGeorge Liu)
86*65438b6dSGeorge Liu
87*65438b6dSGeorge Liuoption(
88*65438b6dSGeorge Liu    'class-version', type: 'integer',
89*65438b6dSGeorge Liu    value: 2,
90*65438b6dSGeorge Liu    description: 'Class version to register with Cereal.',
91*65438b6dSGeorge Liu)
92*65438b6dSGeorge Liu
93*65438b6dSGeorge Liuoption(
94*65438b6dSGeorge Liu    'scheduled-host-transition-busname', type: 'string',
95*65438b6dSGeorge Liu    value: 'xyz.openbmc_project.State.ScheduledHostTransition',
96*65438b6dSGeorge Liu    description: 'The scheduled host transition Dbus busname to own.',
97*65438b6dSGeorge Liu)
98*65438b6dSGeorge Liu
99*65438b6dSGeorge Liuoption('warm-reboot', type : 'feature',
100*65438b6dSGeorge Liu    value : 'enabled',
101*65438b6dSGeorge Liu    description : 'Enable warm reboots of the system',
102*65438b6dSGeorge Liu)
103*65438b6dSGeorge Liu
104*65438b6dSGeorge Liuoption('host-gpios', type : 'feature',
105*65438b6dSGeorge Liu    value : 'disabled',
106*65438b6dSGeorge Liu    description : 'Enable gpio mechanism to check host state.',
107*65438b6dSGeorge Liu)
108*65438b6dSGeorge Liu
109*65438b6dSGeorge Liuoption('host-gpios-busname', type : 'string',
110*65438b6dSGeorge Liu    value : 'xyz.openbmc_project.State.HostCondition.Gpio',
111*65438b6dSGeorge Liu    description : 'The host gpios Dbus busname to own.',
112*65438b6dSGeorge Liu)
113*65438b6dSGeorge Liu
114*65438b6dSGeorge Liuoption('host-gpios-objpath', type : 'string',
115*65438b6dSGeorge Liu    value : '/xyz/openbmc_project/Gpios',
116*65438b6dSGeorge Liu    description : 'The host gpios Dbus root.',
117*65438b6dSGeorge Liu)
118*65438b6dSGeorge Liu
119*65438b6dSGeorge Liuoption('sysfs-secure-boot-path', type : 'string',
120*65438b6dSGeorge Liu    value : '/sys/kernel/debug/aspeed/sbc/secure_boot',
121*65438b6dSGeorge Liu    description : 'The sysfs path to the secure boot value.',
122*65438b6dSGeorge Liu)
123*65438b6dSGeorge Liu
124*65438b6dSGeorge Liuoption('sysfs-abr-image-path', type : 'string',
125*65438b6dSGeorge Liu    value : '/sys/kernel/debug/aspeed/sbc/abr_image',
126*65438b6dSGeorge Liu    description : 'The sysfs path to the abr image value.',
127*65438b6dSGeorge Liu)
128*65438b6dSGeorge Liu
129*65438b6dSGeorge Liuoption('only-run-apr-on-power-loss', type : 'boolean',
130*65438b6dSGeorge Liu    value : 'false',
131*65438b6dSGeorge Liu    description : 'Only run automatic restore policy due to loss of AC power.'
132*65438b6dSGeorge Liu)
133*65438b6dSGeorge Liu
134*65438b6dSGeorge Liuoption('sysfs-tpm-device-path', type : 'string',
135*65438b6dSGeorge Liu    value : '/sys/firmware/devicetree/base/ahb/apb/bus@1e78a000/i2c-bus@680/tpm@2e',
136*65438b6dSGeorge Liu    description : 'The sysfs path to the tpm device.',
137*65438b6dSGeorge Liu)
138*65438b6dSGeorge Liu
139*65438b6dSGeorge Liuoption('sysfs-tpm-measurement-path', type : 'string',
140*65438b6dSGeorge Liu    value : '/sys/class/tpm/tpm0/pcr-sha256/0',
141*65438b6dSGeorge Liu    description : 'The sysfs path to the tpm measurement value.',
142*65438b6dSGeorge Liu)
143*65438b6dSGeorge Liu
144*65438b6dSGeorge Liuoption('only-allow-boot-when-bmc-ready', type : 'boolean',
145*65438b6dSGeorge Liu    value : 'false',
146*65438b6dSGeorge Liu    description : 'Only allow chassis and host power on operations when BMC is Ready.'
147*65438b6dSGeorge Liu)
148