We are using this endpoint for one of our solutions -/api/v1/organizations/{organizationId}/uplinksLossAndLatency
Sometimes the uplink value shows "NULL" . It possibly means that the uplink port is down or failed over but there are performance metrics still alive. For instance
{ "networkId": "L_647955396387936173", "serial": "Q2QN-SJJP-8KA7", "uplink": null, "ip": "10.2xx.2.1x",
"timeSeries": [
{ "ts": "2020-11-13T17:58:45Z", "lossPercent": 0.0, "latencyMs": 125.0 },
{ "ts": "2020-11-13T17:59:44Z", "lossPercent": null, "latencyMs": null },
{ "ts": "2020-11-13T18:00:44Z", "lossPercent": 100.0, "latencyMs": 0.0 },
{ "ts": "2020-11-13T18:01:44Z", "lossPercent": null, "latencyMs": null },
{ "ts": "2020-11-13T18:02:44Z", "lossPercent": null, "latencyMs": null } ] }
I presume this means we could ignore this Uplink port and not act on it ? Just needed clarification on this
Question 1: - what does a NULL uplink value in perf stats endpoint really mean and could we ignore the stats when its NULL
also request some clarifications on the following results.
Few of the uplink stats results from the `uplinksLossAndLatency` end point have the same IP but different uplinks and serial numbers
"networkId": "L_647955396387935591",
"serial": "Q2QN-L75M-VXN3",<---
"uplink": "wan1",
"ip": "192.84.xx.11",
"networkId": "L_647955396387935591",
"serial": "Q2QN-L75M-VXN3",
"uplink": "wan2",
"ip": "192.84.xx.11",
"networkId": "L_647955396387935591",
"serial": "Q2QN-Z7PG-E3DF",<---
"uplink": "wan2",
"ip": "192.84.xx.11",
"networkId": "L_647955396387935591",
"serial": "Q2QN-Z7PG-E3DF",
"uplink": "wan1",
"ip": "192.84.xx.11",""
xx are al the same above
and some results have same Uplink name and Serial number but different IP addresses
{ "networkId": "L_647955396387936173",
"serial": "Q2QN-6QQK-J2L5", <-
"uplink": "wan1", <-
"ip": "182.74.17.1",<-----------------------IP1-----------
"timeSeries": [ { "ts": "2020-11-13T17:58:16Z", "lossPercent": 0.0, "latencyMs": 45.2 },
] }
{ "networkId": "L_647955396387936173",
"serial": "Q2QN-6QQK-J2L5",<-
"uplink": "wan1", <-
"ip": "182.74.17.147",<-----------------------IP2-----------
"timeSeries": [ { "ts": "2020-11-13T17:58:16Z", "lossPercent": 0.0, "latencyMs": 46.5 },] }
Question 2:
What is the relationship between serial number , IP and uplink name . We know uplink values could be only the follow 4 values- wan1 , wan2 , cellular and NULL. but unsure on when the two possible cases mentioned above occur. (same uplink/serial , diff IP and same ip , diff uplink/serial)
Thanks for your time .