12 lines
350 B
Python
12 lines
350 B
Python
"""Power related api functions"""
|
|
|
|
from .utils import get, redfish_url
|
|
|
|
|
|
def system_details(server: str, username: str, password: str, system: str):
|
|
"""Get the detailed information about a system"""
|
|
url = f"{redfish_url(server, 'Systems')}/{system}"
|
|
|
|
response = get(server, url, username=username, password=password)
|
|
|
|
return response
|