From 3e10a4bc3a48ec747731621e2ceaae9c0c8cf4e2 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Mon, 10 Jul 2017 13:05:33 -0400 Subject: [PATCH] Power off should be called against the chassis --- xCAT-server/lib/xcat/plugins/openbmc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index eae17d85f..0f32b6669 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -162,8 +162,8 @@ my %status_info = ( }, RPOWER_OFF_REQUEST => { method => "PUT", - init_url => "$openbmc_project_url/state/host0/attr/RequestedHostTransition", - data => "xyz.openbmc_project.State.Host.Transition.Off", + init_url => "$openbmc_project_url/state/chassis0/attr/RequestedPowerTransition", + data => "xyz.openbmc_project.State.Chassis.Transition.Off", }, RPOWER_OFF_RESPONSE => { process => \&rpower_response,