diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-08-24 23:12:24 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-08-31 13:11:24 -0400 |
commit | 0de2813c60a40d1bf1c0a4180bfd89f1b80ee724 (patch) | |
tree | aa188b79b64259e904b55aebe7acedb84aab04ae /configs/Witherspoon.py | |
parent | 7f3a57c742c332eb800171d93b3ca88d1ddd058a (diff) | |
download | blackbird-skeleton-0de2813c60a40d1bf1c0a4180bfd89f1b80ee724.tar.gz blackbird-skeleton-0de2813c60a40d1bf1c0a4180bfd89f1b80ee724.zip |
Remove APPS and CALLBACKS from board config files
No longer required with the switch to systemd for state management.
Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'configs/Witherspoon.py')
-rw-r--r-- | configs/Witherspoon.py | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py index a10accd..468d157 100644 --- a/configs/Witherspoon.py +++ b/configs/Witherspoon.py @@ -32,146 +32,6 @@ EXIT_STATE_DEPEND = { }, } -## method will be called when state is entered -ENTER_STATE_CALLBACK = { - 'HOST_POWERED_ON' : { - 'boot' : { - 'bus_name' : 'org.openbmc.control.Host', - 'obj_name' : '/org/openbmc/control/host0', - 'interface_name' : 'org.openbmc.control.Host', - }, - }, - 'HOST_POWERED_OFF' : { - 'setOff' : { - 'bus_name' : 'org.openbmc.control.led', - 'obj_name' : '/org/openbmc/control/led/identify', - 'interface_name' : 'org.openbmc.Led', - } - }, - 'BMC_READY' : { - 'setOn' : { - 'bus_name' : 'org.openbmc.control.led', - 'obj_name' : '/org/openbmc/control/led/beep', - 'interface_name' : 'org.openbmc.Led', - }, - 'init' : { - 'bus_name' : 'org.openbmc.control.Flash', - 'obj_name' : '/org/openbmc/control/flash/bios', - 'interface_name' : 'org.openbmc.Flash', - } - } -} - -APPS = { - 'startup_hacks' : { - 'system_state' : 'BASE_APPS', - 'start_process' : True, - 'monitor_process' : False, - 'process_name' : 'startup_hacks.sh', - }, - 'inventory' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'inventory_items.py', - 'args' : [ SYSTEM_NAME ] - }, - 'hwmon' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'hwmon.py', - 'args' : [ SYSTEM_NAME ] - }, - 'sensor_manager' : { - 'system_state' : 'BASE_APPS', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'sensor_manager2.py', - 'args' : [ SYSTEM_NAME ] - }, - 'host_watchdog' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'host_watchdog.exe', - }, - 'power_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'power_control.exe', - 'args' : [ '3000', '10' ] - }, - 'power_button' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'button_power.exe', - }, - 'reset_button' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'button_reset.exe', - }, - 'host_checkstop' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'host_checkstop.exe', - }, - 'led_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'led_controller.exe', - }, - 'flash_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'flash_bios.exe', - }, - 'bmc_flash_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'bmc_update.py', - }, - 'download_manager' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'download_manager.py', - 'args' : [ SYSTEM_NAME ] - }, - 'host_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'control_host.exe', - }, - 'chassis_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'chassis_control.py', - }, - 'restore' : { - 'system_state' : 'BMC_READY', - 'start_process' : True, - 'monitor_process' : False, - 'process_name' : 'discover_system_state.py', - }, - 'bmc_control' : { - 'system_state' : 'BMC_STARTING', - 'start_process' : True, - 'monitor_process' : True, - 'process_name' : 'control_bmc.exe', - }, -} - CACHED_INTERFACES = { "org.openbmc.InventoryItem" : True, "org.openbmc.control.Chassis" : True, |