mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* module docstrings * db schema graph * dev docs first pass * dev docs pass 2 * add generated notification to top of generated docs files * linting * regen docs Co-authored-by: Stefan Pratter <stefan@20c.com> Co-authored-by: Sunshine Buchholz <sunshine@20c.com>
17 lines
375 B
Python
17 lines
375 B
Python
"""
|
|
Update the cache of the RDAP cache from IANA.
|
|
"""
|
|
from django.core.management.base import BaseCommand
|
|
|
|
from peeringdb_server.inet import RdapLookup
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "Updates the cache of the RDAP cache from IANA"
|
|
|
|
def log(self, msg):
|
|
print(msg)
|
|
|
|
def handle(self, *args, **options):
|
|
RdapLookup().write_bootstrap_data("asn")
|