Skip to content

Commit

Permalink
Update urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 30, 2024
1 parent 2886e57 commit 49a74e8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions netbox_rpki/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
from netbox.api.routers import NetBoxRouter

from netbox_rpki.api.views import (
gns3srvViewSet, ptovjobViewSet, switchtojobViewSet, RootView
RpkiCertificateViewSet, RpkiOrganizationViewSet, RpkiCertificateRoaViewSet, RootView
)

app_name = 'netbox_ptov'

router = NetBoxRouter()
router.APIRootView = RootView
router.register('gns3srv', gns3srvViewSet, basename='gns3srv')
router.register('ptovjob', ptovjobViewSet, basename='ptovjob')
router.register('switchtojob', switchtojobViewSet, basename='switchtojob')
router.register('rpkicertificate', RpkiCertificateViewSet, basename='rpkicertificate')
router.register('rpkiorganization', RpkiOrganizationViewSet, basename='rpkiorganization')
router.register('rpkiroa', RpkiRoaViewSet, basename='rpkiroa')
router.register('rpkiroaprefices', RpkiRoaPreficesViewSet, basename='rpkiroaprefices')

urlpatterns = router.urls

0 comments on commit 49a74e8

Please sign in to comment.