tdl-xoa-driver 1.1.0__py3-none-any.whl → 1.2.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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: tdl-xoa-driver
3
- Version: 1.1.0
3
+ Version: 1.2.0
4
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
5
  Home-page: https://github.com/xenanetworks/tdl-xoa-driver
6
6
  Author: Leonard Yu
@@ -12,12 +12,11 @@ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
19
17
  Classifier: Programming Language :: Python :: 3.13
20
- Requires-Python: >=3.9
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Requires-Python: >=3.11
21
20
  Description-Content-Type: text/markdown
22
21
  License-File: LICENSE
23
22
  Dynamic: author
@@ -27,6 +26,7 @@ Dynamic: description
27
26
  Dynamic: description-content-type
28
27
  Dynamic: home-page
29
28
  Dynamic: license
29
+ Dynamic: license-file
30
30
  Dynamic: maintainer
31
31
  Dynamic: maintainer-email
32
32
  Dynamic: requires-python
@@ -54,121 +54,3 @@ The user documentation is hosted:
54
54
  * Supporting server-to-client push notification, and event subscription, to reduce user code complexity.
55
55
  * Covering commands of Xena testers, including Xena Valkyrie, Vulcan, and Chimera.
56
56
  * Supporting IDE auto-complete with built-in class/function/API use manual, to increase development efficiency.
