Exemple #1
0
        InstanceActionList.as_view(),
        name='instance-action-list'),
    url(r'^instance_action/(?P<action_id>%s)$' % (id_match,),
        InstanceActionDetail.as_view(),
        name='instance-action-detail'),

    url(identity_specific + r'/size$',
        SizeList.as_view(), name='size-list'),
    url(identity_specific + r'/size/(?P<size_id>%s)$' % (id_match,),
        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>%s)$' % uuid_match,
        Volume.as_view(), name='volume-detail'),
    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,
Exemple #2
0
     InstanceStatusHistoryDetail.as_view(),
     name="instance-history",
 ),
 url(
     identity_specific + r"/instance/" + "(?P<instance_id>[a-zA-Z0-9-]+)/action$",
     InstanceAction.as_view(),
     name="instance-action",
 ),
 url(
     identity_specific + r"/instance/(?P<instance_id>[a-zA-Z0-9-]+)$", Instance.as_view(), name="instance-detail"
 ),
 url(identity_specific + r"/instance$", InstanceList.as_view(), name="instance-list"),
 url(identity_specific + r"/size$", SizeList.as_view(), name="size-list"),
 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$",
Exemple #3
0
     InstanceActionList.as_view(),
     name='instance-action-list'),
 url(r'^instance_action/(?P<action_id>%s)$' % (id_match, ),
     InstanceActionDetail.as_view(),
     name='instance-action-detail'),
 url(identity_specific + r'/size$',
     SizeList.as_view(),
     name='size-list'),
 url(identity_specific + r'/size/(?P<size_id>%s)$' % (id_match, ),
     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>%s)$' % uuid_match,
     Volume.as_view(),
     name='volume-detail'),
 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'),
Exemple #4
0
        InstanceAction.as_view(), name='instance-action'),
    url(identity_specific + r'/instance/(?P<instance_id>[a-zA-Z0-9-]+)$',
        Instance.as_view(), name='instance-detail'),
    url(identity_specific + r'/instance$',
        InstanceList.as_view(), name='instance-list'),

    url(identity_specific + r'/size$',
        SizeList.as_view(), name='size-list'),
    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-]+)$',