)]}'
{"neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/br_int.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"5f6cc59c8c3659bbe593a0f53c4b034e1c08b2d5","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        self.install_goto(dest_table_id\u003dconstants.TRANSIENT_TABLE)"},{"line_number":44,"context_line":"        self.install_normal(table_id\u003dconstants.TRANSIENT_TABLE, priority\u003d3)"},{"line_number":45,"context_line":"        self.install_drop(table_id\u003dconstants.ARP_SPOOF_TABLE)"},{"line_number":46,"context_line":"        _0, _1, ofpp \u003d self._get_dp()"},{"line_number":47,"context_line":"        vlan_match \u003d ofpp.OFPMatch(vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":48,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":49,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_18c77a99","line":46,"range":{"start_line":46,"start_character":8,"end_line":46,"end_character":20},"updated":"2018-11-08 21:28:51.000000000","message":"nit: (_dp, _ofp, ofpp) just to be consistent with rest of file\n\nunless you do what Rodolfo suggests","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2354684078e79c33af256f549167017655194071","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        self.install_goto(dest_table_id\u003dconstants.TRANSIENT_TABLE)"},{"line_number":44,"context_line":"        self.install_normal(table_id\u003dconstants.TRANSIENT_TABLE, priority\u003d3)"},{"line_number":45,"context_line":"        self.install_drop(table_id\u003dconstants.ARP_SPOOF_TABLE)"},{"line_number":46,"context_line":"        _0, _1, ofpp \u003d self._get_dp()"},{"line_number":47,"context_line":"        vlan_match \u003d ofpp.OFPMatch(vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":48,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":49,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_8156b62a","line":46,"range":{"start_line":46,"start_character":8,"end_line":46,"end_character":20},"in_reply_to":"3f79a3b5_18c77a99","updated":"2018-11-09 01:05:49.000000000","message":"i actully changed this intentionally as as i have rather a strong dislike of the explict use of \"()\" when doing multiple asignment.\n\nill check if rodolfo suggestion works and if not ill \nchange this.","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"725e73995f38032b23bcdf3ff1ba41e2ce744916","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        vlan_match \u003d ofpp.OFPMatch(vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":48,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":49,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"},{"line_number":50,"context_line":"                          match\u003dvlan_match)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def setup_canary_table(self):"},{"line_number":53,"context_line":"        self.install_drop(constants.CANARY_TABLE)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_a9cc0262","line":50,"range":{"start_line":50,"start_character":26,"end_line":50,"end_character":31},"updated":"2018-11-08 17:28:41.000000000","message":"Instead of using \"match\", you can use \"match_kwargs\" and pass \nvlan_vid\u003dconstants.DEAD_VLAN_TAG. Then you can avoid L46-47.","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2354684078e79c33af256f549167017655194071","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        vlan_match \u003d ofpp.OFPMatch(vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":48,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":49,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"},{"line_number":50,"context_line":"                          match\u003dvlan_match)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def setup_canary_table(self):"},{"line_number":53,"context_line":"        self.install_drop(constants.CANARY_TABLE)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_a19652ed","line":50,"range":{"start_line":50,"start_character":26,"end_line":50,"end_character":31},"in_reply_to":"3f79a3b5_a9cc0262","updated":"2018-11-09 01:05:49.000000000","message":"oh that is a much nicer interface but i was under the impression that only worked in the ovs-vsctl version. ill try it.","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"615afe4c978dcae5038779eae85ddc94ba4c06e4","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        self.install_drop(table_id\u003dconstants.ARP_SPOOF_TABLE)"},{"line_number":46,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":47,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"},{"line_number":48,"context_line":"                          vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def setup_canary_table(self):"},{"line_number":51,"context_line":"        self.install_drop(constants.CANARY_TABLE)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_90d8cc51","line":48,"updated":"2018-11-16 20:52:49.000000000","message":"Just a question: if we install here rule to drop all packets with vlan_vid\u003dDEAD_VLAN_TAG, do we still need to install drop_port rule for each such port: https://github.com/openstack/neutron/blob/75af9170a43aa969be05e403d19a84059173e6bc/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1030","commit_id":"e3dc447b908f57e9acc0378111b8e09cbd88ddc5"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"263731960c26e0582451176a8afc2d471a7aca46","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        self.install_drop(table_id\u003dconstants.ARP_SPOOF_TABLE)"},{"line_number":46,"context_line":"        self.install_drop(table_id\u003dconstants.LOCAL_SWITCHING,"},{"line_number":47,"context_line":"                          priority\u003dconstants.OPENFLOW_MAX_PRIORITY,"},{"line_number":48,"context_line":"                          vlan_vid\u003dconstants.DEAD_VLAN_TAG)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def setup_canary_table(self):"},{"line_number":51,"context_line":"        self.install_drop(constants.CANARY_TABLE)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_b243b346","line":48,"in_reply_to":"3f79a3b5_90d8cc51","updated":"2018-12-10 14:55:15.000000000","message":"am i don\u0027t think they will be needed no.","commit_id":"e3dc447b908f57e9acc0378111b8e09cbd88ddc5"}],"neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_int.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"725e73995f38032b23bcdf3ff1ba41e2ce744916","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                match\u003dofpp.OFPMatch(vlan_vid\u003d4095),"},{"line_number":75,"context_line":"                priority\u003d65535,"},{"line_number":76,"context_line":"                table_id\u003d0),"},{"line_number":77,"context_line":"                           active_bundle\u003dNone),"},{"line_number":78,"context_line":"        ]"},{"line_number":79,"context_line":"        self.assertEqual(expected, self.mock.mock_calls)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_89e6e6da","line":77,"updated":"2018-11-08 17:28:41.000000000","message":"indentation","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"51d90122bf5208c8f945d765e3870875f76236ba","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                match\u003dofpp.OFPMatch(vlan_vid\u003d4095),"},{"line_number":75,"context_line":"                priority\u003d65535,"},{"line_number":76,"context_line":"                table_id\u003d0),"},{"line_number":77,"context_line":"                           active_bundle\u003dNone),"},{"line_number":78,"context_line":"        ]"},{"line_number":79,"context_line":"        self.assertEqual(expected, self.mock.mock_calls)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_23867f61","line":77,"in_reply_to":"3f79a3b5_2151e231","updated":"2018-11-14 11:23:56.000000000","message":"Yes, you are right. And I don\u0027t understand how pep8 is passing!","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c77a892a52d08a9a33e5253ddfd4657fa2d1c461","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                match\u003dofpp.OFPMatch(vlan_vid\u003d4095),"},{"line_number":75,"context_line":"                priority\u003d65535,"},{"line_number":76,"context_line":"                table_id\u003d0),"},{"line_number":77,"context_line":"                           active_bundle\u003dNone),"},{"line_number":78,"context_line":"        ]"},{"line_number":79,"context_line":"        self.assertEqual(expected, self.mock.mock_calls)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_bc2e2c59","line":77,"in_reply_to":"3f79a3b5_23867f61","updated":"2018-11-14 12:20:42.000000000","message":"its passing because the a in active_bundle\nlines up with the o in ofpp on line 71\n\nso ofpp.OFPFlowMod is the first argument to _send_message and active_bundel is the second.\n\nsince\n\n_send_msg(x,\n          y)\n\nis valid this is also valid.","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2354684078e79c33af256f549167017655194071","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                match\u003dofpp.OFPMatch(vlan_vid\u003d4095),"},{"line_number":75,"context_line":"                priority\u003d65535,"},{"line_number":76,"context_line":"                table_id\u003d0),"},{"line_number":77,"context_line":"                           active_bundle\u003dNone),"},{"line_number":78,"context_line":"        ]"},{"line_number":79,"context_line":"        self.assertEqual(expected, self.mock.mock_calls)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_2151e231","line":77,"in_reply_to":"3f79a3b5_89e6e6da","updated":"2018-11-09 01:05:49.000000000","message":"the indentation is the same as the rest so this is consistnet no?","commit_id":"6e2082356f765583198fbee23c482aa27baf583e"}]}
