예제 #1
0
    url(r'^project/(?P<project_uuid>%s)/volume/(?P<volume_id>%s)$'
        % (uuid_match,uuid_match),
        ProjectVolumeExchange.as_view(),
        name='project-volume-exchange'),

    url(r'^maintenance/(?P<record_id>%s)$' % (id_match,),
        MaintenanceRecord.as_view(),
        name='maintenance-record'),
    url(r'^notification$', NotificationList.as_view()),
    url(r'^token_emulate/(?P<username>.*)$', TokenEmulate.as_view()),


    url(provider_specific + r'/occupancy$',
        Occupancy.as_view(), name='occupancy'),
    url(provider_specific + r'/hypervisor$',
        Hypervisor.as_view(), name='hypervisor'),

    #Application Bookmarks (Leave out until new UI Ready )
    url(r'^bookmark$',
        ApplicationBookmarkList.as_view(), name='bookmark-list'),

    url(r'^bookmark/application$',
        ApplicationBookmarkList.as_view(), name='bookmark-application-list'),

    url(r'^bookmark/application/(?P<app_uuid>%s)$' % uuid_match,
        ApplicationBookmarkDetail.as_view(), name='bookmark-application'),

    url(identity_specific + r'/image_export$',
        ExportRequestList.as_view(), name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>%s)$' % (id_match,),
        ExportRequest.as_view(), name='machine-export'),
예제 #2
0
        ProjectVolumeList.as_view(),
        name='project-volume-list'),
    url(r'^project/(?P<project_uuid>%s)/volume/(?P<volume_id>%s)$' %
        (uuid_match, uuid_match),
        ProjectVolumeExchange.as_view(),
        name='project-volume-exchange'),
    url(r'^maintenance/(?P<record_id>%s)$' % (id_match, ),
        MaintenanceRecord.as_view(),
        name='maintenance-record'),
    url(r'^notification$', NotificationList.as_view()),
    url(r'^token_emulate/(?P<username>.*)$', TokenEmulate.as_view()),
    url(provider_specific + r'/occupancy$',
        Occupancy.as_view(),
        name='occupancy'),
    url(provider_specific + r'/hypervisor$',
        Hypervisor.as_view(),
        name='hypervisor'),

    #Application Bookmarks (Leave out until new UI Ready )
    url(r'^bookmark$', ApplicationBookmarkList.as_view(),
        name='bookmark-list'),
    url(r'^bookmark/application$',
        ApplicationBookmarkList.as_view(),
        name='bookmark-application-list'),
    url(r'^bookmark/application/(?P<app_uuid>%s)$' % uuid_match,
        ApplicationBookmarkDetail.as_view(),
        name='bookmark-application'),
    url(identity_specific + r'/image_export$',
        ExportRequestList.as_view(),
        name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>%s)$' %
예제 #3
0
파일: urls.py 프로젝트: nickeddy/atmosphere
    url(r'api/v1/version/$', Version.as_view()),
    url(r'^api/v1/maintenance/$',
        MaintenanceRecordList.as_view(),
        name='maintenance-record-list'),
    url(r'^api/v1/maintenance/(?P<record_id>\d+)/$',
        MaintenanceRecord.as_view(),
        name='maintenance-record'),
    url(r'^api/v1/notification/$', NotificationList.as_view()),

    url(r'^api/v1/user/$', atmo_valid_token_required(UserManagement.as_view())),
    url(r'^api/v1/user/(?P<username>.*)/$', User.as_view()),
    url(r'^api/v1/profile/$', Profile.as_view(), name='profile'),
    url(r'^api/v1/provider/(?P<provider_id>\d+)/occupancy/$',
        Occupancy.as_view()),
    url(r'^api/v1/provider/(?P<provider_id>\d+)/hypervisor/$',
        Hypervisor.as_view()),

    url(r'^api/v1/group/$', GroupList.as_view()),
    url(r'^api/v1/group/(?P<groupname>.*)/$', Group.as_view()),

    url(r'^api/v1/tag/$', TagList.as_view()),
    url(r'^api/v1/tag/(?P<tag_slug>.*)/$', Tag.as_view()),

    url(r'^api/v1/application/$',
        ApplicationListNoAuth.as_view(),
        name='application-list-no-auth'),

    url(r'^api/v1/instance/$', InstanceHistory.as_view(),
        name='instance-history'),

    url(r'^api/v1/request_image/$',
예제 #4
0
     ProjectInstanceExchange.as_view(),
     name="project-instance-exchange",
 ),
 url(r"project/(?P<project_id>\d+)/volume$", ProjectVolumeList.as_view(), name="project-volume-list"),
 url(
     r"project/(?P<project_id>\d+)/volume/(?P<volume_id>[a-zA-Z0-9-]+)$",
     ProjectVolumeExchange.as_view(),
     name="project-volume-exchange",
 ),
 url(r"^maintenance/(?P<record_id>\d+)$", MaintenanceRecord.as_view(), name="maintenance-record"),
 url(r"^notification$", NotificationList.as_view()),
 url(r"^token_emulate/(?P<username>.*)$", TokenEmulate.as_view()),
 # url(r'^user$', atmo_valid_token_required(UserManagement.as_view())),
 # url(r'^user/(?P<username>.*)$', User.as_view()),
 url(provider_specific + r"/occupancy$", Occupancy.as_view(), name="occupancy"),
 url(provider_specific + r"/hypervisor$", Hypervisor.as_view(), name="hypervisor"),
 # Application Bookmarks (Leave out until new UI Ready )
 url(r"^bookmark$", ApplicationBookmarkList.as_view(), name="bookmark-list"),
 url(r"^bookmark/application$", ApplicationBookmarkList.as_view(), name="bookmark-application-list"),
 url(
     r"^bookmark/application/(?P<app_uuid>[a-zA-Z0-9-]+)$",
     ApplicationBookmarkDetail.as_view(),
     name="bookmark-application",
 ),
 # Machine Requests (Staff view)
 url(r"^request_image$", MachineRequestStaffList.as_view(), name="direct-machine-request-list"),
 url(
     r"^request_image/(?P<machine_request_id>\d+)$",
     MachineRequestStaff.as_view(),
     name="direct-machine-request-detail",
 ),
예제 #5
0


    url(r'^maintenance/(?P<record_id>\d+)$',
        MaintenanceRecord.as_view(),
        name='maintenance-record'),
    url(r'^notification$', NotificationList.as_view()),
    url(r'^token_emulate/(?P<username>.*)$', TokenEmulate.as_view()),

    #url(r'^user$', atmo_valid_token_required(UserManagement.as_view())),
    #url(r'^user/(?P<username>.*)$', User.as_view()),

    url(provider_specific + r'/occupancy$',
        Occupancy.as_view(), name='occupancy'),
    url(provider_specific + r'/hypervisor$',
        Hypervisor.as_view(), name='hypervisor'),

    #Application Bookmarks (Leave out until new UI Ready )
    url(r'^bookmark$',
        ApplicationBookmarkList.as_view(), name='bookmark-list'),

    url(r'^bookmark/application$',
        ApplicationBookmarkList.as_view(), name='bookmark-application-list'),

    url(r'^bookmark/application/(?P<app_uuid>[a-zA-Z0-9-]+)$',
        ApplicationBookmarkDetail.as_view(), name='bookmark-application'),


    #Machine Requests (Staff view)
    url(r'^request_image$',
        MachineRequestStaffList.as_view(), name='direct-machine-request-list'),