)]}'
{"neutron/plugins/vmware/dbexts/networkgw_db.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"54c4cfb937affc441536606f9e3fc65c0044e2ab","unresolved":false,"context_lines":[{"line_number":207,"context_line":"            msg \u003d _(\"Cannot specify a segmentation id when \""},{"line_number":208,"context_line":"                    \"the segmentation type is flat\")"},{"line_number":209,"context_line":"            raise exceptions.InvalidInput(error_message\u003dmsg)"},{"line_number":210,"context_line":"        elif (seg_type and seg_type.lower() \u003d\u003d \u0027vlan\u0027 and"},{"line_number":211,"context_line":"              (seg_id \u003c 0 or seg_id \u003e 4095)):"},{"line_number":212,"context_line":"            msg \u003d _(\"Invalid segmentation id (%d) for \""},{"line_number":213,"context_line":"                    \"vlan segmentation type\") % seg_id"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_f732c50e","line":210,"updated":"2014-07-11 18:39:36.000000000","message":"here set_type must be valid, otherwise we would have ended up in the first if branch","commit_id":"a56cdb31de87757b72c927ed8c3203e181a15948"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6fe95233f007df5150123ad4b9b0a553d1883e66","unresolved":false,"context_lines":[{"line_number":203,"context_line":"            msg \u003d _(\"Cannot specify a segmentation id when \""},{"line_number":204,"context_line":"                    \"the segmentation type is flat\")"},{"line_number":205,"context_line":"            raise exceptions.InvalidInput(error_message\u003dmsg)"},{"line_number":206,"context_line":"        elif seg_type.lower() \u003d\u003d \u0027vlan\u0027 and (seg_id \u003c 0 or seg_id \u003e 4095):"},{"line_number":207,"context_line":"            msg \u003d _(\"Invalid segmentation id (%d) for \""},{"line_number":208,"context_line":"                    \"vlan segmentation type\") % seg_id"},{"line_number":209,"context_line":"            raise exceptions.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_6f7699a5","line":206,"range":{"start_line":206,"start_character":44,"end_line":206,"end_character":73},"updated":"2014-07-15 00:26:23.000000000","message":"how about using neutron.common.utils.is_valid_vlan_tag ?","commit_id":"0206987c12357634639ec666b721eddc80ee76bc"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"a55f0c419371f57eca95f232bb2fd1590e96e4f3","unresolved":false,"context_lines":[{"line_number":203,"context_line":"            msg \u003d _(\"Cannot specify a segmentation id when \""},{"line_number":204,"context_line":"                    \"the segmentation type is flat\")"},{"line_number":205,"context_line":"            raise exceptions.InvalidInput(error_message\u003dmsg)"},{"line_number":206,"context_line":"        elif seg_type.lower() \u003d\u003d \u0027vlan\u0027 and (seg_id \u003c 0 or seg_id \u003e 4095):"},{"line_number":207,"context_line":"            msg \u003d _(\"Invalid segmentation id (%d) for \""},{"line_number":208,"context_line":"                    \"vlan segmentation type\") % seg_id"},{"line_number":209,"context_line":"            raise exceptions.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_4bb065dd","line":206,"in_reply_to":"baada198_6f7699a5","updated":"2014-07-17 16:05:50.000000000","message":"yeah can do","commit_id":"0206987c12357634639ec666b721eddc80ee76bc"}],"neutron/tests/unit/vmware/extensions/test_networkgw.py":[{"author":{"_account_id":9820,"name":"Liping Mao","email":"limao@cisco.com","username":"LipingMao"},"change_message_id":"4a8d56692f83c2c7870c10de518b23719311a07b","unresolved":false,"context_lines":[{"line_number":725,"context_line":"                self._gateway_action(\u0027connect\u0027,"},{"line_number":726,"context_line":"                                     gw[self.gw_resource][\u0027id\u0027],"},{"line_number":727,"context_line":"                                     net[\u0027network\u0027][\u0027id\u0027],"},{"line_number":728,"context_line":"                                     \u0027vlan\u0027, 4100,"},{"line_number":729,"context_line":"                                     expected_status\u003dexc.HTTPBadRequest.code)"},{"line_number":730,"context_line":"                # below lower bound"},{"line_number":731,"context_line":"                self._gateway_action(\u0027connect\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_6f5d55ec","line":728,"updated":"2014-07-17 01:45:09.000000000","message":"Nit: it is OK here, but I think use 0 and 4095 here is better.","commit_id":"0206987c12357634639ec666b721eddc80ee76bc"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"a55f0c419371f57eca95f232bb2fd1590e96e4f3","unresolved":false,"context_lines":[{"line_number":725,"context_line":"                self._gateway_action(\u0027connect\u0027,"},{"line_number":726,"context_line":"                                     gw[self.gw_resource][\u0027id\u0027],"},{"line_number":727,"context_line":"                                     net[\u0027network\u0027][\u0027id\u0027],"},{"line_number":728,"context_line":"                                     \u0027vlan\u0027, 4100,"},{"line_number":729,"context_line":"                                     expected_status\u003dexc.HTTPBadRequest.code)"},{"line_number":730,"context_line":"                # below lower bound"},{"line_number":731,"context_line":"                self._gateway_action(\u0027connect\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_6bea89ad","line":728,"in_reply_to":"baada198_6f5d55ec","updated":"2014-07-17 16:05:50.000000000","message":"yeah I pretty much user random numbers above and below the threshold","commit_id":"0206987c12357634639ec666b721eddc80ee76bc"}]}
