def __init__(self): self.uut_conn = aplib.conn.uutTN self.ud = _UutDescriptor(common_def=_common_def, product_line_def=_product_line_def, uut_conn=self.uut_conn, parent_module=thismodule) self.mode_mgr = _ModeManager(mode_module=_modes3, statemachine=self.ud.uut_state_machine, uut_prompt_map=self.ud.uut_prompt_map, uut_conn=self.uut_conn) self.process = _Process(mode_mgr=self.mode_mgr, ud=self.ud) self.power = _Power(mode_mgr=self.mode_mgr, ud=self.ud) self.rommon = _RommonGen3(mode_mgr=self.mode_mgr, ud=self.ud) self.linux = _Linux(mode_mgr=self.mode_mgr, ud=self.ud) self.diags = _Stardust3(mode_mgr=self.mode_mgr, ud=self.ud, linux=self.linux, equip=None) self.peripheral = _PeripheralC3K(mode_mgr=self.mode_mgr, sysinit=self.diags.sysinit) self.pcamap = _PcamapGen3(mode_mgr=self.mode_mgr, ud=self.ud, rommon=self.rommon, peripheral=self.peripheral) self.ios = _IOS(mode_mgr=self.mode_mgr, ud=self.ud) self._callback_() return
def __init__(self, family_filter): self.uut_conn = aplib.conn.uutTN self.ud = _UutDescriptor(common_def=_common_def, product_line_def=_product_line_def, ios_manifest=_ios_manifest3, uut_conn=self.uut_conn, family_filter=family_filter) self.mode_mgr = _ModeManager(mode_module=_modes3, statemachine=self.ud.uut_state_machine, uut_prompt_map=self.ud.uut_prompt_map, uut_conn=self.uut_conn) self.process = _Process3(mode_mgr=self.mode_mgr, ud=self.ud) self.power = _Power(mode_mgr=self.mode_mgr, ud=self.ud) self.rommon = _RommonC9300(mode_mgr=self.mode_mgr, ud=self.ud) self.linux = _Linux(mode_mgr=self.mode_mgr, ud=self.ud) self.equip = _Equipment(ud=self.ud, modules=[poe_loadbox, stk_pwr_loadbox]) self.diags = _StardustC9300(mode_mgr=self.mode_mgr, ud=self.ud, linux=self.linux, equip=self.equip, power=self.power) self.peripheral = _PeripheralC3K(mode_mgr=self.mode_mgr, ud=self.ud, sysinit=self.diags.sysinit) self.pcamap = _PcamapC9300(mode_mgr=self.mode_mgr, ud=self.ud, rommon=self.rommon, peripheral=self.peripheral) self.ios = _IOS(mode_mgr=self.mode_mgr, ud=self.ud) self.act2 = _ACT2(mode_mgr=self.mode_mgr, ud=self.ud) self.x509sudi = _X509Sudi(mode_mgr=self.mode_mgr, ud=self.ud, linux=self.linux) self.traffic = _Traffic(fmdiags=_TrafficDiagsC9300( mode_mgr=self.mode_mgr, ud=self.ud, diags=self.diags), fmgenerator=None) self._callback_() return