2020-06-04 11:31:37 +00:00
|
|
|
from django.urls import path
|
2020-06-16 12:57:50 +00:00
|
|
|
|
2015-04-02 06:37:46 +00:00
|
|
|
from . import views
|
|
|
|
|
2020-06-16 12:57:50 +00:00
|
|
|
app_name = 'instances'
|
|
|
|
|
2015-04-06 07:51:50 +00:00
|
|
|
urlpatterns = [
|
2020-06-16 12:57:50 +00:00
|
|
|
path('', views.allinstances, name='index'),
|
|
|
|
path('<int:compute_id>/<vname>/', views.instance, name='instance'),
|
2020-06-04 11:31:37 +00:00
|
|
|
path('statistics/<int:compute_id>/<vname>/', views.inst_graph, name='inst_graph'),
|
|
|
|
path('status/<int:compute_id>/<vname>/', views.inst_status, name='inst_status'),
|
|
|
|
path('guess_mac_address/<vname>/', views.guess_mac_address, name='guess_mac_address'),
|
|
|
|
path('guess_clone_name/', views.guess_clone_name, name='guess_clone_name'),
|
|
|
|
path('random_mac_address/', views.random_mac_address, name='random_mac_address'),
|
|
|
|
path('check_instance/<vname>/', views.check_instance, name='check_instance'),
|
|
|
|
path('sshkeys/<vname>/', views.sshkeys, name='sshkeys'),
|
2015-04-02 06:37:46 +00:00
|
|
|
]
|