dnmapper/bgpdata/urls.py

15 lines
622 B
Python
Raw Normal View History

2018-01-19 13:28:52 +01:00
# This file is part of dnmapper, an AS--level mapping tool
# Licensed under GNU General Public License v3 or later
# Written by Sebastian Lohff (seba@someserver.de)
2020-06-07 02:19:50 +02:00
from django.conf.urls import url
2018-01-19 13:28:52 +01:00
2019-10-15 23:04:25 +02:00
from bgpdata import views as bgpdata_views
2015-03-27 15:33:54 +01:00
2019-10-15 23:04:25 +02:00
urlpatterns = (
2020-06-10 03:12:23 +02:00
url(r'^$', bgpdata_views.overview, name='overview'),
url(r'^([0-9]+)/$', bgpdata_views.showMap, name='show_map'),
url(r'^new/([0-9]+)/$', bgpdata_views.show_new_map, name='show_map'),
url(r'^new/(?P<crawl_id>live)/$', bgpdata_views.show_new_map, name='show_live_map'),
url(r'^lastseen/$', bgpdata_views.show_asn_last_seen, name='lastseen'),
2015-03-27 15:33:54 +01:00
)