)]}'
{"nova/compute/api.py":[{"author":{"_account_id":20223,"name":"zhaolihui","email":"zhaolh@awcloud.com","username":"zhaolihui"},"change_message_id":"5d1a542140048fbbb5e96fdf03b2d675ecee5743","unresolved":false,"context_lines":[{"line_number":1082,"context_line":"        # max_net_count is the maximum number of instances requested by the"},{"line_number":1083,"context_line":"        # user adjusted for any network quota constraints, including"},{"line_number":1084,"context_line":"        # consideration of connections to each requested network"},{"line_number":1085,"context_line":"        if max_net_count \u003c min_count:"},{"line_number":1086,"context_line":"            raise exception.PortLimitExceeded()"},{"line_number":1087,"context_line":"        elif max_net_count \u003c max_count:"},{"line_number":1088,"context_line":"            LOG.info(_LI(\"max count reduced from %(max_count)d to \""}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_da055046","line":1085,"range":{"start_line":1085,"start_character":8,"end_line":1085,"end_character":37},"updated":"2016-02-24 09:11:14.000000000","message":"The from min_count to max_count (example from 3 to 5) is the user expect to create instances, but actually the openstack\u0027s capatility is 2, what to do when this case?","commit_id":"08af5e95624c19794c5301fb8d70f65c39d356e2"},{"author":{"_account_id":8768,"name":"Chris Friesen","email":"chris.friesen@windriver.com","username":"cbf123"},"change_message_id":"2a95989889151df2deb314726f9b3df64f4bb11d","unresolved":false,"context_lines":[{"line_number":1082,"context_line":"        # max_net_count is the maximum number of instances requested by the"},{"line_number":1083,"context_line":"        # user adjusted for any network quota constraints, including"},{"line_number":1084,"context_line":"        # consideration of connections to each requested network"},{"line_number":1085,"context_line":"        if max_net_count \u003c min_count:"},{"line_number":1086,"context_line":"            raise exception.PortLimitExceeded()"},{"line_number":1087,"context_line":"        elif max_net_count \u003c max_count:"},{"line_number":1088,"context_line":"            LOG.info(_LI(\"max count reduced from %(max_count)d to \""}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_df06c984","line":1085,"range":{"start_line":1085,"start_character":8,"end_line":1085,"end_character":37},"in_reply_to":"bae84128_da055046","updated":"2016-02-24 15:02:55.000000000","message":"If the user specifies a min_count of 3, and they are only able to have 2 scheduled, then the correct behaviour is to fail the boot request.","commit_id":"08af5e95624c19794c5301fb8d70f65c39d356e2"}],"nova/tests/unit/compute/test_compute_api.py":[{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"53a98b2f3be2cacffd2b325101d09844f0b35f63","unresolved":false,"context_lines":[{"line_number":204,"context_line":"            else:"},{"line_number":205,"context_line":"                self.fail(\"Exception not raised\")"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def fake_create_max_net_count(self, max_net_count, min_count, max_count):"},{"line_number":208,"context_line":"        with test.nested("},{"line_number":209,"context_line":"            mock.patch.object(self.compute_api, \u0027_get_image\u0027,"},{"line_number":210,"context_line":"                              return_value\u003d(None, {})),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_fea52b04","line":207,"range":{"start_line":207,"start_character":8,"end_line":207,"end_character":33},"updated":"2016-02-26 20:44:42.000000000","message":"I\u0027d suggest this to be _test_create_max_net_count\n\nfake prefix might lead to confusion, usually it\u0027s a function\nwill be mocked when it has fake prefix","commit_id":"7a29ee6eb6fc5fbee789efeba86121b8beb99c81"},{"author":{"_account_id":8768,"name":"Chris Friesen","email":"chris.friesen@windriver.com","username":"cbf123"},"change_message_id":"d3fc7f9bcb51997f4675bf41fd056adfcc36209c","unresolved":false,"context_lines":[{"line_number":204,"context_line":"            else:"},{"line_number":205,"context_line":"                self.fail(\"Exception not raised\")"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def fake_create_max_net_count(self, max_net_count, min_count, max_count):"},{"line_number":208,"context_line":"        with test.nested("},{"line_number":209,"context_line":"            mock.patch.object(self.compute_api, \u0027_get_image\u0027,"},{"line_number":210,"context_line":"                              return_value\u003d(None, {})),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_12ba836e","line":207,"range":{"start_line":207,"start_character":8,"end_line":207,"end_character":33},"in_reply_to":"9aed3d3a_fea52b04","updated":"2016-02-26 21:30:58.000000000","message":"Done","commit_id":"7a29ee6eb6fc5fbee789efeba86121b8beb99c81"}]}
