# dell/idrac-redfish-scripting architecture

> Architecture diagram of the GitHub repository dell/idrac-redfish-scripting, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dell/idrac-redfish-scripting
- Repository: https://github.com/dell/idrac-redfish-scripting

## Overview

This repository is a collection of Python and PowerShell examples plus an interactive Python client for managing Dell PowerEdge servers through iDRAC’s Redfish API. The principal workflow is an administrator choosing a standalone script or interactive workflow, supplying iDRAC access details, and querying or changing server configuration; iDRAC returns status, inventory, or job information. The graph groups the documented capabilities by operational domain. Several branches are represented by their existing script directories because individual files were not sampled; links to iDRAC reflect the README’s stated API usage.

Main entry points: [`iDRAC Python Redfish Module/IdracRedfishSupport/__init__.py`](https://github.com/dell/idrac-redfish-scripting/blob/master/iDRAC%20Python%20Redfish%20Module/IdracRedfishSupport/__init__.py) (Interactive client), [`Redfish Python`](https://github.com/dell/idrac-redfish-scripting/tree/master/Redfish%20Python) (Standalone scripts), [`Redfish Python/GetSetBiosAttributesREDFISH.py`](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetSetBiosAttributesREDFISH.py) (BIOS settings), [`Redfish Python/ChangeBiosBootOrderREDFISH.py`](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/ChangeBiosBootOrderREDFISH.py) (Boot configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["User entry points"]
  node_interactive["Interactive client<br/>[__init__.py]"]
  node_standalone["Standalone scripts"]
end

subgraph group_config["Configuration management"]
  node_bios["BIOS settings"]
  node_boot["Boot configuration"]
  node_network["NIC configuration"]
  node_serverprofile["Server profiles"]
end

subgraph group_firmware["Firmware operations"]
  node_firmwareupdate["Firmware updates"]
  node_firmwareupload["Multipart firmware"]
  node_rollback["Firmware rollback"]
end

subgraph group_ops["Operations and inventory"]
  node_storageinventory["Storage inventory"]
  node_virtualdisk["Virtual disks"]
  node_encryption["Storage encryption"]
  node_hardware["Hardware inventory"]
  node_logs["Lifecycle logs"]
  node_support["SupportAssist collection"]
end

node_admin(("Administrator"))
node_idrac["iDRAC Redfish API"]

node_admin -->|"starts session"| node_interactive
node_admin -->|"runs scripts"| node_standalone
node_interactive -->|"manages via Redfish"| node_idrac
node_standalone -->|"calls Redfish API"| node_idrac
node_bios -->|"gets and sets"| node_idrac
node_boot -->|"sets boot order"| node_idrac
node_network -->|"sets properties"| node_idrac
node_serverprofile -->|"imports profiles"| node_idrac
node_storageinventory -->|"reads inventory"| node_idrac
node_virtualdisk -->|"creates disk"| node_idrac
node_encryption -->|"sets encryption"| node_idrac
node_hardware -->|"reads inventory"| node_idrac
node_logs -->|"gets logs"| node_idrac
node_support -->|"collects support data"| node_idrac
node_firmwareupdate -->|"updates firmware"| node_idrac
node_firmwareupload -->|"uploads firmware"| node_idrac
node_rollback -->|"rolls back firmware"| node_idrac

click node_interactive "https://github.com/dell/idrac-redfish-scripting/blob/master/iDRAC%20Python%20Redfish%20Module/IdracRedfishSupport/__init__.py"
click node_standalone "https://github.com/dell/idrac-redfish-scripting/tree/master/Redfish%20Python"
click node_bios "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetSetBiosAttributesREDFISH.py"
click node_boot "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/ChangeBiosBootOrderREDFISH.py"
click node_network "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SetNetworkDevicePropertiesREDFISH.py"
click node_serverprofile "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/ImportSystemConfigurationNetworkShareREDFISH.py"
click node_storageinventory "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetStorageInventoryREDFISH.py"
click node_virtualdisk "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/CreateVirtualDiskREDFISH.py"
click node_encryption "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SetControllerKeyREDFISH.py"
click node_hardware "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetSystemHWInventoryREDFISH.py"
click node_logs "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetIdracLcLogsREDFISH.py"
click node_support "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SupportAssistCollectionLocalREDFISH.py"
click node_firmwareupdate "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareSimpleUpdateREDFISH.py"
click node_firmwareupload "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareMultipartUploadREDFISH.py"
click node_rollback "https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareRollbackREDFISH.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_interactive,node_standalone toneBlue
class node_bios,node_boot,node_network,node_serverprofile toneAmber
class node_firmwareupdate,node_firmwareupload,node_rollback,node_idrac toneMint
class node_storageinventory,node_virtualdisk,node_encryption,node_hardware,node_logs,node_support toneRose
class node_admin toneIndigo
```

## Components

### User entry points

- [Interactive client](https://github.com/dell/idrac-redfish-scripting/blob/master/iDRAC%20Python%20Redfish%20Module/IdracRedfishSupport/__init__.py): `iDRAC Python Redfish Module/IdracRedfishSupport/__init__.py`
- [Standalone scripts](https://github.com/dell/idrac-redfish-scripting/tree/master/Redfish%20Python): `Redfish Python`

### Configuration management

- [BIOS settings](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetSetBiosAttributesREDFISH.py): `Redfish Python/GetSetBiosAttributesREDFISH.py`
- [Boot configuration](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/ChangeBiosBootOrderREDFISH.py): `Redfish Python/ChangeBiosBootOrderREDFISH.py`
- [NIC configuration](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SetNetworkDevicePropertiesREDFISH.py): `Redfish Python/SetNetworkDevicePropertiesREDFISH.py`
- [Server profiles](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/ImportSystemConfigurationNetworkShareREDFISH.py): `Redfish Python/ImportSystemConfigurationNetworkShareREDFISH.py`

### Firmware operations

- [Firmware updates](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareSimpleUpdateREDFISH.py): `Redfish Python/DeviceFirmwareSimpleUpdateREDFISH.py`
- [Multipart firmware](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareMultipartUploadREDFISH.py): `Redfish Python/DeviceFirmwareMultipartUploadREDFISH.py`
- [Firmware rollback](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/DeviceFirmwareRollbackREDFISH.py): `Redfish Python/DeviceFirmwareRollbackREDFISH.py`

### Operations and inventory

- [Storage inventory](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetStorageInventoryREDFISH.py): `Redfish Python/GetStorageInventoryREDFISH.py`
- [Virtual disks](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/CreateVirtualDiskREDFISH.py): `Redfish Python/CreateVirtualDiskREDFISH.py`
- [Storage encryption](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SetControllerKeyREDFISH.py): `Redfish Python/SetControllerKeyREDFISH.py`
- [Hardware inventory](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetSystemHWInventoryREDFISH.py): `Redfish Python/GetSystemHWInventoryREDFISH.py`
- [Lifecycle logs](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/GetIdracLcLogsREDFISH.py): `Redfish Python/GetIdracLcLogsREDFISH.py`
- [SupportAssist collection](https://github.com/dell/idrac-redfish-scripting/blob/master/Redfish%20Python/SupportAssistCollectionLocalREDFISH.py): `Redfish Python/SupportAssistCollectionLocalREDFISH.py`

### Other components

- **Administrator**
- **iDRAC Redfish API**

## Connections

- Administrator → Interactive client: starts session
- Administrator → Standalone scripts: runs scripts
- Interactive client → iDRAC Redfish API: manages via Redfish
- Standalone scripts → iDRAC Redfish API: calls Redfish API
- BIOS settings → iDRAC Redfish API: gets and sets
- Boot configuration → iDRAC Redfish API: sets boot order
- NIC configuration → iDRAC Redfish API: sets properties
- Server profiles → iDRAC Redfish API: imports profiles
- Storage inventory → iDRAC Redfish API: reads inventory (evidence: `Redfish Python/GetStorageInventoryREDFISH.py`)
- Virtual disks → iDRAC Redfish API: creates disk
- Storage encryption → iDRAC Redfish API: sets encryption
- Hardware inventory → iDRAC Redfish API: reads inventory
- Lifecycle logs → iDRAC Redfish API: gets logs
- SupportAssist collection → iDRAC Redfish API: collects support data
- Firmware updates → iDRAC Redfish API: updates firmware
- Multipart firmware → iDRAC Redfish API: uploads firmware
- Firmware rollback → iDRAC Redfish API: rolls back firmware
