Merge "Correct json format in api-ref"

This commit is contained in:
Zuul 2019-08-14 00:21:48 +00:00 committed by Gerrit Code Review
commit 50336e2ed4
16 changed files with 25 additions and 23 deletions

View File

@ -20,7 +20,7 @@
"id": "a25b2df3-90bd-4add-afa6-5f0dbbd50452", "id": "a25b2df3-90bd-4add-afa6-5f0dbbd50452",
"access_type": "ip", "access_type": "ip",
"access_to": "0.0.0.0/0", "access_to": "0.0.0.0/0",
"access_key": null "access_key": null,
"created_at": "2018-07-16T01:03:21.000000", "created_at": "2018-07-16T01:03:21.000000",
"updated_at": "2018-07-16T01:03:21.000000", "updated_at": "2018-07-16T01:03:21.000000",
"metadata": { "metadata": {

View File

@ -5,7 +5,7 @@
"description": "for_test", "description": "for_test",
"share_group_type_id": "89861c2a-10bf-4013-bdd4-3d020466aee4", "share_group_type_id": "89861c2a-10bf-4013-bdd4-3d020466aee4",
"availability_zone": "nova", "availability_zone": "nova",
"share_network_id": "82168c2a-10bf-4013-bcc4-3d984136aee3",, "share_network_id": "82168c2a-10bf-4013-bcc4-3d984136aee3",
"source_share_group_snapshot_id": "69861c2a-10bf-4013-bcc4-3d020466aee3", "source_share_group_snapshot_id": "69861c2a-10bf-4013-bcc4-3d020466aee3"
} }
} }

View File

@ -12,16 +12,16 @@
], ],
"availability_zone": "nova", "availability_zone": "nova",
"consistent_snapshot_support": true, "consistent_snapshot_support": true,
"share_group_type_id": "313df749-aac0-1a54-af52-10f6c991e80c" "share_group_type_id": "313df749-aac0-1a54-af52-10f6c991e80c",
"share_network_id": "713df749-aac0-4a54-af52-10f6c991e80c", "share_network_id": "713df749-aac0-4a54-af52-10f6c991e80c",
"id": "011d21e2-fbc3-4e4a-9993-9ea223f73264", "id": "011d21e2-fbc3-4e4a-9993-9ea223f73264",
"share_types": ["25747776-08e5-494f-ab40-a64b9d20d8f7", ], "share_types": ["25747776-08e5-494f-ab40-a64b9d20d8f7"],
"project_id": "16e1ab15c35a457e9c2b2aa189f544e1", "project_id": "16e1ab15c35a457e9c2b2aa189f544e1",
"status": "available", "status": "available",
"description": "My custom share London", "description": "My custom share London",
"host": "manila2@generic1#GENERIC1", "host": "manila2@generic1#GENERIC1",
"source_share_group_snapshot_id": null "source_share_group_snapshot_id": null,
"name": "share_London", "name": "share_London",
"created_at": "2015-09-18T10:25:24.000000", "created_at": "2015-09-18T10:25:24.000000"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"share_group_snapshot": { "share_group_snapshot": {
"share_group_id": "cd7a3d06-23b3-4d05-b4ca-7c9a20faa95f", "share_group_id": "cd7a3d06-23b3-4d05-b4ca-7c9a20faa95f",
"name": "test" "name": "test",
"description": "test description" "description": "test description"
} }
} }

View File

@ -12,7 +12,7 @@
} }
], ],
"name": null, "name": null,
"id": "46bf5875-58d6-4816-948f-8828423b0b9f", "id": "46bf5875-58d6-4816-948f-8828423b0b9f"
} }
] ]
} }

View File

@ -1,5 +1,5 @@
{ {
"group_specs": { "group_specs": {
"snapshot_support": "True", "snapshot_support": "True"
} }
} }

View File

@ -34,6 +34,6 @@
"name": "share_texas1", "name": "share_texas1",
"created_at": "2019-03-05T10:00:00.000000", "created_at": "2019-03-05T10:00:00.000000",
"share_proto": "NFS", "share_proto": "NFS",
"volume_type": "d", "volume_type": "d"
} }
} }

