2015-01-05 10:21:34 +00:00
|
|
|
# coding:utf-8
|
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from jasset.views import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
url(r'^$', index),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^host_add/$', jadd_host),
|
2015-02-01 15:00:23 +00:00
|
|
|
url(r'^host_add_multi/$', jadd_host_multi),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^host_list/$', jlist_host),
|
|
|
|
url(r"^(\d+.\d+.\d+.\d+)/$",jlist_ip),
|
|
|
|
url(r'^idc_add/$', jadd_idc),
|
|
|
|
url(r'^idc_list/$', jlist_idc),
|
2015-02-01 15:00:23 +00:00
|
|
|
url(r'^idc_detail/(\d+)$', idc_detail),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^idc_del/(\d+)/$', idc_del),
|
|
|
|
url(r'^group_add/$', jadd_group),
|
2015-02-03 14:45:51 +00:00
|
|
|
url(r'^group_edit/(\d+)/$', group_edit),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^group_list/$', jlist_group),
|
2015-02-03 14:45:51 +00:00
|
|
|
url(r'^group_detail/(\d+)/$', group_detail),
|
|
|
|
url(r'^group_del_host/(\w+)/$', group_del_host),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^group_del/(\d+)/$', group_del),
|
2015-02-01 15:00:23 +00:00
|
|
|
url(r'^host_del/(\w+)/$', host_del),
|
2015-01-31 04:55:10 +00:00
|
|
|
url(r'^host_edit/(\d+)$', host_edit),
|
|
|
|
url(r'^host_edit/batch/$', batch_host_edit),
|
2015-01-19 02:09:16 +00:00
|
|
|
url(r'^test/$', test),
|
2015-01-05 10:21:34 +00:00
|
|
|
)
|