VRE Backend API and Scheduler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
1.2 KiB

from django.urls import path
from .views import (VirtualMachineGPUProviderViewSet,
VirtualMachineMemoryProviderViewSet,
VirtualMachineNetworkProviderViewSet,
VirtualMachineOperatingSystemProviderViewSet,
VirtualMachineProfileProviderViewSet,
VirtualMachineStorageProviderViewSet)
urlpatterns = [
path('<path:provider>/gpu/', VirtualMachineGPUProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_gpu_provider-list'),
path('<path:provider>/memory/', VirtualMachineMemoryProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_memory_provider-list'),
path('<path:provider>/network/', VirtualMachineNetworkProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_network_provider-list'),
path('<path:provider>/os/', VirtualMachineOperatingSystemProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_os_provider-list'),
path('<path:provider>/profiles/', VirtualMachineProfileProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_profiles_provider-list'),
path('<path:provider>/storage/', VirtualMachineStorageProviderViewSet.as_view({'get': 'list'}), name='virtual_machine_storage_provider-list'),
]