View File

@ -12,7 +12,7 @@
"project_id": "16e1ab15c35a457e9c2b2aa189f544e1", "project_id": "16e1ab15c35a457e9c2b2aa189f544e1",
"network_type": null, "network_type": null,
"description": null, "description": null,
"gateway" :null, "gateway": null,
"mtu": null "mtu": null
} }
} }

View File

@ -4,13 +4,13 @@
"status": "available", "status": "available",
"share_id": "5043dffd-f033-4248-a315-319ca2bd70c8", "share_id": "5043dffd-f033-4248-a315-319ca2bd70c8",
"id": "57f5c47a-0216-4ee0-a517-0460d63301a6", "id": "57f5c47a-0216-4ee0-a517-0460d63301a6",
"replica_state": "active", "replica_state": "active"
}, },
{ {
"status": "available", "status": "available",
"share_id": "5043dffd-f033-4248-a315-319ca2bd70c8", "share_id": "5043dffd-f033-4248-a315-319ca2bd70c8",
"id": "c9f52e33-d780-41d8-89ba-fc06869f465f", "id": "c9f52e33-d780-41d8-89ba-fc06869f465f",
"replica_state": "in_sync", "replica_state": "in_sync"
} }
] ]
} }

View File

@ -38,6 +38,6 @@
"name": "share_London", "name": "share_London",
"created_at": "2015-09-18T10:25:24.000000", "created_at": "2015-09-18T10:25:24.000000",
"share_proto": "NFS", "share_proto": "NFS",
"volume_type": "default", "volume_type": "default"
} }
} }

View File

@ -35,6 +35,6 @@
"name": "share_London", "name": "share_London",
"created_at": "2015-09-18T10:25:24.000000", "created_at": "2015-09-18T10:25:24.000000",
"share_proto": "NFS", "share_proto": "NFS",
"volume_type": "default", "volume_type": "default"
} }
} }

View File

@ -36,7 +36,7 @@
"replication_type": null, "replication_type": null,
"created_at": "2015-09-16T18:19:50.000000", "created_at": "2015-09-16T18:19:50.000000",
"share_proto": "NFS", "share_proto": "NFS",
"volume_type": "default", "volume_type": "default"
}, },
{ {
"links": [ "links": [
@ -75,8 +75,8 @@
"replication_type": null, "replication_type": null,
"created_at": "2015-09-16T17:26:28.000000", "created_at": "2015-09-16T17:26:28.000000",
"share_proto": "NFS", "share_proto": "NFS",
"volume_type": "default", "volume_type": "default"
} }
] ],
"count": 10 "count": 10
} }

View File

@ -28,6 +28,6 @@
], ],
"name": "Share1" "name": "Share1"
} }
] ],
"count": 10 "count": 10
} }

View File

@ -3,7 +3,7 @@
{ {
"status": "available", "status": "available",
"snapshot_id": "d447de19-a6d3-40b3-ae9f-895c86798924", "snapshot_id": "d447de19-a6d3-40b3-ae9f-895c86798924",
"id": "275516e8-c998-4e78-a41e-7dd3a03e71cd", "id": "275516e8-c998-4e78-a41e-7dd3a03e71cd"
} }
] ]
} }

View File

@ -4,7 +4,8 @@
{ {
"href": "http://192.168.122.180:8786/v2/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5", "href": "http://192.168.122.180:8786/v2/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5",
"rel": "self" "rel": "self"
}, { },
{
"href": "http://192.168.122.180:8786/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5", "href": "http://192.168.122.180:8786/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5",
"rel": "bookmark" "rel": "bookmark"
} }

View File

@ -5,7 +5,8 @@
{ {
"href": "http://192.168.122.180:8786/v2/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5", "href": "http://192.168.122.180:8786/v2/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5",
"rel": "self" "rel": "self"
}, { },
{
"href": "http://192.168.122.180:8786/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5", "href": "http://192.168.122.180:8786/2e3de76b49b444fd9dc7ca9f7048ce6b/messages/4b319d29-d5b7-4b6e-8e7c-8d6e53f3c3d5",
"rel": "bookmark" "rel": "bookmark"
} }