Initial commit

This commit is contained in:
Neill Cox 2023-09-11 20:22:22 +10:00
commit 1b51716d1b
72 changed files with 8204 additions and 0 deletions

View file

@ -0,0 +1,12 @@
"""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