)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4c42642f4bb9153eaf32c6579818e1477cc9f44e","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     jichenjc \u003cjichenjc@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-03-25 13:21:22 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add usage doc for resource provider"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this add the usage doc for resource provider"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"bff0334d_557695a6","line":7,"updated":"2017-04-06 14:49:00.000000000","message":"Add placement-api-ref doc for resource provider usages","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"8e5a1e3c0cea1c1ca6cb34137f9417596ab8a4e8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     jichenjc \u003cjichenjc@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-03-25 13:21:22 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add usage doc for resource provider"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this add the usage doc for resource provider"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"bff0334d_16e7cf14","line":7,"in_reply_to":"bff0334d_557695a6","updated":"2017-04-07 10:46:59.000000000","message":"Done","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"}],"placement-api-ref/source/get-resource_providers_usages.json":[{"author":{"_account_id":17814,"name":"fengzhr","email":"fengzhr@awcloud.com","username":"space"},"change_message_id":"09e003d8ed4f88a197dadf549675d407d2d4e17f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    {"},{"line_number":5,"context_line":"      \"VCPU\": 1,"},{"line_number":6,"context_line":"      \"MEMORY_MB\": 512,"},{"line_number":7,"context_line":"      \"DISK_GB\": 1,            "},{"line_number":8,"context_line":"    },"},{"line_number":9,"context_line":"}"}],"source_content_type":"application/json","patch_set":3,"id":"ffe62b97_d13252f2","line":7,"updated":"2017-03-28 12:16:08.000000000","message":"Unexpected blank, I think.","commit_id":"a2aab0f17ae4c092bf145fe317cac24f54d5097d"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4c42642f4bb9153eaf32c6579818e1477cc9f44e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"generation\": 1,"},{"line_number":3,"context_line":"    \"usages\":"},{"line_number":4,"context_line":"    {"},{"line_number":5,"context_line":"      \"VCPU\": 1,"}],"source_content_type":"application/json","patch_set":5,"id":"bff0334d_3589d174","line":2,"updated":"2017-04-06 14:49:00.000000000","message":"This is wrong, it\u0027s resource_provider_generation\n\nPlease make sure you are using real JSON responses from real requests when building these docs.","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"8e5a1e3c0cea1c1ca6cb34137f9417596ab8a4e8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"generation\": 1,"},{"line_number":3,"context_line":"    \"usages\":"},{"line_number":4,"context_line":"    {"},{"line_number":5,"context_line":"      \"VCPU\": 1,"}],"source_content_type":"application/json","patch_set":5,"id":"bff0334d_76bbbbc3","line":2,"in_reply_to":"bff0334d_3589d174","updated":"2017-04-07 10:46:59.000000000","message":"you are right, \nstack@devstack:~$ curl -g -i -X GET http://192.168.123.10/placement/resource_providers/48bdbf93-ec6c-4d94-8c36-a1215ddcc70a/k-API-Version: compute 2.41\" -H \"OpenStack-API-Version: placement 1.2\" -H \"User-Agent: python-novaclient\" -H \"Accept: application/json\" -H \"X-Auth-Token: gAAAAABY520E2CcEs67BLjVujlOmWdclXpsVVhnWzeyExfIGP6yHNWUXMmUVC1h6oPN1c5fVoPkSvJw85Jwn1RO7TxqE-_abWwQd_4e-u1o5UkdagYc0n2qxX63oXy1vDj1mD3zk8NcSC4zP2mf33dpTBStodeoPD2nqPTWPDTu6gsRWY31xH8M\"\nHTTP/1.1 200 OK\nDate: Fri, 07 Apr 2017 10:45:09 GMT\nServer: Apache/2.4.18 (Ubuntu)\nOpenStack-API-Version: placement 1.2\nvary: OpenStack-API-Version\nx-openstack-request-id: req-f7794b04-4fec-4120-bc17-99bdfc6de940\nContent-Length: 90\nContent-Type: application/json; charset\u003dUTF-8\n\n{\"resource_provider_generation\": 3, \"usages\": {\"VCPU\": 1, \"MEMORY_MB\": 512, \"DISK_GB\": 1}}\n\nI guess I copied from resource usage ..sorry and I will update it","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"40e20f82b4743853204fcb3d8c2cfd2a9b5f207e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"resource_provider_generation\": 1,"},{"line_number":3,"context_line":"    \"usages\":"},{"line_number":4,"context_line":"    {"},{"line_number":5,"context_line":"      \"VCPU\": 1,"},{"line_number":6,"context_line":"      \"MEMORY_MB\": 512,"},{"line_number":7,"context_line":"      \"DISK_GB\": 1"}],"source_content_type":"application/json","patch_set":18,"id":"3f1d235d_89863465","line":4,"updated":"2017-07-11 14:11:38.000000000","message":"nit: all other JSON examples in this api-ref put the opening { bracket on the line with the key instead of on a line by itself. Would be good to be consistent.","commit_id":"171d28dd1d803fa7328dcdeec2a7e4d83ad385d5"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"dbfd5992edd5b53dea898799550349bc2ee8d098","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"resource_provider_generation\": 1,"},{"line_number":3,"context_line":"    \"usages\":"},{"line_number":4,"context_line":"    {"},{"line_number":5,"context_line":"      \"VCPU\": 1,"},{"line_number":6,"context_line":"      \"MEMORY_MB\": 512,"},{"line_number":7,"context_line":"      \"DISK_GB\": 1"}],"source_content_type":"application/json","patch_set":18,"id":"1f1a1f67_f5682b22","line":4,"in_reply_to":"3f1d235d_89863465","updated":"2017-07-12 13:09:34.000000000","message":"Done","commit_id":"171d28dd1d803fa7328dcdeec2a7e4d83ad385d5"}],"placement-api-ref/source/parameters.yaml":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"2d26041c6428d5fac0bcdab379f6905939f88689","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  in: query"},{"line_number":24,"context_line":"  required: true"},{"line_number":25,"context_line":"  description: \u003e"},{"line_number":26,"context_line":"    The uuid of a resource provider to filter the list."},{"line_number":27,"context_line":"resources_query:"},{"line_number":28,"context_line":"  type: string"},{"line_number":29,"context_line":"  in: query"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_7d9f7765","line":26,"updated":"2017-05-02 11:03:24.000000000","message":"You can use yaml anchors to remove some of the duplication here. See how resource_provider_uuid_path is being used here: https://review.openstack.org/#/c/449765/7/placement-api-ref/source/parameters.yaml\n\nAlso, you want to use \"resource_provider_uuid_path\" not \"resource_provider_uuid_query\" because the uuid being used here is in the path, not a query parameter.","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ea2ea5308356ef2bc3d711a101fb70fd5a966f97","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  in: query"},{"line_number":24,"context_line":"  required: true"},{"line_number":25,"context_line":"  description: \u003e"},{"line_number":26,"context_line":"    The uuid of a resource provider to filter the list."},{"line_number":27,"context_line":"resources_query:"},{"line_number":28,"context_line":"  type: string"},{"line_number":29,"context_line":"  in: query"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_a7938a5c","line":26,"in_reply_to":"5ff73747_7d9f7765","updated":"2017-05-03 09:43:14.000000000","message":"ok, I will refer to the links and make update, thanks~","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"2d26041c6428d5fac0bcdab379f6905939f88689","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  in: body"},{"line_number":60,"context_line":"  required: true"},{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictory that"},{"line_number":63,"context_line":"    describe how much each class of class is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_9d724349","line":62,"updated":"2017-05-02 11:03:24.000000000","message":"s/dictory/dictionary/","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ea2ea5308356ef2bc3d711a101fb70fd5a966f97","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  in: body"},{"line_number":60,"context_line":"  required: true"},{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictory that"},{"line_number":63,"context_line":"    describe how much each class of class is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_87f40ed1","line":62,"in_reply_to":"5ff73747_9d724349","updated":"2017-05-03 09:43:14.000000000","message":"Done","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"2d26041c6428d5fac0bcdab379f6905939f88689","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  required: true"},{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictory that"},{"line_number":63,"context_line":"    describe how much each class of class is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"},{"line_number":66,"context_line":"  type: string"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_7d8d3729","line":63,"updated":"2017-05-02 11:03:24.000000000","message":"s/describe/describes/\n\ns/class of class/class of resource/","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ea2ea5308356ef2bc3d711a101fb70fd5a966f97","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  required: true"},{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictory that"},{"line_number":63,"context_line":"    describe how much each class of class is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"},{"line_number":66,"context_line":"  type: string"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5ff73747_272d3a46","line":63,"in_reply_to":"5ff73747_7d8d3729","updated":"2017-05-03 09:43:14.000000000","message":"Done","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  in: body"},{"line_number":60,"context_line":"  required: true"},{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictonary that"},{"line_number":63,"context_line":"    describes how much each class of resource is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"ff0f0b1f_a0fb1377","line":62,"range":{"start_line":62,"start_character":60,"end_line":62,"end_character":69},"updated":"2017-05-22 17:51:06.000000000","message":"s/dictonary/dictionary","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  description: \u003e"},{"line_number":62,"context_line":"    The usage statistic of the resource provider. This is a dictonary that"},{"line_number":63,"context_line":"    describes how much each class of resource is being consumed on this"},{"line_number":64,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":65,"context_line":"resource_provider_uuid:"},{"line_number":66,"context_line":"  type: string"},{"line_number":67,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"ff0f0b1f_c05e0775","line":64,"range":{"start_line":64,"start_character":23,"end_line":64,"end_character":70},"updated":"2017-05-22 17:51:06.000000000","message":"nit: looks like a very naive description for me, probably @cdent and @jaypipes can help with wording","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cbb3cafb2151a44d9fd286148a7c49ef681a6bb3","unresolved":false,"context_lines":[{"line_number":213,"context_line":"  in: body"},{"line_number":214,"context_line":"  required: true"},{"line_number":215,"context_line":"  description: \u003e"},{"line_number":216,"context_line":"    The usage statistic of the resource provider. This is a dictionary that"},{"line_number":217,"context_line":"    describes how much each class of resource is being consumed on this"},{"line_number":218,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":219,"context_line":"resource_provider_uuid:"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"9f436f4f_320a18d2","line":216,"range":{"start_line":216,"start_character":14,"end_line":216,"end_character":23},"updated":"2017-08-09 15:34:27.000000000","message":"statistics?\n\nSeems \"summary\" would be better here though.","commit_id":"84520d2bd54213761f3914e1353564b33eb4ddf0"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c426ff9c56042e50367b3ba4f9f19ea9bfd5cd8c","unresolved":false,"context_lines":[{"line_number":213,"context_line":"  in: body"},{"line_number":214,"context_line":"  required: true"},{"line_number":215,"context_line":"  description: \u003e"},{"line_number":216,"context_line":"    The usage statistic of the resource provider. This is a dictionary that"},{"line_number":217,"context_line":"    describes how much each class of resource is being consumed on this"},{"line_number":218,"context_line":"    resource provider. For example, ``\"VCPU\": 1`` means 1 VCPU is used."},{"line_number":219,"context_line":"resource_provider_uuid:"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"9f436f4f_92c9c479","line":216,"range":{"start_line":216,"start_character":14,"end_line":216,"end_character":23},"in_reply_to":"9f436f4f_320a18d2","updated":"2017-08-09 15:35:50.000000000","message":"Based on the description in the API reference:\n\n\"The value is a dictionary of resource classes paired with the sum of the allocations of that resource class for this resource provider.\"\n\nI think \"summary\" probably makes the most sense.","commit_id":"84520d2bd54213761f3914e1353564b33eb4ddf0"}],"placement-api-ref/source/resource_provider_usages.json":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"aba6005f0a4ed661ac3c6109c4330f9c371f44f2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"1f1a1f67_81927d9d","updated":"2017-07-14 18:11:31.000000000","message":"This file is a duplicate of the other json file? It doesn\u0027t seem to be included anywhere.","commit_id":"68af9830dc1ab1bc38724d06e31ee8c375de8717"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"b3bb416c077195b18a6c5ed8f96be3377268a129","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"1f1a1f67_f37adab7","in_reply_to":"1f1a1f67_81927d9d","updated":"2017-07-18 10:18:04.000000000","message":"Done","commit_id":"68af9830dc1ab1bc38724d06e31ee8c375de8717"}],"placement-api-ref/source/usages.inc":[{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_2fc5288f","line":10,"range":{"start_line":10,"start_character":17,"end_line":10,"end_character":18},"updated":"2017-03-31 02:06:20.000000000","message":"\u0027GET\u0027 should be added.","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_4f5e2ce7","line":10,"range":{"start_line":10,"start_character":39,"end_line":10,"end_character":43},"updated":"2017-03-31 02:06:20.000000000","message":"It is a general expression. It should be more specific.\nHow about \u0027resource_provider_id\u0027?","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_efafa4e0","line":10,"range":{"start_line":10,"start_character":17,"end_line":10,"end_character":18},"in_reply_to":"dfeb2761_2fc5288f","updated":"2017-04-05 10:30:30.000000000","message":"Done","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method::  /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_8fb25848","line":10,"range":{"start_line":10,"start_character":39,"end_line":10,"end_character":43},"in_reply_to":"dfeb2761_4f5e2ce7","updated":"2017-04-05 10:30:30.000000000","message":"Done","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Request"},{"line_number":17,"context_line":"-------"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_af36d8b3","line":15,"updated":"2017-03-31 02:06:20.000000000","message":"Add error response codes.","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Request"},{"line_number":17,"context_line":"-------"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_2fc90cab","line":15,"in_reply_to":"dfeb2761_af36d8b3","updated":"2017-04-05 10:30:30.000000000","message":"Done","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - uuid: resource_provider_uuid_query_required"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Response"},{"line_number":24,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_4f13cc0e","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":8},"updated":"2017-03-31 02:06:20.000000000","message":"ditto","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - uuid: resource_provider_uuid_query_required"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Response"},{"line_number":24,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_cfc3c088","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":8},"in_reply_to":"dfeb2761_4f13cc0e","updated":"2017-04-05 10:30:30.000000000","message":"Done","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  - generation: resource_provider_generation"},{"line_number":29,"context_line":"  - usages: resource_provider_usages"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_4fbaacde","line":30,"updated":"2017-03-31 02:06:20.000000000","message":"The response sample includes \"VCPU\", \"MEMORY_MB\" and \"DISK_GB\".\nThey should be added here.","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  - generation: resource_provider_generation"},{"line_number":29,"context_line":"  - usages: resource_provider_usages"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_0f5c08eb","line":30,"in_reply_to":"dfeb2761_4fbaacde","updated":"2017-04-05 10:30:30.000000000","message":"you are suggesting we list all of them? I think we can\u0027t enumerate all items?","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c886fe52a2dd450cfacce77447e6626f010b57b0","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":".. literalinclude:: get-resource_providers_usages.json"},{"line_number":35,"context_line":"   :language: javascript"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_efef40e7","line":34,"range":{"start_line":34,"start_character":20,"end_line":34,"end_character":54},"updated":"2017-03-31 02:06:20.000000000","message":"Is this file verified in functional tests in nova/tests/functional/api_sample_tests or somewhere?","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"c5a90e8f0200b367e2ab9c2b6b47d397154bc382","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":".. literalinclude:: get-resource_providers_usages.json"},{"line_number":35,"context_line":"   :language: javascript"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"bff0334d_14eff684","line":34,"in_reply_to":"dfeb2761_6f6154a9","updated":"2017-04-06 12:48:55.000000000","message":"At least for the initial pass at this documentation, we\u0027re not planning to test the contents of the json. The expectation is that the author of the docs will be creating the json from their own manual exploration of the API, perhaps with gabbi-run.\n\nThe hope is that for the time being the api is simple and small enough that we can do it this away for a while. Eventually we can figure out ways to automate things but we thought it best to make headway on the docs first.","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"f47e349eb48054e404a1356d57e5fbb987ff51bd","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Response Example"},{"line_number":32,"context_line":"----------------"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":".. literalinclude:: get-resource_providers_usages.json"},{"line_number":35,"context_line":"   :language: javascript"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"dfeb2761_6f6154a9","line":34,"range":{"start_line":34,"start_character":20,"end_line":34,"end_character":54},"in_reply_to":"dfeb2761_efef40e7","updated":"2017-04-05 10:30:30.000000000","message":"no, should we add some test for it first?","commit_id":"ddc77cd0f61b7002c7a3a24d5a2bb8ac53111d36"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4c42642f4bb9153eaf32c6579818e1477cc9f44e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{resource_provider_id}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_95e65d44","line":10,"updated":"2017-04-06 14:49:00.000000000","message":"{uuid}","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"8e5a1e3c0cea1c1ca6cb34137f9417596ab8a4e8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{resource_provider_id}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_d6c5e73d","line":10,"in_reply_to":"bff0334d_95e65d44","updated":"2017-04-07 10:46:59.000000000","message":"Done","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4c42642f4bb9153eaf32c6579818e1477cc9f44e","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  - generation: resource_provider_generation"},{"line_number":31,"context_line":"  - usages: resource_provider_usages"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Response Example"}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_f5d00953","line":30,"updated":"2017-04-06 14:49:00.000000000","message":"this is not right","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"8e5a1e3c0cea1c1ca6cb34137f9417596ab8a4e8","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  - generation: resource_provider_generation"},{"line_number":31,"context_line":"  - usages: resource_provider_usages"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Response Example"}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_56e797e5","line":30,"in_reply_to":"bff0334d_f5d00953","updated":"2017-04-07 10:46:59.000000000","message":"Done","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4c42642f4bb9153eaf32c6579818e1477cc9f44e","unresolved":false,"context_lines":[{"line_number":28,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  - generation: resource_provider_generation"},{"line_number":31,"context_line":"  - usages: resource_provider_usages"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Response Example"},{"line_number":34,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_5560d5a5","line":31,"updated":"2017-04-06 14:49:00.000000000","message":"You need to describe, either in the parameters.yaml or somewhere in this text what\u0027s in the usages dictionary.\n\nThat is: people need to know that is a dictionary of resource class, value pairs that describe how much of each class of resource is being consumed on this resource provider.","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"8e5a1e3c0cea1c1ca6cb34137f9417596ab8a4e8","unresolved":false,"context_lines":[{"line_number":28,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  - generation: resource_provider_generation"},{"line_number":31,"context_line":"  - usages: resource_provider_usages"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Response Example"},{"line_number":34,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":5,"id":"bff0334d_96063f86","line":31,"in_reply_to":"bff0334d_5560d5a5","updated":"2017-04-07 10:46:59.000000000","message":"ok, I will consider how to improve the text here","commit_id":"ce6ae90edfabd24b5e57fc388b18a09833b5da9a"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"2d26041c6428d5fac0bcdab379f6905939f88689","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"  - uuid: resource_provider_uuid_query_required"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Response"},{"line_number":26,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"5ff73747_3d820f02","line":23,"updated":"2017-05-02 11:03:24.000000000","message":"I think you want \u0027resource_provider_uuid_path\u0027 here, see my comment elsewhere for more on that.","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"ea2ea5308356ef2bc3d711a101fb70fd5a966f97","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"  - uuid: resource_provider_uuid_query_required"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Response"},{"line_number":26,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":8,"id":"5ff73747_078ebe2d","line":23,"in_reply_to":"5ff73747_3d820f02","updated":"2017-05-03 09:43:14.000000000","message":"ok, will update","commit_id":"b9a48a66409bd27f859410d982d562bbe65b812c"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Resource provider usage"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."}],"source_content_type":"text/x-c++src","patch_set":9,"id":"ff0f0b1f_2065c31e","line":2,"updated":"2017-05-22 17:51:06.000000000","message":"usages maybe? like in url","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Resource provider usage"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":9,"id":"ff0f0b1f_a02673cd","line":3,"updated":"2017-05-22 17:51:06.000000000","message":"I think here we need some common description what usages are.","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider usage"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":9,"id":"ff0f0b1f_9b140446","line":5,"updated":"2017-05-22 17:51:06.000000000","message":"This line is almost the same as in the \"method\" description,\nso IMO can be removed.","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"339dcf3aaf33695b42fa29ce8b05819840100bc0","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{uuid}/usages"}],"source_content_type":"text/x-c++src","patch_set":9,"id":"ff0f0b1f_60e29ba2","line":7,"updated":"2017-05-22 17:51:06.000000000","message":"not sure the capital U is needed here","commit_id":"115c3ee503bfb7f5f1f6c507403d9e155758383e"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"5cad4fc354934020e28c6d11785a03800a0d9861","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider usage"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"df140735_df889823","line":5,"updated":"2017-06-07 10:59:52.000000000","message":"Here we need some basic description what resource provider usages are. See generated api-ref for other objects.\nhttps://github.com/openstack/nova-specs/blob/master/specs/newton/implemented/generic-resource-pools.rst#L840 can be the source of wording.\nI think the difference between allocations should be also mentioned.","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9ad7a0eff8356e108dabba4cedbffeeda0fda8b5","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider usage"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"7f231b9d_cf4cec43","line":5,"in_reply_to":"df140735_df889823","updated":"2017-06-15 08:16:55.000000000","message":"ok, will modify according to the spec, thanks","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"5cad4fc354934020e28c6d11785a03800a0d9861","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{uuid}/usages"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"df140735_9fe8e07c","line":7,"updated":"2017-06-07 10:59:52.000000000","message":"Still don\u0027t like capital U, see other examples.","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9ad7a0eff8356e108dabba4cedbffeeda0fda8b5","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"GET a dictionary of resource provider usage."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"List Usage of a given resource provider"},{"line_number":8,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{uuid}/usages"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"7f231b9d_4f9d7cba","line":7,"in_reply_to":"df140735_9fe8e07c","updated":"2017-06-15 08:16:55.000000000","message":"Done","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"5cad4fc354934020e28c6d11785a03800a0d9861","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":10,"id":"df140735_1fe3b0a6","line":12,"updated":"2017-06-07 10:59:52.000000000","message":"I think \"by resource class uuid\" can be point of confusion.\nWe\u0027re getting usages by resource provider uuid and results are keyed by resource class name.","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9ad7a0eff8356e108dabba4cedbffeeda0fda8b5","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. rest_method:: GET /resource_providers/{uuid}/usages"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"GET a dictionary of resource provider usage by resource class uuid."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":10,"id":"7f231b9d_0fa30402","line":12,"in_reply_to":"df140735_1fe3b0a6","updated":"2017-06-15 08:16:55.000000000","message":"Done","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"5cad4fc354934020e28c6d11785a03800a0d9861","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Error response codes: unauthorized(401), forbidden(403), notfound(404)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Request"},{"line_number":19,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"df140735_9fb6a08a","line":16,"updated":"2017-06-07 10:59:52.000000000","message":"Common errors like 401, 403, 405, 406 which can be for any request are not mentioned in other API calls.\n\ns/notfound/itemNotFound/ to be consistent with others.","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"9ad7a0eff8356e108dabba4cedbffeeda0fda8b5","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Normal Response Codes: 200"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Error response codes: unauthorized(401), forbidden(403), notfound(404)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Request"},{"line_number":19,"context_line":"-------"}],"source_content_type":"text/x-c++src","patch_set":10,"id":"7f231b9d_efa7a80a","line":16,"in_reply_to":"df140735_9fb6a08a","updated":"2017-06-15 08:16:55.000000000","message":"I think we need mention some ? will change notfound, thanks","commit_id":"44208ffb5279dba99ff0ddfcddfb08d84c18680a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"40e20f82b4743853204fcb3d8c2cfd2a9b5f207e","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider usages"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Represent the consumption of resources for a resource provider"},{"line_number":6,"context_line":"in an aggregated form, i.e. without information for a particular consumer."},{"line_number":7,"context_line":"See `Resource provider allocations`_."},{"line_number":8,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":18,"id":"3f1d235d_49593c33","line":5,"range":{"start_line":5,"start_character":0,"end_line":5,"end_character":9},"updated":"2017-07-11 14:11:38.000000000","message":"s/Represent/Shows/","commit_id":"171d28dd1d803fa7328dcdeec2a7e4d83ad385d5"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"dbfd5992edd5b53dea898799550349bc2ee8d098","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Resource provider usages"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Represent the consumption of resources for a resource provider"},{"line_number":6,"context_line":"in an aggregated form, i.e. without information for a particular consumer."},{"line_number":7,"context_line":"See `Resource provider allocations`_."},{"line_number":8,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":18,"id":"1f1a1f67_1555e750","line":5,"range":{"start_line":5,"start_character":0,"end_line":5,"end_character":9},"in_reply_to":"3f1d235d_49593c33","updated":"2017-07-12 13:09:34.000000000","message":"Replaced to show.","commit_id":"171d28dd1d803fa7328dcdeec2a7e4d83ad385d5"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"40e20f82b4743853204fcb3d8c2cfd2a9b5f207e","unresolved":false,"context_lines":[{"line_number":9,"context_line":"List resource provider usages"},{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Return a report of usage information for resources associated with"},{"line_number":13,"context_line":"the resource provider identified by `{uuid}`. The value is a dictionary"},{"line_number":14,"context_line":"of resource classes paired with the sum of the allocations of that"},{"line_number":15,"context_line":"resource class for this resource provider."}],"source_content_type":"text/x-c++src","patch_set":18,"id":"3f1d235d_696f58c5","line":12,"updated":"2017-07-11 14:11:38.000000000","message":"s/Return/Returns/","commit_id":"171d28dd1d803fa7328dcdeec2a7e4d83ad385d5"}]}
