Redfishtool Systems Asset Tags
Asset tags can be used to identify computer systems.
Set an asset tag
$ onprem redfishtool Systems setAssetTag abc -I chse92h32ckk7b33ijbg
Asset tag has been set
Find a computer system by its asset tag
$ onprem redfishtool Systems get -M AssetTag:abc
#
# Systems Resource:
{
"@odata.id": "/redfish/v1/Systems/chse92h32ckk7b33ijbg",
"@odata.type": "#ComputerSystem.v1_14_0.ComputerSystem",
"AssetTag": "abc",
"HostName": "c001-b1-n1",
"Id": "chse92h32ckk7b33ijbg",
"Links": {
"Chassis": [
{
"@odata.id": "cfun66932ckl0mq3ff20"
}
]
},
"Manufacturer": "Raspberry Pi",
"MemorySummary": {
"TotalSystemMemoryGiB": 1
},
"Model": "4B Rev 1.4",
"Name": "c001-b1-n1",
"ProcessorSummary": {
"CoreCount": 4,
"Count": 4,
"LogicalProcessorCount": 4
},
"Product": "On Prem Agent",
"SerialNumber": "10000000cde3e2dc",
"UUID": "25fd21bc-ed22-5bf4-aff4-f7ecc07e634e"
}