Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / helpdesk / urls.py @ 605d23bf

History | View | Annotate | Download (613 Bytes)

1
from django.conf.urls.defaults import patterns, url
2

    
3
urlpatterns = patterns('',
4
    url(r'^$', 'synnefo.helpdesk.views.index', name='helpdesk-index'),
5
    url(r'^suspend/(?P<vm_id>[0-9]+)$', 'synnefo.helpdesk.views.suspend_vm',
6
        name='helpdesk-suspend-vm'),
7
    url(r'^suspend_release/(?P<vm_id>[0-9]+)$',
8
        'synnefo.helpdesk.views.suspend_vm_release',
9
        name='helpdesk-suspend-vm-release'),
10
    url(r'^api/users', 'synnefo.helpdesk.views.user_list',
11
        name='helpdesk-userslist'),
12
    url(r'^(?P<account_or_ip>.*)$', 'synnefo.helpdesk.views.account',
13
        name='helpdesk-details'),
14
)
15