<div dir="ltr"><div dir="ltr"><div>As I see it, RRCs collect best path views from each of its peers. (TBH, I didn't check if BGP sessions from RRC to its peers are multipath enabled, but a quick check on several data points showed only one as path per peer). So all entries that you receive with that RIPEstat resource query are best paths. Just that they are best paths for the RRC's peer ASN in that location.</div><div><br></div><div>You shouldn't care what would be the RRC's best path algorithm result since it is not forwarding and no customers behind it's ASN.</div><div><br></div><div>Hope the thoughts help :)<br></div><div><div><div><div><div dir="ltr"><div dir="ltr"><div><br></div><div>-- -- --<br></div><div>BR,<div>Vainius Dangovas</div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 19, 2023 at 6:53 PM Ehsan Ghazizadeh <<a href="mailto:ehsan.ccsp@gmail.com" target="_blank">ehsan.ccsp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Yeah exactly, ripe stat returns all paths to that specific prefix not the best path, (its multipath in bgp perspective). I need to know which as-path is being chosen from different location of Europe and America to my asn, it's for tshoot purposes. We are a cloud provider and sometimes bgp changes cause performance issues (it can happen only to some of prefixes and can't be easily discovered by our monitoring system), I want to be informed about bgp path changes before customers sense its affect. I currently have bgpalerter. <br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 19, 2023, 7:01 PM Vainius Dangovas <<a href="mailto:Vainius.Dangovas@smn.lt" target="_blank">Vainius.Dangovas@smn.lt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="en-LT">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, Ehsan,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Have You tried RIPEstat?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I guess this data would be useful for Your use:
<a href="https://stat.ripe.net/data/looking-glass/data.json?resource=1.1.1.0/24" rel="noreferrer" target="_blank">
https://stat.ripe.net/data/looking-glass/data.json?resource=1.1.1.0/24</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">As I understand RRCs get updates only about the best path (from the RRC peer’s point of view) about the prefix in question.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This call is also used in
<a href="https://stat.ripe.net/app/launchpad/" rel="noreferrer" target="_blank">https://stat.ripe.net/app/launchpad/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:rgb(23,56,94)" lang="FI">Pagarbiai / Best regards,</span><span style="font-size:12pt;font-family:"Times New Roman",serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:12pt;color:rgb(0,70,128)" lang="LT">Vainius Dangovas<u></u><u></u></span></b></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(91,91,91)" lang="LT">Mobile: +370 680 80876</span><span style="font-size:12pt;font-family:"Times New Roman",serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(23,56,94)"><a href="mailto:vainius.dangovas@smn.lt" title="mailto:vainius.dangovas@smn.lt" rel="noreferrer" target="_blank"><span style="font-size:10pt;color:rgb(4,74,145)">vainius.dangovas@smn.lt</span></a></span><span style="font-size:12pt;font-family:"Times New Roman",serif;color:black"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">routing-wg <<a href="mailto:routing-wg-bounces@ripe.net" rel="noreferrer" target="_blank">routing-wg-bounces@ripe.net</a>> on behalf of Ehsan Ghazizadeh <<a href="mailto:ehsan.ccsp@gmail.com" rel="noreferrer" target="_blank">ehsan.ccsp@gmail.com</a>><br>
<b>Date: </b>2023 March 19, Sunday 09:20<br>
<b>To: </b>routing-wg <<a href="mailto:routing-wg@ripe.net" rel="noreferrer" target="_blank">routing-wg@ripe.net</a>><br>
<b>Subject: </b>[routing-wg] BGP Best Path data from different RIS<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hi everyone <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm trying to write a python script to fetch bgp best path data for my prefixes from different locations. Apparently ripe stat only returns the full routing table not the best path, also connecting via telnet to routeviews routers and parsing
 bgp commands output is not an ideal method, so I was wondering is there any other method to achieve this (preferably using api)?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
Šiame laiške ir bet kokiuose jo prieduose pateikiama informacija yra konfidenciali ir skirta tik tam asmeniui, kuriam ji adresuota. Jei Jūs nesate adresatas, Jūs neturite teisės gautos informacijos bet kokiu būdu naudoti. Jei Jūs per klaidą gavote šį laišką,
 prašome nedelsiant pranešti jo siuntėjui bei iškart ištrinti šį laišką ir bet kokius jos priedus iš Jūsų sistemų. Informaciją apie asmens duomenų tvarkymą galite perskaityti <a href="https://www.smn.lt/duomenu-apsauga-2/" rel="noreferrer" target="_blank">https://www.smn.lt/duomenu-apsauga-2/</a>. || The information contained in this e-mail
 and its attachments is confidential and intended only for a person to whom it is addressed. If you are not the intended addressee you may not use this information in any way. If you have received this e-mail in error, please notify the sender and delete all
 copies of the e-mail and its attachments form your systems immediately. Information about processing of personal data can be found at <a href="https://www.smn.lt/duomenu-apsauga-2/" rel="noreferrer" target="_blank">https://www.smn.lt/duomenu-apsauga-2/</a>.
</div>

</blockquote></div></div></div>
-- <br>
<br>
To unsubscribe from this mailing list, get a password reminder, or change your subscription options, please visit: <a href="https://lists.ripe.net/mailman/listinfo/routing-wg" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman/listinfo/routing-wg</a><br>
</blockquote></div>
</div>