jumpserver/jasset/urls.py

25 lines
886 B
Python
Raw Normal View History

# coding:utf-8
from django.conf.urls import patterns, include, url
from jasset.views import *
urlpatterns = patterns('',
2015-02-05 10:53:57 +00:00
url(r'^host_add/$', add_host),
url(r"^host_add_multi/$", add_host_multi),
url(r'^host_list/$', list_host),
2015-02-09 11:02:25 +00:00
url(r'^search/$', host_search),
2015-02-05 10:53:57 +00:00
url(r"^(\d+.\d+.\d+.\d+)/$", jlist_ip),
url(r'^idc_add/$', add_idc),
url(r'^idc_list/$', list_idc),
2015-03-12 03:03:53 +00:00
url(r'^idc_edit/$', edit_idc),
2015-02-11 09:53:17 +00:00
url(r'^idc_detail/$', detail_idc),
2015-03-07 10:37:23 +00:00
url(r'^idc_del/(\w+)/$', del_idc),
2015-03-07 09:37:40 +00:00
url(r'^jgroup_add/$', add_group),
2015-02-09 11:02:25 +00:00
url(r'^group_edit/$', edit_group),
2015-03-07 09:37:40 +00:00
url(r'^jgroup_list/$', list_group),
2015-02-11 09:53:17 +00:00
url(r'^group_detail/$', detail_group),
url(r'^group_del_host/(\w+)/$', group_del_host),
2015-03-07 10:37:23 +00:00
url(r'^group_del/(\w+)/$', group_del),
url(r'^host_del/(\w+)/$', host_del),
2015-02-11 09:53:17 +00:00
url(r'^host_edit/$', host_edit),
url(r'^host_edit/batch/$', batch_host_edit),
)