We're working on using the v1 API to monitor our switches. We have an MS390-48P switch with SFP modules, one of which is connected to the site's internet link. When querying the API though, I see different portIDs depending on which call I make. /switch/ports returns: “portId”: “1_MA-MOD-4X10G_1”, while /switch/ports/statuses returns: “portId”: “1/4x10G/1”, which I think is the same port based on the text. In any case, "1_MA-MOD-4x10G_1" certainly does not show up in the /switch/ports/statuses return data nor does "1/4x10G/1" show up in the /switch/ports data. That makes it hard to setup monitoring since I need to have a way to discover ports (/switch/ports) and then a way to collect data about those ports (/switch/port/statuses) but it won't work if the portIds don't match. Am I missing something here?
... View more