)]}'
{"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"                ON_STATE if apiresource[\u0027mac_learning_enabled\u0027] else OFF_STATE"},{"line_number":127,"context_line":"        super(Port, self).__init__(apiresource)"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"class PortAllowedAddressPair(NeutronAPIDictWrapper):"},{"line_number":131,"context_line":"    \"\"\"Wrapper for neutron port allowed address pairs.\"\"\""},{"line_number":132,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_1e14d89d","line":129,"updated":"2015-08-20 14:13:40.000000000","message":"It is better to convert allowed_address_pairs field returned from neutron to PortAllowedAddressPair in this module.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":126,"context_line":"                ON_STATE if apiresource[\u0027mac_learning_enabled\u0027] else OFF_STATE"},{"line_number":127,"context_line":"        super(Port, self).__init__(apiresource)"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"class PortAllowedAddressPair(NeutronAPIDictWrapper):"},{"line_number":131,"context_line":"    \"\"\"Wrapper for neutron port allowed address pairs.\"\"\""},{"line_number":132,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_5156c12a","line":129,"in_reply_to":"fa1b9901_1e14d89d","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"}],"openstack_dashboard/dashboards/project/networks/ports/extensions/allowed_address_pairs/forms.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"validate_mac \u003d validators.RegexValidator(r\u0027([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}\u0027,"},{"line_number":31,"context_line":"                                         _(\"Invalid mac format\"),"},{"line_number":32,"context_line":"                                         code\u003d\"invalid_mac\")"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_9b60fa02","line":31,"range":{"start_line":31,"start_character":52,"end_line":31,"end_character":55},"updated":"2015-08-20 14:13:40.000000000","message":"mac -\u003e MAC","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":28,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"validate_mac \u003d validators.RegexValidator(r\u0027([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}\u0027,"},{"line_number":31,"context_line":"                                         _(\"Invalid mac format\"),"},{"line_number":32,"context_line":"                                         code\u003d\"invalid_mac\")"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_54d9cf20","line":31,"in_reply_to":"fa1b9901_9b60fa02","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class AddAllowedAddressPairForm(forms.SelfHandlingForm):"},{"line_number":36,"context_line":"    ip \u003d forms.IPField(label\u003d_(\"IP address\"),"},{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_fe2244a2","line":36,"range":{"start_line":36,"start_character":31,"end_line":36,"end_character":43},"updated":"2015-08-20 14:13:40.000000000","message":"\"IP address (range)\" or \"IP address or CIDR\".","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class AddAllowedAddressPairForm(forms.SelfHandlingForm):"},{"line_number":36,"context_line":"    ip \u003d forms.IPField(label\u003d_(\"IP address\"),"},{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_1406f785","line":36,"in_reply_to":"fa1b9901_fe2244a2","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class AddAllowedAddressPairForm(forms.SelfHandlingForm):"},{"line_number":36,"context_line":"    ip \u003d forms.IPField(label\u003d_(\"IP address\"),"},{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_5b2d82a6","line":37,"range":{"start_line":37,"start_character":36,"end_line":37,"end_character":54},"updated":"2015-08-20 14:13:40.000000000","message":"\"Virtual\" is unnecessary. AFAIK all neutron resource names do not contain \"virtual\" (except VIP for LBaaS).\n\nIn addition, the description should be more helpful.\nThis field accepts both a single IP address and CIDR.\nIt should be described as a help text.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class AddAllowedAddressPairForm(forms.SelfHandlingForm):"},{"line_number":36,"context_line":"    ip \u003d forms.IPField(label\u003d_(\"IP address\"),"},{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_340bfb8f","line":37,"in_reply_to":"fa1b9901_5b2d82a6","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"},{"line_number":41,"context_line":"                          validators\u003d[validate_mac],"},{"line_number":42,"context_line":"                          required\u003dFalse,)"},{"line_number":43,"context_line":"    failure_url \u003d \u0027horizon:project:networks:ports:detail\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_be404c35","line":40,"range":{"start_line":40,"start_character":35,"end_line":40,"end_character":38},"updated":"2015-08-20 14:13:40.000000000","message":"Mac -\u003e MAC address\n\nWe usually use upper case version for \"MAC address\".","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":37,"context_line":"                       help_text\u003d_(\"Virtual IP address\"),"},{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"},{"line_number":41,"context_line":"                          validators\u003d[validate_mac],"},{"line_number":42,"context_line":"                          required\u003dFalse,)"},{"line_number":43,"context_line":"    failure_url \u003d \u0027horizon:project:networks:ports:detail\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_d4fb9f79","line":40,"in_reply_to":"fa1b9901_be404c35","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"},{"line_number":41,"context_line":"                          validators\u003d[validate_mac],"},{"line_number":42,"context_line":"                          required\u003dFalse,)"},{"line_number":43,"context_line":"    failure_url \u003d \u0027horizon:project:networks:ports:detail\u0027"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_1e6058a4","line":41,"updated":"2015-08-20 14:13:40.000000000","message":"help_text for mac address is required.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":38,"context_line":"                       version\u003dforms.IPv4 | forms.IPv6,"},{"line_number":39,"context_line":"                       mask\u003dTrue)"},{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"Mac\"),"},{"line_number":41,"context_line":"                          validators\u003d[validate_mac],"},{"line_number":42,"context_line":"                          required\u003dFalse,)"},{"line_number":43,"context_line":"    failure_url \u003d \u0027horizon:project:networks:ports:detail\u0027"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_f4002368","line":41,"in_reply_to":"fa1b9901_1e6058a4","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def clean(self):"},{"line_number":46,"context_line":"        cleaned_data \u003d super(AddAllowedAddressPairForm, self).clean()"},{"line_number":47,"context_line":"        if \u0027/\u0027 not in self.data[\u0027ip\u0027]:"},{"line_number":48,"context_line":"            cleaned_data[\u0027ip\u0027] \u003d self.data[\u0027ip\u0027]"},{"line_number":49,"context_line":"        return cleaned_data"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_5e8ed079","line":47,"range":{"start_line":47,"start_character":8,"end_line":47,"end_character":38},"updated":"2015-08-20 14:13:40.000000000","message":"What happens if CIDR is specified.\nFor allowed address pairs, we can specify CIDR too.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def clean(self):"},{"line_number":46,"context_line":"        cleaned_data \u003d super(AddAllowedAddressPairForm, self).clean()"},{"line_number":47,"context_line":"        if \u0027/\u0027 not in self.data[\u0027ip\u0027]:"},{"line_number":48,"context_line":"            cleaned_data[\u0027ip\u0027] \u003d self.data[\u0027ip\u0027]"},{"line_number":49,"context_line":"        return cleaned_data"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_71466550","line":47,"in_reply_to":"fa1b9901_5e8ed079","updated":"2015-08-24 07:41:09.000000000","message":"It will be in cleaned_data and nothing happens to it.\n\nThis special if-statement is because I use an IPField as input and have mask\u003dTrue. When the user enters an IP without mask, the cleaned_data will have a mask added by default, so I like to get rid of the default mask to keep the single IP.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    mac \u003d forms.CharField(label\u003d_(\"MAC address\"),"},{"line_number":41,"context_line":"                          help_text\u003d_(\"A valid MAC address\"),"},{"line_number":42,"context_line":"                          validators\u003d[validate_mac],"},{"line_number":43,"context_line":"                          required\u003dFalse,)"},{"line_number":44,"context_line":"    failure_url \u003d \u0027horizon:project:networks:ports:detail\u0027"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def clean(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_522d9afc","line":43,"range":{"start_line":43,"start_character":40,"end_line":43,"end_character":41},"updated":"2015-08-28 18:09:54.000000000","message":"Just for consistency: a comma before a closing parenthesis looks unnecessary.","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            return port"},{"line_number":68,"context_line":"        except Exception:"},{"line_number":69,"context_line":"            msg \u003d _(\u0027Failed to update port \"%s\".\u0027) % port_id"},{"line_number":70,"context_line":"            LOG.info(msg)"},{"line_number":71,"context_line":"            args \u003d (self.initial.get(\u0027port_id\u0027),)"},{"line_number":72,"context_line":"            redirect \u003d reverse(self.failure_url, args\u003dargs)"},{"line_number":73,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_f27b8e26","line":70,"range":{"start_line":70,"start_character":12,"end_line":70,"end_character":20},"updated":"2015-08-28 18:09:54.000000000","message":"LOG.error","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6dd3fb8dd72dc1a8c80f2c335644191cb435b145","unresolved":false,"context_lines":[{"line_number":28,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"validate_mac \u003d validators.RegexValidator(r\u0027([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}\u0027,"},{"line_number":31,"context_line":"                                         _(\"Invalid MAC format\"),"},{"line_number":32,"context_line":"                                         code\u003d\"invalid_mac\")"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5a5ae5dd_f74123aa","line":31,"updated":"2016-02-05 08:16:21.000000000","message":"-\u003e Invalid MAC address format","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"97c76e9ea94e11b3f95f088a29d99d344e67be73","unresolved":false,"context_lines":[{"line_number":28,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"validate_mac \u003d validators.RegexValidator(r\u0027([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}\u0027,"},{"line_number":31,"context_line":"                                         _(\"Invalid MAC format\"),"},{"line_number":32,"context_line":"                                         code\u003d\"invalid_mac\")"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5a5ae5dd_f7604303","line":31,"in_reply_to":"5a5ae5dd_f74123aa","updated":"2016-02-05 08:20:27.000000000","message":"Done","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"36bf6be5a5732579fef09bc526026452a6ad5661","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            return port"},{"line_number":68,"context_line":"        except Exception:"},{"line_number":69,"context_line":"            msg \u003d _(\u0027Failed to update port \"%s\".\u0027) % port_id"},{"line_number":70,"context_line":"            LOG.error(msg)"},{"line_number":71,"context_line":"            args \u003d (self.initial.get(\u0027port_id\u0027),)"},{"line_number":72,"context_line":"            redirect \u003d reverse(self.failure_url, args\u003dargs)"},{"line_number":73,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_c92de590","line":70,"updated":"2016-05-04 19:52:26.000000000","message":"In horizon, log messages should not be translated and it is better to contain error details.","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a92cf73ee893971861756eca7d5788a1504f5900","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            return port"},{"line_number":68,"context_line":"        except Exception:"},{"line_number":69,"context_line":"            msg \u003d _(\u0027Failed to update port \"%s\".\u0027) % port_id"},{"line_number":70,"context_line":"            LOG.error(msg)"},{"line_number":71,"context_line":"            args \u003d (self.initial.get(\u0027port_id\u0027),)"},{"line_number":72,"context_line":"            redirect \u003d reverse(self.failure_url, args\u003dargs)"},{"line_number":73,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_c9984578","line":70,"in_reply_to":"1a122d0e_c92de590","updated":"2016-05-04 19:58:44.000000000","message":"Done","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"}],"openstack_dashboard/dashboards/project/networks/ports/extensions/allowed_address_pairs/tables.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":83,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":84,"context_line":"                       verbose_name\u003d_(\"IP address\"))"},{"line_number":85,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC\"))"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_object_display(self, address_pair):"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_5bfa6244","line":84,"range":{"start_line":84,"start_character":39,"end_line":84,"end_character":49},"updated":"2015-08-20 14:13:40.000000000","message":"ip_address field can be an IP address or CIDR.\nHow about \"IP address (range)\" or \"IP address or CIDR\" ?","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":83,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":84,"context_line":"                       verbose_name\u003d_(\"IP address\"))"},{"line_number":85,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC\"))"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_object_display(self, address_pair):"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_1497d7ec","line":84,"in_reply_to":"fa1b9901_5bfa6244","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":82,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":83,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":84,"context_line":"                       verbose_name\u003d_(\"IP address\"))"},{"line_number":85,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC\"))"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_object_display(self, address_pair):"},{"line_number":88,"context_line":"        return address_pair[\u0027ip_address\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_5b4ca2c7","line":85,"range":{"start_line":85,"start_character":55,"end_line":85,"end_character":58},"updated":"2015-08-20 14:13:40.000000000","message":"\"MAC address\" looks better.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":82,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":83,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":84,"context_line":"                       verbose_name\u003d_(\"IP address\"))"},{"line_number":85,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC\"))"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_object_display(self, address_pair):"},{"line_number":88,"context_line":"        return address_pair[\u0027ip_address\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_b4886bc6","line":85,"in_reply_to":"fa1b9901_5b4ca2c7","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                                    allowed_address_pairs\u003dpairs)"},{"line_number":75,"context_line":"        except Exception:"},{"line_number":76,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027)"},{"line_number":77,"context_line":"            LOG.info(msg, port_id)"},{"line_number":78,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:ports:detail\","},{"line_number":79,"context_line":"                               args\u003d(port_id,))"},{"line_number":80,"context_line":"            exceptions.handle(request, msg % port_id, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_d2d0ca21","line":77,"range":{"start_line":77,"start_character":12,"end_line":77,"end_character":20},"updated":"2015-08-28 18:09:54.000000000","message":"LOG.error","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"fbbd07d120e52c00c1d4f7b4d7b6a57a0014fe03","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":84,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":85,"context_line":"                       verbose_name\u003d_(\"IP address or CIDR\"))"},{"line_number":86,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC address\"))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def get_object_display(self, address_pair):"}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_abbfd6f9","line":85,"range":{"start_line":85,"start_character":42,"end_line":85,"end_character":43},"updated":"2016-02-04 21:44:30.000000000","message":"Capitalize \u0027Address\u0027","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"ef4fef4193694264fbdde61996b53dece5544af0","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":84,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":85,"context_line":"                       verbose_name\u003d_(\"IP address or CIDR\"))"},{"line_number":86,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC address\"))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def get_object_display(self, address_pair):"}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_94cead2c","line":85,"range":{"start_line":85,"start_character":42,"end_line":85,"end_character":43},"in_reply_to":"5a5ae5dd_abbfd6f9","updated":"2016-02-05 07:50:35.000000000","message":"Done","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"fbbd07d120e52c00c1d4f7b4d7b6a57a0014fe03","unresolved":false,"context_lines":[{"line_number":83,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":84,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":85,"context_line":"                       verbose_name\u003d_(\"IP address or CIDR\"))"},{"line_number":86,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC address\"))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def get_object_display(self, address_pair):"},{"line_number":89,"context_line":"        return address_pair[\u0027ip_address\u0027]"}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_0b6f0a93","line":86,"range":{"start_line":86,"start_character":59,"end_line":86,"end_character":60},"updated":"2016-02-04 21:44:30.000000000","message":"Capitalize Address.","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"ef4fef4193694264fbdde61996b53dece5544af0","unresolved":false,"context_lines":[{"line_number":83,"context_line":"class AllowedAddressPairsTable(tables.DataTable):"},{"line_number":84,"context_line":"    IP \u003d tables.Column(\"ip_address\","},{"line_number":85,"context_line":"                       verbose_name\u003d_(\"IP address or CIDR\"))"},{"line_number":86,"context_line":"    mac \u003d tables.Column(\u0027mac_address\u0027, verbose_name\u003d_(\"MAC address\"))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def get_object_display(self, address_pair):"},{"line_number":89,"context_line":"        return address_pair[\u0027ip_address\u0027]"}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_34cfb92a","line":86,"range":{"start_line":86,"start_character":59,"end_line":86,"end_character":60},"in_reply_to":"5a5ae5dd_0b6f0a93","updated":"2016-02-05 07:50:35.000000000","message":"Done","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6dd3fb8dd72dc1a8c80f2c335644191cb435b145","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    class Meta(object):"},{"line_number":92,"context_line":"        name \u003d \"allowed_address_pairs\""},{"line_number":93,"context_line":"        verbose_name \u003d _(\"Allowed address pairs\")"},{"line_number":94,"context_line":"        row_actions \u003d (DeleteAllowedAddressPair,)"},{"line_number":95,"context_line":"        table_actions \u003d (AddAllowedAddressPair, DeleteAllowedAddressPair)"}],"source_content_type":"text/x-python","patch_set":14,"id":"5a5ae5dd_f7dda3e0","line":93,"range":{"start_line":93,"start_character":26,"end_line":93,"end_character":47},"updated":"2016-02-05 08:16:21.000000000","message":"We usually use capitalized version \"Allowed Address Pairs\" for table title.","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"97c76e9ea94e11b3f95f088a29d99d344e67be73","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    class Meta(object):"},{"line_number":92,"context_line":"        name \u003d \"allowed_address_pairs\""},{"line_number":93,"context_line":"        verbose_name \u003d _(\"Allowed address pairs\")"},{"line_number":94,"context_line":"        row_actions \u003d (DeleteAllowedAddressPair,)"},{"line_number":95,"context_line":"        table_actions \u003d (AddAllowedAddressPair, DeleteAllowedAddressPair)"}],"source_content_type":"text/x-python","patch_set":14,"id":"5a5ae5dd_9738eff0","line":93,"range":{"start_line":93,"start_character":26,"end_line":93,"end_character":47},"in_reply_to":"5a5ae5dd_f7dda3e0","updated":"2016-02-05 08:20:27.000000000","message":"Done","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"36bf6be5a5732579fef09bc526026452a6ad5661","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                                    allowed_address_pairs\u003dpairs)"},{"line_number":75,"context_line":"        except Exception:"},{"line_number":76,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027)"},{"line_number":77,"context_line":"            LOG.error(msg, port_id)"},{"line_number":78,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:ports:detail\","},{"line_number":79,"context_line":"                               args\u003d(port_id,))"},{"line_number":80,"context_line":"            exceptions.handle(request, msg % port_id, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_4958b531","line":77,"updated":"2016-05-04 19:52:26.000000000","message":"In horizon, log messages should not be translated and it is better to contain error details.","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a92cf73ee893971861756eca7d5788a1504f5900","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                                    allowed_address_pairs\u003dpairs)"},{"line_number":75,"context_line":"        except Exception:"},{"line_number":76,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027)"},{"line_number":77,"context_line":"            LOG.error(msg, port_id)"},{"line_number":78,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:ports:detail\","},{"line_number":79,"context_line":"                               args\u003d(port_id,))"},{"line_number":80,"context_line":"            exceptions.handle(request, msg % port_id, redirect\u003dredirect)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_098d1d31","line":77,"in_reply_to":"1a122d0e_4958b531","updated":"2016-05-04 19:58:44.000000000","message":"Done","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"}],"openstack_dashboard/dashboards/project/networks/ports/extensions/allowed_address_pairs/tabs.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":38,"context_line":"            return api.neutron.is_extension_supported(request,"},{"line_number":39,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":40,"context_line":"        except Exception:"},{"line_number":41,"context_line":"            LOG.info(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":42,"context_line":"                       \"extension is supported\"))"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def get_allowed_address_pairs_data(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_9bcc7a6b","line":42,"range":{"start_line":41,"start_character":12,"end_line":42,"end_character":49},"updated":"2015-08-20 14:13:40.000000000","message":"Do we need to log this information whenever a user shows a port detail page? I think it is annoying for operators who use neutron plugin without allowed-address-pair support.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"65a68544de9935941012f16b11d342b22f1c012e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":40,"context_line":"        except Exception:"},{"line_number":41,"context_line":"            LOG.info(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":42,"context_line":"                       \"extension is supported\"))"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def get_allowed_address_pairs_data(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_120de2e7","line":42,"in_reply_to":"fa1b9901_3180edbf","updated":"2015-08-28 18:04:48.000000000","message":"If so, shouldn\u0027t this be LOG.error?","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":39,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":40,"context_line":"        except Exception:"},{"line_number":41,"context_line":"            LOG.info(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":42,"context_line":"                       \"extension is supported\"))"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def get_allowed_address_pairs_data(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_3180edbf","line":42,"in_reply_to":"fa1b9901_9bcc7a6b","updated":"2015-08-24 07:41:09.000000000","message":"I think it\u0027s fine. The is_extension_supported should return False if  their plugin has no allowed-address-pairs support. \nExceptions here are truly an exception.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    def get_allowed_address_pairs_data(self):"},{"line_number":46,"context_line":"        port \u003d self.tab_group.kwargs[\u0027port\u0027]"},{"line_number":47,"context_line":"        pairs \u003d port.get(\u0027allowed_address_pairs\u0027, [])"},{"line_number":48,"context_line":"        return [api.neutron.PortAllowedAddressPair(pair) for pair in pairs]"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_fbcc96bc","line":48,"range":{"start_line":48,"start_character":16,"end_line":48,"end_character":56},"updated":"2015-08-20 14:13:40.000000000","message":"It is better to be done in api.neutron.\nConverting a dict returned from Neutron server into appropriate object is a job of the API layer (i.e. api.neutron).","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    def get_allowed_address_pairs_data(self):"},{"line_number":46,"context_line":"        port \u003d self.tab_group.kwargs[\u0027port\u0027]"},{"line_number":47,"context_line":"        pairs \u003d port.get(\u0027allowed_address_pairs\u0027, [])"},{"line_number":48,"context_line":"        return [api.neutron.PortAllowedAddressPair(pair) for pair in pairs]"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_9160d902","line":48,"in_reply_to":"fa1b9901_fbcc96bc","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[{"line_number":38,"context_line":"            return api.neutron.is_extension_supported(request,"},{"line_number":39,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":40,"context_line":"        except Exception:"},{"line_number":41,"context_line":"            LOG.info(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":42,"context_line":"                       \"extension is supported\"))"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_d2e9aae7","line":41,"range":{"start_line":41,"start_character":12,"end_line":41,"end_character":20},"updated":"2015-08-28 18:09:54.000000000","message":"LOG.error looks better.","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"fbbd07d120e52c00c1d4f7b4d7b6a57a0014fe03","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"class AllowedAddressPairsTab(tabs.TableTab):"},{"line_number":31,"context_line":"    table_classes \u003d (addr_pairs_tables.AllowedAddressPairsTable,)"},{"line_number":32,"context_line":"    name \u003d _(\"allowed address pairs\")"},{"line_number":33,"context_line":"    slug \u003d \"allowed_address_pairs\""},{"line_number":34,"context_line":"    template_name \u003d \"horizon/common/_detail_table.html\""},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_6b831e57","line":32,"range":{"start_line":32,"start_character":14,"end_line":32,"end_character":35},"updated":"2016-02-04 21:44:30.000000000","message":"This should be capitalized, probably all words:\n\n\"Allowed Address Pairs\"","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"ef4fef4193694264fbdde61996b53dece5544af0","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"class AllowedAddressPairsTab(tabs.TableTab):"},{"line_number":31,"context_line":"    table_classes \u003d (addr_pairs_tables.AllowedAddressPairsTable,)"},{"line_number":32,"context_line":"    name \u003d _(\"allowed address pairs\")"},{"line_number":33,"context_line":"    slug \u003d \"allowed_address_pairs\""},{"line_number":34,"context_line":"    template_name \u003d \"horizon/common/_detail_table.html\""},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"5a5ae5dd_74c9b125","line":32,"range":{"start_line":32,"start_character":14,"end_line":32,"end_character":35},"in_reply_to":"5a5ae5dd_6b831e57","updated":"2016-02-05 07:50:35.000000000","message":"Done","commit_id":"2060293cf72041aca7144c6ca2a63ed33e49d8e2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"36bf6be5a5732579fef09bc526026452a6ad5661","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":44,"context_line":"        except Exception:"},{"line_number":45,"context_line":"            LOG.error(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":46,"context_line":"                        \"extension is supported\"))"},{"line_number":47,"context_line":"            return False"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def get_allowed_address_pairs_data(self):"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_2974599a","line":46,"updated":"2016-05-04 19:52:26.000000000","message":"In horizon, log messages should not be translated and it is better to contain error details.","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a92cf73ee893971861756eca7d5788a1504f5900","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                                                      \"allowed-address-pairs\")"},{"line_number":44,"context_line":"        except Exception:"},{"line_number":45,"context_line":"            LOG.error(_(\"Failed to check if Neutron allowed-address-pairs \""},{"line_number":46,"context_line":"                        \"extension is supported\"))"},{"line_number":47,"context_line":"            return False"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def get_allowed_address_pairs_data(self):"}],"source_content_type":"text/x-python","patch_set":17,"id":"1a122d0e_697e511c","line":46,"in_reply_to":"1a122d0e_2974599a","updated":"2016-05-04 19:58:44.000000000","message":"Done","commit_id":"1c078a74ebb99e332083fcbdfa5e29b3aece2a0f"}],"openstack_dashboard/dashboards/project/networks/templates/networks/ports/_add_addresspair.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6dd3fb8dd72dc1a8c80f2c335644191cb435b145","unresolved":false,"context_lines":[{"line_number":4,"context_line":"{% block modal-body-right %}"},{"line_number":5,"context_line":"  \u003ch3\u003e{% trans \"Description:\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003cp\u003e"},{"line_number":7,"context_line":"    {% trans \"Add an allowed address pair for this port. This will allow multiple mac/ip address (range) pairs to pass through this port.\"%}"},{"line_number":8,"context_line":"  \u003c/p\u003e"},{"line_number":9,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":14,"id":"5a5ae5dd_f7ccc36b","line":7,"range":{"start_line":7,"start_character":82,"end_line":7,"end_character":88},"updated":"2016-02-05 08:16:21.000000000","message":"We usually spell these with upper case.\n\n MAC/IP address (range)","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"97c76e9ea94e11b3f95f088a29d99d344e67be73","unresolved":false,"context_lines":[{"line_number":4,"context_line":"{% block modal-body-right %}"},{"line_number":5,"context_line":"  \u003ch3\u003e{% trans \"Description:\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003cp\u003e"},{"line_number":7,"context_line":"    {% trans \"Add an allowed address pair for this port. This will allow multiple mac/ip address (range) pairs to pass through this port.\"%}"},{"line_number":8,"context_line":"  \u003c/p\u003e"},{"line_number":9,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":14,"id":"5a5ae5dd_573ef7da","line":7,"range":{"start_line":7,"start_character":82,"end_line":7,"end_character":88},"in_reply_to":"5a5ae5dd_f7ccc36b","updated":"2016-02-05 08:20:27.000000000","message":"Done","commit_id":"098a3fed7406932b0b707b701fd162eebb623cf9"}],"openstack_dashboard/dashboards/project/networks/templates/networks/ports/_addresspair.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"fa1b9901_1b84ea5b","updated":"2015-08-20 14:13:40.000000000","message":"It is better to include the action name in the file name.\nHow about _add_addresspair.html.\n\nIt applies to addresspair.html too.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"{% block modal-body-right %}"},{"line_number":5,"context_line":"  \u003ch3\u003e{% trans \"Description:\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003cp\u003e"},{"line_number":7,"context_line":"    {% trans \"Create an allowed address pair for this port.\"%}"},{"line_number":8,"context_line":"  \u003c/p\u003e"},{"line_number":9,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":7,"id":"fa1b9901_bb405e35","line":7,"range":{"start_line":7,"start_character":14,"end_line":7,"end_character":20},"updated":"2015-08-20 14:13:40.000000000","message":"Create -\u003e Add (for wording consistency)","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":4,"context_line":"{% block modal-body-right %}"},{"line_number":5,"context_line":"  \u003ch3\u003e{% trans \"Description:\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003cp\u003e"},{"line_number":7,"context_line":"    {% trans \"Create an allowed address pair for this port.\"%}"},{"line_number":8,"context_line":"  \u003c/p\u003e"},{"line_number":9,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":7,"id":"fa1b9901_af949442","line":7,"in_reply_to":"fa1b9901_1e65b81c","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5e449d2ec1684ac12118ded90421b840e458c8fa","unresolved":false,"context_lines":[{"line_number":4,"context_line":"{% block modal-body-right %}"},{"line_number":5,"context_line":"  \u003ch3\u003e{% trans \"Description:\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"  \u003cp\u003e"},{"line_number":7,"context_line":"    {% trans \"Create an allowed address pair for this port.\"%}"},{"line_number":8,"context_line":"  \u003c/p\u003e"},{"line_number":9,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":7,"id":"fa1b9901_1e65b81c","line":7,"range":{"start_line":7,"start_character":14,"end_line":7,"end_character":20},"in_reply_to":"fa1b9901_bb405e35","updated":"2015-08-20 14:15:23.000000000","message":"In addition, it is better to have more detail description here.\n\nHonestly, \"Create XXXX for this port\" brings no useful additional information.","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"da20952f_f212ae56","updated":"2015-08-28 18:09:54.000000000","message":"It is better to include the action name in the file name. How about _add_addresspair.html.\nIt applies to addresspair.html too.","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"}],"openstack_dashboard/dashboards/project/networks/templates/networks/ports/addresspair.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34e73e91871d5a2403ae48941ef1882e4b91685f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% extends \u0027base.html\u0027 %}"},{"line_number":2,"context_line":"{% load i18n %}"},{"line_number":3,"context_line":"{% block title %}{% trans \"Create allowed address pair\" %}{% endblock %}"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"{% block main %}"},{"line_number":6,"context_line":"  {% include \u0027project/networks/ports/_addresspair.html\u0027 %}"}],"source_content_type":"text/html","patch_set":7,"id":"fa1b9901_3b2d2e95","line":3,"range":{"start_line":3,"start_character":27,"end_line":3,"end_character":33},"updated":"2015-08-20 14:13:40.000000000","message":"Create -\u003e Add (for consistency)","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"78402d3dd840b7e60471ee9ea093d26170a72e15","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% extends \u0027base.html\u0027 %}"},{"line_number":2,"context_line":"{% load i18n %}"},{"line_number":3,"context_line":"{% block title %}{% trans \"Create allowed address pair\" %}{% endblock %}"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"{% block main %}"},{"line_number":6,"context_line":"  {% include \u0027project/networks/ports/_addresspair.html\u0027 %}"}],"source_content_type":"text/html","patch_set":7,"id":"fa1b9901_ef84cc0b","line":3,"in_reply_to":"fa1b9901_3b2d2e95","updated":"2015-08-24 07:41:09.000000000","message":"Done","commit_id":"117223334972187208b24b67038751310756e9e0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9956dd2364f1db6d39e4be5cb4b42bded9f05447","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"da20952f_921b3273","updated":"2015-08-28 18:09:54.000000000","message":"Same comment for _addresspair.html","commit_id":"0505f4b6b0ec12208facc2997d1ce17d59b5f51a"}],"openstack_dashboard/dashboards/project/networks/tests.py":[{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"6afba5c0e60693b4a3707cad426482ef71ca2cdb","unresolved":false,"context_lines":[{"line_number":1817,"context_line":"        redir_url \u003d reverse(\u0027horizon:project:networks:detail\u0027,"},{"line_number":1818,"context_line":"                            args\u003d[port.network_id])"},{"line_number":1819,"context_line":"        self.assertRedirectsNoFollow(res, redir_url)"},{"line_number":1820,"context_line":""},{"line_number":1821,"context_line":"    @test.create_stubs({api.neutron: (\u0027port_get\u0027,"},{"line_number":1822,"context_line":"                                      \u0027is_extension_supported\u0027,)})"},{"line_number":1823,"context_line":"    def test_allowed_address_pair_detail(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa32b979_ce45196f","line":1820,"updated":"2015-06-19 00:14:36.000000000","message":"This could use a test or two for error conditions.","commit_id":"d7008539f9ef87d2990df628e653a7bf4317b446"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"47946e932dbfb1301710fefcce9b47414a4599ed","unresolved":false,"context_lines":[{"line_number":1818,"context_line":"                            args\u003d[port.network_id])"},{"line_number":1819,"context_line":"        self.assertRedirectsNoFollow(res, redir_url)"},{"line_number":1820,"context_line":""},{"line_number":1821,"context_line":"    @test.create_stubs({api.neutron: (\u0027port_get\u0027,"},{"line_number":1822,"context_line":"                                      \u0027is_extension_supported\u0027,)})"},{"line_number":1823,"context_line":"    def test_allowed_address_pair_detail(self):"},{"line_number":1824,"context_line":"        port \u003d self.ports.first()"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_1e95da85","line":1821,"updated":"2015-06-23 16:51:55.000000000","message":"How about adding some tests for error conditions related to allowed address pairs?","commit_id":"602719150cfb32c3e2d282bd941f7b85a24d3de2"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"47946e932dbfb1301710fefcce9b47414a4599ed","unresolved":false,"context_lines":[{"line_number":1907,"context_line":"        res \u003d self.client.post(url, form_data)"},{"line_number":1908,"context_line":"        self.assertNoFormErrors(res)"},{"line_number":1909,"context_line":"        self.assertRedirectsNoFollow(res, url)"},{"line_number":1910,"context_line":"        # self.assertMessageCount(success\u003d1)"},{"line_number":1911,"context_line":""},{"line_number":1912,"context_line":""},{"line_number":1913,"context_line":"class NetworkViewTests(test.TestCase):"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_7e9c26c0","line":1910,"updated":"2015-06-23 16:51:55.000000000","message":"Looks like this statement can be removed now.","commit_id":"602719150cfb32c3e2d282bd941f7b85a24d3de2"}]}
