tdl-xoa-driver 1.5.1__py3-none-any.whl → 1.6.1__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.1.dist-info → tdl_xoa_driver-1.6.1.dist-info}/METADATA +1 -1
- {tdl_xoa_driver-1.5.1.dist-info → tdl_xoa_driver-1.6.1.dist-info}/RECORD +87 -88
- {tdl_xoa_driver-1.5.1.dist-info → tdl_xoa_driver-1.6.1.dist-info}/licenses/LICENSE +1 -1
- xoa_driver/__init__.py +2 -2
- xoa_driver/enums.py +10 -10
- xoa_driver/functions/anlt.py +60 -78
- xoa_driver/functions/cli/testbed_config.py +1 -1
- xoa_driver/functions/cmis/_replies.py +4 -4
- xoa_driver/functions/mgmt.py +206 -250
- xoa_driver/functions/tools.py +11 -6
- xoa_driver/internals/commands/c_commands.py +59 -0
- xoa_driver/internals/commands/enums.py +101 -90
- xoa_driver/internals/commands/m4_commands.py +25 -0
- xoa_driver/internals/commands/m4e_commands.py +6 -0
- xoa_driver/internals/commands/m_commands.py +51 -1
- xoa_driver/internals/commands/p4_commands.py +63 -1
- xoa_driver/internals/commands/p4e_commands.py +9 -0
- xoa_driver/internals/commands/p4g_commands.py +139 -0
- xoa_driver/internals/commands/p_commands.py +455 -61
- xoa_driver/internals/commands/pc_commands.py +9 -0
- xoa_driver/internals/commands/pd_commands.py +11 -0
- xoa_driver/internals/commands/pe_commands.py +27 -0
- xoa_driver/internals/commands/pec_commands.py +9 -0
- xoa_driver/internals/commands/ped_commands.py +23 -0
- xoa_driver/internals/commands/pef_commands.py +43 -0
- xoa_driver/internals/commands/pf_commands.py +11 -0
- xoa_driver/internals/commands/pl1_commands.py +315 -48
- xoa_driver/internals/commands/pl_commands.py +8 -0
- xoa_driver/internals/commands/pm_commands.py +11 -0
- xoa_driver/internals/commands/pp_commands.py +84 -27
- xoa_driver/internals/commands/pr_commands.py +25 -0
- xoa_driver/internals/commands/ps_commands.py +47 -1
- xoa_driver/internals/commands/pt_commands.py +15 -0
- xoa_driver/internals/commands/px_commands.py +180 -136
- xoa_driver/internals/commands/subtypes.py +4 -3
- xoa_driver/internals/core/transporter/protocol/payload/base_struct.py +1 -1
- xoa_driver/internals/hli/indices/macsecscs/base_macsecsc.py +41 -3
- xoa_driver/internals/hli/modules/modules_l23/family_combi.py +0 -64
- xoa_driver/internals/hli/modules/modules_l23/family_edun.py +0 -2
- xoa_driver/internals/hli/modules/modules_l23/{family_g.py → family_loki.py} +29 -1
- xoa_driver/internals/hli/modules/modules_l23/family_odin.py +412 -0
- xoa_driver/internals/hli/modules/modules_l23/{family_l.py → family_thor.py} +44 -0
- xoa_driver/internals/hli/ports/port_l23/chimera/port_chimera.py +3 -3
- xoa_driver/internals/hli/ports/port_l23/family_edun.py +8 -43
- xoa_driver/internals/hli/ports/port_l23/{family_l1.py → family_freya.py} +9 -44
- xoa_driver/internals/hli/ports/port_l23/{family_g.py → family_loki.py} +32 -31
- xoa_driver/internals/hli/ports/port_l23/family_odin.py +225 -0
- xoa_driver/internals/hli/ports/port_l23/family_thor.py +67 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/anlt.py +512 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/brr.py +26 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/eye_diagram.py +71 -0
- xoa_driver/internals/hli/ports/port_l23/{pcs_pma_ijkl_chimera.py → layer1/impair.py} +7 -7
- xoa_driver/internals/hli/ports/port_l23/layer1/laser_power.py +28 -0
- xoa_driver/internals/hli/ports/port_l23/{family_e.py → layer1/lower_power.py} +1 -51
- xoa_driver/internals/hli/ports/port_l23/{freya_l1.py → layer1/medium.py} +38 -358
- xoa_driver/internals/hli/ports/port_l23/layer1/pcs_fec.py +219 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/pma.py +43 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/prbs.py +39 -0
- xoa_driver/internals/hli/ports/port_l23/layer1/preamble.py +25 -0
- xoa_driver/internals/hli/ports/port_l23/{fault_jkl.py → layer1/rs_fault.py} +2 -2
- xoa_driver/internals/hli/ports/port_l23/layer1/siv.py +69 -0
- xoa_driver/internals/hli/ports/port_l23/layer1_edun.py +103 -0
- xoa_driver/internals/hli/ports/port_l23/layer1_freya.py +103 -0
- xoa_driver/internals/hli/ports/port_l23/layer1_loki.py +74 -0
- xoa_driver/internals/hli/ports/port_l23/layer1_thor.py +70 -0
- xoa_driver/internals/hli/ports/port_l23/sec/__init__.py +0 -0
- xoa_driver/internals/hli/ports/port_l23/sec/macsec.py +108 -0
- xoa_driver/internals/hli/ports/port_l23/tcvr/__init__.py +0 -0
- xoa_driver/internals/hli/ports/port_l23/{bases/port_transceiver.py → tcvr/cmis.py} +4 -118
- xoa_driver/internals/hli/ports/port_l23/tcvr/transceiver.py +124 -0
- xoa_driver/internals/hli/ports/port_l23/trafficgen/__init__.py +0 -0
- xoa_driver/internals/hli/ports/port_l23/trafficgen/runt.py +32 -0
- xoa_driver/internals/hli/ports/port_l23/{bases/port_reception_statistics.py → trafficgen/rx_stats.py} +0 -21
- xoa_driver/internals/hli/ports/port_l23/{bases/port_l23.py → trafficgen/tgen.py} +31 -213
- xoa_driver/internals/hli/ports/port_l23/{bases/port_transmission_statistics.py → trafficgen/tx_stats.py} +2 -22
- xoa_driver/internals/hli/testers/l23_tester.py +1 -3
- xoa_driver/internals/utils/indices/_interfaces.py +18 -6
- xoa_driver/internals/utils/indices/index_manager.py +8 -2
- xoa_driver/internals/utils/managers/ports_manager.py +5 -2
- xoa_driver/misc.py +6 -6
- xoa_driver/modules.py +31 -47
- xoa_driver/ports.py +10 -29
- xoa_driver/internals/hli/modules/modules_l23/family_d.py +0 -75
- xoa_driver/internals/hli/modules/modules_l23/family_e.py +0 -85
- xoa_driver/internals/hli/modules/modules_l23/family_f.py +0 -145
- xoa_driver/internals/hli/modules/modules_l23/family_h.py +0 -40
- xoa_driver/internals/hli/modules/modules_l23/family_i.py +0 -25
- xoa_driver/internals/hli/modules/modules_l23/family_j.py +0 -25
- xoa_driver/internals/hli/modules/modules_l23/family_k.py +0 -39
- xoa_driver/internals/hli/modules/modules_l23/family_m.py +0 -25
- xoa_driver/internals/hli/modules/modules_l23/family_n.py +0 -40
- xoa_driver/internals/hli/ports/port_l23/bases/port_l23_genuine.py +0 -229
- xoa_driver/internals/hli/ports/port_l23/edun_l1.py +0 -181
- xoa_driver/internals/hli/ports/port_l23/family_combi.py +0 -37
- xoa_driver/internals/hli/ports/port_l23/family_d.py +0 -51
- xoa_driver/internals/hli/ports/port_l23/family_f.py +0 -151
- xoa_driver/internals/hli/ports/port_l23/family_h.py +0 -67
- xoa_driver/internals/hli/ports/port_l23/family_i.py +0 -84
- xoa_driver/internals/hli/ports/port_l23/family_j.py +0 -68
- xoa_driver/internals/hli/ports/port_l23/family_k.py +0 -73
- xoa_driver/internals/hli/ports/port_l23/family_l.py +0 -82
- xoa_driver/internals/hli/ports/port_l23/family_m.py +0 -29
- xoa_driver/internals/hli/ports/port_l23/pcs_pma_ghijkl.py +0 -369
- xoa_driver/internals/hli/ports/port_l23/pcs_pma_l.py +0 -78
- xoa_driver/internals/hli/ports/port_l23/port_l23ve.py +0 -101
- {tdl_xoa_driver-1.5.1.dist-info → tdl_xoa_driver-1.6.1.dist-info}/WHEEL +0 -0
- {tdl_xoa_driver-1.5.1.dist-info → tdl_xoa_driver-1.6.1.dist-info}/top_level.txt +0 -0
- /xoa_driver/internals/hli/modules/modules_l23/{family_l1.py → family_freya.py} +0 -0
- /xoa_driver/internals/hli/ports/port_l23/{bases → layer1}/__init__.py +0 -0
- /xoa_driver/internals/hli/ports/port_l23/{bases/port_capture.py → trafficgen/capture.py} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"""Port (L47) Connection Group Commands"""
|
|
1
2
|
from __future__ import annotations
|
|
2
3
|
from dataclasses import dataclass
|
|
3
4
|
import ipaddress
|
|
@@ -7251,3 +7252,141 @@ class P4G_TLS_MIN_REQ_PROTOCOL_VER:
|
|
|
7251
7252
|
"""
|
|
7252
7253
|
|
|
7253
7254
|
return Token(self._connection, build_get_request(self, module=self._module, port=self._port, indices=[self._group_xindex]))
|
|
7255
|
+
|
|
7256
|
+
|
|
7257
|
+
__all__ = [
|
|
7258
|
+
"P4G_APP_REPLAY_COUNTERS",
|
|
7259
|
+
"P4G_APP_TRANSACTION_COUNTERS",
|
|
7260
|
+
"P4G_APP_TRANSACTION_HIST",
|
|
7261
|
+
"P4G_CLEAR_COUNTERS",
|
|
7262
|
+
"P4G_CLEAR_POST_STAT",
|
|
7263
|
+
"P4G_CLIENT_RANGE",
|
|
7264
|
+
"P4G_COMMENT",
|
|
7265
|
+
"P4G_CREATE",
|
|
7266
|
+
"P4G_DELETE",
|
|
7267
|
+
"P4G_ENABLE",
|
|
7268
|
+
"P4G_INDICES",
|
|
7269
|
+
"P4G_IPV4_CLIENT_ADDRESS_POOL",
|
|
7270
|
+
"P4G_IPV4_SERVER_ADDRESS_POOL",
|
|
7271
|
+
"P4G_IPV6_CLIENT_RANGE",
|
|
7272
|
+
"P4G_IPV6_FLOW_LABEL",
|
|
7273
|
+
"P4G_IPV6_SERVER_RANGE",
|
|
7274
|
+
"P4G_IPV6_TRAFFIC_CLASS",
|
|
7275
|
+
"P4G_IP_DS_MASK",
|
|
7276
|
+
"P4G_IP_DS_MINMAX",
|
|
7277
|
+
"P4G_IP_DS_STEP",
|
|
7278
|
+
"P4G_IP_DS_TYPE",
|
|
7279
|
+
"P4G_IP_DS_VALUE",
|
|
7280
|
+
"P4G_IP_VERSION",
|
|
7281
|
+
"P4G_L2_CLIENT_MAC",
|
|
7282
|
+
"P4G_L2_GW",
|
|
7283
|
+
"P4G_L2_IPV6_GW",
|
|
7284
|
+
"P4G_L2_SERVER_MAC",
|
|
7285
|
+
"P4G_L2_USE_ADDRESS_RES",
|
|
7286
|
+
"P4G_L2_USE_GW",
|
|
7287
|
+
"P4G_L4_PROTOCOL",
|
|
7288
|
+
"P4G_LP_SHAPE",
|
|
7289
|
+
"P4G_LP_TIME_SCALE",
|
|
7290
|
+
"P4G_NAT",
|
|
7291
|
+
"P4G_PAYLOAD_HIST_CONF",
|
|
7292
|
+
"P4G_RAW_BURSTY_CONF",
|
|
7293
|
+
"P4G_RAW_BURSTY_TX",
|
|
7294
|
+
"P4G_RAW_CLOSE_CONN",
|
|
7295
|
+
"P4G_RAW_CONN_INCARNATION",
|
|
7296
|
+
"P4G_RAW_CONN_LIFETIME",
|
|
7297
|
+
"P4G_RAW_CONN_REPETITIONS",
|
|
7298
|
+
"P4G_RAW_DOWNLOAD_REQUEST",
|
|
7299
|
+
"P4G_RAW_HAS_DOWNLOAD_REQ",
|
|
7300
|
+
"P4G_RAW_PAYLOAD",
|
|
7301
|
+
"P4G_RAW_PAYLOAD_REPEAT_LEN",
|
|
7302
|
+
"P4G_RAW_PAYLOAD_TOTAL_LEN",
|
|
7303
|
+
"P4G_RAW_PAYLOAD_TYPE",
|
|
7304
|
+
"P4G_RAW_REQUEST_REPEAT",
|
|
7305
|
+
"P4G_RAW_RX_PAYLOAD_LEN",
|
|
7306
|
+
"P4G_RAW_TEST_SCENARIO",
|
|
7307
|
+
"P4G_RAW_TX_DURING_RAMP",
|
|
7308
|
+
"P4G_RAW_TX_TIME_OFFSET",
|
|
7309
|
+
"P4G_RAW_UTILIZATION",
|
|
7310
|
+
"P4G_RECALC_PAYLOAD_HIST",
|
|
7311
|
+
"P4G_RECALC_TIME_HIST",
|
|
7312
|
+
"P4G_RECALC_TRANSACTION_HIST",
|
|
7313
|
+
"P4G_REPLAY_FILE_CLEAR",
|
|
7314
|
+
"P4G_REPLAY_FILE_INDICES",
|
|
7315
|
+
"P4G_REPLAY_FILE_NAME",
|
|
7316
|
+
"P4G_REPLAY_USER_INCARNATION",
|
|
7317
|
+
"P4G_REPLAY_USER_REPETITIONS",
|
|
7318
|
+
"P4G_REPLAY_UTILIZATION",
|
|
7319
|
+
"P4G_ROLE",
|
|
7320
|
+
"P4G_SERVER_RANGE",
|
|
7321
|
+
"P4G_TCP_ACK_FREQUENCY",
|
|
7322
|
+
"P4G_TCP_ACK_TIMEOUT",
|
|
7323
|
+
"P4G_TCP_CLOSE_HIST",
|
|
7324
|
+
"P4G_TCP_CONGESTION_MODE",
|
|
7325
|
+
"P4G_TCP_DUP_THRES",
|
|
7326
|
+
"P4G_TCP_ERROR_COUNTERS",
|
|
7327
|
+
"P4G_TCP_ESTABLISH_HIST",
|
|
7328
|
+
"P4G_TCP_ICWND_CALC_METHOD",
|
|
7329
|
+
"P4G_TCP_ISSTHRESH",
|
|
7330
|
+
"P4G_TCP_MSS_MINMAX",
|
|
7331
|
+
"P4G_TCP_MSS_TYPE",
|
|
7332
|
+
"P4G_TCP_MSS_VALUE",
|
|
7333
|
+
"P4G_TCP_RETRANSMIT_COUNTERS",
|
|
7334
|
+
"P4G_TCP_RTO",
|
|
7335
|
+
"P4G_TCP_RTO_MINMAX",
|
|
7336
|
+
"P4G_TCP_RTO_PROLONGED_MODE",
|
|
7337
|
+
"P4G_TCP_RTT_VALUE",
|
|
7338
|
+
"P4G_TCP_RX_GOOD_BYTES_HIST",
|
|
7339
|
+
"P4G_TCP_RX_PACKET_COUNTERS",
|
|
7340
|
+
"P4G_TCP_RX_PAYLOAD_COUNTERS",
|
|
7341
|
+
"P4G_TCP_RX_TOTAL_BYTES_HIST",
|
|
7342
|
+
"P4G_TCP_STATE_CURRENT",
|
|
7343
|
+
"P4G_TCP_STATE_RATE",
|
|
7344
|
+
"P4G_TCP_STATE_TOTAL",
|
|
7345
|
+
"P4G_TCP_SYN_RTO",
|
|
7346
|
+
"P4G_TCP_TX_GOOD_BYTES_HIST",
|
|
7347
|
+
"P4G_TCP_TX_PACKET_COUNTERS",
|
|
7348
|
+
"P4G_TCP_TX_PAYLOAD_COUNTERS",
|
|
7349
|
+
"P4G_TCP_TX_TOTAL_BYTES_HIST",
|
|
7350
|
+
"P4G_TCP_WINDOW_SCALING",
|
|
7351
|
+
"P4G_TCP_WINDOW_SIZE",
|
|
7352
|
+
"P4G_TEST_APPLICATION",
|
|
7353
|
+
"P4G_TIME_HIST_CONF",
|
|
7354
|
+
"P4G_TLS_ALERT_FATAL_COUNTERS",
|
|
7355
|
+
"P4G_TLS_ALERT_WARNING_COUNTERS",
|
|
7356
|
+
"P4G_TLS_CERTIFICATE_FILENAME",
|
|
7357
|
+
"P4G_TLS_CIPHER_SUITES",
|
|
7358
|
+
"P4G_TLS_CLOSE_NOTIFY",
|
|
7359
|
+
"P4G_TLS_DHPARAMS_FILENAME",
|
|
7360
|
+
"P4G_TLS_ENABLE",
|
|
7361
|
+
"P4G_TLS_HANDSHAKE_HIST",
|
|
7362
|
+
"P4G_TLS_MAX_RECORD_SIZE",
|
|
7363
|
+
"P4G_TLS_MIN_REQ_PROTOCOL_VER",
|
|
7364
|
+
"P4G_TLS_PRIVATE_KEY_FILENAME",
|
|
7365
|
+
"P4G_TLS_PROTOCOL_VER",
|
|
7366
|
+
"P4G_TLS_RX_PAYLOAD_BYTES_HIST",
|
|
7367
|
+
"P4G_TLS_RX_PAYLOAD_COUNTERS",
|
|
7368
|
+
"P4G_TLS_SERVER_NAME",
|
|
7369
|
+
"P4G_TLS_STATE_CURRENT",
|
|
7370
|
+
"P4G_TLS_STATE_RATE",
|
|
7371
|
+
"P4G_TLS_STATE_TOTAL",
|
|
7372
|
+
"P4G_TLS_TX_PAYLOAD_BYTES_HIST",
|
|
7373
|
+
"P4G_TLS_TX_PAYLOAD_COUNTERS",
|
|
7374
|
+
"P4G_TRANSACTION_HIST_CONF",
|
|
7375
|
+
"P4G_UDP_PACKET_SIZE_MINMAX",
|
|
7376
|
+
"P4G_UDP_PACKET_SIZE_TYPE",
|
|
7377
|
+
"P4G_UDP_PACKET_SIZE_VALUE",
|
|
7378
|
+
"P4G_UDP_RX_BYTES_HIST",
|
|
7379
|
+
"P4G_UDP_RX_PACKET_COUNTERS",
|
|
7380
|
+
"P4G_UDP_RX_PAYLOAD_COUNTERS",
|
|
7381
|
+
"P4G_UDP_STATE_CURRENT",
|
|
7382
|
+
"P4G_UDP_STATE_RATE",
|
|
7383
|
+
"P4G_UDP_STATE_TOTAL",
|
|
7384
|
+
"P4G_UDP_TX_BYTES_HIST",
|
|
7385
|
+
"P4G_UDP_TX_PACKET_COUNTERS",
|
|
7386
|
+
"P4G_UDP_TX_PAYLOAD_COUNTERS",
|
|
7387
|
+
"P4G_USER_STATE_CURRENT",
|
|
7388
|
+
"P4G_USER_STATE_RATE",
|
|
7389
|
+
"P4G_USER_STATE_TOTAL",
|
|
7390
|
+
"P4G_VLAN_ENABLE",
|
|
7391
|
+
"P4G_VLAN_TCI",
|
|
7392
|
+
]
|