)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"65d58a1ef035cccc5f1320b272151ca9191953ad","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     rossella \u003crsblendido@suse.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-02-12 17:00:35 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add state_or_sec_group_updated flag in port_update"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"port_update notification is sent when an attribute"},{"line_number":10,"context_line":"of a port is modified. The OVS agent uses"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"da86d52c_5dda8078","line":7,"updated":"2015-02-12 16:32:49.000000000","message":"Would it be better to name the flag needs_l2_update or needs_l2_reprocessing, as it applies to state, IP, or sec group changes?","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":2733,"name":"Darragh O\u0027Reilly","email":"doreilly@suse.com","username":"darragh-oreilly"},"change_message_id":"215f362173cdd39ce21a30b53538ddd4af9a652a","unresolved":false,"context_lines":[{"line_number":10,"context_line":"of a port is modified. The OVS agent uses"},{"line_number":11,"context_line":"this notification to keep track of the ports that"},{"line_number":12,"context_line":"need to be reprocessed. Anyway not all the changes"},{"line_number":13,"context_line":"that can affect a port require the L2 to react."},{"line_number":14,"context_line":"Add a flag in port_update to indicate that the state,"},{"line_number":15,"context_line":"the IP or the security group changed for a port."},{"line_number":16,"context_line":"The L2 agent can use this information to avoid processing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"baa041b7_1764eae1","line":13,"updated":"2015-04-03 18:39:29.000000000","message":"Can you give some examples of such changes? Do they happen frequently?","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e9610d7ef16319d9e04bc13aa65535cb3109e6e6","unresolved":false,"context_lines":[{"line_number":10,"context_line":"of a port is modified. The OVS agent uses"},{"line_number":11,"context_line":"this notification to keep track of the ports that"},{"line_number":12,"context_line":"need to be reprocessed. Anyway not all the changes"},{"line_number":13,"context_line":"that can affect a port require the L2 to react."},{"line_number":14,"context_line":"Add a flag in port_update to indicate that the state,"},{"line_number":15,"context_line":"the IP or the security group changed for a port."},{"line_number":16,"context_line":"The L2 agent can use this information to avoid processing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"9aa53dc9_e05205dd","line":13,"in_reply_to":"baa041b7_1764eae1","updated":"2015-04-13 15:14:39.000000000","message":"I hope next patch will make this point more clear","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"32460a4f35a568a1be31694ff554266ac6527b01","unresolved":false,"context_lines":[{"line_number":17,"context_line":"a port when it\u0027s not needed."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I0ce3527a2f218f3fda231f724b82a68e031a23be"},{"line_number":20,"context_line":"Partially-Implements: blueprint restructure-l2-agent"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"9aa53dc9_6879772f","line":20,"updated":"2015-04-06 13:38:33.000000000","message":"Considered an APIImpact?","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e9610d7ef16319d9e04bc13aa65535cb3109e6e6","unresolved":false,"context_lines":[{"line_number":17,"context_line":"a port when it\u0027s not needed."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I0ce3527a2f218f3fda231f724b82a68e031a23be"},{"line_number":20,"context_line":"Partially-Implements: blueprint restructure-l2-agent"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"7aaa499b_0e7d2c1c","line":20,"in_reply_to":"9aa53dc9_6879772f","updated":"2015-04-13 15:14:39.000000000","message":"My understanding was that the APIImpact flag was for the changes to the public API. Isn\u0027t that the case?","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"}],"neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"3fd9b366983e21fa858da33cd8d4c639069f0399","unresolved":false,"context_lines":[{"line_number":637,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":638,"context_line":"    # history"},{"line_number":639,"context_line":"    #   1.1 Support Security Group RPC"},{"line_number":640,"context_line":"    #   1.3 Add updated_attrs to port_update"},{"line_number":641,"context_line":"    target \u003d oslo_messaging.Target(version\u003d\u00271.3\u0027)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    def __init__(self, context, agent, sg_agent):"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_bae90481","line":640,"updated":"2015-05-25 09:40:39.000000000","message":"Could you do the similar change as you do for ovs-agent?\nWe would like to support linux bridge agent as possible as we can. From the discussion in nova-network migration in the summit, we don\u0027t drop the support of linux bridge agent.\nI believe this change is useful for linux bridge agent.","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":637,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":638,"context_line":"    # history"},{"line_number":639,"context_line":"    #   1.1 Support Security Group RPC"},{"line_number":640,"context_line":"    #   1.3 Add updated_attrs to port_update"},{"line_number":641,"context_line":"    target \u003d oslo_messaging.Target(version\u003d\u00271.3\u0027)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    def __init__(self, context, agent, sg_agent):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_ab69918d","line":640,"in_reply_to":"7a016987_bae90481","updated":"2015-06-05 14:23:11.000000000","message":"OK will do","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"df92070d1a111ecd8c6b027524cb27f4bfeb69ff","unresolved":false,"context_lines":[{"line_number":667,"context_line":"    def port_update(self, context, **kwargs):"},{"line_number":668,"context_line":"        port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":669,"context_line":"        tap_name \u003d self.agent.br_mgr.get_tap_device_name(port_id)"},{"line_number":670,"context_line":"        updated_attrs \u003d kwargs.get(\u0027updated_attrs\u0027)"},{"line_number":671,"context_line":"        full_update_attrs \u003d [\u0027port_binding\u0027, \u0027admin_state\u0027]"},{"line_number":672,"context_line":"        reload_filter_attrs \u003d [ext_sg.SECURITYGROUPS, addr_pair.ADDRESS_PAIRS,"},{"line_number":673,"context_line":"                               psec.PORTSECURITY, \u0027security_group_member\u0027]"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa32b979_8b53ce15","line":670,"updated":"2015-06-24 08:00:27.000000000","message":"make these sets to make the checks below a little easier","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f44501bb3468560d1581ed938f25400fd9cb9c85","unresolved":false,"context_lines":[{"line_number":667,"context_line":"    def port_update(self, context, **kwargs):"},{"line_number":668,"context_line":"        port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":669,"context_line":"        tap_name \u003d self.agent.br_mgr.get_tap_device_name(port_id)"},{"line_number":670,"context_line":"        updated_attrs \u003d kwargs.get(\u0027updated_attrs\u0027)"},{"line_number":671,"context_line":"        full_update_attrs \u003d [\u0027port_binding\u0027, \u0027admin_state\u0027]"},{"line_number":672,"context_line":"        reload_filter_attrs \u003d [ext_sg.SECURITYGROUPS, addr_pair.ADDRESS_PAIRS,"},{"line_number":673,"context_line":"                               psec.PORTSECURITY, \u0027security_group_member\u0027]"}],"source_content_type":"text/x-python","patch_set":12,"id":"3a50d1a3_bb4f0e6a","line":670,"in_reply_to":"fa32b979_8b53ce15","updated":"2015-07-22 09:58:58.000000000","message":"thanks","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"df92070d1a111ecd8c6b027524cb27f4bfeb69ff","unresolved":false,"context_lines":[{"line_number":675,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":676,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":677,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":678,"context_line":"        if updated_attrs:"},{"line_number":679,"context_line":"            if any(attr in updated_attrs for attr in full_update_attrs):"},{"line_number":680,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":681,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa32b979_ab581232","line":678,"updated":"2015-06-24 08:00:27.000000000","message":"if updated_attrs \u0026 full_update_attrs:\n    self.agent.updated_devices.add(tap_name)\n    LOG.debug(...)\nelif updated_attrs \u0026 reload_filter_attrs:\n    self.sg_agent.devices_to_refilter.add(tap_name)\n    LOG.debug(...)","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f44501bb3468560d1581ed938f25400fd9cb9c85","unresolved":false,"context_lines":[{"line_number":675,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":676,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":677,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":678,"context_line":"        if updated_attrs:"},{"line_number":679,"context_line":"            if any(attr in updated_attrs for attr in full_update_attrs):"},{"line_number":680,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":681,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":12,"id":"3a50d1a3_7b6c26d0","line":678,"in_reply_to":"fa32b979_ab581232","updated":"2015-07-22 09:58:58.000000000","message":"Done","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"}],"neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":666,"context_line":"    def port_update(self, context, **kwargs):"},{"line_number":667,"context_line":"        port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":668,"context_line":"        tap_name \u003d self.agent.br_mgr.get_tap_device_name(port_id)"},{"line_number":669,"context_line":"        updated_attrs \u003d set([kwargs.get(\u0027updated_attrs\u0027)])"},{"line_number":670,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"        # Put the tap name in the updated_devices set."}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_0ff995c8","line":669,"updated":"2015-07-24 13:22:13.000000000","message":"huhum, updated_attrs \u003d {None} when \u0027updated_attrs\u0027 is not in kwargs ... is it the expected behavior (i would say no)?\n\nPS, you can use directly (byebye py26):\n  \n  updated_attrs \u003d {kwargs.get(\u0027...\u0027)}\n  full_update_attrs \u003d {\u0027port_binding\u0027, \u0027admin_state\u0027}","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":666,"context_line":"    def port_update(self, context, **kwargs):"},{"line_number":667,"context_line":"        port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":668,"context_line":"        tap_name \u003d self.agent.br_mgr.get_tap_device_name(port_id)"},{"line_number":669,"context_line":"        updated_attrs \u003d set([kwargs.get(\u0027updated_attrs\u0027)])"},{"line_number":670,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"        # Put the tap name in the updated_devices set."}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_186c6f9b","line":669,"in_reply_to":"3a50d1a3_0ff995c8","updated":"2015-07-24 17:12:20.000000000","message":"it\u0027s not the expected behaviour...I introduced set in this patch and this bug sneaked in :/","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":673,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":674,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":675,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":676,"context_line":"        if updated_attrs:"},{"line_number":677,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":678,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":679,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_af93c14e","line":676,"updated":"2015-07-24 13:22:13.000000000","message":"updated_attrs is always a set with 1 value so the condition is always true","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":673,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":674,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":675,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":676,"context_line":"        if updated_attrs:"},{"line_number":677,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":678,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":679,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_786fb392","line":676,"in_reply_to":"3a50d1a3_af93c14e","updated":"2015-07-24 17:12:20.000000000","message":"changed that","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"3f569e690bbfa50c943ff869f56e311a40e7a964","unresolved":false,"context_lines":[{"line_number":668,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":669,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":670,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_d216dba6","line":671,"updated":"2015-07-24 20:24:06.000000000","message":"we can be a bit more lazy:\n\n if kwargs.get(\u0027...\u0027):\n    updated_attrs \u003d ...\n    full_update_attrs \u003d ...\n    if updated_attrs \u0026 full_update_attrs:","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1d1b16fc41b36664f2aee96facc0269b5aee5dde","unresolved":false,"context_lines":[{"line_number":668,"context_line":"        # Do not store port details, as if they\u0027re used for processing"},{"line_number":669,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":670,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_bf088cda","line":671,"in_reply_to":"3a50d1a3_d216dba6","updated":"2015-07-27 12:47:36.000000000","message":"Done","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"d7af8991b14356047a6c2e0b3b7700f66adb1b7c","unresolved":false,"context_lines":[{"line_number":670,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":675,"context_line":"                          \" the agent will reprocess the port\","},{"line_number":676,"context_line":"                          port_id)"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_5e409407","line":673,"updated":"2015-07-24 22:18:50.000000000","message":"We seem to be duplicating code here as this and L683 are the same.  Can\u0027t this be inverted slightly?\n\nif updated_attrs and not updated_attrs \u0026 full_update_attrs:\n    self.sg_agent.devices_to_refilter.add(tap_name)\n    ...\nelse:\n    self.agent.updated_devices.add(tap_name)\n    ...\n\nOr maybe it\u0027s too late on a Friday here :)","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1d1b16fc41b36664f2aee96facc0269b5aee5dde","unresolved":false,"context_lines":[{"line_number":670,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":675,"context_line":"                          \" the agent will reprocess the port\","},{"line_number":676,"context_line":"                          port_id)"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_7f12040b","line":673,"in_reply_to":"3a50d1a3_5e409407","updated":"2015-07-27 12:47:36.000000000","message":"Right, thanks","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"d7af8991b14356047a6c2e0b3b7700f66adb1b7c","unresolved":false,"context_lines":[{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":675,"context_line":"                          \" the agent will reprocess the port\","},{"line_number":676,"context_line":"                          port_id)"},{"line_number":677,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_a373c3b3","line":674,"updated":"2015-07-24 22:18:50.000000000","message":"nit: can you put the trailing space on this line instead of the beginning of the next if you respin?","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1d1b16fc41b36664f2aee96facc0269b5aee5dde","unresolved":false,"context_lines":[{"line_number":671,"context_line":"        if updated_attrs:"},{"line_number":672,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":673,"context_line":"                self.agent.updated_devices.add(tap_name)"},{"line_number":674,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":675,"context_line":"                          \" the agent will reprocess the port\","},{"line_number":676,"context_line":"                          port_id)"},{"line_number":677,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_1ffae0bd","line":674,"in_reply_to":"3a50d1a3_a373c3b3","updated":"2015-07-27 12:47:36.000000000","message":"Done","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"d7af8991b14356047a6c2e0b3b7700f66adb1b7c","unresolved":false,"context_lines":[{"line_number":676,"context_line":"                          port_id)"},{"line_number":677,"context_line":"            else:"},{"line_number":678,"context_line":"                self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":679,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":680,"context_line":"                          \" reload firewall rules\","},{"line_number":681,"context_line":"                          port_id)"},{"line_number":682,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_837247ac","line":679,"updated":"2015-07-24 22:18:50.000000000","message":"ditto","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1d1b16fc41b36664f2aee96facc0269b5aee5dde","unresolved":false,"context_lines":[{"line_number":676,"context_line":"                          port_id)"},{"line_number":677,"context_line":"            else:"},{"line_number":678,"context_line":"                self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":679,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":680,"context_line":"                          \" reload firewall rules\","},{"line_number":681,"context_line":"                          port_id)"},{"line_number":682,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_3ff55cca","line":679,"in_reply_to":"3a50d1a3_837247ac","updated":"2015-07-27 12:47:36.000000000","message":"Done","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"4a483fceeb6a6b5f6880ce04a4ca2b09fb41a880","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":667,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":668,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":669,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":670,"context_line":"            self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":671,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""},{"line_number":672,"context_line":"                      \"reload firewall rules\", port_id)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3a50d1a3_b67c1fb6","line":669,"updated":"2015-07-27 18:26:14.000000000","message":"nit: would be more readable, if rest of condition was indented more. That said, maybe it would be better to use a helper method that is more descriptive, and then use that name here?","commit_id":"7da38f112ca2e83e2bc8c4174285174bd6039d54"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6ef41908424b1b425b880187459a20d0308716a9","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":667,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":668,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":669,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":670,"context_line":"            self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":671,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""},{"line_number":672,"context_line":"                      \"reload firewall rules\", port_id)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_296b911f","line":669,"in_reply_to":"1a4dcd0f_853766fe","updated":"2015-08-12 15:19:46.000000000","message":"L669 lines up with 670, so harder to tell that first is part of condition and second is part of statements for if.  If you make a small helper method with a really informative name, it may make more readable.  Just a nit though.","commit_id":"7da38f112ca2e83e2bc8c4174285174bd6039d54"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"10703edc24eb19ac126f04636b594a0372e5549b","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":667,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":668,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":669,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":670,"context_line":"            self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":671,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""},{"line_number":672,"context_line":"                      \"reload firewall rules\", port_id)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_853766fe","line":669,"in_reply_to":"3a50d1a3_b67c1fb6","updated":"2015-08-11 14:59:53.000000000","message":"indent more, what do you mean exactly?","commit_id":"7da38f112ca2e83e2bc8c4174285174bd6039d54"},{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"2e3954f2319d27036ea6d0d0c165a029d8182dbc","unresolved":false,"context_lines":[{"line_number":706,"context_line":"        # notifications there is no guarantee the notifications are"},{"line_number":707,"context_line":"        # processed in the same order as the relevant API requests."},{"line_number":708,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":709,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":710,"context_line":"            self.sg_agent.devices_to_refilter.add(tap_name)"},{"line_number":711,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""},{"line_number":712,"context_line":"                      \"reload firewall rules\", port_id)"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a4dcd0f_6341e862","line":709,"updated":"2015-08-11 18:34:59.000000000","message":"could use set intersection method. just a little more readable. but this works fine too","commit_id":"727d8892e76dd2e10ad6673c9fcd3cdbcf25984f"}],"neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":375,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":376,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":377,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":378,"context_line":"        updated_attrs \u003d set([kwargs.get(\u0027updated_attrs\u0027)])"},{"line_number":379,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"        if updated_attrs:"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_efd789eb","line":378,"updated":"2015-07-24 13:22:13.000000000","message":"same remarks","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":375,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":376,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":377,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":378,"context_line":"        updated_attrs \u003d set([kwargs.get(\u0027updated_attrs\u0027)])"},{"line_number":379,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"        if updated_attrs:"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_b8b8dbe6","line":378,"in_reply_to":"3a50d1a3_efd789eb","updated":"2015-07-24 17:12:20.000000000","message":"Done","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"3f569e690bbfa50c943ff869f56e311a40e7a964","unresolved":false,"context_lines":[{"line_number":380,"context_line":"            else None)"},{"line_number":381,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"        if updated_attrs:"},{"line_number":384,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":385,"context_line":"                self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":386,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_921053aa","line":383,"updated":"2015-07-24 20:24:06.000000000","message":"ittox","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"d7af8991b14356047a6c2e0b3b7700f66adb1b7c","unresolved":false,"context_lines":[{"line_number":381,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"        if updated_attrs:"},{"line_number":384,"context_line":"            if updated_attrs \u0026 full_update_attrs:"},{"line_number":385,"context_line":"                self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":386,"context_line":"                LOG.debug(\"port_update message processed for port %s,\""},{"line_number":387,"context_line":"                          \" the agent will reprocess the port\","}],"source_content_type":"text/x-python","patch_set":14,"id":"3a50d1a3_9e5dbcee","line":384,"updated":"2015-07-24 22:18:50.000000000","message":"ditto","commit_id":"dd77fcb68d1ec8d98a175ee3111187edf780ead4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"4a483fceeb6a6b5f6880ce04a4ca2b09fb41a880","unresolved":false,"context_lines":[{"line_number":377,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":378,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":381,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":382,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":383,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":15,"id":"3a50d1a3_3647af78","line":380,"updated":"2015-07-27 18:26:14.000000000","message":"descriptive helper?  Could it be put somewhere common and used by both files?","commit_id":"7da38f112ca2e83e2bc8c4174285174bd6039d54"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"10703edc24eb19ac126f04636b594a0372e5549b","unresolved":false,"context_lines":[{"line_number":377,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":378,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":381,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":382,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":383,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_a503820f","line":380,"in_reply_to":"3a50d1a3_3647af78","updated":"2015-08-11 14:59:53.000000000","message":"that seems an overkill to me...I am just checking two booleans here","commit_id":"7da38f112ca2e83e2bc8c4174285174bd6039d54"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c6d615d8e11f89f3f8e84044c26157af35be5bb7","unresolved":false,"context_lines":[{"line_number":394,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":395,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_5559498d","line":397,"updated":"2015-08-24 11:30:52.000000000","message":"How do you know that\u0027s the whole list you may be interested in? Now that there is an agent extension manager, you don\u0027t know which updates are needed to be passed into process_network_ports then treat_devices_added_or_updated and eventually into self.ext_manager.handle_port.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"22655dd43456a64db9728a705554fc84e1eae872","unresolved":false,"context_lines":[{"line_number":394,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":395,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_b5f2256e","line":397,"updated":"2015-08-24 11:28:32.000000000","message":"Some L2 Agent common layer is definitely a must. So much code duplication...","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"04404f3d7dd7cc172bb6d38c89d035bae953cc5a","unresolved":false,"context_lines":[{"line_number":394,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":395,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_7149facf","line":397,"in_reply_to":"fa1b9901_5559498d","updated":"2015-08-24 13:53:38.000000000","message":"I guess we need to introduce such detail to the extension manager, so extensions can report back to the manager, and the manager up to the agent.\n\nSo QoS extension would declare: \"I care about qos_policy_id\", for example..","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e432ff58c49460bad97901af79d74b808c4f825a","unresolved":false,"context_lines":[{"line_number":394,"context_line":"        # Even if full port details might be provided to this call,"},{"line_number":395,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_1d616505","line":397,"in_reply_to":"fa1b9901_7149facf","updated":"2015-09-16 16:14:32.000000000","message":"Yes we need that...at the time I wrote this patch, there was no extension.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c6d615d8e11f89f3f8e84044c26157af35be5bb7","unresolved":false,"context_lines":[{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":401,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":402,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_155e7145","line":399,"updated":"2015-08-24 11:30:52.000000000","message":"I don\u0027t believe you need that if-else because the only upgrade scenario that we should support is first server, then agents.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"355c1f6e5c823763fe33264006f849aa280341a7","unresolved":false,"context_lines":[{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":401,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":402,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_7151ba35","line":399,"in_reply_to":"ba15a1d1_492006f8","updated":"2015-09-16 11:25:02.000000000","message":"Yes. New server is expected to work with old agents, not vice versa. So for upgrade, first agents, then server.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"66dec3c96268c70c48156d61d315e416e3cdf016","unresolved":false,"context_lines":[{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":401,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":402,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_7c38b1ef","line":399,"in_reply_to":"ba15a1d1_7151ba35","updated":"2015-09-16 11:51:54.000000000","message":"For upgrade, it makes sense first Server than Agents","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"bb1b66e1262773b0342ec2e2bd2208d6008a0aa3","unresolved":false,"context_lines":[{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":401,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":402,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_943311ab","line":399,"in_reply_to":"ba15a1d1_7c38b1ef","updated":"2015-09-16 15:22:21.000000000","message":"+1, server than Agents as it\u0027s done in nova","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":11682,"name":"Ryan Moats","email":"rmoats@us.ibm.com","username":"regXboi"},"change_message_id":"5d1b84899110631c26d2856047ce50aa0dd881a5","unresolved":false,"context_lines":[{"line_number":396,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":397,"context_line":"        full_update_attrs \u003d set([\u0027port_binding\u0027, \u0027admin_state\u0027])"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"        if kwargs.get(\u0027updated_attrs\u0027) and ("},{"line_number":400,"context_line":"            not set(kwargs.get(\u0027updated_attrs\u0027)) \u0026 full_update_attrs):"},{"line_number":401,"context_line":"            self.sg_agent.devices_to_refilter.add(port[\u0027id\u0027])"},{"line_number":402,"context_line":"            LOG.debug(\"port_update message processed for port %s, \""}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_492006f8","line":399,"in_reply_to":"fa1b9901_155e7145","updated":"2015-09-14 01:33:37.000000000","message":"@Ihar and the corresponding down grade scenario would be first agents and then server?","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"}],"neutron/plugins/ml2/plugin.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"25f759e9c32eab6966ecf272e362084ebac2ffbb","unresolved":false,"context_lines":[{"line_number":1004,"context_line":"                raise exc.PortNotFound(port_id\u003did)"},{"line_number":1005,"context_line":"            mac_address_updated \u003d self._check_mac_update_allowed("},{"line_number":1006,"context_line":"                port_db, port, binding)"},{"line_number":1007,"context_line":"            need_port_update_notify |\u003d mac_address_updated"},{"line_number":1008,"context_line":"            original_port \u003d self._make_port_dict(port_db)"},{"line_number":1009,"context_line":"            updated_port \u003d super(Ml2Plugin, self).update_port(context, id,"},{"line_number":1010,"context_line":"                                                              port)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_9ee964e8","line":1007,"updated":"2015-02-12 10:19:59.000000000","message":"not sure if ovs agent should not react to mac address update. Can you confirm?","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"0526a32761d1460c39eae9dca9938a31d054a13e","unresolved":false,"context_lines":[{"line_number":1004,"context_line":"                raise exc.PortNotFound(port_id\u003did)"},{"line_number":1005,"context_line":"            mac_address_updated \u003d self._check_mac_update_allowed("},{"line_number":1006,"context_line":"                port_db, port, binding)"},{"line_number":1007,"context_line":"            need_port_update_notify |\u003d mac_address_updated"},{"line_number":1008,"context_line":"            original_port \u003d self._make_port_dict(port_db)"},{"line_number":1009,"context_line":"            updated_port \u003d super(Ml2Plugin, self).update_port(context, id,"},{"line_number":1010,"context_line":"                                                              port)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_43654cdf","line":1007,"in_reply_to":"da86d52c_9ee964e8","updated":"2015-02-12 13:40:17.000000000","message":"if you see, the change of the MAC address is already covered by the check \u0027is_security_group_member_updated\u0027 . The OVS agent should react to a change of MAC, modifying the antispoofing filters so I thought it was better to use the \u0027is_security_group_member_updated\u0027 check.","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"25f759e9c32eab6966ecf272e362084ebac2ffbb","unresolved":false,"context_lines":[{"line_number":1011,"context_line":"            self.extension_manager.process_update_port(session, attrs,"},{"line_number":1012,"context_line":"                                                       original_port)"},{"line_number":1013,"context_line":"            if addr_pair.ADDRESS_PAIRS in port[\u0027port\u0027]:"},{"line_number":1014,"context_line":"                need_port_update_notify |\u003d ("},{"line_number":1015,"context_line":"                    self.update_address_pairs_on_port(context, id, port,"},{"line_number":1016,"context_line":"                                                      original_port,"},{"line_number":1017,"context_line":"                                                      updated_port))"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_5e08cc27","line":1014,"updated":"2015-02-12 10:19:59.000000000","message":"ditto","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"0526a32761d1460c39eae9dca9938a31d054a13e","unresolved":false,"context_lines":[{"line_number":1011,"context_line":"            self.extension_manager.process_update_port(session, attrs,"},{"line_number":1012,"context_line":"                                                       original_port)"},{"line_number":1013,"context_line":"            if addr_pair.ADDRESS_PAIRS in port[\u0027port\u0027]:"},{"line_number":1014,"context_line":"                need_port_update_notify |\u003d ("},{"line_number":1015,"context_line":"                    self.update_address_pairs_on_port(context, id, port,"},{"line_number":1016,"context_line":"                                                      original_port,"},{"line_number":1017,"context_line":"                                                      updated_port))"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_43e46c0c","line":1014,"in_reply_to":"da86d52c_5e08cc27","updated":"2015-02-12 13:40:17.000000000","message":"This needs to be added, thanks! spoofing rules need to be updated","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"25f759e9c32eab6966ecf272e362084ebac2ffbb","unresolved":false,"context_lines":[{"line_number":1024,"context_line":"                self, context, updated_port, network, binding,"},{"line_number":1025,"context_line":"                original_port\u003doriginal_port)"},{"line_number":1026,"context_line":"            new_host_port \u003d self._get_host_port_if_changed(mech_context, attrs)"},{"line_number":1027,"context_line":"            need_port_update_notify |\u003d self._process_port_binding("},{"line_number":1028,"context_line":"                mech_context, attrs)"},{"line_number":1029,"context_line":"            self.mechanism_manager.update_port_precommit(mech_context)"},{"line_number":1030,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_9e15e441","line":1027,"updated":"2015-02-12 10:19:59.000000000","message":"ditto","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"0526a32761d1460c39eae9dca9938a31d054a13e","unresolved":false,"context_lines":[{"line_number":1024,"context_line":"                self, context, updated_port, network, binding,"},{"line_number":1025,"context_line":"                original_port\u003doriginal_port)"},{"line_number":1026,"context_line":"            new_host_port \u003d self._get_host_port_if_changed(mech_context, attrs)"},{"line_number":1027,"context_line":"            need_port_update_notify |\u003d self._process_port_binding("},{"line_number":1028,"context_line":"                mech_context, attrs)"},{"line_number":1029,"context_line":"            self.mechanism_manager.update_port_precommit(mech_context)"},{"line_number":1030,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_a3b8c8c8","line":1027,"in_reply_to":"da86d52c_9e15e441","updated":"2015-02-12 13:40:17.000000000","message":"I don\u0027t think the OVS agent needs to do anything here. _process_port_binding checks 3 parameters modifications: host, vnic_type and profile , I don\u0027t see why the OVS agent should react to any of those changes. Moreover in case of changes the port is set to VIF_TYPE_UNBOUND in _process_port_binding , another agent will claim it and bound it.","commit_id":"1a2762cef09f81113a341c5c3e3403e0522038af"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"32460a4f35a568a1be31694ff554266ac6527b01","unresolved":false,"context_lines":[{"line_number":1137,"context_line":"        bound_port \u003d self._bind_port_if_needed("},{"line_number":1138,"context_line":"            mech_context,"},{"line_number":1139,"context_line":"            allow_notify\u003dTrue,"},{"line_number":1140,"context_line":"            need_notify\u003dneed_port_update_notify,"},{"line_number":1141,"context_line":"            state_or_sec_group_updated\u003dstate_or_sec_group_updated)"},{"line_number":1142,"context_line":"        return bound_port._port"},{"line_number":1143,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"9aa53dc9_a8ce5fb2","line":1140,"updated":"2015-04-06 13:38:33.000000000","message":"I\u0027m wondering if it is clearer (for readers)to keep the two flags, need_port_update_notify and state_or_sec_group_updated separate, rather than combining them on L1136. The need_notify arg could be set to the union of the two and the naming could be changed a bit...\n    need_notify\u003dport_updated | state_or_sec_group_updated\n\nCould rename need_port_update_notify to port_updated?","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"},{"author":{"_account_id":9423,"name":"Roey Chen","email":"roeyc@vmware.com","username":"roeyc"},"change_message_id":"4305a0cf2b4090e72aa35d29a2bdb2a5e24284db","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        return changes"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def _bind_port_if_needed(self, context, allow_notify\u003dFalse,"},{"line_number":248,"context_line":"                             need_notify\u003dFalse, updated_attrs\u003dNone):"},{"line_number":249,"context_line":"        plugin_context \u003d context._plugin_context"},{"line_number":250,"context_line":"        port_id \u003d context._port[\u0027id\u0027]"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"dac4157f_8db96331","line":248,"updated":"2015-04-20 08:45:33.000000000","message":"then there is not need to pass \u0027need_notify\u0027 as parameter, you could just define it as a local variable:\n\nneed_notify \u003d True if updated_attrs else False\n\nor don\u0027t define it at all.","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1ae194257cdd32599a7aa8e52f30b345c311ea02","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        return changes"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def _bind_port_if_needed(self, context, allow_notify\u003dFalse,"},{"line_number":248,"context_line":"                             need_notify\u003dFalse, updated_attrs\u003dNone):"},{"line_number":249,"context_line":"        plugin_context \u003d context._plugin_context"},{"line_number":250,"context_line":"        port_id \u003d context._port[\u0027id\u0027]"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"7ad32947_5693f4a3","line":248,"in_reply_to":"dac4157f_692b9aec","updated":"2015-04-27 15:34:44.000000000","message":"Right, it needs to be defined as local variable. Thanks!","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"000ab4b82cf858c1360fe2cf5c8c4f7cbd75a612","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        return changes"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def _bind_port_if_needed(self, context, allow_notify\u003dFalse,"},{"line_number":248,"context_line":"                             need_notify\u003dFalse, updated_attrs\u003dNone):"},{"line_number":249,"context_line":"        plugin_context \u003d context._plugin_context"},{"line_number":250,"context_line":"        port_id \u003d context._port[\u0027id\u0027]"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"dac4157f_692b9aec","line":248,"in_reply_to":"dac4157f_8db96331","updated":"2015-04-20 12:38:44.000000000","message":"Yeah, it looks like the separate flag was eliminated and is no longer needed.","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"391cc022c45c4b1a31b3d39b53eeb0c7d1475e5d","unresolved":false,"context_lines":[{"line_number":254,"context_line":"                             updated_attrs\u003dNone):"},{"line_number":255,"context_line":"        plugin_context \u003d context._plugin_context"},{"line_number":256,"context_line":"        port_id \u003d context._port[\u0027id\u0027]"},{"line_number":257,"context_line":"        need_notify \u003d True if updated_attrs else False"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"        # Since the mechanism driver bind_port() calls must be made"},{"line_number":260,"context_line":"        # outside a DB transaction locking the port state, it is"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_a44e8c38","line":257,"updated":"2015-05-25 02:24:49.000000000","message":"bool(updated_attrs)","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":254,"context_line":"                             updated_attrs\u003dNone):"},{"line_number":255,"context_line":"        plugin_context \u003d context._plugin_context"},{"line_number":256,"context_line":"        port_id \u003d context._port[\u0027id\u0027]"},{"line_number":257,"context_line":"        need_notify \u003d True if updated_attrs else False"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"        # Since the mechanism driver bind_port() calls must be made"},{"line_number":260,"context_line":"        # outside a DB transaction locking the port state, it is"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_08cf8b80","line":257,"in_reply_to":"7a016987_a44e8c38","updated":"2015-06-05 14:23:11.000000000","message":"Done","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"391cc022c45c4b1a31b3d39b53eeb0c7d1475e5d","unresolved":false,"context_lines":[{"line_number":1120,"context_line":"            if (psec.PORTSECURITY in attrs) and ("},{"line_number":1121,"context_line":"                        original_port[psec.PORTSECURITY] !\u003d"},{"line_number":1122,"context_line":"                        updated_port[psec.PORTSECURITY]):"},{"line_number":1123,"context_line":"                updated_attrs.append(\u0027port_security\u0027)"},{"line_number":1124,"context_line":""},{"line_number":1125,"context_line":"            if addr_pair.ADDRESS_PAIRS in attrs:"},{"line_number":1126,"context_line":"                if self.update_address_pairs_on_port(context, id, port,"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_e40da4e8","line":1123,"updated":"2015-05-25 02:24:49.000000000","message":"why do you use an ad-hoc string rather than psec.PORTSECURITY?\n\nditto for other attributes.","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":1120,"context_line":"            if (psec.PORTSECURITY in attrs) and ("},{"line_number":1121,"context_line":"                        original_port[psec.PORTSECURITY] !\u003d"},{"line_number":1122,"context_line":"                        updated_port[psec.PORTSECURITY]):"},{"line_number":1123,"context_line":"                updated_attrs.append(\u0027port_security\u0027)"},{"line_number":1124,"context_line":""},{"line_number":1125,"context_line":"            if addr_pair.ADDRESS_PAIRS in attrs:"},{"line_number":1126,"context_line":"                if self.update_address_pairs_on_port(context, id, port,"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_688ddf30","line":1123,"in_reply_to":"7a016987_e40da4e8","updated":"2015-06-05 14:23:11.000000000","message":"good point, I replaced that when possible","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"df92070d1a111ecd8c6b027524cb27f4bfeb69ff","unresolved":false,"context_lines":[{"line_number":1138,"context_line":"                                                     updated_port):"},{"line_number":1139,"context_line":"                    updated_attrs.append(addr_pair.ADDRESS_PAIRS)"},{"line_number":1140,"context_line":"            if self.update_security_group_on_port("},{"line_number":1141,"context_line":"                context, id, port, original_port, updated_port):"},{"line_number":1142,"context_line":"                updated_attrs.append(ext_sg.SECURITYGROUPS)"},{"line_number":1143,"context_line":""},{"line_number":1144,"context_line":"            network \u003d self.get_network(context, original_port[\u0027network_id\u0027])"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa32b979_eb529a12","line":1141,"updated":"2015-06-24 08:00:27.000000000","message":"adjust the indentation here so the logic of the if statement doesn\u0027t line up with the stuff in the if block","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f44501bb3468560d1581ed938f25400fd9cb9c85","unresolved":false,"context_lines":[{"line_number":1138,"context_line":"                                                     updated_port):"},{"line_number":1139,"context_line":"                    updated_attrs.append(addr_pair.ADDRESS_PAIRS)"},{"line_number":1140,"context_line":"            if self.update_security_group_on_port("},{"line_number":1141,"context_line":"                context, id, port, original_port, updated_port):"},{"line_number":1142,"context_line":"                updated_attrs.append(ext_sg.SECURITYGROUPS)"},{"line_number":1143,"context_line":""},{"line_number":1144,"context_line":"            network \u003d self.get_network(context, original_port[\u0027network_id\u0027])"}],"source_content_type":"text/x-python","patch_set":12,"id":"3a50d1a3_b2bb1a72","line":1141,"in_reply_to":"fa32b979_eb529a12","updated":"2015-07-22 09:58:58.000000000","message":"Done","commit_id":"3b818f21bc1a03595cb832019b03655a68c1f615"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"22655dd43456a64db9728a705554fc84e1eae872","unresolved":false,"context_lines":[{"line_number":1129,"context_line":"            original_port \u003d self._make_port_dict(port_db)"},{"line_number":1130,"context_line":"            updated_port \u003d super(Ml2Plugin, self).update_port(context, id,"},{"line_number":1131,"context_line":"                                                              port)"},{"line_number":1132,"context_line":"            self.extension_manager.process_update_port(context, attrs,"},{"line_number":1133,"context_line":"                                                       updated_port)"},{"line_number":1134,"context_line":"            self._portsec_ext_port_update_processing(updated_port, context,"},{"line_number":1135,"context_line":"                                                     port, id)"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_75afad94","line":1132,"updated":"2015-08-24 11:28:32.000000000","message":"I think extension manager should figure out what is updated. IMHO, it should not be done explicitly for all port extension attributes in the plugin","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"04404f3d7dd7cc172bb6d38c89d035bae953cc5a","unresolved":false,"context_lines":[{"line_number":1129,"context_line":"            original_port \u003d self._make_port_dict(port_db)"},{"line_number":1130,"context_line":"            updated_port \u003d super(Ml2Plugin, self).update_port(context, id,"},{"line_number":1131,"context_line":"                                                              port)"},{"line_number":1132,"context_line":"            self.extension_manager.process_update_port(context, attrs,"},{"line_number":1133,"context_line":"                                                       updated_port)"},{"line_number":1134,"context_line":"            self._portsec_ext_port_update_processing(updated_port, context,"},{"line_number":1135,"context_line":"                                                     port, id)"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_f1598a8f","line":1132,"in_reply_to":"fa1b9901_75afad94","updated":"2015-08-24 13:53:38.000000000","message":"I agree (L1141 and L1137..) :)","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"04404f3d7dd7cc172bb6d38c89d035bae953cc5a","unresolved":false,"context_lines":[{"line_number":1143,"context_line":"            if (qos_consts.QOS_POLICY_ID in attrs and"},{"line_number":1144,"context_line":"                    original_port[qos_consts.QOS_POLICY_ID] !\u003d"},{"line_number":1145,"context_line":"                    updated_port[qos_consts.QOS_POLICY_ID]):"},{"line_number":1146,"context_line":"                updated_attrs.append(\u0027qos\u0027)"},{"line_number":1147,"context_line":""},{"line_number":1148,"context_line":"            if addr_pair.ADDRESS_PAIRS in attrs:"},{"line_number":1149,"context_line":"                if self.update_address_pairs_on_port(context, id, port,"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_11a2fe4b","line":1146,"updated":"2015-08-24 13:53:38.000000000","message":"\u0027qos\u0027 \u003d\u003e qos_const.QOS_POLICY_ID \n\nmay be something more like L1132 comments is better, but we can do such thing on a 2nd step to not overload this patch too much.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"}],"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d3652b7b619deec6acf7529512579300f5352a0f","unresolved":false,"context_lines":[{"line_number":207,"context_line":"        cctxt.cast(context, \u0027network_delete\u0027, network_id\u003dnetwork_id)"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":210,"context_line":"                    physical_network, state_or_sec_group_updated\u003dTrue):"},{"line_number":211,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":212,"context_line":"                                    fanout\u003dTrue)"},{"line_number":213,"context_line":"        cctxt.cast(context, \u0027port_update\u0027, port\u003dport,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_11242b0d","line":210,"updated":"2015-02-14 09:37:18.000000000","message":"The new parameter is added in RPC API. Please set a new version of RPC. For detail, please see the following documents:\n- http://docs.openstack.org/developer/oslo.messaging/target.html#target-versions\n- http://docs.openstack.org/developer/neutron/devref/rpc_api.html#versioning\n\nself.client.prepare(topic\u003d...., fanout\u003d..., version\u003d\u0027\u00271.3\")","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e59139f3b4bd7b0a02b79835fb0a5695049e7321","unresolved":false,"context_lines":[{"line_number":207,"context_line":"        cctxt.cast(context, \u0027network_delete\u0027, network_id\u003dnetwork_id)"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":210,"context_line":"                    physical_network, state_or_sec_group_updated\u003dTrue):"},{"line_number":211,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":212,"context_line":"                                    fanout\u003dTrue)"},{"line_number":213,"context_line":"        cctxt.cast(context, \u0027port_update\u0027, port\u003dport,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_cb14814f","line":210,"in_reply_to":"da86d52c_11242b0d","updated":"2015-02-16 12:24:15.000000000","message":"Thanks Akihiro! I shouldn\u0027t have missed that!","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":2733,"name":"Darragh O\u0027Reilly","email":"doreilly@suse.com","username":"darragh-oreilly"},"change_message_id":"215f362173cdd39ce21a30b53538ddd4af9a652a","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        cctxt.cast(context, \u0027network_delete\u0027, network_id\u003dnetwork_id)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":233,"context_line":"                    physical_network, state_or_sec_group_updated\u003dTrue):"},{"line_number":234,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":235,"context_line":"                                    fanout\u003dTrue,"},{"line_number":236,"context_line":"                                    version\u003d\u00271.3\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"baa041b7_9727da63","line":233,"updated":"2015-04-03 18:39:29.000000000","message":"The commit message mentions IP address changes too - but the variable name says only state and sec groups.","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"dd62d126b6bc46826303d9046acad1e79567ff90","unresolved":false,"context_lines":[{"line_number":243,"context_line":"                       segmentation_id\u003dsegmentation_id,"},{"line_number":244,"context_line":"                       physical_network\u003dphysical_network,"},{"line_number":245,"context_line":"                       updated_attrs\u003dupdated_attrs)"},{"line_number":246,"context_line":"        except oslo_messaging.UnsupportedVersion:"},{"line_number":247,"context_line":"            LOG.debug(\"port_update version 1.3 is not supported\")"},{"line_number":248,"context_line":"            cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":249,"context_line":"                                        fanout\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_d82d72a9","line":246,"updated":"2015-04-15 15:47:17.000000000","message":"this is useless, doesn\u0027t solve the issue with Ryu CI , it would have worked with a \u0027call\u0027 but not with \u0027cast\u0027","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2abba85b085002ec493694f2da9d44f6a11bb96c","unresolved":false,"context_lines":[{"line_number":243,"context_line":"                       segmentation_id\u003dsegmentation_id,"},{"line_number":244,"context_line":"                       physical_network\u003dphysical_network,"},{"line_number":245,"context_line":"                       updated_attrs\u003dupdated_attrs)"},{"line_number":246,"context_line":"        except oslo_messaging.UnsupportedVersion:"},{"line_number":247,"context_line":"            LOG.debug(\"port_update version 1.3 is not supported\")"},{"line_number":248,"context_line":"            cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":249,"context_line":"                                        fanout\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":10,"id":"bab921fb_394a9984","line":246,"in_reply_to":"7aaa499b_d82d72a9","updated":"2015-04-23 05:56:27.000000000","message":"+1\n\nalso, given that port_update implementations use kwargs and updated_attrs is safe to ignore (right?), i wonder if we can avoid bumping version for this.","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"1ae194257cdd32599a7aa8e52f30b345c311ea02","unresolved":false,"context_lines":[{"line_number":243,"context_line":"                       segmentation_id\u003dsegmentation_id,"},{"line_number":244,"context_line":"                       physical_network\u003dphysical_network,"},{"line_number":245,"context_line":"                       updated_attrs\u003dupdated_attrs)"},{"line_number":246,"context_line":"        except oslo_messaging.UnsupportedVersion:"},{"line_number":247,"context_line":"            LOG.debug(\"port_update version 1.3 is not supported\")"},{"line_number":248,"context_line":"            cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":249,"context_line":"                                        fanout\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":10,"id":"7ad32947_50c4143f","line":246,"in_reply_to":"bab921fb_394a9984","updated":"2015-04-27 15:34:44.000000000","message":"I think it should be bumped anyway, because it\u0027s adding a new parameter, I will ask that in the ML too.","commit_id":"1052b6ebcabbaadbc647db5c559f7976fa90632e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"3fd9b366983e21fa858da33cd8d4c639069f0399","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        1.0 - Initial version."},{"line_number":211,"context_line":"        1.1 - Added get_active_networks_info, create_dhcp_port,"},{"line_number":212,"context_line":"              update_dhcp_port, and removed get_dhcp_port methods."},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    \"\"\""},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    def __init__(self, topic):"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_7acf0c56","line":213,"updated":"2015-05-25 09:40:39.000000000","message":"You need to update the history.","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        1.0 - Initial version."},{"line_number":211,"context_line":"        1.1 - Added get_active_networks_info, create_dhcp_port,"},{"line_number":212,"context_line":"              update_dhcp_port, and removed get_dhcp_port methods."},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    \"\"\""},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    def __init__(self, topic):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_48b6a38b","line":213,"in_reply_to":"7a016987_7acf0c56","updated":"2015-06-05 14:23:11.000000000","message":"Done","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"5cb27045ffc29715d4d9e0e7c08c1145bed433ad","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":239,"context_line":"                    physical_network, updated_attrs\u003dNone):"},{"line_number":240,"context_line":"        # NOTE(rossella_s) the minimum version required is not"},{"line_number":241,"context_line":"        # increased because the client can work with older servers,"},{"line_number":242,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":243,"context_line":"        # a full update of the port in any case"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_dbf53a57","line":240,"updated":"2015-07-22 10:07:39.000000000","message":"I\u0027d like to know what\u0027s the opinion of other people here. This is the client side of the RPC, the server side is in the l2 agent. If we increase the version number here it means that in case of an update we should update the l2 agent first, while most if not all other RPC call require to update the neutron server first. So rolling upgrades would be impossible. Of course another (smarter) solution can be found,  but it\u0027s more complex  (for example using another topic or using version cap). I just thought that maybe this work-around could be acceptable, not increasing the minimum required version on the client side since the client doesn\u0027t really care about updated_attrs, it works correctly even if the server side is using the older version of the RPC. Thoughts?","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":239,"context_line":"                    physical_network, updated_attrs\u003dNone):"},{"line_number":240,"context_line":"        # NOTE(rossella_s) the minimum version required is not"},{"line_number":241,"context_line":"        # increased because the client can work with older servers,"},{"line_number":242,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":243,"context_line":"        # a full update of the port in any case"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_d887e710","line":240,"in_reply_to":"3a50d1a3_2fad7131","updated":"2015-07-24 17:12:20.000000000","message":"My question was more if this solution is acceptable from the versioning point of view or if the version of the client should be bumped anyway.","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":239,"context_line":"                    physical_network, updated_attrs\u003dNone):"},{"line_number":240,"context_line":"        # NOTE(rossella_s) the minimum version required is not"},{"line_number":241,"context_line":"        # increased because the client can work with older servers,"},{"line_number":242,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":243,"context_line":"        # a full update of the port in any case"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_2fad7131","line":240,"in_reply_to":"3a50d1a3_dbf53a57","updated":"2015-07-24 13:22:13.000000000","message":"imo, requiring to update l2 agent first seems not an acceptable solution so this solution seems better","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c6d615d8e11f89f3f8e84044c26157af35be5bb7","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":307,"context_line":"                    physical_network, updated_attrs\u003dNone):"},{"line_number":308,"context_line":"        # NOTE(rossella_s) the minimum version required is not"},{"line_number":309,"context_line":"        # increased because the client can work with older servers,"},{"line_number":310,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":311,"context_line":"        # a full update of the port in any case"},{"line_number":312,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_55b5c97b","line":309,"updated":"2015-08-24 11:30:52.000000000","message":"That\u0027s a common misconception that agents should work against an older server that you continue to put hooks for. The only reasonable upgrade order is: first server, then agents.","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e432ff58c49460bad97901af79d74b808c4f825a","unresolved":false,"context_lines":[{"line_number":306,"context_line":"    def port_update(self, context, port, network_type, segmentation_id,"},{"line_number":307,"context_line":"                    physical_network, updated_attrs\u003dNone):"},{"line_number":308,"context_line":"        # NOTE(rossella_s) the minimum version required is not"},{"line_number":309,"context_line":"        # increased because the client can work with older servers,"},{"line_number":310,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":311,"context_line":"        # a full update of the port in any case"},{"line_number":312,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_805aec28","line":309,"in_reply_to":"fa1b9901_55b5c97b","updated":"2015-09-16 16:14:32.000000000","message":"the comment was not clear. In this case I meant rpc client, that is the neutron server. Anyway I think we need to increase the version anyway. See discussion here [1]\n\n[1] https://review.openstack.org/#/c/215608/","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"04404f3d7dd7cc172bb6d38c89d035bae953cc5a","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":311,"context_line":"        # a full update of the port in any case"},{"line_number":312,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":313,"context_line":"                                    fanout\u003dTrue)"},{"line_number":314,"context_line":"        cctxt.cast(context, \u0027port_update\u0027, port\u003dport,"},{"line_number":315,"context_line":"                   network_type\u003dnetwork_type,"},{"line_number":316,"context_line":"                   segmentation_id\u003dsegmentation_id,"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa1b9901_912a8e8f","line":313,"updated":"2015-08-24 13:53:38.000000000","message":"client.prepare(....., version\u003d\u00271.4\u0027) @amotoki just guided me through this :)\n\nBut that could break as soon as we update neutron-server first, and then agents.\n\nI guess the only way here is to make port_update compatible with receiving updated_attrs or not at least for 1 cycle?","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e432ff58c49460bad97901af79d74b808c4f825a","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        # since they will simply ignore updated_attrs and perform"},{"line_number":311,"context_line":"        # a full update of the port in any case"},{"line_number":312,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself.topic_port_update,"},{"line_number":313,"context_line":"                                    fanout\u003dTrue)"},{"line_number":314,"context_line":"        cctxt.cast(context, \u0027port_update\u0027, port\u003dport,"},{"line_number":315,"context_line":"                   network_type\u003dnetwork_type,"},{"line_number":316,"context_line":"                   segmentation_id\u003dsegmentation_id,"}],"source_content_type":"text/x-python","patch_set":17,"id":"ba15a1d1_204e803b","line":313,"in_reply_to":"fa1b9901_912a8e8f","updated":"2015-09-16 16:14:32.000000000","message":"the problem is that if this version is increased...the server will be upgraded first so it will require version 1.4 and the agent won\u0027t have it because it was not upgraded. It\u0027s tricky, we need to use 2 different topics probably for 1 cycle...","commit_id":"bb097f990ec797a208daf0bd4db4a39b7faaef44"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d3652b7b619deec6acf7529512579300f5352a0f","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    # history"},{"line_number":119,"context_line":"    #   1.0 Initial version"},{"line_number":120,"context_line":"    #   1.1 Support Security Group RPC"},{"line_number":121,"context_line":"    #   1.2 Support DVR (Distributed Virtual Router) RPC"},{"line_number":122,"context_line":"    target \u003d oslo_messaging.Target(version\u003d\u00271.2\u0027)"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def __init__(self, integ_br, tun_br, local_ip,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_116b4b20","line":121,"updated":"2015-02-14 09:37:18.000000000","message":"As I commented in rpc.py, we need to increment RPC version because a new parameter is added to the method.","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"65d58a1ef035cccc5f1320b272151ca9191953ad","unresolved":false,"context_lines":[{"line_number":332,"context_line":"            self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":333,"context_line":"            LOG.debug(\"port_update message processed for port %s\", port[\u0027id\u0027])"},{"line_number":334,"context_line":"        else:"},{"line_number":335,"context_line":"            LOG.debug(\"port_update message received for port %s, no IP address\""},{"line_number":336,"context_line":"                      \"change nor security group change, no action needed\","},{"line_number":337,"context_line":"                      port[\u0027id\u0027])"},{"line_number":338,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_bd39bca5","line":335,"updated":"2015-02-12 16:32:49.000000000","message":"space after address","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"e59139f3b4bd7b0a02b79835fb0a5695049e7321","unresolved":false,"context_lines":[{"line_number":332,"context_line":"            self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":333,"context_line":"            LOG.debug(\"port_update message processed for port %s\", port[\u0027id\u0027])"},{"line_number":334,"context_line":"        else:"},{"line_number":335,"context_line":"            LOG.debug(\"port_update message received for port %s, no IP address\""},{"line_number":336,"context_line":"                      \"change nor security group change, no action needed\","},{"line_number":337,"context_line":"                      port[\u0027id\u0027])"},{"line_number":338,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_0b069921","line":335,"in_reply_to":"da86d52c_bd39bca5","updated":"2015-02-16 12:24:15.000000000","message":"Done","commit_id":"3d1e6b7444b1e6eabfa3774259ccc3781ae9ef1c"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"d30ece0b363267d4cd009dccfbe454d16b096802","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        updated_attrs \u003d kwargs.get(\u0027updated_attrs\u0027)"},{"line_number":337,"context_line":"        full_update_attrs \u003d [\u0027port_binding\u0027, \u0027admin_state\u0027]"},{"line_number":338,"context_line":"        reload_filter_attrs \u003d [\u0027security-group\u0027, \u0027address_pairs\u0027,"},{"line_number":339,"context_line":"                               \u0027port_security\u0027 \u0027security_group_member\u0027]"},{"line_number":340,"context_line":"        if updated_attrs:"},{"line_number":341,"context_line":"            if any(attr in updated_attrs for attr in full_update_attrs):"},{"line_number":342,"context_line":"                self.updated_ports.add(port[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_444fd833","line":339,"updated":"2015-05-25 02:18:56.000000000","message":"typos?\n\n\u0027security-group\u0027 -\u003e \u0027security_group\u0027\n\n\u0027port_security\u0027 \u0027security_group_member\u0027 -\u003e \u0027port_security\u0027, \u0027security_group_member\u0027","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        updated_attrs \u003d kwargs.get(\u0027updated_attrs\u0027)"},{"line_number":337,"context_line":"        full_update_attrs \u003d [\u0027port_binding\u0027, \u0027admin_state\u0027]"},{"line_number":338,"context_line":"        reload_filter_attrs \u003d [\u0027security-group\u0027, \u0027address_pairs\u0027,"},{"line_number":339,"context_line":"                               \u0027port_security\u0027 \u0027security_group_member\u0027]"},{"line_number":340,"context_line":"        if updated_attrs:"},{"line_number":341,"context_line":"            if any(attr in updated_attrs for attr in full_update_attrs):"},{"line_number":342,"context_line":"                self.updated_ports.add(port[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_8b9b75c9","line":339,"in_reply_to":"7a016987_444fd833","updated":"2015-06-05 14:23:11.000000000","message":"Done","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"}],"neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py":[{"author":{"_account_id":9423,"name":"Roey Chen","email":"roeyc@vmware.com","username":"roeyc"},"change_message_id":"ca40515b728d6d15ac28ff99e217c7b280af105b","unresolved":false,"context_lines":[{"line_number":540,"context_line":"                               segmentation_id\u003d\"1\","},{"line_number":541,"context_line":"                               physical_network\u003d\"physnet\","},{"line_number":542,"context_line":"                               state_or_sec_group_updated\u003dFalse)"},{"line_number":543,"context_line":"        self.assertFalse(self.agent.updated_ports)"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"    def test_setup_physical_bridges(self):"},{"line_number":546,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":8,"id":"9aa53dc9_e5d7f221","line":543,"updated":"2015-04-06 13:09:38.000000000","message":"I think it makes more sense if you\u0027d use this instead:\nself.assertNotIn(port[\u0027id\u0027], self.agent.updated_ports)","commit_id":"92bbb6856cca9648af3f4a7929acc068cdd672fd"}],"neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":363,"context_line":""},{"line_number":364,"context_line":"    def test_port_full_update(self):"},{"line_number":365,"context_line":"        for attr in [\u0027port_binding\u0027, \u0027admin_state\u0027, None]:"},{"line_number":366,"context_line":"            self._test_port_update(attr)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def _test_port_update_filter(self, updated_attrs):"},{"line_number":369,"context_line":"        port \u003d {\"id\": \"123\","}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_da6129d5","line":366,"updated":"2015-07-24 13:22:13.000000000","message":"According to _test_port_update signature, a list of attrs is expected not one ... it seems related to my remark in linuxbridge agent code","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":363,"context_line":""},{"line_number":364,"context_line":"    def test_port_full_update(self):"},{"line_number":365,"context_line":"        for attr in [\u0027port_binding\u0027, \u0027admin_state\u0027, None]:"},{"line_number":366,"context_line":"            self._test_port_update(attr)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def _test_port_update_filter(self, updated_attrs):"},{"line_number":369,"context_line":"        port \u003d {\"id\": \"123\","}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_98987f6c","line":366,"in_reply_to":"3a50d1a3_da6129d5","updated":"2015-07-24 17:12:20.000000000","message":"will improve the tests.","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"163915b6922eb98dfb55ff509fee093b4b01bcbf","unresolved":false,"context_lines":[{"line_number":378,"context_line":"        self.assertIn(\"tap123\", self.agent.sg_agent.devices_to_refilter)"},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"    def test_port_update_only_reapply_filters(self):"},{"line_number":381,"context_line":"        for attr in [ext_sg.SECURITYGROUPS, addr_pair.ADDRESS_PAIRS,"},{"line_number":382,"context_line":"                     psec.PORTSECURITY, \u0027security_group_member\u0027]:"},{"line_number":383,"context_line":"            self._test_port_update_filter(attr)"},{"line_number":384,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_9a9ac1c4","line":381,"updated":"2015-07-24 13:22:13.000000000","message":"itto","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"62983145322c956ad758fde0ae8eb8b7af037c1e","unresolved":false,"context_lines":[{"line_number":378,"context_line":"        self.assertIn(\"tap123\", self.agent.sg_agent.devices_to_refilter)"},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"    def test_port_update_only_reapply_filters(self):"},{"line_number":381,"context_line":"        for attr in [ext_sg.SECURITYGROUPS, addr_pair.ADDRESS_PAIRS,"},{"line_number":382,"context_line":"                     psec.PORTSECURITY, \u0027security_group_member\u0027]:"},{"line_number":383,"context_line":"            self._test_port_update_filter(attr)"},{"line_number":384,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a50d1a3_18ad4f88","line":381,"in_reply_to":"3a50d1a3_9a9ac1c4","updated":"2015-07-24 17:12:20.000000000","message":"Done","commit_id":"bfc130bb79e922eef7ef592118813262a2186117"}],"neutron/tests/unit/plugins/openvswitch/agent/test_ovs_neutron_agent.py":[{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"d30ece0b363267d4cd009dccfbe454d16b096802","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"    def test_port_update_only_reapply_filters(self):"},{"line_number":545,"context_line":"        for attr in [\u0027security-group\u0027, \u0027address_pairs\u0027,"},{"line_number":546,"context_line":"                     \u0027port_security\u0027 \u0027security_group_member\u0027]:"},{"line_number":547,"context_line":"            self._test_port_update_filter(attr)"},{"line_number":548,"context_line":""},{"line_number":549,"context_line":"    def test_port_delete(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a016987_046440b6","line":546,"updated":"2015-05-25 02:18:56.000000000","message":"typos?\n\n\u0027security-group\u0027 -\u003e \u0027security_group\u0027\n\n\u0027port_security\u0027 \u0027security_group_member\u0027 -\u003e \u0027port_security\u0027, \u0027security_group_member\u0027","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"13dbe7a9544661ae0e3208f1d592b8d9981249c5","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"    def test_port_update_only_reapply_filters(self):"},{"line_number":545,"context_line":"        for attr in [\u0027security-group\u0027, \u0027address_pairs\u0027,"},{"line_number":546,"context_line":"                     \u0027port_security\u0027 \u0027security_group_member\u0027]:"},{"line_number":547,"context_line":"            self._test_port_update_filter(attr)"},{"line_number":548,"context_line":""},{"line_number":549,"context_line":"    def test_port_delete(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_ebc1c981","line":546,"in_reply_to":"7a016987_046440b6","updated":"2015-06-05 14:23:11.000000000","message":"thanks for catching this","commit_id":"efa04ab2be40e2b570f72049d699fc3a51ed9ff4"}]}
