tdl-xoa-driver 1.0.0b1__tar.gz
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.0.0b1/LICENSE +202 -0
- tdl_xoa_driver-1.0.0b1/PKG-INFO +177 -0
- tdl_xoa_driver-1.0.0b1/README.md +140 -0
- tdl_xoa_driver-1.0.0b1/pyproject.toml +3 -0
- tdl_xoa_driver-1.0.0b1/setup.cfg +8 -0
- tdl_xoa_driver-1.0.0b1/setup.py +43 -0
- tdl_xoa_driver-1.0.0b1/tdl_xoa_driver.egg-info/PKG-INFO +177 -0
- tdl_xoa_driver-1.0.0b1/tdl_xoa_driver.egg-info/SOURCES.txt +330 -0
- tdl_xoa_driver-1.0.0b1/tdl_xoa_driver.egg-info/dependency_links.txt +1 -0
- tdl_xoa_driver-1.0.0b1/tdl_xoa_driver.egg-info/requires.txt +1 -0
- tdl_xoa_driver-1.0.0b1/tdl_xoa_driver.egg-info/top_level.txt +1 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/__init__.py +2 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/enums.py +399 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/exceptions.py +77 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/anlt.py +744 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/anlt_ll_debug.py +429 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/cli.py +581 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/exceptions.py +72 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/headers.py +608 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/mgmt.py +515 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/functions/tools.py +256 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/hlfuncs.py +18 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/__init__.py +31 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/c_commands.py +2041 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/enums.py +3289 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/m4_commands.py +700 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/m4e_commands.py +107 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/m_commands.py +1875 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/p4_commands.py +2221 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/p4e_commands.py +160 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/p4g_commands.py +7253 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/p_commands.py +6000 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pc_commands.py +335 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pd_commands.py +355 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pe_commands.py +1018 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pec_commands.py +265 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/ped_commands.py +1034 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pef_commands.py +2216 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pf_commands.py +379 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pl1_commands.py +1588 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pl_commands.py +178 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pm_commands.py +256 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pp_commands.py +2341 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pr_commands.py +812 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/ps_commands.py +2311 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/pt_commands.py +370 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/px_commands.py +303 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/commands/subtypes.py +86 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/builders.py +39 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/exceptions.py +69 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/funcs.py +81 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/funcs.pyi +1072 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/interfaces.py +47 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/token.py +44 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/_processor.py +83 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/_publisher.py +101 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/_request_id_counter.py +28 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/_stream.py +99 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/_typings.py +43 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/exceptions.py +44 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/handler.py +127 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__init__.py +10 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__logger.py +94 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__state_off.py +32 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__state_on_default.py +70 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__state_on_loguru.py +51 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/logger/__state_on_user.py +48 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/_constants.py +77 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/_utils.py +59 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/exceptions.py +271 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/__init__.py +70 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/base_struct.py +283 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/descriptor.py +119 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/exceptions.py +20 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/field.py +296 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/types.py +173 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/payload/utils.py +53 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/struct_header.py +123 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/struct_request.py +65 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/protocol/struct_response.py +89 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/core/transporter/registry.py +43 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/exceptions/__init__.py +9 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/exceptions/modules.py +13 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/exceptions/testers.py +21 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/base_index.py +39 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/cg.py +186 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/histogram.py +78 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/l2.py +94 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/l3.py +130 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/raw.py +200 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/replay.py +109 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/tcp.py +314 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/tls.py +198 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/udp.py +133 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/connection_group/user_state.py +28 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/filter/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/filter/base_filter.py +65 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/filter/genuine_filter.py +20 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/length_term.py +49 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/macsecscs/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/macsecscs/base_macsecsc.py +224 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/macsecscs/genuine_macsecsc.py +72 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/match_term.py +64 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/port_dataset.py +72 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/streams/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/streams/base_stream.py +405 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/indices/streams/genuine_stream.py +64 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/__interfaces.py +21 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/base_module.py +138 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/module_chimera.py +366 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/module_l23ve.py +73 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/module_l47.py +397 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/module_l47ve.py +9 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_combi.py +83 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_d.py +75 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_e.py +85 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_f.py +145 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_g.py +84 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_h.py +40 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_i.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_j.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_k.py +39 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_l.py +55 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_l1.py +800 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_m.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/family_n.py +40 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/modules/modules_l23/module_l23_base.py +383 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/base_port.py +125 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_capture.py +70 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23.py +527 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23_genuine.py +229 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_reception_statistics.py +231 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_transceiver.py +117 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/bases/port_transmission_statistics.py +131 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/filter_definition/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/filter_definition/_utils.py +15 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/filter_definition/general.py +396 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/filter_definition/shadow.py +104 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/filter_definition/working.py +36 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/pe_custom_distribution.py +125 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/pe_distribution.py +174 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/port_chimera.py +119 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/port_emulation.py +244 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/reception_statistics.py +24 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/chimera/transmission_statistics.py +24 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_combi.py +37 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_d.py +51 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_e.py +107 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_f.py +151 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_g.py +77 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_h.py +67 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_i.py +84 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_j.py +68 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_k.py +73 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_l.py +82 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_l1.py +166 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/family_m.py +29 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/fault_jkl.py +24 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/freya_l1.py +722 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_ghijkl.py +369 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_ijkl_chimera.py +60 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_l.py +78 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l23/port_l23ve.py +101 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l47/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l47/counters.py +174 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l47/main.py +228 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/ports/port_l47/packet_engine.py +31 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/revisions.py +11 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/_base_tester.py +259 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/l_23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/l_23/health.py +16 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/l_23/rest_api.py +38 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/l_23/time_keeper.py +57 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/l_23/upload_file.py +29 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/genuine/management_interface.py +42 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/l23_tester.py +196 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/l23ve_tester.py +114 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/l47_tester.py +106 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v1/testers/l47ve_tester.py +54 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/base_index.py +39 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/cg.py +115 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/histogram.py +59 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/l2.py +71 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/l3.py +96 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/raw.py +148 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/replay.py +89 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/tcp.py +261 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/tls.py +166 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/udp.py +112 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/connection_group/user_state.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/filter/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/filter/base_filter.py +50 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/filter/genuine_filter.py +17 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/length_term.py +44 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/match_term.py +49 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/port_dataset.py +53 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/streams/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/streams/base_stream.py +234 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/indices/streams/genuine_stream.py +32 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/__interfaces.py +21 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/base_module.py +125 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/module_chimera.py +358 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/module_l23ve.py +58 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/module_l47.py +230 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/module_l47ve.py +8 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_combi.py +73 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_d.py +75 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_e.py +85 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_f.py +144 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_g.py +84 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_h.py +40 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_i.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_j.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_k.py +39 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_l.py +55 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_l1.py +797 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_m.py +25 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/family_n.py +40 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/modules/modules_l23/module_l23_base.py +339 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/base_port.py +105 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_capture.py +64 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_l23.py +441 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_l23_genuine.py +172 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_reception_statistics.py +156 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_transceiver.py +117 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/bases/port_transmission_statistics.py +59 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/_utils.py +15 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py +340 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/shadow.py +99 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/working.py +36 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/pe_custom_distribution.py +116 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/pe_distribution.py +102 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/port_chimera.py +113 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/port_emulation.py +420 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/reception_statistics.py +22 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/chimera/transmission_statistics.py +22 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_combi.py +36 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_d.py +49 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_e.py +96 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_f.py +144 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_g.py +77 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_h.py +60 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_i.py +66 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_j.py +53 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_k.py +58 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_l.py +67 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_l1.py +149 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/family_m.py +28 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/fault_jkl.py +22 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_ghijkl.py +342 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_ijkl_chimera.py +50 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/pcs_pma_l.py +65 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l23/port_l23ve.py +81 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l47/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l47/counters.py +146 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l47/main.py +137 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/ports/port_l47/packet_engine.py +20 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/revisions.py +11 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/_base_tester.py +207 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/l_23/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/l_23/health.py +16 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/l_23/rest_api.py +34 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/l_23/time_keeper.py +50 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/l_23/upload_file.py +26 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/genuine/management_interface.py +38 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/l23_tester.py +159 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/l23ve_tester.py +98 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/l47_tester.py +95 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/hli_v2/testers/l47ve_tester.py +50 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/state_storage/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/state_storage/_speed_detector.py +121 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/state_storage/modules_state.py +128 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/state_storage/ports_state.py +154 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/state_storage/testers_state.py +104 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/attributes.py +33 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/cap_id.py +63 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/con_traffic_light.py +88 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/indices/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/indices/_interfaces.py +26 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/indices/header_modifier_manager.py +56 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/indices/index_manager.py +95 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/indices/observer.py +17 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/kind.py +19 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/managers/__init__.py +0 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/managers/abc.py +44 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/managers/exceptions.py +22 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/managers/modules_manager.py +118 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/managers/ports_manager.py +116 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/rev_tool.py +21 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/utils/session.py +117 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/internals/warn.py +32 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/lli.py +15 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/misc.py +57 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/modules.py +448 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/ports.py +332 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/testers.py +37 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/utils.py +12 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/v2/__init__.py +11 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/v2/misc.py +77 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/v2/modules.py +308 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/v2/ports.py +232 -0
- tdl_xoa_driver-1.0.0b1/xoa_driver/v2/testers.py +24 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2025 Teledyne LeCroy Xena
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: tdl-xoa-driver
|
|
3
|
+
Version: 1.0.0b1
|
|
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.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Requires-Python: >=3.8
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: typing_extensions
|
|
25
|
+
Dynamic: author
|
|
26
|
+
Dynamic: author-email
|
|
27
|
+
Dynamic: classifier
|
|
28
|
+
Dynamic: description
|
|
29
|
+
Dynamic: description-content-type
|
|
30
|
+
Dynamic: home-page
|
|
31
|
+
Dynamic: license
|
|
32
|
+
Dynamic: maintainer
|
|
33
|
+
Dynamic: maintainer-email
|
|
34
|
+
Dynamic: requires-dist
|
|
35
|
+
Dynamic: requires-python
|
|
36
|
+
Dynamic: summary
|
|
37
|
+
|
|
38
|
+
 [](https://pypi.python.org/pypi/tdl-xoa-driver) [](https://docs.xenanetworks.com/projects/tdl-xoa-driver/en/latest/?badge=latest)
|
|
39
|
+
# XOA Driver
|
|
40
|
+
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.
|
|
41
|
+
|
|
42
|
+
## Introduction
|
|
43
|
+
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.
|
|
44
|
+
|
|
45
|
+
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.
|
|
46
|
+
|
|
47
|
+
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.
|
|
48
|
+
|
|
49
|
+
## Documentation
|
|
50
|
+
The user documentation is hosted:
|
|
51
|
+
[XOA Driver Documentation](https://docs.xenanetworks.com/projects/tdl-xoa-driver)
|
|
52
|
+
|
|
53
|
+
## Key Features
|
|
54
|
+
* Objected-oriented, high-level abstraction, to help users save time on parsing command responses.
|
|
55
|
+
* Supporting sending commands in batches to increase code execution efficiency.
|
|
56
|
+
* Automatically matching command requests and server response, providing clear information in case a command gets an error response.
|
|
57
|
+
* Supporting server-to-client push notification, and event subscription, to reduce user code complexity.
|
|
58
|
+
* Covering commands of Xena testers, including Xena Valkyrie, Vulcan, and Chimera.
|
|
59
|
+
* Supporting IDE auto-complete with built-in class/function/API use manual, to increase development efficiency.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
|
|
64
|
+
### Install Using `pip`
|
|
65
|
+
Make sure Python `pip` is installed on you system. If you are using virtualenv, then pip is already installed into environments created by virtualenv, and using sudo is not needed. If you do not have pip installed, download this file: https://bootstrap.pypa.io/get-pip.py and run `python get-pip.py`.
|
|
66
|
+
|
|
67
|
+
To install the latest, use pip to install from pypi:
|
|
68
|
+
``` shell
|
|
69
|
+
~/> pip install tdl-xoa-driver
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
To upgrade to the latest, use pip to upgrade from pypi:
|
|
73
|
+
``` shell
|
|
74
|
+
~/> pip install tdl-xoa-driver --upgrade
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Install From Source Code
|
|
78
|
+
Make sure these packages are installed ``wheel``, ``setuptools`` on your system.
|
|
79
|
+
|
|
80
|
+
Install ``setuptools`` using pip:
|
|
81
|
+
``` shell
|
|
82
|
+
~/> pip install wheel setuptools
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
To install source of python packages:
|
|
86
|
+
``` shell
|
|
87
|
+
/xoa_driver> python setup.py install
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
To build ``.whl`` file for distribution:
|
|
91
|
+
``` shell
|
|
92
|
+
/xoa_driver> python setup.py bdist_wheel
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## Quick Start
|
|
97
|
+
|
|
98
|
+
* Get Python pip if not already installed (Download https://bootstrap.pypa.io/get-pip.py):
|
|
99
|
+
`python get-pip.py`
|
|
100
|
+
|
|
101
|
+
* Install the latest tdl-xoa-driver:
|
|
102
|
+
`pip install tdl-xoa-driver -U`
|
|
103
|
+
|
|
104
|
+
* Write Python code to manage with Xena testers:
|
|
105
|
+
```python
|
|
106
|
+
import asyncio
|
|
107
|
+
|
|
108
|
+
from xoa_driver import testers
|
|
109
|
+
from xoa_driver import modules
|
|
110
|
+
from xoa_driver import ports
|
|
111
|
+
from xoa_driver import enums
|
|
112
|
+
from xoa_driver import utils
|
|
113
|
+
|
|
114
|
+
async def my_awesome_func():
|
|
115
|
+
# Establish connection with a Valkyrie tester
|
|
116
|
+
async with testers.L23Tester("10.10.10.10", "JonDoe") as tester:
|
|
117
|
+
# Get the port 0/0 (module 0)
|
|
118
|
+
port = await tester.modules.obtain(0).ports.obtain(0)
|
|
119
|
+
|
|
120
|
+
# Reserve the port
|
|
121
|
+
await port.reservation.set_reserve()
|
|
122
|
+
|
|
123
|
+
# Reset the port
|
|
124
|
+
await port.reset.set()
|
|
125
|
+
|
|
126
|
+
# Create a stream on the port
|
|
127
|
+
stream = await port.streams.create()
|
|
128
|
+
|
|
129
|
+
# Prepare stream header protocol
|
|
130
|
+
header_protocol = [enums.ProtocolOption.ETHERNET, enums.ProtocolOption.IP]
|
|
131
|
+
|
|
132
|
+
# Batch configure the stream
|
|
133
|
+
await utils.apply(
|
|
134
|
+
stream.tpld_id.set(0), # Create the TPLD index of stream
|
|
135
|
+
stream.packet.length.set(*size), # Configure the packet size
|
|
136
|
+
stream.packet.header.protocol.set(header_protocol), # Configure the packet type
|
|
137
|
+
stream.packet.header.data.set(header), # Configure the packet header
|
|
138
|
+
stream.enable.set_on(), # Enable streams
|
|
139
|
+
stream.rate.fraction.set(1000000) # Configure the stream rate 100%
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
# Clear statistics
|
|
143
|
+
await utils.apply(
|
|
144
|
+
port.statistics.tx.clear.set(),
|
|
145
|
+
port.statistics.rx.clear.set()
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
# Start traffic on the port
|
|
149
|
+
await port.traffic.state.set_start()
|
|
150
|
+
|
|
151
|
+
# Test duration 10 seconds
|
|
152
|
+
await asyncio.sleep(10)
|
|
153
|
+
|
|
154
|
+
# Query TX statistics
|
|
155
|
+
tx_result = await port.statistics.tx.total.get()
|
|
156
|
+
print(f"bit count last second: {tx_result.bit_count_last_sec}")
|
|
157
|
+
print(f"packet count last second: {tx_result.packet_count_last_sec}")
|
|
158
|
+
print(f"byte count since cleared: {tx_result.byte_count_since_cleared}")
|
|
159
|
+
print(f"packet count since cleared: {tx_result.packet_count_since_cleared}")
|
|
160
|
+
|
|
161
|
+
# Stop traffic on the port
|
|
162
|
+
await port.traffic.state.set_stop()
|
|
163
|
+
|
|
164
|
+
# Release the port
|
|
165
|
+
await port.reservation.set_release()
|
|
166
|
+
|
|
167
|
+
def main():
|
|
168
|
+
try:
|
|
169
|
+
loop = asyncio.get_event_loop()
|
|
170
|
+
loop.create_task(my_awesome_func())
|
|
171
|
+
loop.run_forever()
|
|
172
|
+
except KeyboardInterrupt:
|
|
173
|
+
pass
|
|
174
|
+
|
|
175
|
+
if __name__ == "__main__":
|
|
176
|
+
main()
|
|
177
|
+
```
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
 [](https://pypi.python.org/pypi/tdl-xoa-driver) [](https://docs.xenanetworks.com/projects/tdl-xoa-driver/en/latest/?badge=latest)
|
|
2
|
+
# XOA Driver
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## Introduction
|
|
6
|
+
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.
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
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.
|
|
11
|
+
|
|
12
|
+
## Documentation
|
|
13
|
+
The user documentation is hosted:
|
|
14
|
+
[XOA Driver Documentation](https://docs.xenanetworks.com/projects/tdl-xoa-driver)
|
|
15
|
+
|
|
16
|
+
## Key Features
|
|
17
|
+
* Objected-oriented, high-level abstraction, to help users save time on parsing command responses.
|
|
18
|
+
* Supporting sending commands in batches to increase code execution efficiency.
|
|
19
|
+
* Automatically matching command requests and server response, providing clear information in case a command gets an error response.
|
|
20
|
+
* Supporting server-to-client push notification, and event subscription, to reduce user code complexity.
|
|
21
|
+
* Covering commands of Xena testers, including Xena Valkyrie, Vulcan, and Chimera.
|
|
22
|
+
* Supporting IDE auto-complete with built-in class/function/API use manual, to increase development efficiency.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
### Install Using `pip`
|
|
28
|
+
Make sure Python `pip` is installed on you system. If you are using virtualenv, then pip is already installed into environments created by virtualenv, and using sudo is not needed. If you do not have pip installed, download this file: https://bootstrap.pypa.io/get-pip.py and run `python get-pip.py`.
|
|
29
|
+
|
|
30
|
+
To install the latest, use pip to install from pypi:
|
|
31
|
+
``` shell
|
|
32
|
+
~/> pip install tdl-xoa-driver
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
To upgrade to the latest, use pip to upgrade from pypi:
|
|
36
|
+
``` shell
|
|
37
|
+
~/> pip install tdl-xoa-driver --upgrade
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Install From Source Code
|
|
41
|
+
Make sure these packages are installed ``wheel``, ``setuptools`` on your system.
|
|
42
|
+
|
|
43
|
+
Install ``setuptools`` using pip:
|
|
44
|
+
``` shell
|
|
45
|
+
~/> pip install wheel setuptools
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
To install source of python packages:
|
|
49
|
+
``` shell
|
|
50
|
+
/xoa_driver> python setup.py install
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
To build ``.whl`` file for distribution:
|
|
54
|
+
``` shell
|
|
55
|
+
/xoa_driver> python setup.py bdist_wheel
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## Quick Start
|
|
60
|
+
|
|
61
|
+
* Get Python pip if not already installed (Download https://bootstrap.pypa.io/get-pip.py):
|
|
62
|
+
`python get-pip.py`
|
|
63
|
+
|
|
64
|
+
* Install the latest tdl-xoa-driver:
|
|
65
|
+
`pip install tdl-xoa-driver -U`
|
|
66
|
+
|
|
67
|
+
* Write Python code to manage with Xena testers:
|
|
68
|
+
```python
|
|
69
|
+
import asyncio
|
|
70
|
+
|
|
71
|
+
from xoa_driver import testers
|
|
72
|
+
from xoa_driver import modules
|
|
73
|
+
from xoa_driver import ports
|
|
74
|
+
from xoa_driver import enums
|
|
75
|
+
from xoa_driver import utils
|
|
76
|
+
|
|
77
|
+
async def my_awesome_func():
|
|
78
|
+
# Establish connection with a Valkyrie tester
|
|
79
|
+
async with testers.L23Tester("10.10.10.10", "JonDoe") as tester:
|
|
80
|
+
# Get the port 0/0 (module 0)
|
|
81
|
+
port = await tester.modules.obtain(0).ports.obtain(0)
|
|
82
|
+
|
|
83
|
+
# Reserve the port
|
|
84
|
+
await port.reservation.set_reserve()
|
|
85
|
+
|
|
86
|
+
# Reset the port
|
|
87
|
+
await port.reset.set()
|
|
88
|
+
|
|
89
|
+
# Create a stream on the port
|
|
90
|
+
stream = await port.streams.create()
|
|
91
|
+
|
|
92
|
+
# Prepare stream header protocol
|
|
93
|
+
header_protocol = [enums.ProtocolOption.ETHERNET, enums.ProtocolOption.IP]
|
|
94
|
+
|
|
95
|
+
# Batch configure the stream
|
|
96
|
+
await utils.apply(
|
|
97
|
+
stream.tpld_id.set(0), # Create the TPLD index of stream
|
|
98
|
+
stream.packet.length.set(*size), # Configure the packet size
|
|
99
|
+
stream.packet.header.protocol.set(header_protocol), # Configure the packet type
|
|
100
|
+
stream.packet.header.data.set(header), # Configure the packet header
|
|
101
|
+
stream.enable.set_on(), # Enable streams
|
|
102
|
+
stream.rate.fraction.set(1000000) # Configure the stream rate 100%
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
# Clear statistics
|
|
106
|
+
await utils.apply(
|
|
107
|
+
port.statistics.tx.clear.set(),
|
|
108
|
+
port.statistics.rx.clear.set()
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
# Start traffic on the port
|
|
112
|
+
await port.traffic.state.set_start()
|
|
113
|
+
|
|
114
|
+
# Test duration 10 seconds
|
|
115
|
+
await asyncio.sleep(10)
|
|
116
|
+
|
|
117
|
+
# Query TX statistics
|
|
118
|
+
tx_result = await port.statistics.tx.total.get()
|
|
119
|
+
print(f"bit count last second: {tx_result.bit_count_last_sec}")
|
|
120
|
+
print(f"packet count last second: {tx_result.packet_count_last_sec}")
|
|
121
|
+
print(f"byte count since cleared: {tx_result.byte_count_since_cleared}")
|
|
122
|
+
print(f"packet count since cleared: {tx_result.packet_count_since_cleared}")
|
|
123
|
+
|
|
124
|
+
# Stop traffic on the port
|
|
125
|
+
await port.traffic.state.set_stop()
|
|
126
|
+
|
|
127
|
+
# Release the port
|
|
128
|
+
await port.reservation.set_release()
|
|
129
|
+
|
|
130
|
+
def main():
|
|
131
|
+
try:
|
|
132
|
+
loop = asyncio.get_event_loop()
|
|
133
|
+
loop.create_task(my_awesome_func())
|
|
134
|
+
loop.run_forever()
|
|
135
|
+
except KeyboardInterrupt:
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
if __name__ == "__main__":
|
|
139
|
+
main()
|
|
140
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import setuptools
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def main():
|
|
5
|
+
with open("README.md", "r", encoding="utf-8") as fh:
|
|
6
|
+
long_description = fh.read()
|
|
7
|
+
|
|
8
|
+
setuptools.setup(
|
|
9
|
+
name="tdl-xoa-driver",
|
|
10
|
+
description=(
|
|
11
|
+
"XOA Driver is a Python library providing user-friendly communication"
|
|
12
|
+
" interfaces to Xena Traffic Generation test equipment."
|
|
13
|
+
" It provides a rich collection of programming interfaces that can be used to either write"
|
|
14
|
+
" test scripts or develop applications."
|
|
15
|
+
),
|
|
16
|
+
long_description=long_description,
|
|
17
|
+
long_description_content_type="text/markdown",
|
|
18
|
+
author="Leonard Yu",
|
|
19
|
+
author_email="leonard.yu@teledyne.com",
|
|
20
|
+
maintainer="Teledyne LeCroy Xena",
|
|
21
|
+
maintainer_email="support@xenanetworks.com",
|
|
22
|
+
url="https://github.com/xenanetworks/tdl-xoa-driver",
|
|
23
|
+
packages=setuptools.find_packages(),
|
|
24
|
+
license='Apache 2.0',
|
|
25
|
+
install_requires=["typing_extensions"], # we are not able to skip of using typing_extensions, for make code compatible with python 3.8
|
|
26
|
+
classifiers=[
|
|
27
|
+
"Development Status :: 5 - Production/Stable",
|
|
28
|
+
"Intended Audience :: Developers",
|
|
29
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
30
|
+
"License :: OSI Approved :: Apache Software License",
|
|
31
|
+
"Programming Language :: Python :: 3.8",
|
|
32
|
+
"Programming Language :: Python :: 3.9",
|
|
33
|
+
"Programming Language :: Python :: 3.10",
|
|
34
|
+
"Programming Language :: Python :: 3.11",
|
|
35
|
+
"Programming Language :: Python :: 3.12",
|
|
36
|
+
"Programming Language :: Python :: 3.13",
|
|
37
|
+
],
|
|
38
|
+
python_requires=">=3.8",
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == '__main__':
|
|
43
|
+
main()
|