X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=src%2Fremoteinstaller%2Finstaller%2Fbmc_management%2Fhw17.py;h=42229fb0756207564b38bd1a9668849a2a2d95ec;hp=a7b5bece4fcd9cd7744bee42e3fb2be3293e2c8f;hb=HEAD;hpb=f9adb9143ef94b16ae16941652e75deccad506ef diff --git a/src/remoteinstaller/installer/bmc_management/hw17.py b/src/remoteinstaller/installer/bmc_management/hw17.py index a7b5bec..42229fb 100644 --- a/src/remoteinstaller/installer/bmc_management/hw17.py +++ b/src/remoteinstaller/installer/bmc_management/hw17.py @@ -12,16 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -from .bmctools import BMC +from .bmctools import BMC, BMCException import logging import time -class BMCException(Exception): - pass - class HW17(BMC): - def __init__(self, host, user, passwd, log_path=None): - super(HW17, self).__init__(host, user, passwd, log_path) + def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None): + super(HW17, self).__init__(host, user, passwd, priv_level, log_path) def attach_virtual_cd(self, nfs_host, nfs_mount, boot_iso_filename): for _ in range(2):