-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Volumes API uses underscores for attribute formats
* Fixes bug 943053 Change-Id: I1dc23b3b910ec2871672a79b9665eb9c517dd4b6
- Loading branch information
Showing
8 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
doc/src/docbkx/openstack-api-site/src/wadls/volume-api/src/samples/snapshot_list_simple.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<snapshots xmlns="http://docs.openstack.org/volume/api/v1"> | ||
<snapshot id="3fbbcccf-d058-4502-8844-6feeffdf4cb5" | ||
displayName="snap-001" | ||
displayDescription="Daily backup" | ||
volumeId="521752a6-acf6-4b2d-bc7a-119f9148cd8c" | ||
display_name="snap-001" | ||
display_description="Daily backup" | ||
volume_id="521752a6-acf6-4b2d-bc7a-119f9148cd8c" | ||
status="available" | ||
size="30" | ||
createdAt="2012-02-29T03:50:07Z" /> | ||
created_at="2012-02-29T03:50:07Z" /> | ||
<snapshot id="e479997c-650b-40a4-9dfe-77655818b0d2" | ||
displayName="snap-002" | ||
dislayDescription="Weekly backup" | ||
volumeId="76b8950a-8594-4e5b-8dce-0dfa9c696358" | ||
display_name="snap-002" | ||
display_description="Weekly backup" | ||
volume_id="76b8950a-8594-4e5b-8dce-0dfa9c696358" | ||
status="available" | ||
size="25" | ||
createdAt="2012-03-19T01:52:47Z" /> | ||
created_at="2012-03-19T01:52:47Z" /> | ||
</snapshots> |
8 changes: 4 additions & 4 deletions
8
doc/src/docbkx/openstack-api-site/src/wadls/volume-api/src/samples/snapshot_show.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"snapshot": { | ||
"id": "3fbbcccf-d058-4502-8844-6feeffdf4cb5", | ||
"displayName": "snap-001", | ||
"displayDescription": "Daily backup", | ||
"volumeId": "521752a6-acf6-4b2d-bc7a-119f9148cd8c", | ||
"display_name": "snap-001", | ||
"display_description": "Daily backup", | ||
"volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c", | ||
"status": "available", | ||
"size": 30, | ||
"createdAt": "2012-02-29T03:50:07Z" | ||
"created_at": "2012-02-29T03:50:07Z" | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
doc/src/docbkx/openstack-api-site/src/wadls/volume-api/src/samples/snapshot_show.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<snapshot xmlns="http://docs.openstack.org/volume/api/v1" | ||
id="3fbbcccf-d058-4502-8844-6feeffdf4cb5" | ||
displayName="snap-001" | ||
displayDescription="Daily backup" | ||
volumeId="521752a6-acf6-4b2d-bc7a-119f9148cd8c" | ||
display_name="snap-001" | ||
display_description="Daily backup" | ||
volume_id="521752a6-acf6-4b2d-bc7a-119f9148cd8c" | ||
status="available" | ||
size="30" | ||
createdAt="2012-02-29T03:50:07Z" /> | ||
created_at="2012-02-29T03:50:07Z" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
doc/src/docbkx/openstack-api-site/src/wadls/volume-api/src/samples/volume_show.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"volume": { | ||
"id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c", | ||
"displayName": "vol-001", | ||
"displayDescription": "Another volume.", | ||
"display_name": "vol-001", | ||
"display_description": "Another volume.", | ||
"size": 30, | ||
"volumeType": "289da7f8-6440-407c-9fb4-7db01ec49164", | ||
"volume_type": "289da7f8-6440-407c-9fb4-7db01ec49164", | ||
"metadata": {"contents": "junk"}, | ||
"availabilityZone": "us-east1", | ||
"snapshotId": null, | ||
"availability_zone": "us-east1", | ||
"snapshot_id": null, | ||
"attachments": [], | ||
"createdAt": "2012-02-14T20:53:07Z" | ||
"created_at": "2012-02-14T20:53:07Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters