DMTF / Redfish-Tacklebox

Python based utilities for performing common management operations with Redfish
Other
51 stars 25 forks source link

Added 'rf_assembly.py' to manage Assembly resources on a service #142

Closed mraineri closed 8 months ago

mraineri commented 8 months ago

Some examples:

$ rf_assembly.py -u root -p root -r https://192.168.1.100 -a /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Assembly info
 0     | Contoso Power Supply 
       | Model: 345TTT
       | PartNumber: 923943
       | SerialNumber: 345394834
       | Producer: Contoso Supply Co.
       | Vendor: Contoso
       | ProductionDate: 2017-04-01T14:55:33+03:00
$ rf_assembly.py -u root -p root -r https://192.168.1.100 -a /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Assembly download -f data.bin
Saving data to 'data.bin'...
$ rf_assembly.py -u root -p root -r https://192.168.1.100 -a /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Assembly upload -f data.bin
Writing data from 'data.bin'...
mraineri commented 8 months ago

Approved 3/1