)]}'
{"ironic_ui/api/ironic_rest_api.py":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":296,"context_line":"@urls.register"},{"line_number":297,"context_line":"class SupportedBootDevices(generic.View):"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    url_regex \u003d r\u0027ironic/nodes/(?P\u003cnode_id\u003e[0-9a-f-]+)/boot_device/supported$\u0027"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    @rest_utils.ajax()"},{"line_number":302,"context_line":"    def get(self, request, node_id):"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f231b9d_25d438bd","line":299,"updated":"2017-06-19 22:27:30.000000000","message":"Replace node-d regex with LOGICAL_NAME_PATTERN.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"756f2c791296c563d2dc247afcbe391b1984d0e5","unresolved":false,"context_lines":[{"line_number":296,"context_line":"@urls.register"},{"line_number":297,"context_line":"class SupportedBootDevices(generic.View):"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    url_regex \u003d r\u0027ironic/nodes/(?P\u003cnode_id\u003e[0-9a-f-]+)/boot_device/supported$\u0027"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    @rest_utils.ajax()"},{"line_number":302,"context_line":"    def get(self, request, node_id):"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_81f41d5d","line":299,"in_reply_to":"7f231b9d_25d438bd","updated":"2017-06-20 17:38:12.000000000","message":"ok","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"470849702d88b6419d2041fabebda41a3e817f7f","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"        :param request: HTTP request."},{"line_number":286,"context_line":"        :param node_id: Node name or uuid"},{"line_number":287,"context_line":"        :return: null."},{"line_number":288,"context_line":"        \"\"\""},{"line_number":289,"context_line":"        return ironic.node_set_boot_device("},{"line_number":290,"context_line":"            request,"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f201791_03cb1f72","line":287,"range":{"start_line":287,"start_character":17,"end_line":287,"end_character":21},"updated":"2017-06-23 01:49:11.000000000","message":"nit: i think it should return a code","commit_id":"8d4562f28332de416d0e7b3796dfdbdd1329d473"}],"ironic_ui/static/dashboard/admin/ironic/bootdevice/bootdevice.controller.js":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    \u0027supported\u0027"},{"line_number":35,"context_line":"  ];"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"  function BootDeviceController($uibModalInstance, supported) {"},{"line_number":38,"context_line":"    var ctrl \u003d this;"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    ctrl.modalTitle \u003d gettext(\"Set Boot Device\");"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_854aec80","line":37,"updated":"2017-06-19 22:27:30.000000000","message":"I would change supported to supportedBootDevices\n\nPlease add doc for the controller function.\n\nDid you consider getting the list of supported devices from the ironicAPI inside the controller?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"756f2c791296c563d2dc247afcbe391b1984d0e5","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    \u0027supported\u0027"},{"line_number":35,"context_line":"  ];"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"  function BootDeviceController($uibModalInstance, supported) {"},{"line_number":38,"context_line":"    var ctrl \u003d this;"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    ctrl.modalTitle \u003d gettext(\"Set Boot Device\");"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_616c6108","line":37,"in_reply_to":"7f231b9d_854aec80","updated":"2017-06-20 17:38:12.000000000","message":"Yes. Getting list of supported devices from ironic api did not work when I passed \u0027node\u0027. Error msg showed \u0027undefined\u0027 for the node.uuid in the api call to get supported devices.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/bootdevice/bootdevice.controller.spec.js":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"ba2540532aa88d492a1e4582a455fb68d161747e","unresolved":false,"context_lines":[{"line_number":23,"context_line":"      \u0027modalTitle\u0027,"},{"line_number":24,"context_line":"      \u0027persistent\u0027,"},{"line_number":25,"context_line":"      \u0027setSelectedBootDevice\u0027,"},{"line_number":26,"context_line":"      \u0027supportedBootDevices\u0027"},{"line_number":27,"context_line":"    ];"},{"line_number":28,"context_line":"    var uibModalInstance, ironicBackendMockService;"},{"line_number":29,"context_line":"    var ctrl \u003d {};"}],"source_content_type":"text/javascript","patch_set":12,"id":"5f201791_0ab862e2","line":26,"range":{"start_line":26,"start_character":7,"end_line":26,"end_character":27},"updated":"2017-06-27 16:17:06.000000000","message":"I don\u0027t see the checking of supportedBootDevices, or am i missing something?","commit_id":"da9bbbec2b54b233ca42bf2cadd54ee55547058f"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"a7e855e1579e6d8227007dff20acb13f78018837","unresolved":false,"context_lines":[{"line_number":23,"context_line":"      \u0027modalTitle\u0027,"},{"line_number":24,"context_line":"      \u0027persistent\u0027,"},{"line_number":25,"context_line":"      \u0027setSelectedBootDevice\u0027,"},{"line_number":26,"context_line":"      \u0027supportedBootDevices\u0027"},{"line_number":27,"context_line":"    ];"},{"line_number":28,"context_line":"    var uibModalInstance, ironicBackendMockService;"},{"line_number":29,"context_line":"    var ctrl \u003d {};"}],"source_content_type":"text/javascript","patch_set":12,"id":"5f201791_c5925d57","line":26,"range":{"start_line":26,"start_character":7,"end_line":26,"end_character":27},"in_reply_to":"5f201791_0ab862e2","updated":"2017-06-27 17:10:11.000000000","message":"Anup, good point. We check that the property is defined, but there is no attempt to validate the value. I will add a check.","commit_id":"da9bbbec2b54b233ca42bf2cadd54ee55547058f"}],"ironic_ui/static/dashboard/admin/ironic/bootdevice/bootdevice.html":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":17,"context_line":"             translate\u003eBoot Device\u003c/label\u003e"},{"line_number":18,"context_line":"        \u003cspan class\u003d\"hz-icon-required fa fa-asterisk\"\u003e\u003c/span\u003e"},{"line_number":19,"context_line":"          \u003cdiv\u003e"},{"line_number":20,"context_line":"            \u003cselect id\u003d\"bootDevice\""},{"line_number":21,"context_line":"                    class\u003d\"form-control\""},{"line_number":22,"context_line":"                    ng-options\u003d\"device as device for device in ctrl.supported\""},{"line_number":23,"context_line":"                    ng-model\u003d\"bootDevice\"\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_e973af4c","line":20,"range":{"start_line":20,"start_character":13,"end_line":20,"end_character":34},"updated":"2017-06-20 23:51:52.000000000","message":"just a concern, shouldn\u0027t the default be the one that is currently supported by node, i.e. a call to ironic.getBootDevice? My point is if user is not aware about the boot devices and would like to go with the one that the current node has then it should just select the default one?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":17,"context_line":"             translate\u003eBoot Device\u003c/label\u003e"},{"line_number":18,"context_line":"        \u003cspan class\u003d\"hz-icon-required fa fa-asterisk\"\u003e\u003c/span\u003e"},{"line_number":19,"context_line":"          \u003cdiv\u003e"},{"line_number":20,"context_line":"            \u003cselect id\u003d\"bootDevice\""},{"line_number":21,"context_line":"                    class\u003d\"form-control\""},{"line_number":22,"context_line":"                    ng-options\u003d\"device as device for device in ctrl.supported\""},{"line_number":23,"context_line":"                    ng-model\u003d\"bootDevice\"\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_db7659d9","line":20,"range":{"start_line":20,"start_character":13,"end_line":20,"end_character":34},"in_reply_to":"5f201791_e973af4c","updated":"2017-06-21 21:38:02.000000000","message":"Yes; current boot device should be the default. (Currently as node is giving \u0027undefined\u0027 ironic api calls are not working.)","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/bootdevice/bootdevice.service.js":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  /*"},{"line_number":20,"context_line":"   * @ngdoc service"},{"line_number":21,"context_line":"   * @name horizon.dashboard.admin.ironic.maintenance.service"},{"line_number":22,"context_line":"   * @description Service for putting nodes in, and removing them from"},{"line_number":23,"context_line":"   * maintenance mode"},{"line_number":24,"context_line":"   */"},{"line_number":25,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_505a5483","line":22,"updated":"2017-06-19 22:27:30.000000000","message":"name, description are incorrect.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  /*"},{"line_number":20,"context_line":"   * @ngdoc service"},{"line_number":21,"context_line":"   * @name horizon.dashboard.admin.ironic.maintenance.service"},{"line_number":22,"context_line":"   * @description Service for putting nodes in, and removing them from"},{"line_number":23,"context_line":"   * maintenance mode"},{"line_number":24,"context_line":"   */"},{"line_number":25,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_5bc7e913","line":22,"in_reply_to":"7f231b9d_505a5483","updated":"2017-06-21 21:38:02.000000000","message":"this will be fixed.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    /*"},{"line_number":43,"context_line":"     * @description Set the boot device of a specified node"},{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     * @param {object[]} node - node object"},{"line_number":46,"context_line":"     * @param {string} device - boot device"},{"line_number":47,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":48,"context_line":"     * @return {promise}"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_6be0c1cd","line":45,"updated":"2017-06-19 22:27:30.000000000","message":"Change node to nodes\n\nI think we only ever call this function with a single node. Is the multi-node case actually supported?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    /*"},{"line_number":43,"context_line":"     * @description Set the boot device of a specified node"},{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     * @param {object[]} node - node object"},{"line_number":46,"context_line":"     * @param {string} device - boot device"},{"line_number":47,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":48,"context_line":"     * @return {promise}"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_dbdad9e7","line":45,"in_reply_to":"7f231b9d_6be0c1cd","updated":"2017-06-21 21:38:02.000000000","message":"No","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     * @param {object[]} node - node object"},{"line_number":46,"context_line":"     * @param {string} device - boot device"},{"line_number":47,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":48,"context_line":"     * @return {promise}"},{"line_number":49,"context_line":"     */"},{"line_number":50,"context_line":"    function setBootDevice(node, supported) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_70caf01a","line":47,"updated":"2017-06-19 22:27:30.000000000","message":"No argument: persistent.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     * @param {object[]} node - node object"},{"line_number":46,"context_line":"     * @param {string} device - boot device"},{"line_number":47,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":48,"context_line":"     * @return {promise}"},{"line_number":49,"context_line":"     */"},{"line_number":50,"context_line":"    function setBootDevice(node, supported) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_7be1859a","line":47,"in_reply_to":"7f231b9d_70caf01a","updated":"2017-06-21 21:38:02.000000000","message":"this will be fixed.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        controller: \"BootDeviceController as ctrl\","},{"line_number":54,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":55,"context_line":"        resolve: {"},{"line_number":56,"context_line":"          supported: function() {"},{"line_number":57,"context_line":"            return supported;"},{"line_number":58,"context_line":"          }"},{"line_number":59,"context_line":"        },"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_90c58c0d","line":56,"updated":"2017-06-19 22:27:30.000000000","message":"Did you consider using the ironic API to get the supported devices in the service, as opposed to passing it as an argument to the setBootDevice function?\n\nI can see this for a multi-node scenario, are we supporting that use case?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        controller: \"BootDeviceController as ctrl\","},{"line_number":54,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":55,"context_line":"        resolve: {"},{"line_number":56,"context_line":"          supported: function() {"},{"line_number":57,"context_line":"            return supported;"},{"line_number":58,"context_line":"          }"},{"line_number":59,"context_line":"        },"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_1bea9174","line":56,"in_reply_to":"5f201791_832f7df5","updated":"2017-06-21 21:38:02.000000000","message":"Actually multi-node case is not supported and this was confirmed in irc discussion.\n\nHere, passing supported to the modal. This needs rework.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        controller: \"BootDeviceController as ctrl\","},{"line_number":54,"context_line":"        backdrop: \u0027static\u0027,"},{"line_number":55,"context_line":"        resolve: {"},{"line_number":56,"context_line":"          supported: function() {"},{"line_number":57,"context_line":"            return supported;"},{"line_number":58,"context_line":"          }"},{"line_number":59,"context_line":"        },"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_832f7df5","line":56,"in_reply_to":"7f231b9d_90c58c0d","updated":"2017-06-20 23:51:52.000000000","message":"I agree with Peter, can we make a direct call here?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        templateUrl: basePath + \u0027/bootdevice/bootdevice.html\u0027"},{"line_number":61,"context_line":"      };"},{"line_number":62,"context_line":"      promise \u003d $uibModal.open(options).result.then(function(device, persistent) {"},{"line_number":63,"context_line":"        return nodeActions.setBootDevice(node, device, persistent);"},{"line_number":64,"context_line":"      });"},{"line_number":65,"context_line":"      return promise;"},{"line_number":66,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_a9edb726","line":63,"range":{"start_line":63,"start_character":15,"end_line":63,"end_character":26},"updated":"2017-06-20 23:51:52.000000000","message":"Why aren\u0027t we calling ironic service directly instead of nodeActions? Even if we want to pass array of nodes, we can have a loop in ironic service, wdyt?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        templateUrl: basePath + \u0027/bootdevice/bootdevice.html\u0027"},{"line_number":61,"context_line":"      };"},{"line_number":62,"context_line":"      promise \u003d $uibModal.open(options).result.then(function(device, persistent) {"},{"line_number":63,"context_line":"        return nodeActions.setBootDevice(node, device, persistent);"},{"line_number":64,"context_line":"      });"},{"line_number":65,"context_line":"      return promise;"},{"line_number":66,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_7ba8651e","line":63,"range":{"start_line":63,"start_character":15,"end_line":63,"end_character":26},"in_reply_to":"5f201791_a9edb726","updated":"2017-06-21 21:38:02.000000000","message":"This needs rework as the original case was to cover both single/multi-node scenarios.\n\nIronic api call is failing due to \u0027undefined\u0027 node with this patch.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/bootdevice/bootdevice.service.spec.js":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"b662ed435ff695b4d756b18c1fe48e12c0eb1b45","unresolved":false,"context_lines":[{"line_number":121,"context_line":"        spyOn($uibModal, \u0027open\u0027).and.returnValue("},{"line_number":122,"context_line":"          {result: $q.reject(\u0027cancel\u0027)});"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        ironicAPI.createNode({driver: defaultDriver})"},{"line_number":125,"context_line":"          .then(function(response) {"},{"line_number":126,"context_line":"            return response.data;"},{"line_number":127,"context_line":"          })"},{"line_number":128,"context_line":"          .then(function(node) {"},{"line_number":129,"context_line":"            return ironicAPI.getBootDevice(node.uuid).then(function(device) {"},{"line_number":130,"context_line":"              return {node : node, bootDevice: device};"},{"line_number":131,"context_line":"            });"},{"line_number":132,"context_line":"          })"},{"line_number":133,"context_line":"          .then(function(data) {"},{"line_number":134,"context_line":"            return bootDeviceService.setBootDevice(data.node)"},{"line_number":135,"context_line":"              .catch(function() {"}],"source_content_type":"text/javascript","patch_set":11,"id":"5f201791_e148cd2d","line":132,"range":{"start_line":124,"start_character":7,"end_line":132,"end_character":12},"updated":"2017-06-26 23:08:28.000000000","message":"Can we have createNode and getBootDevice in beforeEach(function()), so that no need to include for each function? Just a thought","commit_id":"27482db2fee9783672e99c3e23e760c5a292a7eb"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"03ad985b23cf6f967021685c2518c04a4c30b2a7","unresolved":false,"context_lines":[{"line_number":121,"context_line":"        spyOn($uibModal, \u0027open\u0027).and.returnValue("},{"line_number":122,"context_line":"          {result: $q.reject(\u0027cancel\u0027)});"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        ironicAPI.createNode({driver: defaultDriver})"},{"line_number":125,"context_line":"          .then(function(response) {"},{"line_number":126,"context_line":"            return response.data;"},{"line_number":127,"context_line":"          })"},{"line_number":128,"context_line":"          .then(function(node) {"},{"line_number":129,"context_line":"            return ironicAPI.getBootDevice(node.uuid).then(function(device) {"},{"line_number":130,"context_line":"              return {node : node, bootDevice: device};"},{"line_number":131,"context_line":"            });"},{"line_number":132,"context_line":"          })"},{"line_number":133,"context_line":"          .then(function(data) {"},{"line_number":134,"context_line":"            return bootDeviceService.setBootDevice(data.node)"},{"line_number":135,"context_line":"              .catch(function() {"}],"source_content_type":"text/javascript","patch_set":11,"id":"5f201791_1369ccf7","line":132,"range":{"start_line":124,"start_character":7,"end_line":132,"end_character":12},"in_reply_to":"5f201791_e148cd2d","updated":"2017-06-27 12:39:57.000000000","message":"Yes. I would create a nested describe block with these additional items.","commit_id":"27482db2fee9783672e99c3e23e760c5a292a7eb"}],"ironic_ui/static/dashboard/admin/ironic/ironic.service.js":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"698bacc19b7839c4c8406f82836ea19d47033bf4","unresolved":false,"context_lines":[{"line_number":141,"context_line":"     * https://developer.openstack.org/api-ref/baremetal/#get-supported-boot-devices"},{"line_number":142,"context_line":"     *"},{"line_number":143,"context_line":"     * @param {string} uuid – UUID or logical name of a node."},{"line_number":144,"context_line":"     * @return {promise} Dictionary describing the supported boot devices"},{"line_number":145,"context_line":"     */"},{"line_number":146,"context_line":"    function getSupportedBootDevices(uuid) {"},{"line_number":147,"context_line":"      return apiService.get(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device/supported\u0027)"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_5067c84e","line":144,"updated":"2017-06-21 22:57:13.000000000","message":"I believe the return is an array of strings each member being a supported boot device.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":143,"context_line":"     * @param {string} uuid – UUID or logical name of a node."},{"line_number":144,"context_line":"     * @return {promise} Dictionary describing the supported boot devices"},{"line_number":145,"context_line":"     */"},{"line_number":146,"context_line":"    function getSupportedBootDevices(uuid) {"},{"line_number":147,"context_line":"      return apiService.get(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device/supported\u0027)"},{"line_number":148,"context_line":"        .then(function(response) {"},{"line_number":149,"context_line":"          return response.data;"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_b0ebe8da","line":146,"updated":"2017-06-19 22:27:30.000000000","message":"Change uuid to nodeId","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":143,"context_line":"     * @param {string} uuid – UUID or logical name of a node."},{"line_number":144,"context_line":"     * @return {promise} Dictionary describing the supported boot devices"},{"line_number":145,"context_line":"     */"},{"line_number":146,"context_line":"    function getSupportedBootDevices(uuid) {"},{"line_number":147,"context_line":"      return apiService.get(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device/supported\u0027)"},{"line_number":148,"context_line":"        .then(function(response) {"},{"line_number":149,"context_line":"          return response.data;"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_db553952","line":146,"in_reply_to":"7f231b9d_b0ebe8da","updated":"2017-06-21 21:38:02.000000000","message":"ok","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"698bacc19b7839c4c8406f82836ea19d47033bf4","unresolved":false,"context_lines":[{"line_number":146,"context_line":"    function getSupportedBootDevices(uuid) {"},{"line_number":147,"context_line":"      return apiService.get(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device/supported\u0027)"},{"line_number":148,"context_line":"        .then(function(response) {"},{"line_number":149,"context_line":"          return response.data;"},{"line_number":150,"context_line":"        })"},{"line_number":151,"context_line":"        .catch(function(response) {"},{"line_number":152,"context_line":"          var msg \u003d interpolate("}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_10615037","line":149,"updated":"2017-06-21 22:57:13.000000000","message":"It would be nice to have a comment // array of boot-devices (strings)","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":231,"context_line":"     * @param {Boolean} persistent - True or False."},{"line_number":232,"context_line":"     * @return {promise} Promise"},{"line_number":233,"context_line":"     */"},{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_70bf90d0","line":234,"updated":"2017-06-19 22:27:30.000000000","message":"Change uuid to nodeId.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":231,"context_line":"     * @param {Boolean} persistent - True or False."},{"line_number":232,"context_line":"     * @return {promise} Promise"},{"line_number":233,"context_line":"     */"},{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_bb527d66","line":234,"in_reply_to":"7f231b9d_70bf90d0","updated":"2017-06-21 21:38:02.000000000","message":"ok","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":233,"context_line":"     */"},{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"},{"line_number":238,"context_line":"        .then(function() {"},{"line_number":239,"context_line":"          toastService.add(\u0027success\u0027,"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_695b1f2e","line":236,"range":{"start_line":236,"start_character":30,"end_line":236,"end_character":41},"updated":"2017-06-20 23:51:52.000000000","message":"I think this should not be in quotes","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"698bacc19b7839c4c8406f82836ea19d47033bf4","unresolved":false,"context_lines":[{"line_number":233,"context_line":"     */"},{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"},{"line_number":238,"context_line":"        .then(function() {"},{"line_number":239,"context_line":"          toastService.add(\u0027success\u0027,"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_b04f3cbc","line":236,"range":{"start_line":236,"start_character":30,"end_line":236,"end_character":41},"in_reply_to":"5f201791_695b1f2e","updated":"2017-06-21 22:57:13.000000000","message":"agree","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":233,"context_line":"     */"},{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"},{"line_number":238,"context_line":"        .then(function() {"},{"line_number":239,"context_line":"          toastService.add(\u0027success\u0027,"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_9b4fc1bc","line":236,"range":{"start_line":236,"start_character":30,"end_line":236,"end_character":41},"in_reply_to":"5f201791_695b1f2e","updated":"2017-06-21 21:38:02.000000000","message":"yes, running npm tests. this will be fixed.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"},{"line_number":238,"context_line":"        .then(function() {"},{"line_number":239,"context_line":"          toastService.add(\u0027success\u0027,"},{"line_number":240,"context_line":"                           gettext(\u0027Refresh page to see set boot device\u0027));"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_49406336","line":237,"range":{"start_line":237,"start_character":30,"end_line":237,"end_character":40},"updated":"2017-06-20 23:51:52.000000000","message":"ditto","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    function nodeSetBootDevice(uuid, boot_device, persistent) {"},{"line_number":235,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + uuid + \u0027/boot_device\u0027,"},{"line_number":236,"context_line":"                            {\u0027boot_device\u0027: boot_device,"},{"line_number":237,"context_line":"                             \u0027persistent\u0027: persistent})"},{"line_number":238,"context_line":"        .then(function() {"},{"line_number":239,"context_line":"          toastService.add(\u0027success\u0027,"},{"line_number":240,"context_line":"                           gettext(\u0027Refresh page to see set boot device\u0027));"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_7b4ce5c6","line":237,"range":{"start_line":237,"start_character":30,"end_line":237,"end_character":40},"in_reply_to":"5f201791_49406336","updated":"2017-06-21 21:38:02.000000000","message":"same here","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"d41004146c35e633321bbfab88e488dbef3c3e82","unresolved":false,"context_lines":[{"line_number":236,"context_line":"    function nodeSetBootDevice(nodeId, bootDevice, persistent) {"},{"line_number":237,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + nodeId + \u0027/boot_device\u0027,"},{"line_number":238,"context_line":"                            {boot_device: bootDevice,"},{"line_number":239,"context_line":"                             persistent: persistent ? \u0027True\u0027 : \u0027False\u0027})"},{"line_number":240,"context_line":"        .then(function() {"},{"line_number":241,"context_line":"          toastService.add(\u0027success\u0027,"},{"line_number":242,"context_line":"                           gettext(\u0027Refresh page to see set boot device\u0027));"}],"source_content_type":"text/javascript","patch_set":9,"id":"5f201791_7545ad42","line":239,"updated":"2017-06-26 12:43:01.000000000","message":"I think we should be passing a boolean rather than a string. A boolean is more expressive.","commit_id":"02ebc41079ac122ebb10848a30e6360f9904ddb7"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"aff7d3eca77db78e40b16191626562d6931aeae5","unresolved":false,"context_lines":[{"line_number":236,"context_line":"    function nodeSetBootDevice(nodeId, bootDevice, persistent) {"},{"line_number":237,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + nodeId + \u0027/boot_device\u0027,"},{"line_number":238,"context_line":"                            {boot_device: bootDevice,"},{"line_number":239,"context_line":"                             persistent: persistent ? \u0027True\u0027 : \u0027False\u0027})"},{"line_number":240,"context_line":"        .then(function() {"},{"line_number":241,"context_line":"          toastService.add(\u0027success\u0027,"},{"line_number":242,"context_line":"                           gettext(\u0027Refresh page to see set boot device\u0027));"}],"source_content_type":"text/javascript","patch_set":9,"id":"5f201791_b54c57c8","line":239,"in_reply_to":"5f201791_7545ad42","updated":"2017-06-26 20:38:02.000000000","message":"Hmm true also the description says Boolean at L233. But does passing a string works? I mean ironic.py is expecting boolean value for persistent option and so does the respective method in ironicclient.","commit_id":"02ebc41079ac122ebb10848a30e6360f9904ddb7"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"be2f86a5d90f0055bab52eaf6d15cd5750378689","unresolved":false,"context_lines":[{"line_number":236,"context_line":"    function nodeSetBootDevice(nodeId, bootDevice, persistent) {"},{"line_number":237,"context_line":"      return apiService.put(\u0027/api/ironic/nodes/\u0027 + nodeId + \u0027/boot_device\u0027,"},{"line_number":238,"context_line":"                            {boot_device: bootDevice,"},{"line_number":239,"context_line":"                             persistent: persistent ? \u0027True\u0027 : \u0027False\u0027})"},{"line_number":240,"context_line":"        .then(function() {"},{"line_number":241,"context_line":"          toastService.add(\u0027success\u0027,"},{"line_number":242,"context_line":"                           gettext(\u0027Refresh page to see set boot device\u0027));"}],"source_content_type":"text/javascript","patch_set":9,"id":"5f201791_4b0c40a4","line":239,"in_reply_to":"5f201791_b54c57c8","updated":"2017-06-26 22:03:11.000000000","message":"Agree that a boolean is expected and should be passed. In my testing, this also works mainly because either a boolean or a string representation is accepted. For example, for set-console-mode: https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/node.py#L413\n\nIn any case, reverting this change as it doesn\u0027t make much difference.","commit_id":"02ebc41079ac122ebb10848a30e6360f9904ddb7"}],"ironic_ui/static/dashboard/admin/ironic/node-actions.service.js":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":162,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":163,"context_line":"     * @return {promise} promise"},{"line_number":164,"context_line":"     */"},{"line_number":165,"context_line":"    function setBootDevice(nodes, device, persistent) {"},{"line_number":166,"context_line":"      var promises \u003d [];"},{"line_number":167,"context_line":"      angular.forEach(nodes,"},{"line_number":168,"context_line":"                      function(node) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"7f231b9d_cb4d95c5","line":165,"updated":"2017-06-19 22:27:30.000000000","message":"Do we need this function. I am not seeing a case where we call this function with multiple nodes.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":162,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":163,"context_line":"     * @return {promise} promise"},{"line_number":164,"context_line":"     */"},{"line_number":165,"context_line":"    function setBootDevice(nodes, device, persistent) {"},{"line_number":166,"context_line":"      var promises \u003d [];"},{"line_number":167,"context_line":"      angular.forEach(nodes,"},{"line_number":168,"context_line":"                      function(node) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_290f672f","line":165,"range":{"start_line":165,"start_character":27,"end_line":165,"end_character":32},"updated":"2017-06-20 23:51:52.000000000","message":"What is nodes? I guess we agreed today about no need of batch operation for boot device?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"698bacc19b7839c4c8406f82836ea19d47033bf4","unresolved":false,"context_lines":[{"line_number":162,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":163,"context_line":"     * @return {promise} promise"},{"line_number":164,"context_line":"     */"},{"line_number":165,"context_line":"    function setBootDevice(nodes, device, persistent) {"},{"line_number":166,"context_line":"      var promises \u003d [];"},{"line_number":167,"context_line":"      angular.forEach(nodes,"},{"line_number":168,"context_line":"                      function(node) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_306d6c04","line":165,"range":{"start_line":165,"start_character":27,"end_line":165,"end_character":32},"in_reply_to":"5f201791_290f672f","updated":"2017-06-21 22:57:13.000000000","message":"Given that we only support setting boot device on an individual node this function degenerates to ironic.nodeSetBootDevice. Given our design decision I think we should remove the function.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":162,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":163,"context_line":"     * @return {promise} promise"},{"line_number":164,"context_line":"     */"},{"line_number":165,"context_line":"    function setBootDevice(nodes, device, persistent) {"},{"line_number":166,"context_line":"      var promises \u003d [];"},{"line_number":167,"context_line":"      angular.forEach(nodes,"},{"line_number":168,"context_line":"                      function(node) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_fb60f534","line":165,"range":{"start_line":165,"start_character":27,"end_line":165,"end_character":32},"in_reply_to":"5f201791_290f672f","updated":"2017-06-21 21:38:02.000000000","message":"This will change per discussion.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"756f2c791296c563d2dc247afcbe391b1984d0e5","unresolved":false,"context_lines":[{"line_number":162,"context_line":"     * @param {boolean} persistent - True or False"},{"line_number":163,"context_line":"     * @return {promise} promise"},{"line_number":164,"context_line":"     */"},{"line_number":165,"context_line":"    function setBootDevice(nodes, device, persistent) {"},{"line_number":166,"context_line":"      var promises \u003d [];"},{"line_number":167,"context_line":"      angular.forEach(nodes,"},{"line_number":168,"context_line":"                      function(node) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_81353dfa","line":165,"in_reply_to":"7f231b9d_cb4d95c5","updated":"2017-06-20 17:38:12.000000000","message":"This is working actually, but only for node-details. For node-list, there is an issue to get the supported devices.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/node-details/node-details.controller.js":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":173,"context_line":"     *"},{"line_number":174,"context_line":"     * @return {void}"},{"line_number":175,"context_line":"     */"},{"line_number":176,"context_line":"    function retrieveSupportedBootDevices() {"},{"line_number":177,"context_line":"      ironic.getSupportedBootDevices(ctrl.node.uuid).then("},{"line_number":178,"context_line":"                                     function (supportedBootDevices) {"},{"line_number":179,"context_line":"        ctrl.node.supportedBootDevices \u003d supportedBootDevices;"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_c3bb350c","line":176,"range":{"start_line":176,"start_character":5,"end_line":176,"end_character":41},"updated":"2017-06-20 23:51:52.000000000","message":"Have you considered calling ironic.getSupportedDevices from retrieveBootDevice()? I feel we can make that method a single method to retrieve all boot device information, wdyt?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":173,"context_line":"     *"},{"line_number":174,"context_line":"     * @return {void}"},{"line_number":175,"context_line":"     */"},{"line_number":176,"context_line":"    function retrieveSupportedBootDevices() {"},{"line_number":177,"context_line":"      ironic.getSupportedBootDevices(ctrl.node.uuid).then("},{"line_number":178,"context_line":"                                     function (supportedBootDevices) {"},{"line_number":179,"context_line":"        ctrl.node.supportedBootDevices \u003d supportedBootDevices;"}],"source_content_type":"text/javascript","patch_set":4,"id":"5f201791_9b76a106","line":176,"range":{"start_line":176,"start_character":5,"end_line":176,"end_character":41},"in_reply_to":"5f201791_c3bb350c","updated":"2017-06-21 21:38:02.000000000","message":"I think that would be confusing as function naming is specific to what action is being done.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/node-details/node-details.html":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"          \u003ca role\u003d\"menuitem\""},{"line_number":42,"context_line":"             ng-click\u003d\"ctrl.bootDeviceService.setBootDevice("},{"line_number":43,"context_line":"                       [ctrl.node],"},{"line_number":44,"context_line":"                       ctrl.node.supportedBootDevices.supported_boot_devices);"},{"line_number":45,"context_line":"                       $event.stopPropagation();"},{"line_number":46,"context_line":"                       $event.preventDefault()\"\u003e"},{"line_number":47,"context_line":"            \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"7f231b9d_90034cbf","line":44,"updated":"2017-06-19 22:27:30.000000000","message":"It seems a bit odd to be passing both ctrl.node and ctrl.node.supportedBootDevices?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":41,"context_line":"          \u003ca role\u003d\"menuitem\""},{"line_number":42,"context_line":"             ng-click\u003d\"ctrl.bootDeviceService.setBootDevice("},{"line_number":43,"context_line":"                       [ctrl.node],"},{"line_number":44,"context_line":"                       ctrl.node.supportedBootDevices.supported_boot_devices);"},{"line_number":45,"context_line":"                       $event.stopPropagation();"},{"line_number":46,"context_line":"                       $event.preventDefault()\"\u003e"},{"line_number":47,"context_line":"            \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_a30958de","line":44,"in_reply_to":"5f201791_345b492f","updated":"2017-06-20 23:51:52.000000000","message":"I think so that is because ctrl.node gets created inside retrieveNode() and hence it\u0027s scope would be in that controller. I feel it would be better to make a API call to get supported boot device in the bootdeviceController that wise no need to pass supported devices from here as param","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":41,"context_line":"          \u003ca role\u003d\"menuitem\""},{"line_number":42,"context_line":"             ng-click\u003d\"ctrl.bootDeviceService.setBootDevice("},{"line_number":43,"context_line":"                       [ctrl.node],"},{"line_number":44,"context_line":"                       ctrl.node.supportedBootDevices.supported_boot_devices);"},{"line_number":45,"context_line":"                       $event.stopPropagation();"},{"line_number":46,"context_line":"                       $event.preventDefault()\"\u003e"},{"line_number":47,"context_line":"            \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_7b1e25bb","line":44,"in_reply_to":"5f201791_a30958de","updated":"2017-06-21 21:38:02.000000000","message":"Agree with retrieving supported boot devices in the bootdeviceController.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"756f2c791296c563d2dc247afcbe391b1984d0e5","unresolved":false,"context_lines":[{"line_number":41,"context_line":"          \u003ca role\u003d\"menuitem\""},{"line_number":42,"context_line":"             ng-click\u003d\"ctrl.bootDeviceService.setBootDevice("},{"line_number":43,"context_line":"                       [ctrl.node],"},{"line_number":44,"context_line":"                       ctrl.node.supportedBootDevices.supported_boot_devices);"},{"line_number":45,"context_line":"                       $event.stopPropagation();"},{"line_number":46,"context_line":"                       $event.preventDefault()\"\u003e"},{"line_number":47,"context_line":"            \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_345b492f","line":44,"in_reply_to":"7f231b9d_90034cbf","updated":"2017-06-20 17:38:12.000000000","message":"This was done mainly because of the error when passing \u0027node\u0027 to BootDeviceController and fetching supported devices like this:\n\n  BootDeviceController.$inject \u003d [\n    \u0027$uibModalInstance\u0027,\n    \u0027horizon.app.core.openstack-service-api.ironic\u0027,\n    \u0027node\u0027\n  ];\n\n  function BootDeviceController($uibModalInstance, ironic, node) {\n    var ctrl \u003d this;\n\n    init(node);\n    \n    function init(node) {\n      ironic.getNode(node.uuid).then(function(node.uuid) {\n        ctrl.supported \u003d ironic.getSupportedBootDevices(node.uuid);\n      }\n      // ctrl.supported \u003d ironic.getSupportedBootDevices(node.uuid);\n    }\n\n    ...","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}],"ironic_ui/static/dashboard/admin/ironic/node-details/sections/configuration.html":[{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"a7efeb9a0325bf77ddb71011b6f5fd75d8150216","unresolved":false,"context_lines":[{"line_number":280,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":281,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":282,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":283,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":284,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices.supported_boot_devices | noValue $}\u003c/dd\u003e"},{"line_number":285,"context_line":"    \u003c/dl\u003e"},{"line_number":286,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_8940bb09","line":283,"range":{"start_line":283,"start_character":20,"end_line":283,"end_character":42},"updated":"2017-06-20 23:51:52.000000000","message":"I don\u0027t completely agree on displaying supported boot devices here, is there a specific need. I mean this is section is for what is current configuration of the underlying node. I feel here it should only be shown the current boot device for the node.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"3d14d7b264cc5abf783b90e1372c44b0d8848d34","unresolved":false,"context_lines":[{"line_number":280,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":281,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":282,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":283,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":284,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices.supported_boot_devices | noValue $}\u003c/dd\u003e"},{"line_number":285,"context_line":"    \u003c/dl\u003e"},{"line_number":286,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_5b1489a0","line":283,"range":{"start_line":283,"start_character":20,"end_line":283,"end_character":42},"in_reply_to":"5f201791_8940bb09","updated":"2017-06-21 21:38:02.000000000","message":"This will be removed. There is no specific need.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"ed8112799be4d94ff59106fc9c955d2f381363f3","unresolved":false,"context_lines":[{"line_number":295,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":296,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":297,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":298,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":299,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices | noValue $}\u003c/dd\u003e"},{"line_number":300,"context_line":"    \u003c/dl\u003e"},{"line_number":301,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5f201791_c4ded53c","line":298,"updated":"2017-06-27 22:48:26.000000000","message":"Hi Peter, this can be removed now; WDYT?","commit_id":"cd92c7d93ce47df5a75dea008a7a5326e3502e91"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"bb8d95087c912e83a7ef77c4c4cedf1e91d9ab65","unresolved":false,"context_lines":[{"line_number":295,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":296,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":297,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":298,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":299,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices | noValue $}\u003c/dd\u003e"},{"line_number":300,"context_line":"    \u003c/dl\u003e"},{"line_number":301,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"3f1d235d_41ab93d5","line":298,"in_reply_to":"3f1d235d_06f01190","updated":"2017-06-29 19:41:40.000000000","message":"Hi Peter, Julia, thanks for the comments. Will remove \u0027Supported Boot Devices\u0027 part.","commit_id":"cd92c7d93ce47df5a75dea008a7a5326e3502e91"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"ab55b4187267bee9e243e1898caf195deb87152a","unresolved":false,"context_lines":[{"line_number":295,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":296,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":297,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":298,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":299,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices | noValue $}\u003c/dd\u003e"},{"line_number":300,"context_line":"    \u003c/dl\u003e"},{"line_number":301,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"3f1d235d_06f01190","line":298,"in_reply_to":"3f1d235d_690d6336","updated":"2017-06-29 19:21:43.000000000","message":"I think it makes sense to remove since operators would focus on a node being active. They are only likely to focus on the boot device when troubleshooting a node\u0027s behavior or issues.","commit_id":"cd92c7d93ce47df5a75dea008a7a5326e3502e91"},{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"ac4bb242af8aba5e90e0ac846cb5490f546c1af0","unresolved":false,"context_lines":[{"line_number":295,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.boot_device | noValue $}\u003c/dd\u003e"},{"line_number":296,"context_line":"      \u003cdt translate\u003ePersistent\u003c/dt\u003e"},{"line_number":297,"context_line":"      \u003cdd\u003e{$ ctrl.node.bootDevice.persistent | noValue $}\u003c/dd\u003e"},{"line_number":298,"context_line":"      \u003cdt translate\u003eSupported Boot Devices\u003c/dt\u003e"},{"line_number":299,"context_line":"      \u003cdd\u003e{$ ctrl.node.supportedBootDevices | noValue $}\u003c/dd\u003e"},{"line_number":300,"context_line":"    \u003c/dl\u003e"},{"line_number":301,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"3f1d235d_690d6336","line":298,"in_reply_to":"5f201791_c4ded53c","updated":"2017-06-29 13:50:16.000000000","message":"Hi Rama, I don\u0027t mind seeing that information, but am not sure whether it has value outside the context of setting the boot device. If we are not sure, I would remove it, we can always add it later if people request it. Another issue is that I believe these are the boot devices supported by the driver as opposed to the node which is confusing?","commit_id":"cd92c7d93ce47df5a75dea008a7a5326e3502e91"}],"ironic_ui/static/dashboard/admin/ironic/node-list/node-list.html":[{"author":{"_account_id":19380,"name":"Peter Piela","email":"ppiela@gmail.com","username":"ppiela"},"change_message_id":"53511c463087b15fdbaab2a725e764f066ddf67a","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                  \u003ca role\u003d\"menuitem\""},{"line_number":168,"context_line":"                     ng-click\u003d\"table.bootDeviceService.setBootDevice("},{"line_number":169,"context_line":"                               [node],"},{"line_number":170,"context_line":"                               table.getSupportedBootDevices(node));"},{"line_number":171,"context_line":"                               $event.stopPropagation();"},{"line_number":172,"context_line":"                               $event.preventDefault()\"\u003e"},{"line_number":173,"context_line":"                    \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"7f231b9d_f0e160fe","line":170,"updated":"2017-06-19 22:27:30.000000000","message":"For node-list we are doing things differently, and not embedding supportedBootDevices inside the node?","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"756f2c791296c563d2dc247afcbe391b1984d0e5","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                  \u003ca role\u003d\"menuitem\""},{"line_number":168,"context_line":"                     ng-click\u003d\"table.bootDeviceService.setBootDevice("},{"line_number":169,"context_line":"                               [node],"},{"line_number":170,"context_line":"                               table.getSupportedBootDevices(node));"},{"line_number":171,"context_line":"                               $event.stopPropagation();"},{"line_number":172,"context_line":"                               $event.preventDefault()\"\u003e"},{"line_number":173,"context_line":"                    \u003cspan\u003e{$ \"Set Boot Device\" | translate $}\u003c/span\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5f201791_345ea9e6","line":170,"in_reply_to":"7f231b9d_f0e160fe","updated":"2017-06-20 17:38:12.000000000","message":"Tried making bootdevice to work for both node-list and node-details. Having an issue with that.","commit_id":"f1f1ff7a9842add726a7eb9591ed8f9012553f1a"}]}
