DX NetOps

 View Only
  • 1.  Number of interfaces against device

    Posted Dec 16, 2021 05:42 AM

     It is possible to get the number of available interfaces in PM against each device through odata. I need a report that device a has 20 interfaces and device b has 120 interfaces like that.


  • 2.  RE: Number of interfaces against device

    Broadcom Employee
    Posted Dec 16, 2021 12:59 PM
    URL: /odata/api/portmfs?$apply=groupby(DeviceItemID,%20aggregate(ID%20with%20countdistinct%20as%20Value))&$expand=device&$select=device/ID,device/Name,Value&$format=text/csv

    That should aggregate the number polling interfaces per device itemid for the last hour.