def modval(self, event): self.init = True self.m.mc_id.to_mc(self) gui_setdialog.SetDialog("Set SEL Rescan Time for " + str(self.m), [str(self.sel_rescan_time)], 1, self) return
def entity_hot_swap_get_time_cb(self, entity, err, time): if (err): _oi_logging.error("Error getting activation time: " + str(err)) return gui_setdialog.SetDialog("Set " + self.name + " for " + str(self.e), [time], 1, self) return
def modval(self, event): vals = self.c.vals while (len(vals) < self.c.num_vals): vals.append(0) pass gui_setdialog.SetDialog("Set Control Values for " + self.c.name, vals, self.c.num_vals, self) return
def __init__(self, d): self.d = d gui_setdialog.SetDialog( "FRU Information Device ID for" + str(d), [True, str(0x20), str(0), str(0), str(0), str(0)], 6, self, [ "Is Logical", "IPMB Address", "Device ID", "LUN", "Private Bus", "Channel" ]) return
def setvalue(self, event): gui_setdialog.SetDialog("Set value for " + self.pname, [self.currval], 1, self) return
def modval(self, event): gui_setdialog.SetDialog("Set Value for " + self.name, [ str(self.currval) ], 1, self) return
def modval(self, event): gui_setdialog.SetDialog(self.prompt + " for " + self.name, [ str(self.currval) ], 1, self) return
def modval(self, event): self.init = True self.d.domain_id.to_domain(self) gui_setdialog.SetDialog("Set IPMB Rescan Time for " + str(self.d), [str(self.ipmb_rescan_time)], 1, self) return
def __init__(self, SoL): self.SoL = SoL gui_setdialog.SetDialog("Set Ack Retries for SoL", [self.SoL.sol.get_ACK_retries()], 1, self, ["Value (in microseconds)"]) return