2016-07-04 00:48:24 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^new_machine/(?P<userid>[0-9]+)$', views.new_machine, name='new-machine'),
|
2016-07-18 03:30:35 +00:00
|
|
|
url(r'^edit_interface/(?P<interfaceid>[0-9]+)$', views.edit_interface, name='edit-interface'),
|
|
|
|
url(r'^del_machine/(?P<machineid>[0-9]+)$', views.del_machine, name='del-machine'),
|
2016-07-04 00:48:24 +00:00
|
|
|
url(r'^new_interface/(?P<machineid>[0-9]+)$', views.new_interface, name='new-interface'),
|
2016-07-18 03:30:35 +00:00
|
|
|
url(r'^del_interface/(?P<interfaceid>[0-9]+)$', views.del_interface, name='del-interface'),
|
2016-07-07 11:19:03 +00:00
|
|
|
url(r'^add_machinetype/$', views.add_machinetype, name='add-machinetype'),
|
2016-07-08 00:48:44 +00:00
|
|
|
url(r'^edit_machinetype/(?P<machinetypeid>[0-9]+)$', views.edit_machinetype, name='edit-machinetype'),
|
2016-07-07 11:19:03 +00:00
|
|
|
url(r'^del_machinetype/$', views.del_machinetype, name='del-machinetype'),
|
2016-07-08 00:48:44 +00:00
|
|
|
url(r'^index_machinetype/$', views.index_machinetype, name='index-machinetype'),
|
2016-07-08 15:54:06 +00:00
|
|
|
url(r'^add_extension/$', views.add_extension, name='add-extension'),
|
|
|
|
url(r'^edit_extension/(?P<extensionid>[0-9]+)$', views.edit_extension, name='edit-extension'),
|
|
|
|
url(r'^del_extension/$', views.del_extension, name='del-extension'),
|
|
|
|
url(r'^index_extension/$', views.index_extension, name='index-extension'),
|
2016-07-18 21:22:59 +00:00
|
|
|
url(r'^rest/mac-ip/$', views.interface_list, name='interface-list'),
|
2016-07-04 00:48:24 +00:00
|
|
|
url(r'^$', views.index, name='index'),
|
|
|
|
]
|