Esempio n. 1
0
    url(identity_specific + r'/boot_volume(?P<volume_id>%s)?$' % uuid_match,
        BootVolume.as_view(), name='boot-volume'),

    url(identity_specific + r'/volume_snapshot$',
        VolumeSnapshot.as_view(), name='volume-snapshot'),
    url(identity_specific + r'/volume_snapshot/(?P<snapshot_id>%s)$' % uuid_match,
        VolumeSnapshotDetail.as_view(), name='volume-snapshot-detail'),

    url(identity_specific + r'/machine$',
        MachineList.as_view(), name='machine-list'),
    url(identity_specific + r'/machine/history$',
        MachineHistory.as_view(), name='machine-history'),
    url(identity_specific + r'/machine/search$',
        MachineSearch.as_view(), name='machine-search'),
    url(identity_specific + r'/machine/(?P<machine_id>%s)$' % uuid_match,
        Machine.as_view(), name='machine-detail'),
    url(identity_specific + r'/machine/(?P<machine_id>%s)/license$' % uuid_match,
        MachineLicense.as_view(), name='machine-license'),
    url(identity_specific + r'/machine/(?P<machine_id>%s)' % uuid_match
        + '/icon$', MachineIcon.as_view(), name='machine-icon'),

    url(provider_specific + r'/identity$', IdentityList.as_view(), name='identity-list'),
    url(identity_specific + r'$', Identity.as_view(), name='identity-detail'),

    url(r'^credential$', CredentialList.as_view(),
        name='credential-list'),
    url(r'^credential/(?P<identity_uuid>%s)$' % (uuid_match,),
        CredentialDetail.as_view(), name='credential-detail'),

    url(r'^identity$', IdentityDetailList.as_view(),
        name='identity-detail-list'),
Esempio n. 2
0
 url(identity_specific + r"/size/(?P<size_id>\d+)$", Size.as_view(), name="size-detail"),
 url(identity_specific + r"/volume$", VolumeList.as_view(), name="volume-list"),
 url(identity_specific + r"/volume/(?P<volume_id>[a-zA-Z0-9-]+)$", Volume.as_view(), name="volume-detail"),
 url(
     identity_specific + r"/boot_volume(?P<volume_id>[a-zA-Z0-9-]+)?$", BootVolume.as_view(), name="boot-volume"
 ),
 url(identity_specific + r"/volume_snapshot$", VolumeSnapshot.as_view(), name="volume-snapshot"),
 url(
     identity_specific + r"/volume_snapshot/(?P<snapshot_id>[a-zA-Z0-9-]+)$",
     VolumeSnapshotDetail.as_view(),
     name="volume-snapshot-detail",
 ),
 url(identity_specific + r"/machine$", MachineList.as_view(), name="machine-list"),
 url(identity_specific + r"/machine/history$", MachineHistory.as_view(), name="machine-history"),
 url(identity_specific + r"/machine/search$", MachineSearch.as_view(), name="machine-search"),
 url(identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)$", Machine.as_view(), name="machine-detail"),
 url(
     identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)" + "/icon$",
     MachineIcon.as_view(),
     name="machine-icon",
 ),
 url(provider_specific + r"/identity$", IdentityList.as_view(), name="identity-list"),
 url(identity_specific + r"$", Identity.as_view(), name="identity-detail"),
 url(r"^identity$", IdentityDetailList.as_view(), name="identity-detail-list"),
 url(r"^provider$", ProviderList.as_view(), name="provider-list"),
 url(r"^provider/(?P<provider_id>\d+)$", Provider.as_view(), name="provider-detail"),
 url(identity_specific + r"/request_image$", MachineRequestList.as_view(), name="machine-request-list"),
 url(
     identity_specific + r"/request_image/(?P<machine_request_id>\d+)$",
     MachineRequest.as_view(),
     name="machine-request",
Esempio n. 3
0
     name='volume-snapshot'),
 url(identity_specific +
     r'/volume_snapshot/(?P<snapshot_id>%s)$' % uuid_match,
     VolumeSnapshotDetail.as_view(),
     name='volume-snapshot-detail'),
 url(identity_specific + r'/machine$',
     MachineList.as_view(),
     name='machine-list'),
 url(identity_specific + r'/machine/history$',
     MachineHistory.as_view(),
     name='machine-history'),
 url(identity_specific + r'/machine/search$',
     MachineSearch.as_view(),
     name='machine-search'),
 url(identity_specific + r'/machine/(?P<machine_id>%s)$' % uuid_match,
     Machine.as_view(),
     name='machine-detail'),
 url(identity_specific +
     r'/machine/(?P<machine_id>%s)/license$' % uuid_match,
     MachineLicense.as_view(),
     name='machine-license'),
 url(identity_specific + r'/machine/(?P<machine_id>%s)' % uuid_match +
     '/icon$',
     MachineIcon.as_view(),
     name='machine-icon'),
 url(provider_specific + r'/identity$',
     IdentityList.as_view(),
     name='identity-list'),
 url(identity_specific + r'$',
     Identity.as_view(),
     name='identity-detail'),
Esempio n. 4
0
    url(identity_specific + r'/boot_volume(?P<volume_id>[a-zA-Z0-9-]+)?$',
        BootVolume.as_view(), name='boot-volume'),

    url(identity_specific + r'/volume_snapshot$',
        VolumeSnapshot.as_view(), name='volume-snapshot'),
    url(identity_specific + r'/volume_snapshot/(?P<snapshot_id>[a-zA-Z0-9-]+)$',
        VolumeSnapshotDetail.as_view(), name='volume-snapshot-detail'),

    url(identity_specific + r'/machine$',
        MachineList.as_view(), name='machine-list'),
    url(identity_specific + r'/machine/history$',
        MachineHistory.as_view(), name='machine-history'),
    url(identity_specific + r'/machine/search$',
        MachineSearch.as_view(), name='machine-search'),
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)$',
        Machine.as_view(), name='machine-detail'),
    url(identity_specific + r'/machine/(?P<machine_id>[a-zA-Z0-9-]+)'
        + '/icon$', MachineIcon.as_view(), name='machine-icon'),

    url(provider_specific + r'/identity$', IdentityList.as_view(), name='identity-list'),
    url(identity_specific + r'$', Identity.as_view(), name='identity-detail'),

    url(r'^identity$', IdentityDetailList.as_view(),
        name='identity-detail-list'),
    url(r'^identity/(?P<identity_id>\d+)$', IdentityDetail.as_view(),
        name='identity-detail-list'),
    url(r'^provider$', ProviderList.as_view(), name='provider-list'),
    url(r'^provider/(?P<provider_id>\d+)$',
        Provider.as_view(), name='provider-detail'),