57
-
58
-
59
- ## Installation
60
-
61
- ### Install Using `pip`
62
- 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`.
63
-
64
- To install the latest, use pip to install from pypi:
65
- ``` shell
66
- ~/> pip install tdl-xoa-driver
67
- ```
68
-
69
- To upgrade to the latest, use pip to upgrade from pypi:
70
- ``` shell
71
- ~/> pip install tdl-xoa-driver --upgrade
72
- ```
73
-
74
- ### Install From Source Code
75
- Make sure these packages are installed ``wheel``, ``setuptools`` on your system.
76
-
77
- Install ``setuptools`` using pip:
78
- ``` shell
79
- ~/> pip install wheel setuptools
80
- ```
81
-
82
- To install source of python packages:
83
- ``` shell
84
- /xoa_driver> python setup.py install
85
- ```
86
-
87
- To build ``.whl`` file for distribution:
88
- ``` shell
89
- /xoa_driver> python setup.py bdist_wheel
90
- ```
91
-
92
-
93
- ## Quick Start
94
-
95
- * Get Python pip if not already installed (Download https://bootstrap.pypa.io/get-pip.py):
96
- `python get-pip.py`
97
-
98
- * Install the latest tdl-xoa-driver:
99
- `pip install tdl-xoa-driver -U`
100
-
101
- * Write Python code to manage with Xena testers:
102
- ```python
103
- import asyncio
104
-
105
- from xoa_driver import testers
106
- from xoa_driver import modules
107
- from xoa_driver import ports
108
- from xoa_driver import enums
109
- from xoa_driver import utils
110
-
111
- async def my_awesome_func():
112
- # Establish connection with a Valkyrie tester
113
- async with testers.L23Tester("10.10.10.10", "JonDoe") as tester:
114
- # Get the port 0/0 (module 0)
115
- port = await tester.modules.obtain(0).ports.obtain(0)
116
-
117
- # Reserve the port
118
- await port.reservation.set_reserve()
119
-
120
- # Reset the port
121
- await port.reset.set()
122
-
123
- # Create a stream on the port
124
- stream = await port.streams.create()
125
-
126
- # Prepare stream header protocol
127
- header_protocol = [enums.ProtocolOption.ETHERNET, enums.ProtocolOption.IP]
128
-
129
- # Batch configure the stream
130
- await utils.apply(
131
- stream.tpld_id.set(0), # Create the TPLD index of stream
132
- stream.packet.length.set(*size), # Configure the packet size
133
- stream.packet.header.protocol.set(header_protocol), # Configure the packet type
134
- stream.packet.header.data.set(header), # Configure the packet header
135
- stream.enable.set_on(), # Enable streams
136
- stream.rate.fraction.set(1000000) # Configure the stream rate 100%
137
- )
138
-
139
- # Clear statistics
140
- await utils.apply(
141
- port.statistics.tx.clear.set(),
142
- port.statistics.rx.clear.set()
143
- )
144
-
145
- # Start traffic on the port
146
- await port.traffic.state.set_start()
147
-
148
- # Test duration 10 seconds
149
- await asyncio.sleep(10)
150
-
151
- # Query TX statistics
152
- tx_result = await port.statistics.tx.total.get()
153
- print(f"bit count last second: {tx_result.bit_count_last_sec}")
154
- print(f"packet count last second: {tx_result.packet_count_last_sec}")
155
- print(f"byte count since cleared: {tx_result.byte_count_since_cleared}")
156
- print(f"packet count since cleared: {tx_result.packet_count_since_cleared}")
157
-
158
- # Stop traffic on the port
159
- await port.traffic.state.set_stop()
160
-
161
- # Release the port
162
- await port.reservation.set_release()
163
-
164
- def main():
165
- try:
166
- loop = asyncio.get_event_loop()
167
- loop.create_task(my_awesome_func())
168
- loop.run_forever()
169
- except KeyboardInterrupt:
170
- pass
171
-
172
- if __name__ == "__main__":
173
- main()
174
- ```
@@ -1,4 +1,5 @@
1
- xoa_driver/__init__.py,sha256=oPkecweERpNtsP_dqWzOUIiFPYgMnHIlh_DfS3RIJhQ,48
1
+ tdl_xoa_driver-1.2.0.dist-info/licenses/LICENSE,sha256=Oc3Sih78tKR5tfTaIGcU3qytyX6JAzzAUlwW-qQaRaQ,11351
2
+ xoa_driver/__init__.py,sha256=5Cb5wI3fbnufsjHdZFqaOUenSwbzG-gchruMJOcqZgo,48
2
3
  xoa_driver/enums.py,sha256=-Uv2nf9XX__4I5upmS1V8UjSyDIJ14NB8o2z-ozfmK4,8472
3
4
  xoa_driver/exceptions.py,sha256=JoAYQ6A751mT68fx9CIavxP49YalynoH6zG2_7Q0Pos,1910
4
5
  xoa_driver/hlfuncs.py,sha256=pywmcw7UajBJ50uLlMpuvKlgvha7xgx85zpp_fqOdA8,240
@@ -9,25 +10,25 @@ xoa_driver/ports.py,sha256=oSY0uGG6X8GlA4QVOdJlg_EZ89zbNeGM-aA8886nnuY,7057
9
10
  xoa_driver/testers.py,sha256=_kctz6qY2wIAuqSwfH7A8173Gemn2uAlS-Yevq4WhVE,885
10
11
  xoa_driver/utils.py,sha256=pciLNEJVIxEtxFe5wlKe9ROewAa554ZwEGVoBViWJos,143
11
12
  xoa_driver/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- xoa_driver/functions/anlt.py,sha256=lF0VzYu-c62jcPUxzszhWFwMc8PAfJiM8HJikNEdktk,23401
13
+ xoa_driver/functions/anlt.py,sha256=iXfWYgWvU24iXOx5BFEot7FjFGqAJpySnMZjAFzoIRo,22996
13
14
  xoa_driver/functions/anlt_ll_debug.py,sha256=ZJQRWdmAA3LAJf-00yHiw66WgusAjT9tMqn-vrczSKw,14823
14
15
  xoa_driver/functions/cli.py,sha256=oYZW9SEe5CSNxLiIPNXacil6aVXEZsui8Pn3i3o09z4,24333
15
16
  xoa_driver/functions/exceptions.py,sha256=v3boGPcp3tJmtrj7A72Ug_etfrNyZYe6nvN7spKOZ7g,2354
16
- xoa_driver/functions/headers.py,sha256=LuCV64QBrw56QhsVlHwnivbScSDYlGiR5ByXzNxpgEE,21486
17
- xoa_driver/functions/mgmt.py,sha256=jMNIDGZRjB-SK3tZpAqKh1SOS2wHvZV-x-xdDBlAdSg,15096
18
- xoa_driver/functions/tools.py,sha256=uAiaxIHWs-qplj-_PxGDdLdiHJG-HS1R9XX53-d68o0,9379
17
+ xoa_driver/functions/headers.py,sha256=QemyVnk93oWSOxPzavDXsTtpZ8OTChf5G9Mm0yRmfHo,33832
18
+ xoa_driver/functions/mgmt.py,sha256=cUKC9nt0fP58DlVM2RszWPb6BFR6hQ8OPPZmcJjgkDA,14550
19
+ xoa_driver/functions/tools.py,sha256=NPhiWkvqBkDFokLAx6BkRqPPU_ewa6LtvWB-CI4VgCQ,9659
19
20
  xoa_driver/internals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
21
  xoa_driver/internals/warn.py,sha256=03cDWYYvPKFz_mUoUt4Xq87fGNqvVqIcMXI0LVyEaK8,726
21
22
  xoa_driver/internals/commands/__init__.py,sha256=-oTS8J4dRzDZXM1xCF9SYA--TsLux2P9-bverGKdYNg,1271
22
- xoa_driver/internals/commands/c_commands.py,sha256=m0Q5KOj72rYca6KLwfH5PO3i__ztmn2Nc0cJS_2sMFY,65598
23
- xoa_driver/internals/commands/enums.py,sha256=s7NQxsokZu8bgOqBiav95jXibu6AgaSBgZM-ChjIk8c,64117
23
+ xoa_driver/internals/commands/c_commands.py,sha256=L1ZxMZtcx-rIaCYg1WxGm19SpeKOS1OV1MrQVMHlOl8,66295
24
+ xoa_driver/internals/commands/enums.py,sha256=72VTWtg4GkQ3nRL_ESeiCssAsK-cD58siZi8WQTN1Ek,63895
24
25
  xoa_driver/internals/commands/m4_commands.py,sha256=1LsUDBaCZUqDI04b84SDFVGPBTPdZaAZiHrfMGAb4yg,22834
25
26
  xoa_driver/internals/commands/m4e_commands.py,sha256=4b1CF1thhIEiY8E9Jw2Y7m1dMrs1NhBJ953yfBAfFmM,3059
26
- xoa_driver/internals/commands/m_commands.py,sha256=_apu8QxJG4wojK3UePayLi4skquLj0FUuM854YVUBZ8,63873
27
+ xoa_driver/internals/commands/m_commands.py,sha256=_tyTQVj8E1LhWQzlEyBk4ZYb3eIjf0vdfVXEh6wh6q4,63819
27
28
  xoa_driver/internals/commands/p4_commands.py,sha256=3nj6suKf0PCC7jMSGidzeAmm4VTpFd5qz2FukuF5R40,78768
28
29
  xoa_driver/internals/commands/p4e_commands.py,sha256=2hIa6S5aHY_Bht1QQ3ql3cFTLoWwwcGzvslAXeXc6rg,5056
29
30
  xoa_driver/internals/commands/p4g_commands.py,sha256=noIrvLYsjrc_t9hQ0msOCaOA0NsVNdTIySIjHoJEnOM,292438
30
- xoa_driver/internals/commands/p_commands.py,sha256=j0h6H4SM3WUuacK4uzZVVUBH7mX8yydDJHs_piwdI-Q,227611
31
+ xoa_driver/internals/commands/p_commands.py,sha256=n7YPgua0UiPbXiE1XjBTJotQhpCv7Ntx4dLY_SIzmMI,228493
31
32
  xoa_driver/internals/commands/pc_commands.py,sha256=uJe-wTla8vVDFChfSqpDNbpxCwx9OJ7WET2oM5KNHOs,11060
32
33
  xoa_driver/internals/commands/pd_commands.py,sha256=s0Ts7RN6WASyUGuuGmlxEPxDKSsnM50SXRbIFhTtsiQ,12492
33
34
  xoa_driver/internals/commands/pe_commands.py,sha256=z5YgV85RMw6CFYQF5Z8qKyCujiGk1psV-KYEdZeIBkU,38690
@@ -35,13 +36,13 @@ xoa_driver/internals/commands/pec_commands.py,sha256=bu2uSpMObsGob1QM4YzyhVAW6aN
35
36
  xoa_driver/internals/commands/ped_commands.py,sha256=J_QQxgrun71UWFpOQTFBxZe5tK-hOPxtCWiAGFKSc8Y,39736
36
37
  xoa_driver/internals/commands/pef_commands.py,sha256=q-JLQ2-JOHwfu-Ku28cc89mwJtKP_rJ9-QtFvOOxNVk,82219
37
38
  xoa_driver/internals/commands/pf_commands.py,sha256=5PVBA8N6G-1O6PN1l1XmmKKYS8DkGRz2NV6z6NuppKU,14540
38
- xoa_driver/internals/commands/pl1_commands.py,sha256=QyOz07NIppY_q0cVpfDGuB5NWKUcUTNyo2NjE9lv4jo,64178
39
+ xoa_driver/internals/commands/pl1_commands.py,sha256=mM0kNH8Te2YXD-OfDqkJv1Q5EwsHbczBSM0iTZAQWYQ,66370
39
40
  xoa_driver/internals/commands/pl_commands.py,sha256=znhmeTgPlqURsJ2dxIvQnOioE-qU2650fLtHaK0ZiMs,6382
40
41
  xoa_driver/internals/commands/pm_commands.py,sha256=tlt3yoEpCnjRmJ2EEq-BCOeBH4oppXvl5mea172Z_KA,9514
41
42
  xoa_driver/internals/commands/pp_commands.py,sha256=dKi8oqE0iKOVdtiTjqrZq772NfkpcafR8xMR6HdE69E,82762
42
- xoa_driver/internals/commands/pr_commands.py,sha256=WijAKPg1VnysI1c5qPnuKVzs2fmSzGAOxAo9Jqf3jvc,31264
43
- xoa_driver/internals/commands/ps_commands.py,sha256=K44t1sazWQRuOkaI-HR1lv76yK0PVl0JF4ybg_o3X2w,96468
44
- xoa_driver/internals/commands/pt_commands.py,sha256=2FrIl72zifYyTJL8lOeuMIUE-o5COEIxjNWokeiPFsY,14119
43
+ xoa_driver/internals/commands/pr_commands.py,sha256=Ci1duYe3UFzqxtLwOM-VV6KIPBIo_U8tE49bcQdN3ac,31156
44
+ xoa_driver/internals/commands/ps_commands.py,sha256=o5x24Z7kz-3jXRsTxmehkmG_0pbeYLldFbtPgu6fEZQ,96440
45
+ xoa_driver/internals/commands/pt_commands.py,sha256=e8eNiQT3YzYAYM5CZ3uR_vuPGMyXfKq6YSz8yUe7cMo,14038
45
46
  xoa_driver/internals/commands/px_commands.py,sha256=wpOYGV5968xlXQ2EtABdr709YSCcVVSE0Ibvg1Gd6v8,11073
46
47
  xoa_driver/internals/commands/subtypes.py,sha256=zYjCpWuXSn4qZ0AAzFvPks-wHTu2xcj4NiKlMcPmbzg,3023
47
48
  xoa_driver/internals/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -148,14 +149,14 @@ xoa_driver/internals/hli_v1/ports/port_l23/family_l.py,sha256=Ao3-XNKpBi-4s49guS
148
149
  xoa_driver/internals/hli_v1/ports/port_l23/family_l1.py,sha256=qiVv9NXtV5vwBja0w9bG9vwC-vgqdgRBdSj7GbDaa98,3749
149
150
  xoa_driver/internals/hli_v1/ports/port_l23/family_m.py,sha256=rvYpgYvN9Mrb_abxW-J1Zwn-36nCh_oBrNF0IV2qcIE,779
150
151
  xoa_driver/internals/hli_v1/ports/port_l23/fault_jkl.py,sha256=vsbpTsBGhQJHlb6cdhaKIIosif4Vh5mn5luYO_tOPtk,641
151
- xoa_driver/internals/hli_v1/ports/port_l23/freya_l1.py,sha256=hSM7xROJ-V7s-Yfjty7MuupYbhPoI4oAeqIGolSWXjk,28357
152
+ xoa_driver/internals/hli_v1/ports/port_l23/freya_l1.py,sha256=wdNZDLHrSd3SxFVR3-C3ZPcE4SzjfcdsoLeKjV6_UuI,28777
152
153
  xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_ghijkl.py,sha256=46fscvEn40N6zm0PSkOYXZDNeFvr66HaHhfp9FibOJM,9932
153
154
  xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_ijkl_chimera.py,sha256=-4bMhviEyeaSGA-sKgyQvEji0RrISxO8xHUgBdZfAKI,1623
154
155
  xoa_driver/internals/hli_v1/ports/port_l23/pcs_pma_l.py,sha256=RxvJF-wgSelazKR5ylEMSgMLszf2WEhbVQRUd_5e7OU,2142
155
156
  xoa_driver/internals/hli_v1/ports/port_l23/port_l23ve.py,sha256=qrrLUhyvSFjafcoiiTuD55s650tjORrdlePctGwl90Q,3040
156
157
  xoa_driver/internals/hli_v1/ports/port_l23/bases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
157
158
  xoa_driver/internals/hli_v1/ports/port_l23/bases/port_capture.py,sha256=mH_yPZW_3lTX9n1NTCMQlIixd5BWcb5VRfCrtpzY8I8,1955
158
- xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23.py,sha256=q-h0wpqbA-miOPsmv5nHtcnMdPcWiRWM8ojamIGS8pI,13740
159
+ xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23.py,sha256=8ahLyHkjs1lNNS8QLxlsMBrKwNmhW-ZCU14DBGgaCc0,13907
159
160
  xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23_genuine.py,sha256=RUm8hjryBL1zH_4Bs5YTg2-JtH46CBuqdwH7Rpv4YWU,6674
160
161
  xoa_driver/internals/hli_v1/ports/port_l23/bases/port_reception_statistics.py,sha256=P4HNk4TXSC5ShjNfCG7MJcyUDBSmtPFgEJ7HvRmV9Hc,6237
161
162
  xoa_driver/internals/hli_v1/ports/port_l23/bases/port_transceiver.py,sha256=112EIwg7vvGBl1OA2jCOZK2fUxiFp4I7xd7Xx1NuUjs,3724
@@ -177,7 +178,7 @@ xoa_driver/internals/hli_v1/ports/port_l47/counters.py,sha256=jWeE-aLajVs_R1QIMC
177
178
  xoa_driver/internals/hli_v1/ports/port_l47/main.py,sha256=Af6H6bfYDEYHDzRIJoqwKX55oaM2pEmQqOMkhcvFqiU,6382
178
179
  xoa_driver/internals/hli_v1/ports/port_l47/packet_engine.py,sha256=tdQntOK6p4L0x-ZL1aMqYRL6Za18PeCsYLG8G7VT5ss,806
179
180
  xoa_driver/internals/hli_v1/testers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
- xoa_driver/internals/hli_v1/testers/_base_tester.py,sha256=Vk2XKIKq5Cy74wfKMmNQypj1VFBORMuSVLZShrHpv3U,7404
181
+ xoa_driver/internals/hli_v1/testers/_base_tester.py,sha256=-qFMjCgLfiB1dFVUXt4zEXx1rrPycjR_OS1Fl1ukMVU,7556
181
182
  xoa_driver/internals/hli_v1/testers/l23_tester.py,sha256=kpqkOyLltw9vVf-sjrjM9TZzRCmUqTUBMUCd3XF3v34,5719
182
183
  xoa_driver/internals/hli_v1/testers/l23ve_tester.py,sha256=Kuv4aw6iJKtAe6F_v2lg7a_QpITt6AXtZ81zShZ1tL8,3687
183
184
  xoa_driver/internals/hli_v1/testers/l47_tester.py,sha256=Yu4287zvcmA_MVsc57C_r_59hEawfhNxWcoyve9KSR8,3666
@@ -318,8 +319,7 @@ xoa_driver/v2/misc.py,sha256=7K91alEbLBI9tA8p5avUFiMGxSnMep76Fwd8RKqjZgY,2911
318
319
  xoa_driver/v2/modules.py,sha256=DiZoCwoiObKsbIZMaZ4-oX_fPPM1lLJCLDxLJ0Pv9Os,7953
319
320
  xoa_driver/v2/ports.py,sha256=MqVFRbHc5HdZZDs9Hzl3KWVOI3y1Ze-4-SMcOpsSv8E,5348
320
321
  xoa_driver/v2/testers.py,sha256=g6r4_tFGJ9E3_ql8-mTX4jTNMw4O9MhfufTn5ujwBb0,551
321
- tdl_xoa_driver-1.1.0.dist-info/LICENSE,sha256=Oc3Sih78tKR5tfTaIGcU3qytyX6JAzzAUlwW-qQaRaQ,11351
322
- tdl_xoa_driver-1.1.0.dist-info/METADATA,sha256=grYHOBsTAfgAPvu3Xqc7ihfcuCvG2Y8MyvdNwGBugvQ,7643
323
- tdl_xoa_driver-1.1.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
324
- tdl_xoa_driver-1.1.0.dist-info/top_level.txt,sha256=sBbN3hwpa4s2VxsUBoWJ5jIqqDr50vgcEb-V8kL7pvE,11
325
- tdl_xoa_driver-1.1.0.dist-info/RECORD,,
322
+ tdl_xoa_driver-1.2.0.dist-info/METADATA,sha256=iAYOhz9NyzgjwDwFZght2fMaqs4Dng-Ru5YKISMtfQU,4061
323
+ tdl_xoa_driver-1.2.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
324
+ tdl_xoa_driver-1.2.0.dist-info/top_level.txt,sha256=sBbN3hwpa4s2VxsUBoWJ5jIqqDr50vgcEb-V8kL7pvE,11
325
+ tdl_xoa_driver-1.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
xoa_driver/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "1.1.0"
2
- __short_version__ = "1.1"
1
+ __version__ = "1.2.0"
2
+ __short_version__ = "1.2"
@@ -271,8 +271,6 @@ async def lt_coeff_inc(
271
271
  emphasis: enums.LinkTrainCoeffs
272
272
  ) -> enums.LinkTrainCmdResults:
273
273
  """
274
- .. versionadded:: 1.1
275
-
276
274
  Ask the remote port to increase coeff of the specified serdes.
277
275
 
278
276
  :param port: the port object
@@ -293,8 +291,6 @@ async def lt_coeff_dec(
293
291
  emphasis: enums.LinkTrainCoeffs
294
292
  ) -> enums.LinkTrainCmdResults:
295
293
  """
296
- .. versionadded:: 1.1
297
-
298
294
  Ask the remote port to decrease coeff of the specified serdes.
299
295
 
300
296
  :param port: the port object
@@ -316,8 +312,6 @@ async def lt_coeff_no_eq(
316
312
  ) -> enums.LinkTrainCmdResults:
317
313
 
318
314
  """
319
- .. versionadded:: 2.0
320
-
321
315
  Ask the remote port to set the coeff to NO_EQ on the specified serdes.
322
316
 
323
317
  :param port: the port object
@@ -338,8 +332,6 @@ async def lt_preset(
338
332
  preset: enums.LinkTrainPresets
339
333
  ) -> enums.LinkTrainCmdResults:
340
334
  """
341
- .. versionadded:: 1.1
342
-
343
335
  Ask the remote port to use the preset of the specified serdes.
344
336
 
345
337
  :param port: the port object
@@ -360,8 +352,6 @@ async def lt_encoding(
360
352
  encoding: enums.LinkTrainEncoding
361
353
  ) -> enums.LinkTrainCmdResults:
362
354
  """
363
- .. versionadded:: 1.1
364
-
365
355
  Ask the remote port to use the encoding of the specified serdes.
366
356
 
367
357
  :param port: the port object
@@ -378,8 +368,6 @@ async def lt_encoding(
378
368
 
379
369
  async def lt_trained(port: GenericL23Port, serdes: int) -> enums.LinkTrainCmdResults:
380
370
  """
381
- .. versionadded:: 1.1
382
-
383
371
  Tell the remote port that the current serdes is trained.
384
372
 
385
373
  :param port: the port object
@@ -431,8 +419,6 @@ async def lt_status(port: GenericL23Port, serdes: int) -> dict[str, t.Any]:
431
419
 
432
420
  async def txtap_get(port: GenericL23Port, serdes: int) -> dict[str, int]:
433
421
  """
434
- .. versionadded:: 1.1
435
-
436
422
  Get the tap value of the local TX tap.
437
423
 
438
424
  :param port: the port object
@@ -457,8 +443,6 @@ async def txtap_set(
457
443
  post1: int,
458
444
  ) -> None:
459
445
  """
460
- .. versionadded:: 1.1
461
-
462
446
  Set the tap value of the local TX tap.
463
447
 
464
448
  :param port: the port object
@@ -545,8 +529,6 @@ async def anlt_status(port: GenericL23Port) -> dict[str, t.Any]:
545
529
 
546
530
  async def anlt_log(port: GenericL23Port) -> str:
547
531
  """
548
- .. versionadded:: 1.1
549
-
550
532
  Get the anlt log messages
551
533
 
552
534
  :param port: the port object
@@ -578,8 +560,6 @@ async def anlt_stop(port: GenericL23Port) -> None:
578
560
 
579
561
  async def txtap_autotune(port: GenericL23Port, serdes: int) -> None:
580
562
  """
581
- .. versionadded:: 1.3
582
-
583
563
  Auto tune the tap value of the local TX tap.
584
564
 
585
565
  :param port: the port object
@@ -597,8 +577,6 @@ async def txtap_autotune(port: GenericL23Port, serdes: int) -> None:
597
577
 
598
578
  async def lt_im_status(port: GenericL23Port) -> dict[str, t.Any]:
599
579
  """
600
- .. versionadded:: 1.3
601
-
602
580
  Get LT initial modulation config
603
581
 
604
582
  :param port: the port object
@@ -621,8 +599,6 @@ async def lt_im_status(port: GenericL23Port) -> dict[str, t.Any]:
621
599
 
622
600
  async def lt_algorithm_status(port: GenericL23Port) -> dict[str, t.Any]:
623
601
  """
624
- .. versionadded:: 1.3
625
-
626
602
  Get LT initial modulation config
627
603
 
628
604
  :param port: the port object
@@ -645,8 +621,6 @@ async def lt_algorithm_status(port: GenericL23Port) -> dict[str, t.Any]:
645
621
 
646
622
  async def anlt_strict(port: GenericL23Port, enable: bool) -> None:
647
623
  """
648
- .. versionadded:: 1.3
649
-
650
624
  Should ANLT strict mode be enabled
651
625
 
652
626
  :param port: the port object
@@ -671,8 +645,6 @@ async def anlt_strict(port: GenericL23Port, enable: bool) -> None:
671
645
 
672
646
  async def anlt_log_control(port: GenericL23Port, types: t.List[enums.AnLtLogControl]) -> None:
673
647
  """
674
- .. versionadded:: 1.3
675
-
676
648
  Control what should be logged for ANLT by xenaserver
677
649
 
678
650
  :param port: the port object
@@ -699,8 +671,6 @@ async def anlt_log_control(port: GenericL23Port, types: t.List[enums.AnLtLogCont
699
671
 
700
672
  async def anlt_log_control_get(port: GenericL23Port) -> dict[str, bool]:
701
673
  """
702
- .. versionadded:: 2.7
703
-
704
674
  Get ANLT log control config
705
675
 
706
676
  :param port: the port object