Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xoa_driver/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.5.5"
__version__ = "2.5.6"
__short_version__ = "2.5"
14 changes: 14 additions & 0 deletions xoa_driver/internals/hli_v1/modules/modules_l23/family_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ def __init__(self, conn: "itf.IConnection", init_data: "m_itf.ModuleInitData") -
ports_count=self.ports_count
)
"""Port index of Thor-400G-7S-1P"""

@typing.final
@revisions.register_valkyrie_module(rev="Thor-400G-7S-1P LE")
class MThor400G7S1PLE(ModuleL23):
"""Test module Thor-400G-7S-1P LE"""
def __init__(self, conn: "itf.IConnection", init_data: "m_itf.ModuleInitData") -> None:
super().__init__(conn, init_data)
self.ports: pm.PortsManager[ports.PThor400G7S1PLE] = pm.PortsManager(
conn=conn,
ports_type=ports.PThor400G7S1PLE,
module_id=self.module_id,
ports_count=self.ports_count
)
"""Port index of Thor-400G-7S-1P LE"""
5 changes: 5 additions & 0 deletions xoa_driver/internals/hli_v1/ports/port_l23/family_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ class PThor400G7S1P(FamilyK):
"""L23 port on Thor-400G-7S-1P module.
"""
...

class PThor400G7S1PLE(FamilyK):
"""L23 port on Thor-400G-7S-1P LE module.
"""
...
14 changes: 14 additions & 0 deletions xoa_driver/internals/hli_v2/modules/modules_l23/family_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ def __init__(self, conn: "itf.IConnection", init_data: "m_itf.ModuleInitData") -
ports_count=self.ports_count
)
"""Port index of Thor-400G-7S-1P"""

@typing.final
@revisions.register_valkyrie_module(rev="Thor-400G-7S-1P LE")
class MThor400G7S1PLE(ModuleL23):
"""Test module Thor-400G-7S-1P LE"""
def __init__(self, conn: "itf.IConnection", init_data: "m_itf.ModuleInitData") -> None:
super().__init__(conn, init_data)
self.ports: pm.PortsManager[ports.PThor400G7S1PLE] = pm.PortsManager(
conn=conn,
ports_type=ports.PThor400G7S1PLE,
module_id=self.module_id,
ports_count=self.ports_count
)
"""Port index of Thor-400G-7S-1P LE"""
5 changes: 5 additions & 0 deletions xoa_driver/internals/hli_v2/ports/port_l23/family_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ class PThor400G7S1P(FamilyK):
"""L23 port on Thor-400G-7S-1P module.
"""
...

class PThor400G7S1PLE(FamilyK):
"""L23 port on Thor-400G-7S-1P LE module.
"""
...
7 changes: 6 additions & 1 deletion xoa_driver/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
)
from .internals.hli_v1.modules.modules_l23.family_i import MLoki100G5S2P
from .internals.hli_v1.modules.modules_l23.family_j import MThor100G5S4P
from .internals.hli_v1.modules.modules_l23.family_k import MThor400G7S1P
from .internals.hli_v1.modules.modules_l23.family_k import (
MThor400G7S1P,
MThor400G7S1PLE,
)
from .internals.hli_v1.modules.modules_l23.family_l import (
MThor400G7S1P_b,
MThor400G7S1P_c,
Expand Down Expand Up @@ -152,6 +155,7 @@
"MLoki100G5S2P",
"MThor100G5S4P",
"MThor400G7S1P",
"MThor400G7S1PLE",
"MThor400G7S1P_b",
"MThor400G7S1P_c",
"MThor400G7S1P_d",
Expand Down Expand Up @@ -260,6 +264,7 @@
"MLoki100G5S2P",
"MThor100G5S4P",
"MThor400G7S1P",
"MThor400G7S1PLE",
"MThor400G7S1P_b",
"MThor400G7S1P_c",
"MThor400G7S1P_d",
Expand Down
7 changes: 6 additions & 1 deletion xoa_driver/ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@

from xoa_driver.internals.hli_v1.ports.port_l23.family_i import PLoki100G5S2P
from xoa_driver.internals.hli_v1.ports.port_l23.family_j import PThor100G5S4P
from xoa_driver.internals.hli_v1.ports.port_l23.family_k import PThor400G7S1P
from xoa_driver.internals.hli_v1.ports.port_l23.family_k import (
PThor400G7S1P,
PThor400G7S1PLE,
)
from xoa_driver.internals.hli_v1.ports.port_l23.family_l import (
PThor400G7S1P_b,
PThor400G7S1P_c,
Expand Down Expand Up @@ -125,6 +128,7 @@
"PLoki100G5S2P",
"PThor100G5S4P",
"PThor400G7S1P",
"PThor400G7S1PLE",
"PThor400G7S1P_b",
"PThor400G7S1P_c",
"PThor400G7S1P_d",
Expand Down Expand Up @@ -208,6 +212,7 @@
"PLoki100G3S1PB_b",
"PThor100G5S4P",
"PThor400G7S1P",
"PThor400G7S1PLE",
"PThor400G7S1P_b",
"PThor400G7S1P_c",
"PThor400G7S1P_d",
Expand Down
6 changes: 5 additions & 1 deletion xoa_driver/v2/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
)
from xoa_driver.internals.hli_v2.modules.modules_l23.family_i import MLoki100G5S2P
from xoa_driver.internals.hli_v2.modules.modules_l23.family_j import MThor100G5S4P
from xoa_driver.internals.hli_v2.modules.modules_l23.family_k import MThor400G7S1P
from xoa_driver.internals.hli_v2.modules.modules_l23.family_k import (
MThor400G7S1P,
MThor400G7S1PLE,
)
from xoa_driver.internals.hli_v2.modules.modules_l23.family_l import (
MThor400G7S1P_b,
MThor400G7S1P_c,
Expand Down Expand Up @@ -148,6 +151,7 @@
"MLoki100G5S2P",
"MThor100G5S4P",
"MThor400G7S1P",
"MThor400G7S1PLE",
"MThor400G7S1P_b",
"MThor400G7S1P_c",
"MThor400G7S1P_d",
Expand Down
7 changes: 6 additions & 1 deletion xoa_driver/v2/ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@

from xoa_driver.internals.hli_v2.ports.port_l23.family_i import PLoki100G5S2P
from xoa_driver.internals.hli_v2.ports.port_l23.family_j import PThor100G5S4P
from xoa_driver.internals.hli_v2.ports.port_l23.family_k import PThor400G7S1P
from xoa_driver.internals.hli_v2.ports.port_l23.family_k import (
PThor400G7S1P,
PThor400G7S1PLE,
)
from xoa_driver.internals.hli_v2.ports.port_l23.family_l import (
PThor400G7S1P_b,
PThor400G7S1P_c,
Expand Down Expand Up @@ -122,6 +125,7 @@
"PLoki100G5S2P",
"PThor100G5S4P",
"PThor400G7S1P",
"PThor400G7S1PLE",
"PThor400G7S1P_b",
"PThor400G7S1P_c",
"PThor400G7S1P_d",
Expand Down Expand Up @@ -205,6 +209,7 @@
"PLoki100G3S1PB_b",
"PThor100G5S4P",
"PThor400G7S1P",
"PThor400G7S1PLE",
"PThor400G7S1P_b",
"PThor400G7S1P_c",
"PThor400G7S1P_d",
Expand Down