Beispiel #1
0
        + '(?P<instance_id>%s)/action$' % uuid_match,
        InstanceAction.as_view(), name='instance-action'),
    url(identity_specific + r'/instance/(?P<instance_id>%s)$' % uuid_match,
        Instance.as_view(), name='instance-detail'),
    url(identity_specific + r'/instance$',
        InstanceList.as_view(), name='instance-list'),

    url(r'^instance_action/$',
        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'),
Beispiel #2
0
 ),
 url(
     r"^instance_history/" "(?P<instance_id>[a-zA-Z0-9-]+)/" "status_history$",
     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"),
Beispiel #3
0
     InstanceAction.as_view(),
     name='instance-action'),
 url(identity_specific + r'/instance/(?P<instance_id>%s)$' % uuid_match,
     Instance.as_view(),
     name='instance-detail'),
 url(identity_specific + r'/instance$',
     InstanceList.as_view(),
     name='instance-list'),
 url(r'^instance_action/$',
     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$',
Beispiel #4
0
    url(identity_specific + r'/instance/'
        + '(?P<instance_id>[a-za-z0-9-]+)/tag$',
        InstanceTagList.as_view(), name='instance-tag-list'),
    url(identity_specific + r'/instance/'
        + '(?P<instance_id>[a-zA-Z0-9-]+)/tag/(?P<tag_slug>.*)$',
        InstanceTagDetail.as_view(), name='instance-tag-detail'),
    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'),