stmcginnis / gofish

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
BSD 3-Clause "New" or "Revised" License
211 stars 113 forks source link

How to download service data #203

Closed swahpy closed 5 months ago

swahpy commented 1 year ago

Hi there, I tried to figure out how to download service datat via this package, like XCC logs from lenovo xclarity system, but I didn't find anything. Could you tell me that whether or not I could do that via this package? Thank you in advance.

stmcginnis commented 1 year ago

I'm not familiar with Lenovo's XCC logs, but if they are standard logs I believe you would use the LogService to access them.

If this service data is something specific to Lenovo, then it may be possible this is something you need to use a custom OEM action to access. If that is the case, someone would need to implement an OEM handler to get that in gofish.

Maybe someone with more experience with Lenovo systems can add to this.

swahpy commented 1 year ago

I'm not familiar with Lenovo's XCC logs, but if they are standard logs I believe you would use the LogService to access them.

If this service data is something specific to Lenovo, then it may be possible this is something you need to use a custom OEM action to access. If that is the case, someone would need to implement an OEM handler to get that in gofish.

Maybe someone with more experience with Lenovo systems can add to this.

Yes, I think service data is something specific to lenovo, just like AHS for HPE. So this needs to be implemented by someone else. Thank you for your information.