Skip to content

Commit

Permalink
Merge pull request #7 from Keysight/issue-rack-plane2
Browse files Browse the repository at this point in the history
Fixing issue with import of ClosFabricSwitch class
  • Loading branch information
thomas-am authored Nov 5, 2024
2 parents d6eae43 + 4d089eb commit 0e9bb7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rack_plane_fabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

from typing import Tuple

from src.closfabric import ClosFabricSwitch

if __package__ is None or __package__ == "":
import generated.infra_pb2 as infra
import builders as bld
from keysight_chakra.closfabric import ClosFabricSwitch
else:
from .generated import infra_pb2 as infra
from . import builders as bld
from .closfabric import ClosFabricSwitch


class RackPlaneFabricBuilder(bld.FabricBuilder):
Expand All @@ -23,7 +23,7 @@ class RackPlaneFabricBuilder(bld.FabricBuilder):
supports connecting to switching via multiple planes
"""

name: str = "rack plane fabric"
name: str = "RackPlaneFabric"
description: str = "fabric that users multiple planes inside a rack"
lowest_device: bld.DeviceBuilder = None

Expand Down

0 comments on commit 0e9bb7c

Please sign in to comment.