2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Need paramiko >= 2.0.0, only rspconfig need paramiko (#5034)

This commit is contained in:
Bin Xu 2018-04-02 15:31:40 +08:00
parent b8c546051e
commit 950c57ef6d
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,6 @@ from hwctl.executor.openbmc_flash import OpenBMCFlashTask
from hwctl.executor.openbmc_inventory import OpenBMCInventoryTask
from hwctl.executor.openbmc_power import OpenBMCPowerTask
from hwctl.executor.openbmc_sensor import OpenBMCSensorTask
from hwctl.executor.openbmc_bmcconfig import OpenBMCBmcConfigTask
from hwctl.executor.openbmc_eventlog import OpenBMCEventlogTask
from hwctl.beacon import DefaultBeaconManager
from hwctl.setboot import DefaultBootManager
@ -287,6 +286,9 @@ class OpenBMCManager(base.BaseManager):
DefaultPowerManager().set_power_state(runner, power_state=action)
def rspconfig(self, nodesinfo, args):
from hwctl.executor.openbmc_bmcconfig import OpenBMCBmcConfigTask
try:
opts=docopt(RSPCONFIG_USAGE, argv=args)
except DocoptExit as e:

View File

@ -20,7 +20,8 @@ BuildArch: noarch
Requires: xCAT-server
Requires: python-gevent >= 1.2.2-2
Requires: python-greenlet >= 0.4.13-2
Requires: python2-docopt python-requests python-paramiko python-scp
Requires: python-paramiko >= 2.0.0
Requires: python2-docopt python-requests python-scp
%description
xCAT-openbmc-py provides openbmc related functions.