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_manifest4, uut_conn=self.uut_conn, family_filter=family_filter) self.mode_mgr = _ModeManager(mode_module=_modes4, 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 = _RommonC9400(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, traf_generator]) self.diags = _StardustC9400(mode_mgr=self.mode_mgr, ud=self.ud, linux=self.linux, equip=self.equip, power=self.power) self.peripheral = _PeripheralC4K(mode_mgr=self.mode_mgr, ud=self.ud, sysinit=self.diags.sysinit) self.pcamap = _PcamapC9400(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=_TrafficDiagsC9400(mode_mgr=self.mode_mgr, ud=self.ud, diags=self.diags), fmgenerator=_TrafficSNTC9400(mode_mgr=self.mode_mgr, ud=self.ud, ios=self.ios, equip=self.equip)) self._callback_() return
def __init__(self): self.show_version() super(Theon, self).__init__(family_filter='theon') self.act2 = _ACT2(mode_mgr=self.mode_mgr, ud=self.ud) return
def __init__(self): self.show_version() super(Euclid, self).__init__(family_filter='euclid') self.act2 = _ACT2(mode_mgr=self.mode_mgr, ud=self.ud) return