)]}'
{"api-ref/regenerate-samples.sh":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c25337ec7fe2bddb0e7366522fa23647731dde63","unresolved":false,"context_lines":[{"line_number":186,"context_line":"# Create a failed allocation for listing"},{"line_number":187,"context_line":"POST v1/allocations allocation-create-request-2.json"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"# Poor man\u0027s wait_for_allocation"},{"line_number":190,"context_line":"sleep 1"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"GET v1/allocations \u003e allocations-list-response.json"}],"source_content_type":"text/x-sh","patch_set":3,"id":"9fdfeff1_b315693f","line":189,"updated":"2019-02-26 09:43:35.000000000","message":"If the poor man gets to sleep then perhaps he is the lucky one.","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"}],"api-ref/source/baremetal-api-v1-allocation.inc":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"06cc896f55348d521aaaed311527bf7c3c47e198","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Create Allocation"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. rest_method::  POST /v1/allocation"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Creates an allocation."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_0ba68310","line":16,"range":{"start_line":16,"start_character":27,"end_line":16,"end_character":37},"updated":"2019-02-26 03:34:46.000000000","message":"the path is /v1/allocations\n\nI think all clones need a fix :)","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a2018d4be08a8b14ac338e2a0fce00f3c674ad74","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Create Allocation"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. rest_method::  POST /v1/allocation"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Creates an allocation."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_1031cb59","line":16,"range":{"start_line":16,"start_character":27,"end_line":16,"end_character":37},"in_reply_to":"9fdfeff1_0ba68310","updated":"2019-02-26 09:14:43.000000000","message":"A lesson to be learned: do not copy-paste chassis :)","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"06cc896f55348d521aaaed311527bf7c3c47e198","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"A Node is suitable for an Allocation if all of the following holds:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"* provision state is ``available``"},{"line_number":28,"context_line":"* power state is not ``null``"},{"line_number":29,"context_line":"* maintenance is off"},{"line_number":30,"context_line":"* ``instance_uuid`` is ``null``"},{"line_number":31,"context_line":"* ``resource_class`` matches requested one"},{"line_number":32,"context_line":"* ``traits`` list contains the requested ones"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_201a867c","line":29,"range":{"start_line":27,"start_character":0,"end_line":29,"end_character":20},"updated":"2019-02-26 03:34:46.000000000","message":"I wonder why it\u0027s not using the same style as below?","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a2018d4be08a8b14ac338e2a0fce00f3c674ad74","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"A Node is suitable for an Allocation if all of the following holds:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"* provision state is ``available``"},{"line_number":28,"context_line":"* power state is not ``null``"},{"line_number":29,"context_line":"* maintenance is off"},{"line_number":30,"context_line":"* ``instance_uuid`` is ``null``"},{"line_number":31,"context_line":"* ``resource_class`` matches requested one"},{"line_number":32,"context_line":"* ``traits`` list contains the requested ones"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_d03ee327","line":29,"range":{"start_line":27,"start_character":0,"end_line":29,"end_character":20},"in_reply_to":"9fdfeff1_201a867c","updated":"2019-02-26 09:14:43.000000000","message":"Done","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"06cc896f55348d521aaaed311527bf7c3c47e198","unresolved":false,"context_lines":[{"line_number":36,"context_line":"succeeds, the ``node_uuid`` field is populated with the Node\u0027s UUID, and the"},{"line_number":37,"context_line":"Node\u0027s ``instance_uuid`` field is set to the Allocation\u0027s UUID."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":".. versionadded:: 1.52"},{"line_number":40,"context_line":"    Allocation API was introduced."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Normal response codes: 201"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_80001204","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":34},"updated":"2019-02-26 03:34:46.000000000","message":"If memory servers, this is not required as this is the initial version, L10-11 would be enough.","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a2018d4be08a8b14ac338e2a0fce00f3c674ad74","unresolved":false,"context_lines":[{"line_number":36,"context_line":"succeeds, the ``node_uuid`` field is populated with the Node\u0027s UUID, and the"},{"line_number":37,"context_line":"Node\u0027s ``instance_uuid`` field is set to the Allocation\u0027s UUID."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":".. versionadded:: 1.52"},{"line_number":40,"context_line":"    Allocation API was introduced."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Normal response codes: 201"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"9fdfeff1_701937d5","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":34},"in_reply_to":"9fdfeff1_80001204","updated":"2019-02-26 09:14:43.000000000","message":"It\u0027s not required, but it\u0027s convenient to have. If a user comes through a direct link to an endpoint, they may not notice the versionadded above.","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"d1d70e7f345e9b27dd7d4e23efb121448b0b42e5","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"* ``provision_state`` is ``available``"},{"line_number":28,"context_line":"* ``power_state`` is not ``null``"},{"line_number":29,"context_line":"* ``maintenance`` is false"},{"line_number":30,"context_line":"* ``instance_uuid`` is ``null``"},{"line_number":31,"context_line":"* ``resource_class`` matches requested one"},{"line_number":32,"context_line":"* ``traits`` list contains the requested ones"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"9fdfeff1_93c14532","line":29,"range":{"start_line":29,"start_character":21,"end_line":29,"end_character":26},"updated":"2019-02-26 09:47:59.000000000","message":"nit: ``false``?","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c25337ec7fe2bddb0e7366522fa23647731dde63","unresolved":false,"context_lines":[{"line_number":29,"context_line":"* ``maintenance`` is false"},{"line_number":30,"context_line":"* ``instance_uuid`` is ``null``"},{"line_number":31,"context_line":"* ``resource_class`` matches requested one"},{"line_number":32,"context_line":"* ``traits`` list contains the requested ones"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"The allocation process is asynchronous. The new Allocation is returned in"},{"line_number":35,"context_line":"the ``allocating`` state, and the process continues in background. If it"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"9fdfeff1_93462550","line":32,"range":{"start_line":32,"start_character":27,"end_line":32,"end_character":30},"updated":"2019-02-26 09:43:35.000000000","message":"nit: all of","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c25337ec7fe2bddb0e7366522fa23647731dde63","unresolved":false,"context_lines":[{"line_number":32,"context_line":"* ``traits`` list contains the requested ones"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"The allocation process is asynchronous. The new Allocation is returned in"},{"line_number":35,"context_line":"the ``allocating`` state, and the process continues in background. If it"},{"line_number":36,"context_line":"succeeds, the ``node_uuid`` field is populated with the Node\u0027s UUID, and the"},{"line_number":37,"context_line":"Node\u0027s ``instance_uuid`` field is set to the Allocation\u0027s UUID."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"9fdfeff1_935f050e","line":35,"updated":"2019-02-26 09:43:35.000000000","message":"nit: in the background","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"}],"api-ref/source/baremetal-api-v1-node-allocation.inc":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c25337ec7fe2bddb0e7366522fa23647731dde63","unresolved":false,"context_lines":[{"line_number":62,"context_line":".. rest_method::  DELETE /v1/nodes/{node_ident}/allocation"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Deletes the allocation of this node."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"The deletion will fail if the allocation the node is ``active`` and not in"},{"line_number":67,"context_line":"the ``maintenance`` mode."},{"line_number":68,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"9fdfeff1_d34a6d25","line":65,"updated":"2019-02-26 09:43:35.000000000","message":"The Node\u0027s ``instance_uuid`` is reset.","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"}],"api-ref/source/parameters.yaml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"c25337ec7fe2bddb0e7366522fa23647731dde63","unresolved":false,"context_lines":[{"line_number":1215,"context_line":"  type: string"},{"line_number":1216,"context_line":"req_candidate_nodes:"},{"line_number":1217,"context_line":"  description: |"},{"line_number":1218,"context_line":"    The list of nodes that should be considered for this allocation. If not"},{"line_number":1219,"context_line":"    provided, all available nodes will be considered."},{"line_number":1220,"context_line":"  in: body"},{"line_number":1221,"context_line":"  required: false"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_f3f531cc","line":1218,"range":{"start_line":1218,"start_character":16,"end_line":1218,"end_character":21},"updated":"2019-02-26 09:43:35.000000000","message":"names or UUIDs of nodes?","commit_id":"acc4c402de42be0b1fb179d13dcf86a4ca384206"}],"api-ref/source/samples/node-show-response.json":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"06cc896f55348d521aaaed311527bf7c3c47e198","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  \"rescue_interface\": null,"},{"line_number":74,"context_line":"  \"reservation\": null,"},{"line_number":75,"context_line":"  \"resource_class\": \"bm-large\","},{"line_number":76,"context_line":"  \"states\": ["},{"line_number":77,"context_line":"    {"},{"line_number":78,"context_line":"      \"href\": \"http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/states\","},{"line_number":79,"context_line":"      \"rel\": \"self\""}],"source_content_type":"application/json","patch_set":2,"id":"9fdfeff1_8becb3bb","line":76,"updated":"2019-02-26 03:34:46.000000000","message":"allocation_uuid is missing in this sample.","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a2018d4be08a8b14ac338e2a0fce00f3c674ad74","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  \"rescue_interface\": null,"},{"line_number":74,"context_line":"  \"reservation\": null,"},{"line_number":75,"context_line":"  \"resource_class\": \"bm-large\","},{"line_number":76,"context_line":"  \"states\": ["},{"line_number":77,"context_line":"    {"},{"line_number":78,"context_line":"      \"href\": \"http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/states\","},{"line_number":79,"context_line":"      \"rel\": \"self\""}],"source_content_type":"application/json","patch_set":2,"id":"9fdfeff1_300f2f89","line":76,"in_reply_to":"9fdfeff1_8becb3bb","updated":"2019-02-26 09:14:43.000000000","message":"Done","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"}],"api-ref/source/samples/nodes-list-details-response.json":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"06cc896f55348d521aaaed311527bf7c3c47e198","unresolved":false,"context_lines":[{"line_number":25,"context_line":"      \"inspect_interface\": null,"},{"line_number":26,"context_line":"      \"inspection_finished_at\": null,"},{"line_number":27,"context_line":"      \"inspection_started_at\": null,"},{"line_number":28,"context_line":"      \"instance_info\": {},"},{"line_number":29,"context_line":"      \"instance_uuid\": \"5344a3e2-978a-444e-990a-cbf47c62ef88\","},{"line_number":30,"context_line":"      \"last_error\": null,"},{"line_number":31,"context_line":"      \"links\": ["}],"source_content_type":"application/json","patch_set":2,"id":"9fdfeff1_0b01a36a","line":28,"range":{"start_line":28,"start_character":23,"end_line":28,"end_character":25},"updated":"2019-02-26 03:34:46.000000000","message":"I think there is a \"traits\" here if we reach this json.","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a2018d4be08a8b14ac338e2a0fce00f3c674ad74","unresolved":false,"context_lines":[{"line_number":25,"context_line":"      \"inspect_interface\": null,"},{"line_number":26,"context_line":"      \"inspection_finished_at\": null,"},{"line_number":27,"context_line":"      \"inspection_started_at\": null,"},{"line_number":28,"context_line":"      \"instance_info\": {},"},{"line_number":29,"context_line":"      \"instance_uuid\": \"5344a3e2-978a-444e-990a-cbf47c62ef88\","},{"line_number":30,"context_line":"      \"last_error\": null,"},{"line_number":31,"context_line":"      \"links\": ["}],"source_content_type":"application/json","patch_set":2,"id":"9fdfeff1_707e17e5","line":28,"range":{"start_line":28,"start_character":23,"end_line":28,"end_character":25},"in_reply_to":"9fdfeff1_0b01a36a","updated":"2019-02-26 09:14:43.000000000","message":"Not necessary. If you don\u0027t use traits, this can be empty.","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"0f1f239149e670e6b055d2e526a7412276fa2a05","unresolved":false,"context_lines":[{"line_number":25,"context_line":"      \"inspect_interface\": null,"},{"line_number":26,"context_line":"      \"inspection_finished_at\": null,"},{"line_number":27,"context_line":"      \"inspection_started_at\": null,"},{"line_number":28,"context_line":"      \"instance_info\": {},"},{"line_number":29,"context_line":"      \"instance_uuid\": \"5344a3e2-978a-444e-990a-cbf47c62ef88\","},{"line_number":30,"context_line":"      \"last_error\": null,"},{"line_number":31,"context_line":"      \"links\": ["}],"source_content_type":"application/json","patch_set":2,"id":"9fdfeff1_131eb55e","line":28,"range":{"start_line":28,"start_character":23,"end_line":28,"end_character":25},"in_reply_to":"9fdfeff1_707e17e5","updated":"2019-02-26 09:29:59.000000000","message":"oh, right","commit_id":"dd20c882d767677b82404fdbf332629fbfa24567"}]}
