Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • API
    • None

    Description

      Hello,

       

      it would be great to have some additions to the api like the following:

      /vlans/id - get details of a vlan with device ids and port ids

      /ports/?ifVlan= - search interfaces by vlan like ifAlias. Maybe include tagged vlans

      Attachments

        Activity

          [OBS-4235] New API Endpoints

          I think I avoided creating VLAN API endpoints because the data is not entirely reliable. We see untagged vlans (ifVlan) and tagged vlans  via different routes, so it's difficult to include all of the information and it might well be somewhat inaccurate/misleading if people rely on it for planning purposes.

          I've added filtering by ifVlan in r12268. I've also added a very basic /vlans/$id/ endpoint in r12270

          This per-vlan endpoint could get very messy, as you might want the actual port and device entity data. I'm just returning the port_id and device_id at the moment.

          adam.

           

          adama Adam Armstrong added a comment - I think I avoided creating VLAN API endpoints because the data is not entirely reliable. We see untagged vlans (ifVlan) and tagged vlans  via different routes, so it's difficult to include all of the information and it might well be somewhat inaccurate/misleading if people rely on it for planning purposes. I've added filtering by ifVlan in r12268. I've also added a very basic /vlans/$id/ endpoint in r12270 This per-vlan endpoint could get very messy, as you might want the actual port and device entity data. I'm just returning the port_id and device_id at the moment. adam.  

          People

            adama Adam Armstrong
            Phhere Philipp Rehs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: