)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"283ae50efdb2b6894e9b36c36a1b87384490002a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Refactor ml2 manager"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Refactor code to facilitate other changes. Keeping the"},{"line_number":10,"context_line":"refactored code in different patch for ease of review."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Idc0648d5c4688c8f797cc5427b71c2a3919ce722"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a930d6b_e467aeb5","line":10,"updated":"2015-01-22 19:42:07.000000000","message":"Bug # or blueprint ?","commit_id":"703ed00c1e30ee69214d59acc257644e7a9ffcb1"}],"neutron/extensions/providernet.py":[{"author":{"_account_id":14039,"name":"watanabe isao","email":"watanabe.isao.openstack@gmail.com","username":"watanabe.isao"},"change_message_id":"f1363813b06a10b068b217f895e5675f3512ea5e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d [NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID]"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa81d914_800fffe0","line":24,"updated":"2015-01-28 00:31:29.000000000","message":"TIP: Note that you have changed the type of KEYS(immutable) from Tuple to List.","commit_id":"74665eb44aea32dccdf42c9d0ec48eb0dfd981e5"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"17e6d0c2120702d5d662f95aa592eee606409c23","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d (NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID)"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_5445866e","line":24,"updated":"2015-01-29 06:11:24.000000000","message":"It\u0027s better to use name everyone easily understands intended purpose.","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d (NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID)"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_af2d5900","line":24,"in_reply_to":"fa81d914_0e0d8b37","updated":"2015-01-30 04:21:11.000000000","message":"Well, they are the keys in the extended attribute map, but they are the names of the provider attributes, so I would use ATTRIBUTES.","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"e2b5f1b846780c91f2639aaadc2c5981eb6d521b","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d (NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID)"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_df06d8cd","line":24,"in_reply_to":"fa81d914_5445866e","updated":"2015-01-29 16:18:06.000000000","message":"Hi Hirofumi, Thanks for the comment.  what part of the name do you find confusing or hard to understand?","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d (NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID)"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_88223a50","line":24,"in_reply_to":"fa81d914_af2d5900","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"f1467595f5dfe7a2241f7e23476bc4f02f8760c9","unresolved":false,"context_lines":[{"line_number":21,"context_line":"NETWORK_TYPE \u003d \u0027provider:network_type\u0027"},{"line_number":22,"context_line":"PHYSICAL_NETWORK \u003d \u0027provider:physical_network\u0027"},{"line_number":23,"context_line":"SEGMENTATION_ID \u003d \u0027provider:segmentation_id\u0027"},{"line_number":24,"context_line":"KEYS \u003d (NETWORK_TYPE, PHYSICAL_NETWORK, SEGMENTATION_ID)"},{"line_number":25,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":26,"context_line":"    \u0027networks\u0027: {"},{"line_number":27,"context_line":"        NETWORK_TYPE: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_0e0d8b37","line":24,"in_reply_to":"fa81d914_df06d8cd","updated":"2015-01-30 01:22:14.000000000","message":"It\u0027s \"KEYS\". It\u0027s hard for me to understand what does provider.KEYS indicate in https://review.openstack.org/#/c/124917/. But I have no idea instead of it.","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    This method is used for plugins that do not support"},{"line_number":50,"context_line":"    updating provider networks."},{"line_number":51,"context_line":"    \"\"\""},{"line_number":52,"context_line":"    if any(attributes.is_attr_set(attrs.get(a)) for a in KEYS):"},{"line_number":53,"context_line":"        msg \u003d _(\"Plugin does not support updating provider attributes\")"},{"line_number":54,"context_line":"        raise n_exc.InvalidInput(error_message\u003dmsg)"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_ef33d15f","line":52,"updated":"2015-01-30 04:21:11.000000000","message":"for attribute in ATTRIBUTES","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    This method is used for plugins that do not support"},{"line_number":50,"context_line":"    updating provider networks."},{"line_number":51,"context_line":"    \"\"\""},{"line_number":52,"context_line":"    if any(attributes.is_attr_set(attrs.get(a)) for a in KEYS):"},{"line_number":53,"context_line":"        msg \u003d _(\"Plugin does not support updating provider attributes\")"},{"line_number":54,"context_line":"        raise n_exc.InvalidInput(error_message\u003dmsg)"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_08d64a28","line":52,"in_reply_to":"fa81d914_ef33d15f","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"}],"neutron/plugins/ml2/managers.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"1f2bca70dfc355458c2199f3ea0b5ac56d57f648","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                raise SystemExit(1)"},{"line_number":76,"context_line":"        LOG.info(_LI(\"Tenant network_types: %s\"), self.tenant_network_types)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":79,"context_line":"        (network_type, physical_network, segmentation_id) \u003d \\"},{"line_number":80,"context_line":"            (self._get_attribute(segment, key)"},{"line_number":81,"context_line":"             for key in self.PROVIDER_NET_KEYS)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_6564a522","line":78,"updated":"2015-01-22 15:52:11.000000000","message":"You are forbidden to use \\ as a newline break by the great Gods of PEP8, even though we don\u0027t enforce that in automation. You can break lines with list/tuple declarations, or generator expressions in this case.","commit_id":"9cbd19c4669e5886c9fb351e5a7f96202dc93e5a"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"47bda783bf0678673b473a5b0bb51b6ccd8637d6","unresolved":false,"context_lines":[{"line_number":33,"context_line":"class TypeManager(stevedore.named.NamedExtensionManager):"},{"line_number":34,"context_line":"    \"\"\"Manage network segment types using drivers.\"\"\""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    PROVIDER_NET_KEYS \u003d [provider.NETWORK_TYPE,"},{"line_number":37,"context_line":"                         provider.PHYSICAL_NETWORK,"},{"line_number":38,"context_line":"                         provider.SEGMENTATION_ID]"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_8d3973d9","line":36,"updated":"2015-01-24 14:15:44.000000000","message":"imho, such constant should be defined in providernet module[1] ... it will allow to also  refactor _raise_if_updates_provider_attributes in [1].\n\n[1] neutron.extensions.providernet","commit_id":"703ed00c1e30ee69214d59acc257644e7a9ffcb1"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b95d0beaad68b1c81d5923dc85a03675ee9198f5","unresolved":false,"context_lines":[{"line_number":33,"context_line":"class TypeManager(stevedore.named.NamedExtensionManager):"},{"line_number":34,"context_line":"    \"\"\"Manage network segment types using drivers.\"\"\""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    PROVIDER_NET_KEYS \u003d [provider.NETWORK_TYPE,"},{"line_number":37,"context_line":"                         provider.PHYSICAL_NETWORK,"},{"line_number":38,"context_line":"                         provider.SEGMENTATION_ID]"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa81d914_205f3310","line":36,"in_reply_to":"1a930d6b_8d3973d9","updated":"2015-01-28 00:16:14.000000000","message":"Done","commit_id":"703ed00c1e30ee69214d59acc257644e7a9ffcb1"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"47bda783bf0678673b473a5b0bb51b6ccd8637d6","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        raise exc.InvalidInput(error_message\u003dmsg)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":94,"context_line":"        return dict((key, self._get_attribute(network, key))"},{"line_number":95,"context_line":"                    for key in self.PROVIDER_NET_KEYS)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def _process_provider_create(self, network):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_ed283788","line":94,"updated":"2015-01-24 14:15:44.000000000","message":"py26 support has been removed which allows to use:\n\n return {key: ... for key in ...}","commit_id":"703ed00c1e30ee69214d59acc257644e7a9ffcb1"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b95d0beaad68b1c81d5923dc85a03675ee9198f5","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        raise exc.InvalidInput(error_message\u003dmsg)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":94,"context_line":"        return dict((key, self._get_attribute(network, key))"},{"line_number":95,"context_line":"                    for key in self.PROVIDER_NET_KEYS)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def _process_provider_create(self, network):"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa81d914_00622fd8","line":94,"in_reply_to":"1a930d6b_ed283788","updated":"2015-01-28 00:16:14.000000000","message":"Done","commit_id":"703ed00c1e30ee69214d59acc257644e7a9ffcb1"},{"author":{"_account_id":14039,"name":"watanabe isao","email":"watanabe.isao.openstack@gmail.com","username":"watanabe.isao"},"change_message_id":"f1363813b06a10b068b217f895e5675f3512ea5e","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        LOG.info(_LI(\"Tenant network_types: %s\"), self.tenant_network_types)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":75,"context_line":"        (network_type, physical_network,"},{"line_number":76,"context_line":"         segmentation_id) \u003d (self._get_attribute(segment, key)"},{"line_number":77,"context_line":"                             for key in provider.KEYS)"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa81d914_a0b5e3ce","line":75,"updated":"2015-01-28 00:31:29.000000000","message":"TIP: I think the parentheses can be removed.","commit_id":"74665eb44aea32dccdf42c9d0ec48eb0dfd981e5"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":75,"context_line":"        (network_type, physical_network,"},{"line_number":76,"context_line":"         segmentation_id) \u003d (self._get_attribute(segment, key)"},{"line_number":77,"context_line":"                             for key in provider.KEYS)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if attributes.is_attr_set(network_type):"},{"line_number":80,"context_line":"            segment \u003d {api.NETWORK_TYPE: network_type,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_2f4169a9","line":77,"updated":"2015-01-30 04:21:11.000000000","message":"for attribute in provider.ATTRIBUTES","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":75,"context_line":"        (network_type, physical_network,"},{"line_number":76,"context_line":"         segmentation_id) \u003d (self._get_attribute(segment, key)"},{"line_number":77,"context_line":"                             for key in provider.KEYS)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if attributes.is_attr_set(network_type):"},{"line_number":80,"context_line":"            segment \u003d {api.NETWORK_TYPE: network_type,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_08bd6ad8","line":77,"in_reply_to":"fa81d914_2f4169a9","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":90,"context_line":"        return {key: self._get_attribute(network, key)"},{"line_number":91,"context_line":"                for key in provider.KEYS}"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_4f3e9d29","line":91,"updated":"2015-01-30 04:21:11.000000000","message":"ditto","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":90,"context_line":"        return {key: self._get_attribute(network, key)"},{"line_number":91,"context_line":"                for key in provider.KEYS}"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_c8efd2e7","line":91,"in_reply_to":"fa81d914_4f3e9d29","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"},{"line_number":95,"context_line":"               for f in provider.KEYS):"},{"line_number":96,"context_line":"            # Verify that multiprovider and provider attributes are not set"},{"line_number":97,"context_line":"            # at the same time."},{"line_number":98,"context_line":"            if attributes.is_attr_set(network.get(mpnet.SEGMENTS)):"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_6f47e1bc","line":95,"updated":"2015-01-30 04:21:11.000000000","message":"ditto","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"},{"line_number":95,"context_line":"               for f in provider.KEYS):"},{"line_number":96,"context_line":"            # Verify that multiprovider and provider attributes are not set"},{"line_number":97,"context_line":"            # at the same time."},{"line_number":98,"context_line":"            if attributes.is_attr_set(network.get(mpnet.SEGMENTS)):"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_48dcc246","line":95,"in_reply_to":"fa81d914_6f47e1bc","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a1c3c930df6a77861d8d6f4f7b033d31d523ca08","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"},{"line_number":120,"context_line":"        if not segments:"},{"line_number":121,"context_line":"            LOG.error(_LE(\"Network %s has no segments\"), id)"},{"line_number":122,"context_line":"            for k in provider.KEYS:"},{"line_number":123,"context_line":"                network[k] \u003d None"},{"line_number":124,"context_line":"        elif len(segments) \u003e 1:"},{"line_number":125,"context_line":"            network[mpnet.SEGMENTS] \u003d ["}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_af1479a0","line":122,"updated":"2015-01-30 04:21:11.000000000","message":"ditto","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"3a090ef55e115e775886debbcdfb8c3a01ccad4d","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"},{"line_number":120,"context_line":"        if not segments:"},{"line_number":121,"context_line":"            LOG.error(_LE(\"Network %s has no segments\"), id)"},{"line_number":122,"context_line":"            for k in provider.KEYS:"},{"line_number":123,"context_line":"                network[k] \u003d None"},{"line_number":124,"context_line":"        elif len(segments) \u003e 1:"},{"line_number":125,"context_line":"            network[mpnet.SEGMENTS] \u003d ["}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_28db0e51","line":122,"in_reply_to":"fa81d914_af1479a0","updated":"2015-01-30 16:38:24.000000000","message":"Done","commit_id":"73c09a7b41f64247d2cc09cafbfe322815367b87"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7e8f53283264fea8fb91e897292c6015f6068b88","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":75,"context_line":"        (network_type, physical_network,"},{"line_number":76,"context_line":"         segmentation_id) \u003d (self._get_attribute(segment, key)"},{"line_number":77,"context_line":"                             for key in provider.ATTRIBUTES)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if attributes.is_attr_set(network_type):"},{"line_number":80,"context_line":"            segment \u003d {api.NETWORK_TYPE: network_type,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_e8ddef43","line":77,"range":{"start_line":77,"start_character":33,"end_line":77,"end_character":36},"updated":"2015-02-02 06:08:40.000000000","message":"better to update the variable from key to attribute.","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b6defb2f0d55122c251bd103d24521984f1bb65e","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    def _process_provider_segment(self, segment):"},{"line_number":75,"context_line":"        (network_type, physical_network,"},{"line_number":76,"context_line":"         segmentation_id) \u003d (self._get_attribute(segment, key)"},{"line_number":77,"context_line":"                             for key in provider.ATTRIBUTES)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if attributes.is_attr_set(network_type):"},{"line_number":80,"context_line":"            segment \u003d {api.NETWORK_TYPE: network_type,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_30bcb769","line":77,"in_reply_to":"da86d52c_e8ddef43","updated":"2015-02-02 16:54:40.000000000","message":"makes sense. I think as the patch progressed, I didn\u0027t catch this.  Done.","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7e8f53283264fea8fb91e897292c6015f6068b88","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":90,"context_line":"        return {key: self._get_attribute(network, key)"},{"line_number":91,"context_line":"                for key in provider.ATTRIBUTES}"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_08e32308","line":91,"range":{"start_line":91,"start_character":20,"end_line":91,"end_character":23},"updated":"2015-02-02 06:08:40.000000000","message":"ditto","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b6defb2f0d55122c251bd103d24521984f1bb65e","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def _get_segment_attributes(self, network):"},{"line_number":90,"context_line":"        return {key: self._get_attribute(network, key)"},{"line_number":91,"context_line":"                for key in provider.ATTRIBUTES}"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_50b04b8b","line":91,"in_reply_to":"da86d52c_08e32308","updated":"2015-02-02 16:54:40.000000000","message":"Done","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7e8f53283264fea8fb91e897292c6015f6068b88","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"},{"line_number":95,"context_line":"               for f in provider.ATTRIBUTES):"},{"line_number":96,"context_line":"            # Verify that multiprovider and provider attributes are not set"},{"line_number":97,"context_line":"            # at the same time."},{"line_number":98,"context_line":"            if attributes.is_attr_set(network.get(mpnet.SEGMENTS)):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_48e43b0d","line":95,"range":{"start_line":95,"start_character":19,"end_line":95,"end_character":20},"updated":"2015-02-02 06:08:40.000000000","message":"better to use the consistent variable name than \"f\"","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b6defb2f0d55122c251bd103d24521984f1bb65e","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"},{"line_number":95,"context_line":"               for f in provider.ATTRIBUTES):"},{"line_number":96,"context_line":"            # Verify that multiprovider and provider attributes are not set"},{"line_number":97,"context_line":"            # at the same time."},{"line_number":98,"context_line":"            if attributes.is_attr_set(network.get(mpnet.SEGMENTS)):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_70ad4f31","line":95,"in_reply_to":"da86d52c_42cecf5b","updated":"2015-02-02 16:54:40.000000000","message":"Done","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"1429c91af1c3b779ad1d59c5595b1f8137d9cba0","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _process_provider_create(self, network):"},{"line_number":94,"context_line":"        if any(attributes.is_attr_set(network.get(f))"},{"line_number":95,"context_line":"               for f in provider.ATTRIBUTES):"},{"line_number":96,"context_line":"            # Verify that multiprovider and provider attributes are not set"},{"line_number":97,"context_line":"            # at the same time."},{"line_number":98,"context_line":"            if attributes.is_attr_set(network.get(mpnet.SEGMENTS)):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_42cecf5b","line":95,"in_reply_to":"da86d52c_48e43b0d","updated":"2015-02-02 11:59:03.000000000","message":"+1","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7e8f53283264fea8fb91e897292c6015f6068b88","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"},{"line_number":120,"context_line":"        if not segments:"},{"line_number":121,"context_line":"            LOG.error(_LE(\"Network %s has no segments\"), id)"},{"line_number":122,"context_line":"            for k in provider.ATTRIBUTES:"},{"line_number":123,"context_line":"                network[k] \u003d None"},{"line_number":124,"context_line":"        elif len(segments) \u003e 1:"},{"line_number":125,"context_line":"            network[mpnet.SEGMENTS] \u003d ["}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_88ee33eb","line":122,"range":{"start_line":122,"start_character":16,"end_line":122,"end_character":17},"updated":"2015-02-02 06:08:40.000000000","message":"ditto","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"b6defb2f0d55122c251bd103d24521984f1bb65e","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"},{"line_number":120,"context_line":"        if not segments:"},{"line_number":121,"context_line":"            LOG.error(_LE(\"Network %s has no segments\"), id)"},{"line_number":122,"context_line":"            for k in provider.ATTRIBUTES:"},{"line_number":123,"context_line":"                network[k] \u003d None"},{"line_number":124,"context_line":"        elif len(segments) \u003e 1:"},{"line_number":125,"context_line":"            network[mpnet.SEGMENTS] \u003d ["}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_90aac317","line":122,"in_reply_to":"da86d52c_88ee33eb","updated":"2015-02-02 16:54:40.000000000","message":"Done","commit_id":"e670e402093486e0ba802fb49c917f66f811897d"}]}
