I have this odata2 url, which returns results:
https://DA_HOSTNAME:8582/odata/api/cpus?$format=text/csv&resolution=RATE&period=630s&$top=15000&$skip=0&top=15000&$expand=device,cpumfs&$select=device/Name,device/PrimaryIPAddress,Name,cpumfs/Timestamp,cpumfs/im_Utilization&$filter=((groups/Name%20eq%20'TEST'))
Using the odata4 url returns just the headers:
https://PC_HOSTNAME:8182/pc/odata4/api/cpus?$top=15000&$skip=0&top=15000&$format=text/csv&resolution=RATE&period=630s&$expand=device($select=Name,PrimaryIPAddress;$top=15000),cpumfs($select=Timestamp,im_Utilization;$top=15000)&$select=Name&$filter=((groups/any(L1:L1/Name eq 'TEST')))
How come the new query does not work like the original?
As of NetOps 25.4.2 Collections and Groups are restricted to devices only. It was always designed to be this way but was not enforced. As of 25.4.2 and above this is now enforced.
If you need subcomponents you will need to select the "Include the children of managed items" checkbox in the Group configuration view:
Symptom: You can add non-devices to the Collections group.
Resolution: With this fix, you can no longer add non-devices to the Collection groups.
(25.4.2, DE176478, 36616005)