)]}'
{"doc/source/filter_scheduler.rst":[{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3ae248cdb39f50a95477b96d8a89e409e478fd35","unresolved":false,"context_lines":[{"line_number":347,"context_line":""},{"line_number":348,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they must"},{"line_number":349,"context_line":"implement the ``weight_multiplier`` and ``_weight_object`` methods. If the"},{"line_number":350,"context_line":"``weight_objects`` method is overridden it just return a list of weights, and not"},{"line_number":351,"context_line":"modify the weight of the object directly, since final weights are normalized and"},{"line_number":352,"context_line":"computed by ``weight.BaseWeightHandler``."},{"line_number":353,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a1a9d01_c77c41ee","line":350,"updated":"2015-09-30 12:05:12.000000000","message":"change here also?","commit_id":"7582cd91316338b27ea3c703d4b911eefa686ede"},{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"dcbc7248e0f28fed9b64e3ff954bd89cb0ac8a9d","unresolved":false,"context_lines":[{"line_number":347,"context_line":""},{"line_number":348,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they must"},{"line_number":349,"context_line":"implement the ``weight_multiplier`` and ``_weight_object`` methods. If the"},{"line_number":350,"context_line":"``weight_objects`` method is overridden it just return a list of weights, and not"},{"line_number":351,"context_line":"modify the weight of the object directly, since final weights are normalized and"},{"line_number":352,"context_line":"computed by ``weight.BaseWeightHandler``."},{"line_number":353,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a1a9d01_a27edb67","line":350,"in_reply_to":"9a1a9d01_c77c41ee","updated":"2015-10-01 00:48:26.000000000","message":"No, that is a different method .  see https://github.com/openstack/nova/blob/master/nova/weights.py#L92","commit_id":"7582cd91316338b27ea3c703d4b911eefa686ede"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"6a4165ba331a6d49575b58aa8e86c9a6461cdd0d","unresolved":false,"context_lines":[{"line_number":354,"context_line":"    weight \u003d w1_multiplier * norm(w1) + w2_multiplier * norm(w2) + ..."},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they can"},{"line_number":357,"context_line":"implement both of ``weight_multiplier`` and ``_weight_object`` methods or"},{"line_number":358,"context_line":"just implement ``weight_objects`` method. ``weight_objects`` method is overridden"},{"line_number":359,"context_line":"only if you need access to all objects in order to calculate weights, and it just"},{"line_number":360,"context_line":"return a list of weights, and not modify the weight of the object directly,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_431a827e","line":357,"updated":"2015-10-21 19:21:04.000000000","message":"s/both of/both the/\n\nimplement both the ``weight_multiplier`` and...","commit_id":"b4385ce006c18b4297b92451f7f920223cd67ac9"},{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"04935c2232adc3217458d0e73e4a26fee76e9d13","unresolved":false,"context_lines":[{"line_number":354,"context_line":"    weight \u003d w1_multiplier * norm(w1) + w2_multiplier * norm(w2) + ..."},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they can"},{"line_number":357,"context_line":"implement both of ``weight_multiplier`` and ``_weight_object`` methods or"},{"line_number":358,"context_line":"just implement ``weight_objects`` method. ``weight_objects`` method is overridden"},{"line_number":359,"context_line":"only if you need access to all objects in order to calculate weights, and it just"},{"line_number":360,"context_line":"return a list of weights, and not modify the weight of the object directly,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_46b7e539","line":357,"in_reply_to":"3a29b11f_431a827e","updated":"2015-10-22 03:09:28.000000000","message":"Done","commit_id":"b4385ce006c18b4297b92451f7f920223cd67ac9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"6a4165ba331a6d49575b58aa8e86c9a6461cdd0d","unresolved":false,"context_lines":[{"line_number":355,"context_line":""},{"line_number":356,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they can"},{"line_number":357,"context_line":"implement both of ``weight_multiplier`` and ``_weight_object`` methods or"},{"line_number":358,"context_line":"just implement ``weight_objects`` method. ``weight_objects`` method is overridden"},{"line_number":359,"context_line":"only if you need access to all objects in order to calculate weights, and it just"},{"line_number":360,"context_line":"return a list of weights, and not modify the weight of the object directly,"},{"line_number":361,"context_line":"since final weights are normalized and computed by ``weight.BaseWeightHandler``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_83041a18","line":358,"updated":"2015-10-21 19:21:04.000000000","message":"s/implement /implement the/\n\njust implement the ``weight_objects`` method.","commit_id":"b4385ce006c18b4297b92451f7f920223cd67ac9"},{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"04935c2232adc3217458d0e73e4a26fee76e9d13","unresolved":false,"context_lines":[{"line_number":355,"context_line":""},{"line_number":356,"context_line":"A weigher should be a subclass of ``weights.BaseHostWeigher`` and they can"},{"line_number":357,"context_line":"implement both of ``weight_multiplier`` and ``_weight_object`` methods or"},{"line_number":358,"context_line":"just implement ``weight_objects`` method. ``weight_objects`` method is overridden"},{"line_number":359,"context_line":"only if you need access to all objects in order to calculate weights, and it just"},{"line_number":360,"context_line":"return a list of weights, and not modify the weight of the object directly,"},{"line_number":361,"context_line":"since final weights are normalized and computed by ``weight.BaseWeightHandler``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_a6aef9e3","line":358,"in_reply_to":"3a29b11f_83041a18","updated":"2015-10-22 03:09:28.000000000","message":"Done","commit_id":"b4385ce006c18b4297b92451f7f920223cd67ac9"}]}
