-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
21 lines (15 loc) · 1 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from django.conf.urls import patterns, include, url
from views import *
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', index, name='index'),
url(r'^ruleoverview/(?P<firewall>[^/]+)', ruleOverview, name='ruleOverview'),
url(r'^zoneoverview/(?P<firewall>[^/]+)', zoneOverview, name='zoneOverview'),
url(r'^updatefirewall/(?P<firewall>[^/]+)', updateFirewall, name='updateFirewall'),
url(r'^addressbook/(?P<firewall>[^/]+)/(?P<zone>[^/]+)', zoneAddressbook, name='zoneAddressbook'),
url(r'^address/(?P<firewall>[^/]+)/(?P<zone>[^/]+)/(?P<address>[^/]+)', viewAddress, name='viewAddress'),
url(r'^addressSet/(?P<firewall>[^/]+)/(?P<zone>[^/]+)/(?P<addressSet>[^/]+)', viewAddressSet, name='viewAddressSet'),
url(r'^application/(?P<firewall>[^/]+)/(?P<application>[^/]+)', viewApplication, name='viewApplication'),
url(r'^applicationSet/(?P<firewall>[^/]+)/(?P<applicationSet>[^/]+)', viewApplicationSet, name='viewApplicationSet'),
)