Skip to content

Commit cd77e67

Browse files
committed
Remove unused helper methods
1 parent 5d48976 commit cd77e67

File tree

1 file changed

+0
-14
lines changed
  • python/understack-workflows/understack_workflows

1 file changed

+0
-14
lines changed

python/understack-workflows/understack_workflows/helpers.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
from functools import partial
55
from urllib.parse import urlparse
66

7-
import sushy
8-
97

108
def setup_logger(name: str | None = None, level: int = logging.DEBUG):
119
"""Standardize our logging.
@@ -61,15 +59,3 @@ def credential(subpath, item):
6159
with ref.open() as f:
6260
return f.read().strip()
6361

64-
65-
def oob_sushy_session(oob_ip, oob_username, oob_password):
66-
return sushy.Sushy(
67-
f"https://{oob_ip}",
68-
username=oob_username,
69-
password=oob_password,
70-
verify=False,
71-
)
72-
73-
74-
def is_off_board(interface):
75-
return "Embedded ALOM" in interface.location or "Embedded" not in interface.location

0 commit comments

Comments
 (0)