CAIDA / catalog-data

Repo which holds some panda solutions and papers
4 stars 6 forks source link

recipe:how_to_find_an_asns_customer_cone fixes #523

Closed bhuffaker closed 1 year ago

bhuffaker commented 1 year ago

https://catalog.caida.org/recipe/how_to_find_an_asns_customer_cone

Two little tweaks to that python recipe. 
asn = int(customer_cone[0])--I removed the conversion to an int, since the values in the customer_cone are still strings. I use ASs as strings, mostly. 

as_2_cone[asn]["size"] = customer_cone_size[1:] ==remove the [1:] . Thats a bug. 

This was exactly what I needed. I just did not know about it. Foo. Thanks very much.