)]}'
{"kuryr/lib/segmentation_type_drivers/vlan.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d33e4f96b4b9aa0cdeacc93d1a4efa8d0e77bd97","unresolved":false,"context_lines":[{"line_number":20,"context_line":"class SegmentationDriver(object):"},{"line_number":21,"context_line":"    def __init__(self):"},{"line_number":22,"context_line":"        self.available_local_vlans \u003d set(range(const.MIN_VLAN_TAG,"},{"line_number":23,"context_line":"                                                     const.MAX_VLAN_TAG + 1))"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def allocate_segmentation_id(self, allocated_ids\u003dset()):"},{"line_number":26,"context_line":"        self.available_local_vlans.difference_update(allocated_ids)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_c100ff69","line":23,"updated":"2020-09-30 00:50:49.000000000","message":"pep8: E127 continuation line over-indented for visual indent","commit_id":"7fdda8d4f65468ff38c1e59269cd7dcea4577c2b"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"97e0b0b459a41509e581b4c49864e427cb0f4ba5","unresolved":false,"context_lines":[{"line_number":20,"context_line":"class SegmentationDriver(object):"},{"line_number":21,"context_line":"    def __init__(self):"},{"line_number":22,"context_line":"        self.available_local_vlans \u003d set(range(const.MIN_VLAN_TAG,"},{"line_number":23,"context_line":"                                                     const.MAX_VLAN_TAG + 1))"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def allocate_segmentation_id(self, allocated_ids\u003dset()):"},{"line_number":26,"context_line":"        self.available_local_vlans.difference_update(allocated_ids)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_76b8d210","line":23,"updated":"2020-09-30 07:13:45.000000000","message":"pep8: E127 continuation line over-indented for visual indent","commit_id":"3249b94a0eabbfc82d3b1f6fa3436b9776bf7e11"}],"kuryr/tests/unit/segmentation_type_drivers/test_vlan.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d33e4f96b4b9aa0cdeacc93d1a4efa8d0e77bd97","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    def test_allocate_segmentation_id_only_1_available(self):"},{"line_number":43,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":44,"context_line":"        allocated_ids \u003d set(range(const.MIN_VLAN_TAG,"},{"line_number":45,"context_line":"                                        const.MAX_VLAN_TAG + 1))"},{"line_number":46,"context_line":"        allocated_ids.remove(const.MAX_VLAN_TAG)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        vlan_id \u003d vlan_seg_driver.allocate_segmentation_id(allocated_ids)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_41d34f02","line":45,"updated":"2020-09-30 00:50:49.000000000","message":"pep8: E127 continuation line over-indented for visual indent","commit_id":"7fdda8d4f65468ff38c1e59269cd7dcea4577c2b"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d33e4f96b4b9aa0cdeacc93d1a4efa8d0e77bd97","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def test_allocate_segmentation_id_no_available_vlans(self):"},{"line_number":60,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":61,"context_line":"        allocated_ids \u003d set(moves.range(const.MIN_VLAN_TAG,"},{"line_number":62,"context_line":"                                        const.MAX_VLAN_TAG + 1))"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        self.assertRaises(exceptions.SegmentationIdAllocationFailure,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_a1018b70","line":61,"updated":"2020-09-30 00:50:49.000000000","message":"pep8: F821 undefined name \u0027moves\u0027","commit_id":"7fdda8d4f65468ff38c1e59269cd7dcea4577c2b"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d33e4f96b4b9aa0cdeacc93d1a4efa8d0e77bd97","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    @mock.patch(\u0027random.choice\u0027)"},{"line_number":80,"context_line":"    def test_allocate_segmentation_id_2_retries(self, mock_choice):"},{"line_number":81,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":82,"context_line":"        vlan_seg_driver.available_local_vlans \u003d set(moves.range(1, 10))"},{"line_number":83,"context_line":"        allocated_ids \u003d set([1, 2, 3])"},{"line_number":84,"context_line":"        mock_choice.side_effect \u003d [1, 1, 5]"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_81060785","line":82,"updated":"2020-09-30 00:50:49.000000000","message":"pep8: F821 undefined name \u0027moves\u0027","commit_id":"7fdda8d4f65468ff38c1e59269cd7dcea4577c2b"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d33e4f96b4b9aa0cdeacc93d1a4efa8d0e77bd97","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def test_release_segmentation_id(self):"},{"line_number":92,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":93,"context_line":"        vlan_seg_driver.available_local_vlans \u003d set(moves.range(1, 10))"},{"line_number":94,"context_line":"        vlan_id \u003d 20"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        vlan_seg_driver.release_segmentation_id(vlan_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_e1fb8378","line":93,"updated":"2020-09-30 00:50:49.000000000","message":"pep8: F821 undefined name \u0027moves\u0027","commit_id":"7fdda8d4f65468ff38c1e59269cd7dcea4577c2b"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"97e0b0b459a41509e581b4c49864e427cb0f4ba5","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    def test_allocate_segmentation_id_only_1_available(self):"},{"line_number":43,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":44,"context_line":"        allocated_ids \u003d set(range(const.MIN_VLAN_TAG,"},{"line_number":45,"context_line":"                                        const.MAX_VLAN_TAG + 1))"},{"line_number":46,"context_line":"        allocated_ids.remove(const.MAX_VLAN_TAG)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        vlan_id \u003d vlan_seg_driver.allocate_segmentation_id(allocated_ids)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_36be5a00","line":45,"updated":"2020-09-30 07:13:45.000000000","message":"pep8: E127 continuation line over-indented for visual indent","commit_id":"3249b94a0eabbfc82d3b1f6fa3436b9776bf7e11"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"97e0b0b459a41509e581b4c49864e427cb0f4ba5","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    def test_allocate_segmentation_id_no_available_vlans(self):"},{"line_number":60,"context_line":"        vlan_seg_driver \u003d vlan.SegmentationDriver()"},{"line_number":61,"context_line":"        allocated_ids \u003d set(range(const.MIN_VLAN_TAG,"},{"line_number":62,"context_line":"                                        const.MAX_VLAN_TAG + 1))"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        self.assertRaises(exceptions.SegmentationIdAllocationFailure,"},{"line_number":65,"context_line":"                          vlan_seg_driver.allocate_segmentation_id,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_96bbe60d","line":62,"updated":"2020-09-30 07:13:45.000000000","message":"pep8: E127 continuation line over-indented for visual indent","commit_id":"3249b94a0eabbfc82d3b1f6fa3436b9776bf7e11"}]}
