-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add rir_* fields to keep track of ASN status #473
Comments
+1 and please make them visible via API as well |
Having RIR information for networks would be really nice as it allows
@peeringdb/pc, what's your mind? |
Do we need |
I don't think we need |
@shane-kerr, if you look at the stats published daily by the RIR, there is a unique mapping between ASN and CC (see e.g. ftp://ftp.ripe.net/pub/stats/) |
we should not aspire to copy and build a data model around that mapping I think
…On Mon, Jan 6, 2020 at 11:05 PM Arnold Nipper ***@***.***> wrote:
Do we need rir_cc though? There are so many cases where an ASN and/or the organization that manages it are in more than one country, I'm not sure that it has any real value.
@shane-kerr, if you look at the stats published daily by the RIR, there is a unique mapping between ASN and CC (see e.g. ftp://ftp.ripe.net/pub/stats/)
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@shane-kerr and @job, the Outreach Committee is using |
I'm afraid this discussion matches pretty closely discussions about assigning country codes to IP addresses in the RIR database itself. It goes like this:
If we want to know about countries, shouldn't we be looking at facilities, which are physical locations and are almost always associated with a country code (I suppose there may be some ships that this doesn't apply to)? These seem much more likely to be correct than RIR information. We already have this in PeeringDB and don't have to copy it from the various RIR databases.... |
How do facilities correspond to networks? And |
In light of that information, I'd say let's not have If the cc information is inaccurate, it's useless at best and misleading at worst -- plus it's easy to add a field and needs a major release to remove one, so let's let the RIRs figure it out and then we can add if needed. :)
Sure, but if RIPE, for example, is saying it's inaccurate, what real value is there? An interesting (and unique to PDB) stat could be a list of countries that an ASN is operating in. |
RIPE NCC != RIPE ... these matching between ASN and CC are done by RIPE NCC and has nothing to do with the RIPE DB. The RIPE DB aut-num does not have a cc field. whois -t aut-num | grep -c ^country: While for e.g. organisation there is such a field. whois -t organisation | grep -c ^country:
But that then would be a PeeringDB field, set by the network. |
To get this moved forward I give in :) Summary: Add two new fields to object
The purpose is to auto-delete unassigned networks. @grizz, @job and @shane-kerr: ok with you? |
+1 |
1 similar comment
+1 |
@peeringdb/pc This will require regular ASN lookups, how often should it run? It should probably limit to X networks at a time, or just run continuously with some sort of sleep in there. Does anyone have a preference? Status doesn't appear to be in the RDAP data, are we to assume that if the data is there, it's status is valid? |
My idea was to do
on a daily/bidaily/weekly basis and then update the status. The format is
|
@grizz @vegu @egfrank ... what's missing? @mcmanuss8 and @leovegoda please step in! |
I think this is a good way of telling users how fresh the data for the AS Number is. My one question is what we want the country code to mean. What should users infer? The legal home country of the registrant, the country in which most of their network is located, or something else? |
My dear colleagues already refused to have the field |
@leo, please push forward. This is hanging around for ages now. |
To push this forward it needs to move from "3a Needs Implementation discussion" status to "Ready for implementation." Are we decided that it is ready for implementation? |
summary
|
Personally excited for the enhancement!
…On Fri, May 27, 2022 at 4:12 PM Stefan Pratter ***@***.***> wrote:
*summary*
- Add two new fields to object net on both API and UX
- rir_status: string "ok" for good
- rir_status_updated: timestamp of when last checked
- Implement script that retrieves and updates those fields based on
logic outlined in this comment
<#473 (comment)>
—
Reply to this email directly, view it on GitHub
<#473 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOZM2AKNV2R3MR2LJUPCGBLVMDJ5NANCNFSM4HFYUX4Q>
.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
--
Yours Sincerely,
Yolandi Robinson
Email: ***@***.***
Skype: yolandi.robinson97
|
add rir_* fields to keep track of ASN status #473 See merge request gh/peeringdb/peeringdb!306
* Organization Merging Tool only offers the first 10 matches #941 * AC Change User Permission broken #1043 * change rs peer icon and move to policy column (#727) * An account with admin status can not have permissions #1157 * add rir_* fields to keep track of ASN status #473 * poetry relock for rdap 1.3.0 * Ops: Limit Django session creation for unauthenticated requests (#1205) * refactor 941 changes to honor grappelli field configuration and also fix broken end anchors * check term has a value * fix tests * poetry reloc and pin django-peeringdb to 2.14.0 * fix middleware test * linting * set more reasonable default RIR_ALLOCATION_DATA_CACHE_DAYS * better default dir for RIR_ALLOCATION_DATA_PATH * fix csv export for advanced search * fix issues with tests failing on CSRF_USE_SESSIONS when they are using RequestFactory * tox.ini for flake8 options * regen docs * regen docs Co-authored-by: David Poarch <dpoarch@20c.com>
* Organization Merging Tool only offers the first 10 matches peeringdb#941 * AC Change User Permission broken peeringdb#1043 * change rs peer icon and move to policy column (peeringdb#727) * An account with admin status can not have permissions peeringdb#1157 * add rir_* fields to keep track of ASN status peeringdb#473 * poetry relock for rdap 1.3.0 * Ops: Limit Django session creation for unauthenticated requests (peeringdb#1205) * refactor 941 changes to honor grappelli field configuration and also fix broken end anchors * check term has a value * fix tests * poetry reloc and pin django-peeringdb to 2.14.0 * fix middleware test * linting * set more reasonable default RIR_ALLOCATION_DATA_CACHE_DAYS * better default dir for RIR_ALLOCATION_DATA_PATH * fix csv export for advanced search * fix issues with tests failing on CSRF_USE_SESSIONS when they are using RequestFactory * tox.ini for flake8 options * regen docs * regen docs Co-authored-by: David Poarch <dpoarch@20c.com>
* Organization Merging Tool only offers the first 10 matches peeringdb#941 * AC Change User Permission broken peeringdb#1043 * change rs peer icon and move to policy column (peeringdb#727) * An account with admin status can not have permissions peeringdb#1157 * add rir_* fields to keep track of ASN status peeringdb#473 * poetry relock for rdap 1.3.0 * Ops: Limit Django session creation for unauthenticated requests (peeringdb#1205) * refactor 941 changes to honor grappelli field configuration and also fix broken end anchors * check term has a value * fix tests * poetry reloc and pin django-peeringdb to 2.14.0 * fix middleware test * linting * set more reasonable default RIR_ALLOCATION_DATA_CACHE_DAYS * better default dir for RIR_ALLOCATION_DATA_PATH * fix csv export for advanced search * fix issues with tests failing on CSRF_USE_SESSIONS when they are using RequestFactory * tox.ini for flake8 options * regen docs * regen docs Co-authored-by: David Poarch <dpoarch@20c.com>
Currently, the list is:
rir_status
: string "ok" for goodrir_status_updated
: timestamp of when last checkedrir_cc
: country code for the ASNThe text was updated successfully, but these errors were encountered: