bmcweb: phosphor-dbus-interface: Convert `Step` to string
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/57143/3/redfish-core/lib/processor.hpp
makes the bmcweb ignore `Step` if its value is default (0 in this case).
For a new processor, it's possible that the stepping is really `0`. In
this case, the `Step` will still be ignored which is not expected.
Changing its default to maxint can avoid this issue.
Tested:
bmcweb works fine without errors.
Step also displayed even the value is `0`.
```
root@machine:~# curl localhost/redfish/v1/Systems/system/Processors/cpu0
...
"Step": "0x0000"
...
```
Google-Bug-Id: 268464197
Google-Bug-Id: 268466708
Google-Bug-Id: 267998397
Change-Id: Iea2b967f6e95052c1522a18ec3b41703c4021a11
Signed-off-by: Michael Shen <gpgpgp@google.com>
(cherry picked from commit 4645c0e0a8bb58d0886058fb09705a7889fac801)
4 files changed