Merge lp://qastaging/~rackspace-titan/nova/servers-next into lp://qastaging/~hudson-openstack/nova/trunk
Proposed by
William Wolf
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brian Lamar | ||||
Approved revision: | 1589 | ||||
Merged at revision: | 1615 | ||||
Proposed branch: | lp://qastaging/~rackspace-titan/nova/servers-next | ||||
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk | ||||
Diff against target: |
362 lines (+216/-9) 5 files modified
nova/api/openstack/common.py (+10/-0) nova/api/openstack/schemas/v1.1/servers_index.rng (+3/-0) nova/api/openstack/servers.py (+35/-7) nova/api/openstack/views/servers.py (+36/-1) nova/tests/api/openstack/test_servers.py (+132/-1) |
||||
To merge this branch: | bzr merge lp://qastaging/~rackspace-titan/nova/servers-next | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Lamar (community) | Approve | ||
Brian Waldon (community) | Approve | ||
Review via email:
|
Description of the change
Add next links for server lists in OSAPI 1.1. This adds servers_links to the json responses, and an extra atom:link element to the servers node in the xml response.
To post a comment you must log in.
When making a request with a changes-since query param such as this:
curl -i -H "X-Auth-Token: admin:admin" 'http:// localhost: 8774/v1. 1/admin/ servers? limit=2& changes- since=2011- 09-01T00: 00:00Z'
The values of changes-since and limit are respected, but the servers_links value returned is unusable:
http:// localhost: 8774/v1. 1?marker= 6&limit= 2&changes- since=2011- 09-01T00% 3A00%3A00Z
I would expect the changes-since value not to be url-encoded at all.