mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-22 10:34:49 +00:00
Some test for computes
This commit is contained in:
parent
fd25d12f92
commit
f46a14219c
1 changed files with 9 additions and 18 deletions
|
|
@ -12,14 +12,10 @@ from . import forms
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', views.computes, name='computes'),
|
path('', views.computes, name='computes'),
|
||||||
path('add_tcp_host/', views.add_host,
|
path('add_tcp_host/', views.add_host, {'FormClass': forms.TcpComputeForm}, name='add_tcp_host'),
|
||||||
{'FormClass': forms.TcpComputeForm}, name='add_tcp_host'),
|
path('add_ssh_host/', views.add_host, {'FormClass': forms.SshComputeForm}, name='add_ssh_host'),
|
||||||
path('add_ssh_host/', views.add_host,
|
path('add_tls_host/', views.add_host, {'FormClass': forms.TlsComputeForm}, name='add_tls_host'),
|
||||||
{'FormClass': forms.SshComputeForm}, name='add_ssh_host'),
|
path('add_socket_host/', views.add_host, {'FormClass': forms.SocketComputeForm}, name='add_socket_host'),
|
||||||
path('add_tls_host/', views.add_host,
|
|
||||||
{'FormClass': forms.TlsComputeForm}, name='add_tls_host'),
|
|
||||||
path('add_socket_host/', views.add_host,
|
|
||||||
{'FormClass': forms.SocketComputeForm}, name='add_socket_host'),
|
|
||||||
path('<int:compute_id>/', include([
|
path('<int:compute_id>/', include([
|
||||||
path('', views.overview, name='overview'),
|
path('', views.overview, name='overview'),
|
||||||
path('statistics', views.compute_graph, name='compute_graph'),
|
path('statistics', views.compute_graph, name='compute_graph'),
|
||||||
|
|
@ -34,15 +30,10 @@ urlpatterns = [
|
||||||
path('nwfilters/', nwfilters, name='nwfilters'),
|
path('nwfilters/', nwfilters, name='nwfilters'),
|
||||||
path('nwfilter/<str:nwfltr>/', nwfilter, name='nwfilter'),
|
path('nwfilter/<str:nwfltr>/', nwfilter, name='nwfilter'),
|
||||||
path('secrets/', secrets, name='secrets'),
|
path('secrets/', secrets, name='secrets'),
|
||||||
path('create/', create_instance_select_type,
|
path('create/', create_instance_select_type, name='create_instance_select_type'),
|
||||||
name='create_instance_select_type'),
|
path('create/archs/<str:arch>/machines/<str:machine>', create_instance, name='create_instance'),
|
||||||
path('create/archs/<str:arch>/machines/<str:machine>',
|
path('archs/<str:arch>/machines', views.get_compute_machine_types, name='machines'),
|
||||||
create_instance, name='create_instance'),
|
path('archs/<str:arch>/machines/<str:machine>/disks/<str:disk>/buses', views.get_compute_disk_buses, name='buses'),
|
||||||
path('archs/<str:arch>/machines',
|
path('archs/<str:arch>/machines/<str:machine>/capabilities', views.get_dom_capabilities, name='domcaps'),
|
||||||
views.get_compute_machine_types, name='machines'),
|
|
||||||
path('archs/<str:arch>/machines/<str:machine>/disks/<str:disk>/buses',
|
|
||||||
views.get_compute_disk_buses, name='buses'),
|
|
||||||
path('archs/<str:arch>/machines/<str:machine>/capabilities',
|
|
||||||
views.get_dom_capabilities, name='domcaps'),
|
|
||||||
])),
|
])),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue