Page MenuHomePhabricator

Create program to interact with Atlas RIPE API
Closed, ResolvedPublic

Description

The goal is to create a program that will be able to do the following:

  • Create ping measurement based on country or continent to one or all of our 6 DCs.
  • List and print all measurements by the user
  • Retrieve results printing them on screen or have the results stored in a CSV file
  • Parse retrieved measurements and provide an ordered list of DCs (from low latency to high latency) mapped to each country the measurement was created.

Below are some references to RIPE's API documentation and tools.

Event Timeline

Change 824452 had a related patch set uploaded (by MMandere; author: MMandere):

[operations/dns@master] utils: Add latency measurement program

https://gerrit.wikimedia.org/r/824452

Removing inactive assignee (please do so as part of offboarding - thanks!)

BCornwall triaged this task as Medium priority.Sep 8 2022, 4:04 PM

Change 833848 had a related patch set uploaded (by BCornwall; author: MMandere):

[operations/software/latency-measurement@master] Add latency measurement program

https://gerrit.wikimedia.org/r/833848

Change 824452 abandoned by BCornwall:

[operations/dns@master] utils: Add latency measurement program

Reason:

Moving to operations/software/latency-measurement (https://gerrit.wikimedia.org/r/c/operations/software/latency-measurement/+/833848)

https://gerrit.wikimedia.org/r/824452

While we have https://gerrit.wikimedia.org/r/c/operations/software/latency-measurement/+/833848 available for review, I hear that there'd be pushback for not having any tests.

I see two paths forward:

  1. We commit the current codebase without tests and create a follow-up ticket to create some; or,
  1. We write some tests before committing the code, leaving it in Gerrit

After speaking with @ssingh it sounds like the second option is the preference.

Change 833848 merged by BCornwall:

[operations/software/latency-measurement@master] Add latency measurement program

https://gerrit.wikimedia.org/r/833848