Exemple #1
0
    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'),

    url(identity_specific + r'/hypervisor$',
        HypervisorList.as_view(), name='hypervisor-list'),
    url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' % (id_match,),
        HypervisorDetail.as_view(), name='hypervisor-detail'),

    url(identity_specific + r'/step$',
        StepList.as_view(), name='step-list'),
    url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match,
        Step.as_view(), name='step-detail'),


    url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match,
        MachineVote.as_view(), name='machine-vote'),

    url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
    url(identity_specific + r'/meta/(?P<action>.*)$',
        MetaAction.as_view(), name='meta-action'),

    url(identity_specific + r'/members$',
        IdentityMembershipList.as_view(), name='identity-membership-list'),
    url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match,
        IdentityMembership.as_view(), name='identity-membership-detail'),
Exemple #2
0
     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'),
 url(identity_specific + r'/hypervisor$',
     HypervisorList.as_view(),
     name='hypervisor-list'),
 url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' %
     (id_match, ),
     HypervisorDetail.as_view(),
     name='hypervisor-detail'),
 url(identity_specific + r'/step$', StepList.as_view(), name='step-list'),
 url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match,
     Step.as_view(),
     name='step-detail'),
 url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match,
     MachineVote.as_view(),
     name='machine-vote'),
 url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
 url(identity_specific + r'/meta/(?P<action>.*)$',
     MetaAction.as_view(),
     name='meta-action'),
 url(identity_specific + r'/members$',
     IdentityMembershipList.as_view(),
     name='identity-membership-list'),
 url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match,
     IdentityMembership.as_view(),
Exemple #3
0
     name='instance-detail'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/instance/$',
     InstanceList.as_view(),
     name='instance-list'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/size/$',
     SizeList.as_view(),
     name='size-list'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/size/(?P<size_id>\d+)/$',
     Size.as_view(),
     name='size-detail'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/step/$',
     StepList.as_view(),
     name='step-list'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/step/(?P<step_id>[a-zA-Z0-9-]+)/$',
     Step.as_view(),
     name='step-detail'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/volume/$',
     VolumeList.as_view(),
     name='volume-list'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/volume/(?P<volume_id>[a-zA-Z0-9-]+)/$',
     Volume.as_view(),
     name='volume-detail'),
 url(r'^api/v1/provider/(?P<provider_id>\d+)' +
     '/identity/(?P<identity_id>\d+)/machine/$',
Exemple #4
0
    url(
        provider_specific + r"/account/(?P<username>([A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*))$",
        Account.as_view(),
        name="account-management",
    ),
    url(identity_specific + r"/image_export$", MachineExportList.as_view(), name="machine-export-list"),
    url(
        identity_specific + r"/image_export/(?P<machine_request_id>\d+)$",
        MachineExport.as_view(),
        name="machine-export",
    ),
    url(identity_specific + r"/hypervisor$", HypervisorList.as_view(), name="hypervisor-list"),
    url(
        identity_specific + r"/hypervisor/(?P<hypervisor_id>\d+)$", HypervisorDetail.as_view(), name="hypervisor-detail"
    ),
    url(identity_specific + r"/step$", StepList.as_view(), name="step-list"),
    url(identity_specific + r"/step/(?P<step_id>[a-zA-Z0-9-]+)$", Step.as_view(), name="step-detail"),
    # TODO: Uncomment when 'voting' feature is ready.
    url(
        identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)/vote$", MachineVote.as_view(), name="machine-vote"
    ),
    url(identity_specific + r"/meta$", Meta.as_view(), name="meta-detail"),
    url(identity_specific + r"/meta/(?P<action>.*)$", MetaAction.as_view(), name="meta-action"),
    url(identity_specific + r"/members$", IdentityMembershipList.as_view(), name="identity-membership-list"),
    url(
        identity_specific + r"/members/(?P<group_name>(%s)$" % user_match,
        IdentityMembership.as_view(),
        name="identity-membership-detail",
    ),
)
Exemple #5
0
    url(provider_specific + r'/account/(?P<username>([A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*))$',
        Account.as_view(), name='account-management'),


    url(identity_specific + r'/image_export$',
        MachineExportList.as_view(), name='machine-export-list'),
    url(identity_specific + r'/image_export/(?P<machine_request_id>\d+)$',
        MachineExport.as_view(), name='machine-export'),

    url(identity_specific + r'/hypervisor$',
        HypervisorList.as_view(), name='hypervisor-list'),
    url(identity_specific + r'/hypervisor/(?P<hypervisor_id>\d+)$',
        HypervisorDetail.as_view(), name='hypervisor-detail'),

    url(identity_specific + r'/step$',
        StepList.as_view(), name='step-list'),
    url(identity_specific + r'/step/(?P<step_id>[a-zA-Z0-9-]+)$',
        Step.as_view(), name='step-detail'),



    #TODO: Uncomment when 'voting' feature is ready.
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)/vote$',
        MachineVote.as_view(), name='machine-vote'),

    url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'),
    url(identity_specific + r'/meta/(?P<action>.*)$',
        MetaAction.as_view(), name='meta-action'),

    url(identity_specific + r'/members$',
        IdentityMembershipList.as_view(), name='identity-membership-list'),