Regarding OpenBmc filtering option

Havaligi, Mruthyunjaya Rao (Jay) mruthyunjaya.rao.havaligi at verizon.com
Wed Aug 10 05:38:28 AEST 2022


Hi,

I am trying the filter option in openbmc (wht-0.91-0-gca8d06-ca8d06b) on
Qemu. I am not able to filter based on the Id. I see where the filtering
option was verified in this link -
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/43505. Also, can I use ge, le
and other options too?

 curl -ku  x:x
'https:/x.x.x.x/redfish/v1/Managers/bmc/EthernetInterfaces?$expand=*'
{
  "@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces",
  "@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
  "Description": "Collection of EthernetInterfaces for this Manager",
  "Members": [
    {
      "@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces/eth0"
    },
    {
      "@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces/eth1"
    }
  ],
  "Members at odata.count": 2,
  "Name": "Ethernet Network Interface Collection"
}
curl -ku xx:xx
https:/x.x.x.x/redfish/v1/Managers/bmc/EthernetInterfaces?$expand=*&$filter=Id
eq 'eth1'
curl: (52) Empty reply from server <<<



Thanks,
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220809/0eaaa2d3/attachment.htm>


More information about the openbmc mailing list