Fix using SSH command while SSH protocol is disabled
Fix using SSH command while SSH protocol is disabled

Reboot command OBMC Reboot (off) run /sbin/reboot via SSH protocol,
use rest API to trigger BMC reboot instead while run SSH disabled test.

Signed-off-by: Brian Ma <304a0fb6061c34d949e0cea7efd6775490a51bda@nuvoton.com>
Change-Id: I5fb5aad8de6259feaace05a2ab7f9e2173ea0343

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation