from secrets.views import secrets from django.urls import path from . import views from create.views import create_instance, create_instance_select_type from instances.views import instances from interfaces.views import interface, interfaces from networks.views import network, networks from nwfilters.views import nwfilter, nwfilters from storages.views import get_volumes, storage, storages from . import forms urlpatterns = [ path('', views.computes, name='computes'), path('add_tcp_host/', views.add_host, {'FormClass': forms.TcpComputeForm}, name='add_tcp_host'), path('add_ssh_host/', views.add_host, {'FormClass': forms.SshComputeForm}, name='add_ssh_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('/', views.overview, name='overview'), path('/statistics/', views.compute_graph, name='compute_graph'), path('/instances/', instances, name='instances'), path('/storages/', storages, name='storages'), path('/storage//volumes/', get_volumes, name='volumes'), path('/storage//', storage, name='storage'), path('/networks/', networks, name='networks'), path('/network//', network, name='network'), path('/interfaces/', interfaces, name='interfaces'), path('/interface//', interface, name='interface'), path('/nwfilters/', nwfilters, name='nwfilters'), path('/nwfilter//', nwfilter, name='nwfilter'), path('/secrets/', secrets, name='secrets'), path('/create/', create_instance_select_type, name='create_instance_select_type'), path('/create/archs//machines//', create_instance, name='create_instance'), path('/archs//machines/', views.get_compute_machine_types, name='machines'), path( '/archs//machines//disks//buses/', views.get_compute_disk_buses, name='buses', ), path( '/archs//machines//capabilities/', views.get_dom_capabilities, name='domcaps', ), ]