Exemple #1
0
        private void getBIOS(biosThreadState state)
        {
            try
            {
                _GetBIOS(state);
            }
            catch (Exception e)
            {
                string msg = string.Format("Reading BIOS from {0} resulted in exception {1}", state.nodeIP, e);
                _hostManager.addLogEvent(msg);
                state.result = new result(resultCode.genericFail, msg);

                using (var tmp = new tempLockElevation(state.blade, bladeLockType.lockNone, bladeLockType.lockBIOS))
                {
                    _hostManager.markLastKnownBIOS(state.blade, "unknown");
                }

                state.isFinished = true;
            }
        }