)]}'
{"openstack_dashboard/api/base.py":[{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"4dc2de57bec9de77d9dbbe80129c60a08eba03f9","unresolved":false,"context_lines":[{"line_number":180,"context_line":"    def __lt__(self, other):"},{"line_number":181,"context_line":"        if hasattr(other, \u0027_apidict\u0027):"},{"line_number":182,"context_line":"            return self._apidict \u003c other._apidict"},{"line_number":183,"context_line":"        return self._apidict \u003c other"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"    def to_dict(self):"},{"line_number":186,"context_line":"        return self._apidict"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a41bdd9_555c3e18","line":183,"updated":"2015-07-16 09:44:44.000000000","message":"Note to reviewers:\nThese lines are required for openstack_dashboard/dashboards/project/networks/views.py line 64, otherwise different instances of the same network will not compare as equal.","commit_id":"4e30cc3fe27fe09205a63b760623422d6b9dcbd8"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ace92d0a53c6085af1276dd50105eb0c9ff13bbe","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        return obj"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"@functools.total_ordering"},{"line_number":129,"context_line":"class APIDictWrapper(object):"},{"line_number":130,"context_line":"    \"\"\"Simple wrapper for api dictionaries"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_054b682c","line":128,"updated":"2015-09-10 17:12:45.000000000","message":"Why do we need to add this?","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"155ef971da67dbc56a08e7a6eb4b1ed57bdaf94f","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        return obj"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"@functools.total_ordering"},{"line_number":129,"context_line":"class APIDictWrapper(object):"},{"line_number":130,"context_line":"    \"\"\"Simple wrapper for api dictionaries"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_85374ee2","line":128,"in_reply_to":"da20952f_054b682c","updated":"2015-09-11 14:47:06.000000000","message":"To avoid writing all comparision methods\nhttps://docs.python.org/2.7/library/functools.html#functools.total_ordering\n\nBut in fact we only need __cmp__","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ace92d0a53c6085af1276dd50105eb0c9ff13bbe","unresolved":false,"context_lines":[{"line_number":177,"context_line":"            return self._apidict \u003d\u003d other._apidict"},{"line_number":178,"context_line":"        return self._apidict \u003d\u003d other"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def __lt__(self, other):"},{"line_number":181,"context_line":"        if hasattr(other, \u0027_apidict\u0027):"},{"line_number":182,"context_line":"            return self._apidict \u003c other._apidict"},{"line_number":183,"context_line":"        return self._apidict \u003c other"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_c5bd7003","line":180,"updated":"2015-09-10 17:12:45.000000000","message":"How does this method work?\nHow is it determined whether dict A is smaller than dict B?","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"155ef971da67dbc56a08e7a6eb4b1ed57bdaf94f","unresolved":false,"context_lines":[{"line_number":177,"context_line":"            return self._apidict \u003d\u003d other._apidict"},{"line_number":178,"context_line":"        return self._apidict \u003d\u003d other"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def __lt__(self, other):"},{"line_number":181,"context_line":"        if hasattr(other, \u0027_apidict\u0027):"},{"line_number":182,"context_line":"            return self._apidict \u003c other._apidict"},{"line_number":183,"context_line":"        return self._apidict \u003c other"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_250d233e","line":180,"in_reply_to":"da20952f_c5bd7003","updated":"2015-09-11 14:47:06.000000000","message":"It just uses the dicts built in __lt__ which compares keys and values","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"}],"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6efca5552f1d9b276954a439b81cd0121bc7c27c","unresolved":false,"context_lines":[{"line_number":613,"context_line":"    return [Network(n) for n in networks]"},{"line_number":614,"context_line":""},{"line_number":615,"context_line":""},{"line_number":616,"context_line":"def network_list_for_tenant(request, tenant_id, **params):"},{"line_number":617,"context_line":"    \"\"\"Return a network list available for the tenant."},{"line_number":618,"context_line":""},{"line_number":619,"context_line":"    The list contains networks owned by the tenant and public networks."}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_0490ef93","line":616,"updated":"2015-07-15 16:49:16.000000000","message":"I think changing this method like this is not safe\nbecause this method is used to retrieve a list of neutron networks to which a user VM instance can connect.\n\nAfter this change, an external network is added to the network list, but a regular user cannot attach an instance to an external network cannot.\n\nHow does it work?","commit_id":"ad09c12b25cc9f5aaec429e20b99cec3781a4a19"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"e53a3ed8195045fae3ed2fe44f92b10a38ee6a42","unresolved":false,"context_lines":[{"line_number":613,"context_line":"    return [Network(n) for n in networks]"},{"line_number":614,"context_line":""},{"line_number":615,"context_line":""},{"line_number":616,"context_line":"def network_list_for_tenant(request, tenant_id, **params):"},{"line_number":617,"context_line":"    \"\"\"Return a network list available for the tenant."},{"line_number":618,"context_line":""},{"line_number":619,"context_line":"    The list contains networks owned by the tenant and public networks."}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_45e6d544","line":616,"in_reply_to":"9a41bdd9_0490ef93","updated":"2015-07-16 08:22:51.000000000","message":"Indeed, a  regular user cannot attach an instance to an external network.\nThanks for catching this","commit_id":"ad09c12b25cc9f5aaec429e20b99cec3781a4a19"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7494a2ded67d9b246a4eef53f365c890247bfdd2","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_026cae33","line":669,"updated":"2015-09-23 07:41:50.000000000","message":"Question on the need of L.666-669.\n\nneutron policy.json does not expose subnet(s) on an external network,\nso subnet_list at L.667 would be useless. I am not sure we can expose subnet(s) on an external network by configuring policy.json.\nI understand the need of this patch, but why do you need this?","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"c7fe25b923cb81d5cde32d59040ead0b498edce2","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_2f543afc","line":669,"in_reply_to":"ba15a1d1_026cae33","updated":"2015-09-23 08:29:41.000000000","message":"Hi Akihiro,\n\nI need this because the DetailView calls this method in order to show subnets in the detailed view. Without this, a Traceback is issued in the detailed view of the external network because of the permissions.\n\nI admit I hesitated between listing the subnets only if we own the network (as I did above) or getting the list in a try/except statement.","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9505f715b43ebd6b8681eafcde5be8b078227e79","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_849c390f","line":669,"in_reply_to":"ba15a1d1_2f543afc","updated":"2015-09-23 13:54:43.000000000","message":"Hi Yves, let me test in my local env. I think a regular user and an admin user are options. Is there any case to cover in my test?","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"dc707679db0cd36c111893d1817646b5aeef6242","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_1370460a","line":669,"in_reply_to":"ba15a1d1_8452f265","updated":"2015-09-24 09:59:40.000000000","message":"Done","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"d26b7f02495b5910713bf41ae51b92b8a30819a8","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_8b43e412","line":669,"in_reply_to":"ba15a1d1_849c390f","updated":"2015-09-23 15:17:17.000000000","message":"Mmm, indeed, maybe an admin user can see them...\nThe cases to cover are indeed a regular user and an admin user\n\nI think the easiest is via the list comprehension in a try/except? because it can also depend on the policies of the backend (opencontrail, etc...) which could also be different and maybe not all in policies.json...\n\nLet me know your thoughts, I don\u0027t know all the neutron plugins that can be used and we should handle them all gracefully.","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c684cf38232fcb8f2bfa056178ae769f43aafc89","unresolved":false,"context_lines":[{"line_number":666,"context_line":"            # We do not have the permissions to issue a subnet_get."},{"line_number":667,"context_line":"            subnets \u003d subnet_list(request, network_id\u003dnetwork_id)"},{"line_number":668,"context_line":"            if subnets:  # subnet_list may have returned an empty list"},{"line_number":669,"context_line":"                network[\u0027subnets\u0027] \u003d subnets"},{"line_number":670,"context_line":""},{"line_number":671,"context_line":"    return Network(network)"},{"line_number":672,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_8452f265","line":669,"in_reply_to":"ba15a1d1_8b43e412","updated":"2015-09-23 16:18:16.000000000","message":"I tested the patch in my env. my conclusion is this else-clause is not required.\n\nAs you see dashboards/project/networks/view.py DetailView, in the network detail page, the source information comes from as follows:\n- the network detail info above is based on a returned value from api.neutron.network_get,\n- subnet tables is based on get_subnets_data in networks.views.DetailView\n- port tables is based on get_ports_data in networks.views.DetailView\n\nFrom the above fact, I think else-clause is not needed.\n\nAs far as I tested, there is no visible change, and I would like to suggest to change it to:\n\n  if expand_subnet:\n      if request.user.tenant_id \u003d\u003d network[\u0027tenant_id\u0027] or network[\u0027shared\u0027]:\n           \u003cno change from the above\u003e\n  return Network(network)\n\n----\n\nIf you have different behavior, I know you are using OpenContrail plugin\nand I am afraid it is specific to OpenContrail plugin. OpenContrail plugin has only glue logic in Neutron and all actual logic exists in OpenContrail side.\nI am thinking neutron should have more strict API definitions in the API layer of Neutron server to avoid this kind of confusions. It is the only way Neutron can define Neutron API even with plugins with only glue logic like OpenContrail plugin. This is what neutron core team concerned when merging OpenContrail plugin.\n\nHonestly I would like to know exact OpenContrail version of Neutron API definitions rather than discussing Horizon implementation based on the observed behaviors. I am a bit tired of dialects of Neutron API.\n\n----\n\nAs a conclusion, I am okay with either version as long as\n- it does not increase the number of API calls with other implementations,\n- and the additional reason (related to OpenContrail implementation?) is mentioned (so that other regular developers can understand the reason.)","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"}],"openstack_dashboard/dashboards/project/networks/tests.py":[{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"486e40b783bbfd503ade712f8d10df93d91b29d9","unresolved":false,"context_lines":[{"line_number":115,"context_line":"            shared\u003dTrue).AndReturn([])"},{"line_number":116,"context_line":"        api.neutron.network_list("},{"line_number":117,"context_line":"            IsA(http.HttpRequest),"},{"line_number":118,"context_line":"            **{\u0027router:external\u0027: True}).AndReturn([])"},{"line_number":119,"context_line":"        quotas.tenant_quota_usages("},{"line_number":120,"context_line":"            IsA(http.HttpRequest)) \\"},{"line_number":121,"context_line":"            .MultipleTimes().AndReturn(quota_data)"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_012d7ba7","line":118,"updated":"2015-09-23 13:33:02.000000000","message":"could we add some test_data for external network?","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"dc707679db0cd36c111893d1817646b5aeef6242","unresolved":false,"context_lines":[{"line_number":115,"context_line":"            shared\u003dTrue).AndReturn([])"},{"line_number":116,"context_line":"        api.neutron.network_list("},{"line_number":117,"context_line":"            IsA(http.HttpRequest),"},{"line_number":118,"context_line":"            **{\u0027router:external\u0027: True}).AndReturn([])"},{"line_number":119,"context_line":"        quotas.tenant_quota_usages("},{"line_number":120,"context_line":"            IsA(http.HttpRequest)) \\"},{"line_number":121,"context_line":"            .MultipleTimes().AndReturn(quota_data)"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_937bf6f4","line":118,"in_reply_to":"ba15a1d1_012d7ba7","updated":"2015-09-24 09:59:40.000000000","message":"Done","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"}],"openstack_dashboard/dashboards/project/networks/views.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ace92d0a53c6085af1276dd50105eb0c9ff13bbe","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            msg \u003d _(\u0027Network list can not be retrieved.\u0027)"},{"line_number":59,"context_line":"            exceptions.handle(self.request, msg)"},{"line_number":60,"context_line":"        # Eliminate potential duplicates."},{"line_number":61,"context_line":"        # We can\u0027t use a set because networks are non hashable objects."},{"line_number":62,"context_line":"        networks_no_duplicate \u003d []"},{"line_number":63,"context_line":"        for network in networks:"},{"line_number":64,"context_line":"            if network not in networks_no_duplicate:"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_65b6e4fa","line":61,"updated":"2015-09-10 17:12:45.000000000","message":"I think what we need to do is to check networks returned by L.53 is already contained in network list retrieved at L.50.\n\nI think you add total_ordering to keep networks (from L.50) before networks retruned at L.53, but it looks a bit tricky.\n\nHow about the following? We can avoid changing api/base.py.\n\n  tenant_networks \u003d api.neutron.network_list_for_tenants()\n  ext_nets \u003d api.neutron.network_list() # for router:external True\n\n  tenant_network_ids \u003d [net.id for net in tenant_networks]\n  ext_nets \u003d [net for net in ext_nets if net.id not in tenant_network_ids]\n  return networks + ext_nets\n\nThis is the most straighforward approach.\n\nAnother way is to add __eq__ to Network class (or NeutronAPIDictWrapper).\n__eq__ method just checks id is equal.\n\n  class Network():\n    def __eq__(self, other):\n         return self._apidict[\u0027id\u0027] \u003d\u003d other.id\n\nif so, the logic here will be:\n\n  ext_nets \u003d [net for net in ext_nets if net not in tenant_networks]\n  return networks + ext_nets\n\n(I haven\u0027t tested this code. I hope it works)","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"155ef971da67dbc56a08e7a6eb4b1ed57bdaf94f","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            msg \u003d _(\u0027Network list can not be retrieved.\u0027)"},{"line_number":59,"context_line":"            exceptions.handle(self.request, msg)"},{"line_number":60,"context_line":"        # Eliminate potential duplicates."},{"line_number":61,"context_line":"        # We can\u0027t use a set because networks are non hashable objects."},{"line_number":62,"context_line":"        networks_no_duplicate \u003d []"},{"line_number":63,"context_line":"        for network in networks:"},{"line_number":64,"context_line":"            if network not in networks_no_duplicate:"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_2519a27a","line":61,"in_reply_to":"da20952f_65b6e4fa","updated":"2015-09-11 14:47:06.000000000","message":"In fact I uses totalordering just to avoid writing all comparision methods:\nhttps://docs.python.org/2.7/library/functools.html#functools.total_ordering\n\nBut in our case, we only need __cmp__","commit_id":"b0893926974e9da7076f625b08014ec9ce7da995"},{"author":{"_account_id":8876,"name":"Romain Hardouin","email":"romain_hardouin@yahoo.fr","username":"romainh"},"change_message_id":"2125dc3d6e43744a026bcbd1ea912c1962a47fa5","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_272c2b98","line":52,"updated":"2015-09-24 08:16:00.000000000","message":"Freudian slip? :D","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"486e40b783bbfd503ade712f8d10df93d91b29d9","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_0156db29","line":52,"updated":"2015-09-23 13:33:02.000000000","message":"Pubic -\u003e Public","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":14151,"name":"ziyu032","email":"chen.qiaomin@99cloud.net","username":"ziyu032"},"change_message_id":"15a48cc50e32fadf53b48d64a497d86e48247f9c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_b0dcfae4","line":52,"in_reply_to":"ba15a1d1_0156db29","updated":"2015-09-24 03:16:39.000000000","message":"+1","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"dc707679db0cd36c111893d1817646b5aeef6242","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_738422d2","line":52,"in_reply_to":"ba15a1d1_0156db29","updated":"2015-09-24 09:59:40.000000000","message":"Done","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":8674,"name":"Yves-Gwenael Bourhis","email":"ygbourhis@gmail.com","username":"yves"},"change_message_id":"d26b7f02495b5910713bf41ae51b92b8a30819a8","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_f055ab1d","line":52,"in_reply_to":"ba15a1d1_0156db29","updated":"2015-09-23 15:17:17.000000000","message":"Thanks, good catch :-)","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"},{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"5fa187620bea1018605ba3877f5bbbb66f6d1507","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            tenant_id \u003d self.request.user.tenant_id"},{"line_number":50,"context_line":"            networks \u003d api.neutron.network_list_for_tenant(self.request,"},{"line_number":51,"context_line":"                                                           tenant_id)"},{"line_number":52,"context_line":"            # List Pubic networks"},{"line_number":53,"context_line":"            for network in api.neutron.network_list("},{"line_number":54,"context_line":"                    self.request, **{\u0027router:external\u0027: True}"},{"line_number":55,"context_line":"            ):"}],"source_content_type":"text/x-python","patch_set":8,"id":"ba15a1d1_abbb48e4","line":52,"in_reply_to":"ba15a1d1_f055ab1d","updated":"2015-09-23 15:20:28.000000000","message":"lol","commit_id":"72ab05d1b40c8481918ffb8311689de96f1af9a3"}]}
