tdl-xoa-driver 1.3.0__py3-none-any.whl → 1.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tdl_xoa_driver-1.5.0.dist-info/METADATA +56 -0
- tdl_xoa_driver-1.5.0.dist-info/RECORD +231 -0
- xoa_driver/__init__.py +2 -2
- xoa_driver/enums.py +2 -0
- xoa_driver/exceptions.py +2 -0
- xoa_driver/functions/anlt.py +4 -2
- xoa_driver/functions/anlt_ll_debug.py +2 -0
- xoa_driver/functions/cli/__init__.py +21 -0
- xoa_driver/functions/cli/_cli_manager.py +541 -0
- xoa_driver/functions/cli/_config_block.py +334 -0
- xoa_driver/functions/cli/_socket_driver.py +111 -0
- xoa_driver/functions/cli/port_config.py +116 -0
- xoa_driver/functions/cli/testbed_config.py +179 -0
- xoa_driver/functions/cmis/__init__.py +8 -0
- xoa_driver/functions/cmis/_constants.py +25 -0
- xoa_driver/functions/cmis/_replies.py +600 -0
- xoa_driver/functions/cmis/_utils.py +49 -0
- xoa_driver/functions/cmis/cdb.py +1266 -0
- xoa_driver/functions/exceptions.py +2 -0
- xoa_driver/functions/headers.py +2 -0
- xoa_driver/functions/mgmt.py +48 -34
- xoa_driver/functions/tools.py +9 -3
- xoa_driver/hlfuncs.py +7 -3
- xoa_driver/internals/commands/c_commands.py +6 -10
- xoa_driver/internals/commands/enums.py +25 -1
- xoa_driver/internals/commands/p_commands.py +50 -12
- xoa_driver/internals/commands/pl1_commands.py +130 -73
- xoa_driver/internals/commands/pp_commands.py +44 -55
- xoa_driver/internals/commands/pr_commands.py +17 -16
- xoa_driver/internals/commands/pt_commands.py +21 -1
- xoa_driver/internals/commands/px_commands.py +1686 -6
- xoa_driver/internals/core/transporter/_request_id_counter.py +1 -1
- xoa_driver/internals/core/transporter/logger/__state_on_user.py +1 -1
- xoa_driver/internals/core/transporter/protocol/payload/__init__.py +3 -1
- xoa_driver/internals/core/transporter/protocol/payload/field.py +41 -0
- xoa_driver/internals/core/transporter/protocol/payload/types.py +19 -0
- xoa_driver/internals/exceptions/modules.py +4 -3
- xoa_driver/internals/{hli_v1 → hli}/indices/filter/base_filter.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/indices/length_term.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/indices/macsecscs/base_macsecsc.py +2 -2
- xoa_driver/internals/{hli_v1 → hli}/indices/match_term.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/indices/port_dataset.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/indices/streams/base_stream.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/module_chimera.py +3 -3
- xoa_driver/internals/{hli_v1 → hli}/modules/module_l47.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_combi.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_d.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_e.py +1 -1
- xoa_driver/internals/hli/modules/modules_l23/family_edun.py +82 -0
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_f.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_g.py +17 -2
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_h.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_i.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_j.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_k.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_l.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_l1.py +20 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_m.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/family_n.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/module_l23_base.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/port_l23.py +3 -3
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/port_l23_genuine.py +4 -4
- xoa_driver/internals/hli/ports/port_l23/bases/port_transceiver.py +247 -0
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/port_transmission_statistics.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/port_chimera.py +1 -1
- xoa_driver/internals/hli/ports/port_l23/edun_l1.py +181 -0
- xoa_driver/internals/hli/ports/port_l23/family_edun.py +82 -0
- xoa_driver/internals/{hli_v2 → hli}/ports/port_l23/family_g.py +5 -0
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_l1.py +14 -8
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/port_l23ve.py +2 -2
- xoa_driver/internals/{hli_v1 → hli}/ports/port_l47/main.py +2 -2
- xoa_driver/internals/{hli_v1 → hli}/testers/l23_tester.py +1 -1
- xoa_driver/internals/{hli_v1 → hli}/testers/l47_tester.py +2 -2
- xoa_driver/internals/state_storage/modules_state.py +20 -0
- xoa_driver/internals/state_storage/testers_state.py +10 -0
- xoa_driver/lli.py +1 -0
- xoa_driver/misc.py +13 -17
- xoa_driver/modules.py +40 -22
- xoa_driver/ports.py +42 -20
- xoa_driver/testers.py +5 -7
- xoa_driver/utils.py +2 -0
- tdl_xoa_driver-1.3.0.dist-info/METADATA +0 -56
- tdl_xoa_driver-1.3.0.dist-info/RECORD +0 -325
- xoa_driver/functions/cli.py +0 -581
- xoa_driver/internals/hli_v1/ports/port_l23/bases/port_transceiver.py +0 -117
- xoa_driver/internals/hli_v1/ports/port_l23/family_g.py +0 -77
- xoa_driver/internals/hli_v2/__init__.py +0 -0
- xoa_driver/internals/hli_v2/indices/__init__.py +0 -0
- xoa_driver/internals/hli_v2/indices/base_index.py +0 -39
- xoa_driver/internals/hli_v2/indices/connection_group/__init__.py +0 -0
- xoa_driver/internals/hli_v2/indices/connection_group/cg.py +0 -115
- xoa_driver/internals/hli_v2/indices/connection_group/histogram.py +0 -59
- xoa_driver/internals/hli_v2/indices/connection_group/l2.py +0 -71
- xoa_driver/internals/hli_v2/indices/connection_group/l3.py +0 -96
- xoa_driver/internals/hli_v2/indices/connection_group/raw.py +0 -148
- xoa_driver/internals/hli_v2/indices/connection_group/replay.py +0 -89
- xoa_driver/internals/hli_v2/indices/connection_group/tcp.py +0 -261
- xoa_driver/internals/hli_v2/indices/connection_group/tls.py +0 -166
- xoa_driver/internals/hli_v2/indices/connection_group/udp.py +0 -112
- xoa_driver/internals/hli_v2/indices/connection_group/user_state.py +0 -25
- xoa_driver/internals/hli_v2/indices/filter/__init__.py +0 -0
- xoa_driver/internals/hli_v2/indices/filter/base_filter.py +0 -50
- xoa_driver/internals/hli_v2/indices/filter/genuine_filter.py +0 -17
- xoa_driver/internals/hli_v2/indices/length_term.py +0 -44
- xoa_driver/internals/hli_v2/indices/match_term.py +0 -49
- xoa_driver/internals/hli_v2/indices/port_dataset.py +0 -53
- xoa_driver/internals/hli_v2/indices/streams/__init__.py +0 -0
- xoa_driver/internals/hli_v2/indices/streams/base_stream.py +0 -234
- xoa_driver/internals/hli_v2/indices/streams/genuine_stream.py +0 -32
- xoa_driver/internals/hli_v2/modules/__init__.py +0 -0
- xoa_driver/internals/hli_v2/modules/__interfaces.py +0 -21
- xoa_driver/internals/hli_v2/modules/base_module.py +0 -125
- xoa_driver/internals/hli_v2/modules/module_chimera.py +0 -358
- xoa_driver/internals/hli_v2/modules/module_l23ve.py +0 -58
- xoa_driver/internals/hli_v2/modules/module_l47.py +0 -230
- xoa_driver/internals/hli_v2/modules/module_l47ve.py +0 -8
- xoa_driver/internals/hli_v2/modules/modules_l23/__init__.py +0 -0
- xoa_driver/internals/hli_v2/modules/modules_l23/family_combi.py +0 -73
- xoa_driver/internals/hli_v2/modules/modules_l23/family_d.py +0 -75
- xoa_driver/internals/hli_v2/modules/modules_l23/family_e.py +0 -85
- xoa_driver/internals/hli_v2/modules/modules_l23/family_f.py +0 -144
- xoa_driver/internals/hli_v2/modules/modules_l23/family_g.py +0 -84
- xoa_driver/internals/hli_v2/modules/modules_l23/family_h.py +0 -40
- xoa_driver/internals/hli_v2/modules/modules_l23/family_i.py +0 -25
- xoa_driver/internals/hli_v2/modules/modules_l23/family_j.py +0 -25
- xoa_driver/internals/hli_v2/modules/modules_l23/family_k.py +0 -39
- xoa_driver/internals/hli_v2/modules/modules_l23/family_l.py +0 -55
- xoa_driver/internals/hli_v2/modules/modules_l23/family_l1.py +0 -797
- xoa_driver/internals/hli_v2/modules/modules_l23/family_m.py +0 -25
- xoa_driver/internals/hli_v2/modules/modules_l23/family_n.py +0 -40
- xoa_driver/internals/hli_v2/modules/modules_l23/module_l23_base.py +0 -339
- xoa_driver/internals/hli_v2/ports/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/base_port.py +0 -105
- xoa_driver/internals/hli_v2/ports/port_l23/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/port_l23/bases/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_capture.py +0 -64
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_l23.py +0 -441
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_l23_genuine.py +0 -172
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_reception_statistics.py +0 -156
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_transceiver.py +0 -117
- xoa_driver/internals/hli_v2/ports/port_l23/bases/port_transmission_statistics.py +0 -59
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/_utils.py +0 -15
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py +0 -340
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/shadow.py +0 -99
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/working.py +0 -36
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/pe_custom_distribution.py +0 -116
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/pe_distribution.py +0 -102
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/port_chimera.py +0 -113
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/port_emulation.py +0 -420
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/reception_statistics.py +0 -22
- xoa_driver/internals/hli_v2/ports/port_l23/chimera/transmission_statistics.py +0 -22
- xoa_driver/internals/hli_v2/ports/port_l23/family_combi.py +0 -36
- xoa_driver/internals/hli_v2/ports/port_l23/family_d.py +0 -49
- xoa_driver/internals/hli_v2/ports/port_l23/family_e.py +0 -96
- xoa_driver/internals/hli_v2/ports/port_l23/family_f.py +0 -144
- xoa_driver/internals/hli_v2/ports/port_l23/family_h.py +0 -60
- xoa_driver/internals/hli_v2/ports/port_l23/family_i.py +0 -66
- xoa_driver/internals/hli_v2/ports/port_l23/family_j.py +0 -53
- xoa_driver/internals/hli_v2/ports/port_l23/family_k.py +0 -58
- xoa_driver/internals/hli_v2/ports/port_l23/family_l.py +0 -67
- xoa_driver/internals/hli_v2/ports/port_l23/family_l1.py +0 -149
- xoa_driver/internals/hli_v2/ports/port_l23/family_m.py +0 -28
- xoa_driver/internals/hli_v2/ports/port_l23/fault_jkl.py +0 -22
- xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_ghijkl.py +0 -342
- xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_ijkl_chimera.py +0 -50
- xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_l.py +0 -65
- xoa_driver/internals/hli_v2/ports/port_l23/port_l23ve.py +0 -81
- xoa_driver/internals/hli_v2/ports/port_l47/__init__.py +0 -0
- xoa_driver/internals/hli_v2/ports/port_l47/counters.py +0 -146
- xoa_driver/internals/hli_v2/ports/port_l47/main.py +0 -137
- xoa_driver/internals/hli_v2/ports/port_l47/packet_engine.py +0 -20
- xoa_driver/internals/hli_v2/revisions.py +0 -11
- xoa_driver/internals/hli_v2/testers/__init__.py +0 -0
- xoa_driver/internals/hli_v2/testers/_base_tester.py +0 -207
- xoa_driver/internals/hli_v2/testers/genuine/__init__.py +0 -0
- xoa_driver/internals/hli_v2/testers/genuine/l_23/__init__.py +0 -0
- xoa_driver/internals/hli_v2/testers/genuine/l_23/health.py +0 -16
- xoa_driver/internals/hli_v2/testers/genuine/l_23/rest_api.py +0 -34
- xoa_driver/internals/hli_v2/testers/genuine/l_23/time_keeper.py +0 -50
- xoa_driver/internals/hli_v2/testers/genuine/l_23/upload_file.py +0 -26
- xoa_driver/internals/hli_v2/testers/genuine/management_interface.py +0 -38
- xoa_driver/internals/hli_v2/testers/l23_tester.py +0 -159
- xoa_driver/internals/hli_v2/testers/l23ve_tester.py +0 -98
- xoa_driver/internals/hli_v2/testers/l47_tester.py +0 -95
- xoa_driver/internals/hli_v2/testers/l47ve_tester.py +0 -50
- xoa_driver/v2/__init__.py +0 -11
- xoa_driver/v2/misc.py +0 -77
- xoa_driver/v2/modules.py +0 -308
- xoa_driver/v2/ports.py +0 -232
- xoa_driver/v2/testers.py +0 -24
- {tdl_xoa_driver-1.3.0.dist-info → tdl_xoa_driver-1.5.0.dist-info}/WHEEL +0 -0
- {tdl_xoa_driver-1.3.0.dist-info → tdl_xoa_driver-1.5.0.dist-info}/licenses/LICENSE +0 -0
- {tdl_xoa_driver-1.3.0.dist-info → tdl_xoa_driver-1.5.0.dist-info}/top_level.txt +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/base_index.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/cg.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/histogram.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/l2.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/l3.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/raw.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/replay.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/tcp.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/tls.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/udp.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/connection_group/user_state.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/filter/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/filter/genuine_filter.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/macsecscs/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/macsecscs/genuine_macsecsc.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/streams/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/indices/streams/genuine_stream.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/__interfaces.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/base_module.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/module_l23ve.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/module_l47ve.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/modules/modules_l23/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/base_port.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/port_capture.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/bases/port_reception_statistics.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/filter_definition/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/filter_definition/_utils.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/filter_definition/general.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/filter_definition/shadow.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/filter_definition/working.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/pe_custom_distribution.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/pe_distribution.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/port_emulation.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/reception_statistics.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/chimera/transmission_statistics.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_combi.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_d.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_e.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_f.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_h.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_i.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_j.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_k.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_l.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/family_m.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/fault_jkl.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/freya_l1.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/pcs_pma_ghijkl.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/pcs_pma_ijkl_chimera.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l23/pcs_pma_l.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l47/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l47/counters.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/ports/port_l47/packet_engine.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/revisions.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/_base_tester.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/l_23/__init__.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/l_23/health.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/l_23/rest_api.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/l_23/time_keeper.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/l_23/upload_file.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/genuine/management_interface.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/l23ve_tester.py +0 -0
- /xoa_driver/internals/{hli_v1 → hli}/testers/l47ve_tester.py +0 -0
|
@@ -34,6 +34,8 @@ class TesterLocalState:
|
|
|
34
34
|
"driver_version",
|
|
35
35
|
"reservation",
|
|
36
36
|
"reserved_by",
|
|
37
|
+
"version_string",
|
|
38
|
+
"name",
|
|
37
39
|
)
|
|
38
40
|
|
|
39
41
|
def __init__(self, host: str, port: int) -> None:
|
|
@@ -46,6 +48,8 @@ class TesterLocalState:
|
|
|
46
48
|
self.driver_version: int = 0
|
|
47
49
|
self.reservation: enums.ReservedStatus = enums.ReservedStatus.RELEASED
|
|
48
50
|
self.reserved_by: str = ""
|
|
51
|
+
self.version_string: str = ""
|
|
52
|
+
self.name: str = ""
|
|
49
53
|
|
|
50
54
|
async def initiate(self, tester) -> None:
|
|
51
55
|
(
|
|
@@ -55,6 +59,8 @@ class TesterLocalState:
|
|
|
55
59
|
serial_res,
|
|
56
60
|
reserved_by_res,
|
|
57
61
|
reservation_resp,
|
|
62
|
+
version_string_res,
|
|
63
|
+
name_res,
|
|
58
64
|
) = await funcs.apply(
|
|
59
65
|
tester.capabilities.get(),
|
|
60
66
|
tester.model.get(),
|
|
@@ -62,6 +68,8 @@ class TesterLocalState:
|
|
|
62
68
|
tester.serial_no.get(),
|
|
63
69
|
tester.reserved_by.get(),
|
|
64
70
|
tester.reservation.get(),
|
|
71
|
+
tester.version_str.get(),
|
|
72
|
+
tester.name.get(),
|
|
65
73
|
)
|
|
66
74
|
self.reserved_by = reserved_by_res.username
|
|
67
75
|
self.model = model_res.model
|
|
@@ -70,6 +78,8 @@ class TesterLocalState:
|
|
|
70
78
|
self.serial_number = serial_res.serial_number
|
|
71
79
|
self.reservation = reservation_resp.operation
|
|
72
80
|
self.capabilities = capabilities_resp
|
|
81
|
+
self.version_string = version_string_res.version_str
|
|
82
|
+
self.name = name_res.chassis_name
|
|
73
83
|
|
|
74
84
|
def register_subscriptions(self, tester) -> None:
|
|
75
85
|
tester._conn.subscribe(C_RESERVEDBY, utils.Update(self, "reserved_by", "username"))
|
xoa_driver/lli.py
CHANGED
xoa_driver/misc.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#: Other types which are used by ports or as a parameter to attribute set method.
|
|
2
2
|
|
|
3
|
+
"""Other types used in Xena test ports."""
|
|
3
4
|
|
|
4
5
|
from .internals.core.token import Token
|
|
5
6
|
from .internals.core.transporter.protocol.payload.types import Hex
|
|
@@ -12,24 +13,19 @@ from .internals.commands.subtypes import (
|
|
|
12
13
|
QueueStatsElem,
|
|
13
14
|
)
|
|
14
15
|
|
|
15
|
-
import sys
|
|
16
|
-
|
|
17
|
-
if "xoa_driver.v2" in sys.modules:
|
|
18
|
-
raise ImportError("\33[31mOnly Single interface version is allowed to being use at the same time.\33[0m")
|
|
19
|
-
|
|
20
16
|
# indices types
|
|
21
|
-
from .internals.
|
|
22
|
-
from .internals.
|
|
23
|
-
from .internals.
|
|
24
|
-
from .internals.
|
|
25
|
-
from .internals.
|
|
26
|
-
from .internals.
|
|
27
|
-
from .internals.
|
|
28
|
-
from .internals.
|
|
29
|
-
from .internals.
|
|
30
|
-
from .internals.
|
|
31
|
-
from .internals.
|
|
32
|
-
from xoa_driver.internals.
|
|
17
|
+
from .internals.hli.indices.connection_group.cg import ConnectionGroupIdx as ConnectionGroup
|
|
18
|
+
from .internals.hli.indices.filter.base_filter import BaseFilterIdx as BasePortFilter
|
|
19
|
+
from .internals.hli.indices.filter.genuine_filter import GenuineFilterIdx as GenuinePortFilter
|
|
20
|
+
from .internals.hli.indices.length_term import LengthTermIdx as LengthTerm
|
|
21
|
+
from .internals.hli.indices.match_term import MatchTermIdx as MatchTerm
|
|
22
|
+
from .internals.hli.indices.port_dataset import PortDatasetIdx as PortDataset
|
|
23
|
+
from .internals.hli.indices.streams.base_stream import BaseStreamIdx as BaseStream
|
|
24
|
+
from .internals.hli.indices.streams.genuine_stream import GenuineStreamIdx as GenuineStream
|
|
25
|
+
from .internals.hli.ports.port_l23.chimera.port_emulation import CFlow as ImpairmentFlow
|
|
26
|
+
from .internals.hli.ports.port_l23.chimera.filter_definition.general import ModeBasic as BasicImpairmentFlowFilter
|
|
27
|
+
from .internals.hli.ports.port_l23.chimera.filter_definition.general import ModeExtended as ExtendedImpairmentFlowFilter
|
|
28
|
+
from xoa_driver.internals.hli.indices.macsecscs.genuine_macsecsc import GenuineMacSecTxScIdx, GenuineMacSecRxScIdx
|
|
33
29
|
|
|
34
30
|
|
|
35
31
|
__all__ = (
|
xoa_driver/modules.py
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
#: All available test module types.
|
|
2
|
-
|
|
2
|
+
"""Xena test module types."""
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
from .internals.hli_v1.modules.modules_l23.module_l23_base import ModuleL23
|
|
8
|
-
from .internals.hli_v1.modules.modules_l23.family_d import (
|
|
4
|
+
from .internals.hli.modules.modules_l23.module_l23_base import ModuleL23
|
|
5
|
+
from .internals.hli.modules.modules_l23.family_d import (
|
|
9
6
|
MOdin1G3S2PT,
|
|
10
7
|
MOdin1G3S6P,
|
|
11
8
|
MOdin1G3S6P_b,
|
|
12
9
|
MOdin1G3S6PE,
|
|
13
10
|
)
|
|
14
|
-
from .internals.
|
|
11
|
+
from .internals.hli.modules.modules_l23.family_e import (
|
|
15
12
|
MOdin5G4S6PCU,
|
|
16
13
|
MOdin10G3S2PCU,
|
|
17
14
|
MOdin10G3S6PCU,
|
|
18
15
|
MOdin10G5S6PCU,
|
|
19
16
|
MOdin10G5S6PCU_b,
|
|
20
17
|
)
|
|
21
|
-
from .internals.
|
|
18
|
+
from .internals.hli.modules.modules_l23.family_f import (
|
|
22
19
|
MOdin10G1S2P,
|
|
23
20
|
MOdin10G1S2P_b,
|
|
24
21
|
MOdin10G1S2P_c,
|
|
@@ -29,29 +26,30 @@ from .internals.hli_v1.modules.modules_l23.family_f import (
|
|
|
29
26
|
MOdin10G1S12P,
|
|
30
27
|
MOdin10G6S6P_a,
|
|
31
28
|
)
|
|
32
|
-
from .internals.
|
|
29
|
+
from .internals.hli.modules.modules_l23.family_g import (
|
|
33
30
|
MLoki100G3S1P,
|
|
34
31
|
MLoki100G3S1P_b,
|
|
35
32
|
MLoki100G3S1PSE,
|
|
36
33
|
MLoki100G3S1PB,
|
|
37
34
|
MLoki100G3S1PB_b,
|
|
35
|
+
MLoki100G5S4P_a,
|
|
38
36
|
)
|
|
39
|
-
from .internals.
|
|
37
|
+
from .internals.hli.modules.modules_l23.family_h import (
|
|
40
38
|
MLoki100G5S1P,
|
|
41
39
|
MOdin100G3S1P,
|
|
42
40
|
)
|
|
43
|
-
from .internals.
|
|
44
|
-
from .internals.
|
|
45
|
-
from .internals.
|
|
41
|
+
from .internals.hli.modules.modules_l23.family_i import MLoki100G5S2P
|
|
42
|
+
from .internals.hli.modules.modules_l23.family_j import MThor100G5S4P
|
|
43
|
+
from .internals.hli.modules.modules_l23.family_k import (
|
|
46
44
|
MThor400G7S1P,
|
|
47
45
|
MThor400G7S1PLE,
|
|
48
46
|
)
|
|
49
|
-
from .internals.
|
|
47
|
+
from .internals.hli.modules.modules_l23.family_l import (
|
|
50
48
|
MThor400G7S1P_b,
|
|
51
49
|
MThor400G7S1P_c,
|
|
52
50
|
MThor400G7S1P_d,
|
|
53
51
|
)
|
|
54
|
-
from .internals.
|
|
52
|
+
from .internals.hli.modules.modules_l23.family_l1 import (
|
|
55
53
|
MFreya800G1S1P_a,
|
|
56
54
|
MFreya800G1S1P_b,
|
|
57
55
|
MFreya800G1S1POSFP_a,
|
|
@@ -101,24 +99,29 @@ from .internals.hli_v1.modules.modules_l23.family_l1 import (
|
|
|
101
99
|
MFreya800G4S1POSFP_e_g2,
|
|
102
100
|
MFreya800G4S1POSFP_f_g2,
|
|
103
101
|
)
|
|
104
|
-
from .internals.
|
|
105
|
-
from .internals.
|
|
102
|
+
from .internals.hli.modules.modules_l23.family_m import MOdin1G3S6PT1RJ45
|
|
103
|
+
from .internals.hli.modules.modules_l23.family_n import (
|
|
106
104
|
MOdin40G2S2P,
|
|
107
105
|
MOdin40G2S2PB,
|
|
108
106
|
)
|
|
109
|
-
from .internals.
|
|
107
|
+
from .internals.hli.modules.modules_l23.family_combi import (
|
|
110
108
|
MOdin10G4S2PCombi,
|
|
111
109
|
MOdin10G4S2PCombi_b,
|
|
112
110
|
)
|
|
113
|
-
from .internals.
|
|
114
|
-
from .internals.
|
|
111
|
+
from .internals.hli.modules.module_l23ve import ModuleL23VE
|
|
112
|
+
from .internals.hli.modules.module_chimera import (
|
|
115
113
|
ModuleChimera,
|
|
116
114
|
MChi100G5S2P,
|
|
117
115
|
MChi100G5S2P_b,
|
|
118
116
|
MChi40G2S2P,
|
|
119
117
|
)
|
|
120
|
-
from .internals.
|
|
121
|
-
from .internals.
|
|
118
|
+
from .internals.hli.modules.module_l47 import ModuleL47
|
|
119
|
+
from .internals.hli.modules.module_l47ve import ModuleL47VE
|
|
120
|
+
|
|
121
|
+
from .internals.hli.modules.modules_l23.family_edun import (
|
|
122
|
+
MEdun800G3S1PSMPX_a,
|
|
123
|
+
MEdun1600G4S1POSFP_a
|
|
124
|
+
)
|
|
122
125
|
|
|
123
126
|
import typing
|
|
124
127
|
|
|
@@ -157,6 +160,7 @@ Z100LokiModule = typing.Union[
|
|
|
157
160
|
MLoki100G3S1PB_b,
|
|
158
161
|
MLoki100G5S1P,
|
|
159
162
|
MLoki100G5S2P,
|
|
163
|
+
MLoki100G5S4P_a,
|
|
160
164
|
]
|
|
161
165
|
|
|
162
166
|
Z400ThorModule = typing.Union[
|
|
@@ -219,6 +223,11 @@ Z800FreyaModule = typing.Union[
|
|
|
219
223
|
MFreya800G4S1POSFP_f_g2,
|
|
220
224
|
]
|
|
221
225
|
|
|
226
|
+
Z1600EdunModule = typing.Union[
|
|
227
|
+
MEdun800G3S1PSMPX_a,
|
|
228
|
+
MEdun1600G4S1POSFP_a
|
|
229
|
+
]
|
|
230
|
+
|
|
222
231
|
E100ChimeraModule = typing.Union[
|
|
223
232
|
ModuleChimera,
|
|
224
233
|
MChi100G5S2P,
|
|
@@ -265,6 +274,7 @@ GenericL23Module = typing.Union[
|
|
|
265
274
|
"MLoki100G3S1PB_b",
|
|
266
275
|
"MLoki100G5S1P",
|
|
267
276
|
"MLoki100G5S2P",
|
|
277
|
+
"MLoki100G5S4P_a",
|
|
268
278
|
|
|
269
279
|
"MThor100G5S4P",
|
|
270
280
|
"MThor400G7S1P",
|
|
@@ -321,6 +331,9 @@ GenericL23Module = typing.Union[
|
|
|
321
331
|
"MFreya800G4S1POSFP_d_g2",
|
|
322
332
|
"MFreya800G4S1POSFP_e_g2",
|
|
323
333
|
"MFreya800G4S1POSFP_f_g2",
|
|
334
|
+
|
|
335
|
+
"MEdun800G3S1PSMPX_a",
|
|
336
|
+
"MEdun1600G4S1POSFP_a",
|
|
324
337
|
]
|
|
325
338
|
|
|
326
339
|
GenericAnyModule = typing.Union[
|
|
@@ -378,6 +391,7 @@ __all__ = (
|
|
|
378
391
|
"MLoki100G3S1PB_b",
|
|
379
392
|
"MLoki100G5S1P",
|
|
380
393
|
"MLoki100G5S2P",
|
|
394
|
+
"MLoki100G5S4P_a",
|
|
381
395
|
|
|
382
396
|
"Z400ThorModule",
|
|
383
397
|
"MThor100G5S4P",
|
|
@@ -437,6 +451,10 @@ __all__ = (
|
|
|
437
451
|
"MFreya800G4S1POSFP_e_g2",
|
|
438
452
|
"MFreya800G4S1POSFP_f_g2",
|
|
439
453
|
|
|
454
|
+
"Z1600EdunModule",
|
|
455
|
+
"MEdun800G3S1PSMPX_a",
|
|
456
|
+
"MEdun1600G4S1POSFP_a",
|
|
457
|
+
|
|
440
458
|
"E100ChimeraModule",
|
|
441
459
|
"ModuleChimera",
|
|
442
460
|
"MChi100G5S2P",
|
xoa_driver/ports.py
CHANGED
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
#: All available test port types.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
if "xoa_driver.v2" in sys.modules:
|
|
5
|
-
raise ImportError("\33[31mOnly Single interface version is allowed to being use at the same time.\33[0m")
|
|
2
|
+
"""Xena test port types."""
|
|
6
3
|
|
|
7
4
|
import typing
|
|
8
5
|
|
|
9
|
-
from .internals.
|
|
6
|
+
from .internals.hli.ports.port_l47.main import PortL47
|
|
10
7
|
|
|
11
|
-
from .internals.
|
|
12
|
-
from .internals.
|
|
8
|
+
from .internals.hli.ports.port_l23.port_l23ve import PortL23VE
|
|
9
|
+
from .internals.hli.ports.port_l23.chimera.port_chimera import (
|
|
13
10
|
PortChimera,
|
|
14
11
|
PChi100G5S2P,
|
|
15
12
|
PChi100G5S2P_b,
|
|
16
13
|
PChi40G2S2P,
|
|
17
14
|
)
|
|
18
15
|
|
|
19
|
-
from .internals.
|
|
20
|
-
from xoa_driver.internals.
|
|
16
|
+
from .internals.hli.ports.port_l23.bases.port_l23 import BasePortL23
|
|
17
|
+
from xoa_driver.internals.hli.ports.port_l23.family_combi import (
|
|
21
18
|
POdin1G4S4PCombi,
|
|
22
19
|
POdin1G4S4PCombi_b,
|
|
23
20
|
POdin10G4S2PCombi,
|
|
24
21
|
POdin10G4S2PCombi_b,
|
|
25
22
|
)
|
|
26
23
|
|
|
27
|
-
from xoa_driver.internals.
|
|
24
|
+
from xoa_driver.internals.hli.ports.port_l23.family_d import (
|
|
28
25
|
POdin1G3S2PT,
|
|
29
26
|
POdin1G3S6P,
|
|
30
27
|
POdin1G3S6P_b,
|
|
31
28
|
POdin1G3S6PE,
|
|
32
29
|
)
|
|
33
30
|
|
|
34
|
-
from xoa_driver.internals.
|
|
31
|
+
from xoa_driver.internals.hli.ports.port_l23.family_e import (
|
|
35
32
|
POdin5G4S6PCU,
|
|
36
33
|
POdin10G3S2PCU,
|
|
37
34
|
POdin10G3S6PCU,
|
|
@@ -39,7 +36,7 @@ from xoa_driver.internals.hli_v1.ports.port_l23.family_e import (
|
|
|
39
36
|
POdin10G5S6PCU_b,
|
|
40
37
|
)
|
|
41
38
|
|
|
42
|
-
from xoa_driver.internals.
|
|
39
|
+
from xoa_driver.internals.hli.ports.port_l23.family_f import (
|
|
43
40
|
POdin10G1S2P,
|
|
44
41
|
POdin10G1S2P_b,
|
|
45
42
|
POdin10G1S2P_c,
|
|
@@ -53,32 +50,33 @@ from xoa_driver.internals.hli_v1.ports.port_l23.family_f import (
|
|
|
53
50
|
POdin10G6S6P_a,
|
|
54
51
|
)
|
|
55
52
|
|
|
56
|
-
from xoa_driver.internals.
|
|
53
|
+
from xoa_driver.internals.hli.ports.port_l23.family_g import (
|
|
57
54
|
PLoki100G3S1P,
|
|
58
55
|
PLoki100G3S1P_b,
|
|
59
56
|
PLoki100G3S1PSE,
|
|
60
57
|
PLoki100G3S1PB,
|
|
61
58
|
PLoki100G3S1PB_b,
|
|
59
|
+
PLoki100G5S4P_a,
|
|
62
60
|
)
|
|
63
61
|
|
|
64
|
-
from xoa_driver.internals.
|
|
62
|
+
from xoa_driver.internals.hli.ports.port_l23.family_h import (
|
|
65
63
|
PLoki100G5S1P,
|
|
66
64
|
POdin100G3S1P,
|
|
67
65
|
)
|
|
68
66
|
|
|
69
|
-
from xoa_driver.internals.
|
|
70
|
-
from xoa_driver.internals.
|
|
71
|
-
from xoa_driver.internals.
|
|
67
|
+
from xoa_driver.internals.hli.ports.port_l23.family_i import PLoki100G5S2P
|
|
68
|
+
from xoa_driver.internals.hli.ports.port_l23.family_j import PThor100G5S4P
|
|
69
|
+
from xoa_driver.internals.hli.ports.port_l23.family_k import (
|
|
72
70
|
PThor400G7S1P,
|
|
73
71
|
PThor400G7S1PLE,
|
|
74
72
|
)
|
|
75
|
-
from xoa_driver.internals.
|
|
73
|
+
from xoa_driver.internals.hli.ports.port_l23.family_l import (
|
|
76
74
|
PThor400G7S1P_b,
|
|
77
75
|
PThor400G7S1P_c,
|
|
78
76
|
PThor400G7S1P_d,
|
|
79
77
|
)
|
|
80
78
|
|
|
81
|
-
from xoa_driver.internals.
|
|
79
|
+
from xoa_driver.internals.hli.ports.port_l23.family_l1 import (
|
|
82
80
|
PFreya800G1S1P_a,
|
|
83
81
|
PFreya800G1S1P_b,
|
|
84
82
|
PFreya800G1S1POSFP_a,
|
|
@@ -89,6 +87,7 @@ from xoa_driver.internals.hli_v1.ports.port_l23.family_l1 import (
|
|
|
89
87
|
PFreya800G4S1P_d,
|
|
90
88
|
PFreya800G4S1P_e,
|
|
91
89
|
PFreya800G4S1P_f,
|
|
90
|
+
PFreya800G4S2P_a,
|
|
92
91
|
PFreya800G4S1POSFP_a,
|
|
93
92
|
PFreya800G4S1POSFP_b,
|
|
94
93
|
PFreya800G4S1POSFP_c,
|
|
@@ -97,7 +96,12 @@ from xoa_driver.internals.hli_v1.ports.port_l23.family_l1 import (
|
|
|
97
96
|
PFreya800G4S1POSFP_f,
|
|
98
97
|
)
|
|
99
98
|
|
|
100
|
-
from xoa_driver.internals.
|
|
99
|
+
from xoa_driver.internals.hli.ports.port_l23.family_m import POdin1G3S6PT1RJ45
|
|
100
|
+
|
|
101
|
+
from xoa_driver.internals.hli.ports.port_l23.family_edun import (
|
|
102
|
+
PEdun800G3S1PSMPX_a,
|
|
103
|
+
PEdun1600G4S1POSFP_a
|
|
104
|
+
)
|
|
101
105
|
|
|
102
106
|
Z10OdinPort = typing.Union[
|
|
103
107
|
POdin1G3S2PT,
|
|
@@ -136,6 +140,7 @@ Z100LokiPort = typing.Union[
|
|
|
136
140
|
PLoki100G3S1PB_b,
|
|
137
141
|
PLoki100G5S1P,
|
|
138
142
|
PLoki100G5S2P,
|
|
143
|
+
PLoki100G5S4P_a,
|
|
139
144
|
]
|
|
140
145
|
|
|
141
146
|
Z400ThorPort = typing.Union[
|
|
@@ -158,6 +163,7 @@ Z800FreyaPort = typing.Union[
|
|
|
158
163
|
PFreya800G4S1P_d,
|
|
159
164
|
PFreya800G4S1P_e,
|
|
160
165
|
PFreya800G4S1P_f,
|
|
166
|
+
PFreya800G4S2P_a,
|
|
161
167
|
PFreya800G4S1POSFP_a,
|
|
162
168
|
PFreya800G4S1POSFP_b,
|
|
163
169
|
PFreya800G4S1POSFP_c,
|
|
@@ -166,6 +172,11 @@ Z800FreyaPort = typing.Union[
|
|
|
166
172
|
PFreya800G4S1POSFP_f,
|
|
167
173
|
]
|
|
168
174
|
|
|
175
|
+
Z1600EdunPort = typing.Union[
|
|
176
|
+
PEdun800G3S1PSMPX_a,
|
|
177
|
+
PEdun1600G4S1POSFP_a
|
|
178
|
+
]
|
|
179
|
+
|
|
169
180
|
E100ChimeraPort = typing.Union[
|
|
170
181
|
PortChimera,
|
|
171
182
|
PChi100G5S2P,
|
|
@@ -213,6 +224,7 @@ GenericL23Port = typing.Union[
|
|
|
213
224
|
"PLoki100G3S1PB_b",
|
|
214
225
|
"PLoki100G5S1P",
|
|
215
226
|
"PLoki100G5S2P",
|
|
227
|
+
"PLoki100G5S4P_a",
|
|
216
228
|
|
|
217
229
|
"PThor100G5S4P",
|
|
218
230
|
"PThor400G7S1P",
|
|
@@ -231,12 +243,16 @@ GenericL23Port = typing.Union[
|
|
|
231
243
|
"PFreya800G4S1P_d",
|
|
232
244
|
"PFreya800G4S1P_e",
|
|
233
245
|
"PFreya800G4S1P_f",
|
|
246
|
+
"PFreya800G4S2P_a",
|
|
234
247
|
"PFreya800G4S1POSFP_a",
|
|
235
248
|
"PFreya800G4S1POSFP_b",
|
|
236
249
|
"PFreya800G4S1POSFP_c",
|
|
237
250
|
"PFreya800G4S1POSFP_d",
|
|
238
251
|
"PFreya800G4S1POSFP_e",
|
|
239
252
|
"PFreya800G4S1POSFP_f",
|
|
253
|
+
|
|
254
|
+
"PEdun800G3S1PSMPX_a",
|
|
255
|
+
"PEdun1600G4S1POSFP_a",
|
|
240
256
|
]
|
|
241
257
|
|
|
242
258
|
GenericAnyPort = typing.Union[
|
|
@@ -294,6 +310,7 @@ __all__ = (
|
|
|
294
310
|
"PLoki100G3S1PB_b",
|
|
295
311
|
"PLoki100G5S1P",
|
|
296
312
|
"PLoki100G5S2P",
|
|
313
|
+
"PLoki100G5S4P_a",
|
|
297
314
|
|
|
298
315
|
"Z400ThorPort",
|
|
299
316
|
"PThor100G5S4P",
|
|
@@ -314,6 +331,7 @@ __all__ = (
|
|
|
314
331
|
"PFreya800G4S1P_d",
|
|
315
332
|
"PFreya800G4S1P_e",
|
|
316
333
|
"PFreya800G4S1P_f",
|
|
334
|
+
"PFreya800G4S2P_a",
|
|
317
335
|
"PFreya800G4S1POSFP_a",
|
|
318
336
|
"PFreya800G4S1POSFP_b",
|
|
319
337
|
"PFreya800G4S1POSFP_c",
|
|
@@ -321,6 +339,10 @@ __all__ = (
|
|
|
321
339
|
"PFreya800G4S1POSFP_e",
|
|
322
340
|
"PFreya800G4S1POSFP_f",
|
|
323
341
|
|
|
342
|
+
"Z1600EdunPort",
|
|
343
|
+
"PEdun800G3S1PSMPX_a",
|
|
344
|
+
"PEdun1600G4S1POSFP_a",
|
|
345
|
+
|
|
324
346
|
"E100ChimeraPort",
|
|
325
347
|
"PortChimera",
|
|
326
348
|
"PChi100G5S2P",
|
xoa_driver/testers.py
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
#: All available tester types.
|
|
2
|
-
import sys
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
raise ImportError("\33[31mOnly Single interface version is allowed to being use at the same time.\33[0m")
|
|
3
|
+
"""Xena chassis types."""
|
|
6
4
|
|
|
7
|
-
from .internals.
|
|
8
|
-
from .internals.
|
|
9
|
-
from .internals.
|
|
10
|
-
from .internals.
|
|
5
|
+
from .internals.hli.testers.l23_tester import L23Tester
|
|
6
|
+
from .internals.hli.testers.l23ve_tester import L23VeTester
|
|
7
|
+
from .internals.hli.testers.l47_tester import L47Tester
|
|
8
|
+
from .internals.hli.testers.l47ve_tester import L47VeTester
|
|
11
9
|
|
|
12
10
|
import typing
|
|
13
11
|
|
xoa_driver/utils.py
CHANGED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: tdl-xoa-driver
|
|
3
|
-
Version: 1.3.0
|
|
4
|
-
Summary: XOA Driver is a Python library providing user-friendly communication interfaces to Xena Traffic Generation test equipment. It provides a rich collection of programming interfaces that can be used to either write test scripts or develop applications.
|
|
5
|
-
Home-page: https://github.com/xenanetworks/tdl-xoa-driver
|
|
6
|
-
Author: Leonard Yu
|
|
7
|
-
Author-email: leonard.yu@teledyne.com
|
|
8
|
-
Maintainer: Teledyne LeCroy Xena
|
|
9
|
-
Maintainer-email: support@xenanetworks.com
|
|
10
|
-
License: Apache 2.0
|
|
11
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
14
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
-
Requires-Python: >=3.11
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
License-File: LICENSE
|
|
22
|
-
Dynamic: author
|
|
23
|
-
Dynamic: author-email
|
|
24
|
-
Dynamic: classifier
|
|
25
|
-
Dynamic: description
|
|
26
|
-
Dynamic: description-content-type
|
|
27
|
-
Dynamic: home-page
|
|
28
|
-
Dynamic: license
|
|
29
|
-
Dynamic: license-file
|
|
30
|
-
Dynamic: maintainer
|
|
31
|
-
Dynamic: maintainer-email
|
|
32
|
-
Dynamic: requires-python
|
|
33
|
-
Dynamic: summary
|
|
34
|
-
|
|
35
|
-
 [](https://pypi.python.org/pypi/tdl-xoa-driver) [](https://docs.xenanetworks.com/projects/tdl-xoa-driver/en/latest/?badge=latest)
|
|
36
|
-
# XOA Driver
|
|
37
|
-
XOA Driver is a standalone Python library that provides a user-friendly and powerful interface for automating network testing tasks using Xena Networks test equipment. Xena test equipment is a high-performance network test device designed for testing and measuring the performance of network equipment and applications.
|
|
38
|
-
|
|
39
|
-
## Introduction
|
|
40
|
-
The XOA Driver is designed to be easy to use and integrate with other automation tools and frameworks. It provides a comprehensive set of methods and classes for interacting with Xena test equipment, including the ability to create and run complex test scenarios, generate and analyze traffic at line rate, and perform detailed analysis of network performance and behavior.
|
|
41
|
-
|
|
42
|
-
The XOA Driver simplifies the process of automating network testing tasks using Xena test equipment. It provides a simple, yet powerful, interface for interacting with Xena test equipment using the Python programming language. With the XOA Driver, network engineers and testing professionals can easily create and execute test scenarios, generate and analyze traffic, and perform detailed analysis of network performance and behavior, all while leveraging the power and flexibility of the Python programming language.
|
|
43
|
-
|
|
44
|
-
Overall, the XOA Driver is a valuable tool for anyone looking to automate their network testing tasks using Xena test equipment. With its simple, yet powerful, interface and support for the Python programming language, the XOA Driver provides a flexible and extensible framework for automating network testing tasks and improving the quality of network infrastructure.
|
|
45
|
-
|
|
46
|
-
## Documentation
|
|
47
|
-
The user documentation is hosted:
|
|
48
|
-
[XOA Driver Documentation](https://docs.xenanetworks.com/projects/tdl-xoa-driver)
|
|
49
|
-
|
|
50
|
-
## Key Features
|
|
51
|
-
* Objected-oriented, high-level abstraction, to help users save time on parsing command responses.
|
|
52
|
-
* Supporting sending commands in batches to increase code execution efficiency.
|
|
53
|
-
* Automatically matching command requests and server response, providing clear information in case a command gets an error response.
|
|
54
|
-
* Supporting server-to-client push notification, and event subscription, to reduce user code complexity.
|
|
55
|
-
* Covering commands of Xena testers, including Xena Valkyrie, Vulcan, and Chimera.
|
|
56
|
-
* Supporting IDE auto-complete with built-in class/function/API use manual, to increase development efficiency.
|