)]}'
{"api-ref/source/v2/qos.inc":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ca2f7281bd36181e45ae0a8478c4c5b543c22467","unresolved":false,"context_lines":[{"line_number":400,"context_line":"   - tenant_id: project_id"},{"line_number":401,"context_line":"   - project_id: project_id"},{"line_number":402,"context_line":"   - dscp_marking_rules: dscp_marking_rules"},{"line_number":403,"context_line":"   - policy: policy"},{"line_number":404,"context_line":"   - shared: shared"},{"line_number":405,"context_line":"   - dscp_mark: dscp_mark"},{"line_number":406,"context_line":"   - id: id"}],"source_content_type":"text/x-c++src","patch_set":12,"id":"5a74a57a_0cee3eec","side":"PARENT","line":403,"range":{"start_line":403,"start_character":5,"end_line":403,"end_character":19},"updated":"2016-11-30 12:32:03.000000000","message":"Why are we removing this? based on the response the \u0027policy\u0027 is the top-level object in the response body. Other api-refs seems to leave this in the parameters to doc it.","commit_id":"6d893c867e5aec00768b281d54a7fbfe85ad1021"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ca2f7281bd36181e45ae0a8478c4c5b543c22467","unresolved":false,"context_lines":[{"line_number":395,"context_line":""},{"line_number":396,"context_line":"   - description: description"},{"line_number":397,"context_line":"   - policy_id: policy_id"},{"line_number":398,"context_line":"   - tenant_id: project_id"},{"line_number":399,"context_line":"   - project_id: project_id"},{"line_number":400,"context_line":"   - shared: shared"},{"line_number":401,"context_line":"   - rules: rules"},{"line_number":402,"context_line":"   - id: id"}],"source_content_type":"text/x-c++src","patch_set":12,"id":"5a74a57a_4c62f6ae","line":399,"range":{"start_line":398,"start_character":0,"end_line":399,"end_character":27},"updated":"2016-11-30 12:32:03.000000000","message":"Note there appears to be an issue with these; they show up as \u0027in path\u0027 but I think they should be \u0027in body\u0027.","commit_id":"97f4913850b68e45f6a576d653c3b3a19e5fec35"},{"author":{"_account_id":20076,"name":"QunyingRan","email":"ran.qunying@zte.com.cn","username":"QunyingRan"},"change_message_id":"aa54034954ae78d09b7efa0db073a67f81f4ace5","unresolved":false,"context_lines":[{"line_number":395,"context_line":""},{"line_number":396,"context_line":"   - description: description"},{"line_number":397,"context_line":"   - policy_id: policy_id"},{"line_number":398,"context_line":"   - tenant_id: project_id"},{"line_number":399,"context_line":"   - project_id: project_id"},{"line_number":400,"context_line":"   - shared: shared"},{"line_number":401,"context_line":"   - rules: rules"},{"line_number":402,"context_line":"   - id: id"}],"source_content_type":"text/x-c++src","patch_set":12,"id":"5a74a57a_94d6b4ef","line":399,"range":{"start_line":398,"start_character":0,"end_line":399,"end_character":27},"in_reply_to":"5a74a57a_4c62f6ae","updated":"2016-12-01 02:00:17.000000000","message":"I can\u0027t be sure to change this.I need to fix it in this bug? I","commit_id":"97f4913850b68e45f6a576d653c3b3a19e5fec35"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"8d845553e36102b7239bcf516f0845e37fa44f56","unresolved":false,"context_lines":[{"line_number":140,"context_line":"   - policies: policies"},{"line_number":141,"context_line":"   - shared: shared"},{"line_number":142,"context_line":"   - id: id"},{"line_number":143,"context_line":"   - rules:rules"},{"line_number":144,"context_line":"   - name: name"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Response Example"}],"source_content_type":"text/x-c++src","patch_set":22,"id":"1a6eadb0_fb9d27bc","line":143,"updated":"2016-12-19 23:25:27.000000000","message":"This one causes an failure.\n\nhttp://logs.openstack.org/60/400660/22/check/gate-neutron-lib-api-ref/52164a5/console.html#_2016-12-19_00_50_00_337357","commit_id":"595c3499efb32f323034b32929a189703da593da"}],"api-ref/source/v2/samples/qos/policy-create-response.json":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"632c4c3999d63216e2789e9f31c820a14d6b2eb1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"7a77a97e_a6b9c0ee","updated":"2016-11-22 16:44:43.000000000","message":"Unless I\u0027m missing something, I don\u0027t even see this file/response being used in the api-ref and hence it\u0027s not updated in the generated API docs [1].\n\nI\u0027d opt to either remove this file, or add it as a sample response so it\u0027s used.\n\n\n\n[1] http://docs-draft.openstack.org/60/400660/1/check/gate-neutron-lib-api-ref/173fb78//api-ref/build/html/v2/index.html?expanded\u003dcreate-qos-policy-detail#qos-policies-qos","commit_id":"676a398eabd56e99f1a421c5abc98d8e6f88613d"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"83f1bf56418da74aa1ea632ec31ffeeafcdd903b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"policy\": {"},{"line_number":3,"context_line":"        \"name\": \"10Mbit\","},{"line_number":4,"context_line":"        \"description\": \"This policy limits the ports to 10Mbit max.\","},{"line_number":5,"context_line":"        \"id\": \"46ebaec0-0570-43ac-82f6-60d2b03168c4\","},{"line_number":6,"context_line":"        \"project_id\": \"8d4c70a21fed4aeba121a1a429ba0d04\","}],"source_content_type":"application/json","patch_set":4,"id":"5a74a57a_4bae922e","side":"PARENT","line":3,"updated":"2016-11-29 14:17:43.000000000","message":"\"rules\": [],","commit_id":"9502948ece8bb0ec6b5c2cdb33405761be384ad8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"83f1bf56418da74aa1ea632ec31ffeeafcdd903b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"        \"tenant_id\": \"8d4c70a21fed4aeba121a1a429ba0d04\","},{"line_number":8,"context_line":"        \"shared\": false"},{"line_number":9,"context_line":"    }"},{"line_number":10,"context_line":"}"}],"source_content_type":"application/json","patch_set":4,"id":"5a74a57a_4b8772b4","side":"PARENT","line":10,"updated":"2016-11-29 14:17:43.000000000","message":"Why are you deleting this? \n\nthe policy create response is actually as described here:\n\nDEBUG: keystoneauth.session REQ: curl -g -i -X POST http://192.168.42.20:9696/v2.0/qos/policies.json -H \"User-Agent: python-neutronclient\" -H \"Content-Type: application/json\" -H \"Accept: application/json\" -H \"X-Auth-Token: {SHA1}62d95832f98892d9dc43ecbc319d24f5c792c8df\" -d \n\n\u0027{\"policy\": {\"name\": \"test\", \"description\": \"this is a test\"}}\u0027\n\n\nDEBUG: keystoneauth.session RESP: [201] Content-Type: application/json Content-Length: 334 X-Openstack-Request-Id: req-84ccb1f8-db07-4ce6-8b68-26e49f738694 Date: Tue, 29 Nov 2016 14:12:43 GMT Connection: keep-alive\n\n\nRESP BODY: {\"policy\": {\"name\": \"test\", \"rules\": [], \"tenant_id\": \"42db4c6154564de1910bd25698f2de8d\", \"created_at\": \"2016-11-29T14:12:43Z\", \"updated_at\": \"2016-11-29T14:12:43Z\", \"revision_number\": 1, \"shared\": false, \"project_id\": \"42db4c6154564de1910bd25698f2de8d\", \"id\": \"1cc1410a-acb9-417c-b510-bf3bee57d5e6\", \"description\": \"this is a test\"}}","commit_id":"9502948ece8bb0ec6b5c2cdb33405761be384ad8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"5906e8270853975078722ea69f674965a2bce41d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"        \"tenant_id\": \"8d4c70a21fed4aeba121a1a429ba0d04\","},{"line_number":8,"context_line":"        \"shared\": false"},{"line_number":9,"context_line":"    }"},{"line_number":10,"context_line":"}"}],"source_content_type":"application/json","patch_set":4,"id":"5a74a57a_9ed2aa5a","side":"PARENT","line":10,"in_reply_to":"5a74a57a_4b8772b4","updated":"2016-11-29 14:18:58.000000000","message":"It\u0027s not used anywhere.","commit_id":"9502948ece8bb0ec6b5c2cdb33405761be384ad8"}],"api-ref/source/v2/samples/qos/policy-show-response.json":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ca2f7281bd36181e45ae0a8478c4c5b543c22467","unresolved":false,"context_lines":[{"line_number":9,"context_line":"        \"rules\": ["},{"line_number":10,"context_line":"            {"},{"line_number":11,"context_line":"                \"id\": \"5f126d84-551a-4dcf-bb01-0e9c0df0c793\","},{"line_number":12,"context_line":"                \"qos_policy_id\": \"46ebaec0-0570-43ac-82f6-60d2b03168c4\","},{"line_number":13,"context_line":"                \"max_kbps\": \"10000\","},{"line_number":14,"context_line":"                \"max_burst_kbps\": \"0\","},{"line_number":15,"context_line":"                \"type\": \"bandwidth_limit\""}],"source_content_type":"application/json","patch_set":12,"id":"5a74a57a_0c4b9eb1","line":12,"range":{"start_line":12,"start_character":17,"end_line":12,"end_character":30},"updated":"2016-11-30 12:32:03.000000000","message":"I\u0027m a little confused on qos_policy_id vs policy_id. Based on what I see the QoS APIs for rules use policy_id and not qos_policy_id (e.g. GET /v2.0/qos/policies/{policy_id}/dscp_marking_rules/{dscp_rule_id}). Is this true, GET policy is the only QoS API that uses qos_policy_id while others use policy_id?? Seems inconsistent.","commit_id":"97f4913850b68e45f6a576d653c3b3a19e5fec35"},{"author":{"_account_id":20076,"name":"QunyingRan","email":"ran.qunying@zte.com.cn","username":"QunyingRan"},"change_message_id":"aa54034954ae78d09b7efa0db073a67f81f4ace5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"        \"rules\": ["},{"line_number":10,"context_line":"            {"},{"line_number":11,"context_line":"                \"id\": \"5f126d84-551a-4dcf-bb01-0e9c0df0c793\","},{"line_number":12,"context_line":"                \"qos_policy_id\": \"46ebaec0-0570-43ac-82f6-60d2b03168c4\","},{"line_number":13,"context_line":"                \"max_kbps\": \"10000\","},{"line_number":14,"context_line":"                \"max_burst_kbps\": \"0\","},{"line_number":15,"context_line":"                \"type\": \"bandwidth_limit\""}],"source_content_type":"application/json","patch_set":12,"id":"5a74a57a_bf28e986","line":12,"range":{"start_line":12,"start_character":17,"end_line":12,"end_character":30},"in_reply_to":"5a74a57a_0c4b9eb1","updated":"2016-12-01 02:00:17.000000000","message":"There is no policy id information in rules response.\nDEBUG: keystoneauth.session REQ: curl -g -i -X GET http://192.168.1.162:9696/v2.0/qos/policies/d296046b-0a87-496f-93dc-14e8bd5ed638/bandwidth_limit_rules/b1866696-032a-4228-857f-846075f63487.json -H \"User-Agent: python-neutronclient\" -H \"Accept: application/json\" -H \"X-Auth-Token: {SHA1}10786eca6431aff1456f3642dfafbff9f190eeae\"\nDEBUG: keystoneauth.session RESP: [200] Content-Type: application/json Content-Length: 112 X-Openstack-Request-Id: req-6cf658eb-a3c7-4aab-a213-1db4a43e3605 Date: Thu, 01 Dec 2016 01:41:59 GMT Connection: keep-alive \nRESP BODY: {\"bandwidth_limit_rule\": {\"max_kbps\": 40000, \"id\": \"b1866696-032a-4228-857f-846075f63487\", \"max_burst_kbps\": 0}}\n\nDEBUG: neutronclient.v2_0.client GET call to neutron for http://192.168.1.162:9696/v2.0/qos/policies/d296046b-0a87-496f-93dc-14e8bd5ed638/bandwidth_limit_rules/b1866696-032a-4228-857f-846075f63487.json used request id req-6cf658eb-a3c7-4aab-a213-1db4a43e3605\n+----------------+--------------------------------------+\n| Field          | Value                                |\n+----------------+--------------------------------------+\n| id             | b1866696-032a-4228-857f-846075f63487 |\n| max_burst_kbps | 0                                    |\n| max_kbps       | 40000                                |\n+----------------+--------------------------------------+","commit_id":"97f4913850b68e45f6a576d653c3b3a19e5fec35"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"dbc65f34504db69f24ebd3b0a6f6f29ecb68e79c","unresolved":false,"context_lines":[{"line_number":10,"context_line":"            {"},{"line_number":11,"context_line":"                \"id\": \"5f126d84-551a-4dcf-bb01-0e9c0df0c793\","},{"line_number":12,"context_line":"                \"qos_policy_id\": \"46ebaec0-0570-43ac-82f6-60d2b03168c4\","},{"line_number":13,"context_line":"                \"max_kbps\": \"10000\","},{"line_number":14,"context_line":"                \"max_burst_kbps\": \"0\","},{"line_number":15,"context_line":"                \"type\": \"bandwidth_limit\""},{"line_number":16,"context_line":"             },"}],"source_content_type":"application/json","patch_set":16,"id":"3a71b18c_6fd7cabf","line":13,"range":{"start_line":13,"start_character":29,"end_line":13,"end_character":34},"updated":"2016-12-07 15:54:46.000000000","message":"Based on [1] it appears all these kbps values should be of type integer, not string.\n\n\n[1] https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/parameters.yaml#L2227","commit_id":"0d4288465df08dc8eb3d8fe3324a1da9bdd322ce"}]}
