)]}'
{"networking_odl/ml2/mech_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"826106b771332d7fba2e2de47b1149aa304b27ac","unresolved":false,"context_lines":[{"line_number":106,"context_line":"            context, odl_const.ODL_SUBNET, odl_const.ODL_CREATE)"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    def create_port_precommit(self, context):"},{"line_number":109,"context_line":"        self._insert_provisioning_block(context)"},{"line_number":110,"context_line":"        OpenDaylightMechanismDriver._record_in_journal("},{"line_number":111,"context_line":"            context, odl_const.ODL_PORT, odl_const.ODL_CREATE)"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_009fdb50","line":109,"range":{"start_line":109,"start_character":13,"end_line":109,"end_character":48},"updated":"2017-04-05 16:37:25.000000000","message":"Don\u0027t call this unconditionally. This breaks older version of ODL.\nfeature negotiation is needed.","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e381d48fb39358482c69f37ce255e532a4de661","unresolved":false,"context_lines":[{"line_number":106,"context_line":"            context, odl_const.ODL_SUBNET, odl_const.ODL_CREATE)"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    def create_port_precommit(self, context):"},{"line_number":109,"context_line":"        self._insert_provisioning_block(context)"},{"line_number":110,"context_line":"        OpenDaylightMechanismDriver._record_in_journal("},{"line_number":111,"context_line":"            context, odl_const.ODL_PORT, odl_const.ODL_CREATE)"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_bfa72a50","line":109,"range":{"start_line":109,"start_character":13,"end_line":109,"end_character":48},"in_reply_to":"bff0334d_009fdb50","updated":"2017-04-23 13:27:20.000000000","message":"Done","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c504b85f097ce4b267b02044099690e4f0f03dcb","unresolved":false,"context_lines":[{"line_number":95,"context_line":"        # we insert a status barrier to prevent the port from transitioning"},{"line_number":96,"context_line":"        # to active until the agent reports back that the wiring is done"},{"line_number":97,"context_line":"        port \u003d context.current"},{"line_number":98,"context_line":"        if not context.host or port[\u0027status\u0027] \u003d\u003d n_const.PORT_STATUS_ACTIVE:"},{"line_number":99,"context_line":"            # no point in putting in a block if the status is already ACTIVE"},{"line_number":100,"context_line":"            return"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"        provisioning_blocks.add_provisioning_component("}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_d9e9d280","line":99,"range":{"start_line":98,"start_character":0,"end_line":99,"end_character":76},"updated":"2017-04-24 21:36:49.000000000","message":"Please add a comment on this is specific.\nFor more general case, more needs to be done with a link to bug report.","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e98d41426b223fe17343ab5f1af390f9719c576","unresolved":false,"context_lines":[{"line_number":95,"context_line":"        # we insert a status barrier to prevent the port from transitioning"},{"line_number":96,"context_line":"        # to active until the agent reports back that the wiring is done"},{"line_number":97,"context_line":"        port \u003d context.current"},{"line_number":98,"context_line":"        if not context.host or port[\u0027status\u0027] \u003d\u003d n_const.PORT_STATUS_ACTIVE:"},{"line_number":99,"context_line":"            # no point in putting in a block if the status is already ACTIVE"},{"line_number":100,"context_line":"            return"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"        provisioning_blocks.add_provisioning_component("}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_58d2525e","line":99,"range":{"start_line":98,"start_character":0,"end_line":99,"end_character":76},"in_reply_to":"5ff73747_d9e9d280","updated":"2017-04-25 08:13:30.000000000","message":"Done","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c504b85f097ce4b267b02044099690e4f0f03dcb","unresolved":false,"context_lines":[{"line_number":112,"context_line":"            context, odl_const.ODL_SUBNET, odl_const.ODL_CREATE)"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"    def create_port_precommit(self, context):"},{"line_number":115,"context_line":"        if odl_features.has(odl_features.OPERATIONAL_PORT_STATUS):"},{"line_number":116,"context_line":"            self._insert_provisioning_block(context)"},{"line_number":117,"context_line":"        OpenDaylightMechanismDriver._record_in_journal("},{"line_number":118,"context_line":"            context, odl_const.ODL_PORT, odl_const.ODL_CREATE)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_f9cb6e1b","line":115,"range":{"start_line":115,"start_character":8,"end_line":115,"end_character":66},"updated":"2017-04-24 21:36:49.000000000","message":"we can move this if into _insert_provisioning_block.","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e98d41426b223fe17343ab5f1af390f9719c576","unresolved":false,"context_lines":[{"line_number":112,"context_line":"            context, odl_const.ODL_SUBNET, odl_const.ODL_CREATE)"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"    def create_port_precommit(self, context):"},{"line_number":115,"context_line":"        if odl_features.has(odl_features.OPERATIONAL_PORT_STATUS):"},{"line_number":116,"context_line":"            self._insert_provisioning_block(context)"},{"line_number":117,"context_line":"        OpenDaylightMechanismDriver._record_in_journal("},{"line_number":118,"context_line":"            context, odl_const.ODL_PORT, odl_const.ODL_CREATE)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_44194ed5","line":115,"range":{"start_line":115,"start_character":8,"end_line":115,"end_character":66},"in_reply_to":"5ff73747_f9cb6e1b","updated":"2017-04-25 08:13:30.000000000","message":"Done","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"}],"networking_odl/ml2/ovsdb_topology.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"826106b771332d7fba2e2de47b1149aa304b27ac","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                     \u0027vif_details\u0027: vif_details})"},{"line_number":168,"context_line":"                port_context.set_binding("},{"line_number":169,"context_line":"                    segment[driver_api.ID], vif_type, vif_details,"},{"line_number":170,"context_line":"                    status\u003dn_const.PORT_STATUS_DOWN)"},{"line_number":171,"context_line":"                return"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        raise ValueError("}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_80a52bb8","line":170,"range":{"start_line":170,"start_character":47,"end_line":170,"end_character":51},"updated":"2017-04-05 16:37:25.000000000","message":"This break older ODL versions.\nfeature netogniation should be implememted before doing this.\nservice-provider-features-attributes in neutron-extensions.yang","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e381d48fb39358482c69f37ce255e532a4de661","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                     \u0027vif_details\u0027: vif_details})"},{"line_number":168,"context_line":"                port_context.set_binding("},{"line_number":169,"context_line":"                    segment[driver_api.ID], vif_type, vif_details,"},{"line_number":170,"context_line":"                    status\u003dn_const.PORT_STATUS_DOWN)"},{"line_number":171,"context_line":"                return"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"        raise ValueError("}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_9f622e16","line":170,"range":{"start_line":170,"start_character":47,"end_line":170,"end_character":51},"in_reply_to":"bff0334d_80a52bb8","updated":"2017-04-23 13:27:20.000000000","message":"Done","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c504b85f097ce4b267b02044099690e4f0f03dcb","unresolved":false,"context_lines":[{"line_number":166,"context_line":"                     \u0027network\u0027: network_context_id,"},{"line_number":167,"context_line":"                     \u0027segment\u0027: segment, \u0027vif_type\u0027: vif_type,"},{"line_number":168,"context_line":"                     \u0027vif_details\u0027: vif_details})"},{"line_number":169,"context_line":"                port_status \u003d n_const.PORT_STATUS_ACTIVE"},{"line_number":170,"context_line":"                if odl_features.has(odl_features.OPERATIONAL_PORT_STATUS):"},{"line_number":171,"context_line":"                    port_status \u003d n_const.PORT_STATUS_DOWN"},{"line_number":172,"context_line":"                port_context.set_binding("},{"line_number":173,"context_line":"                    segment[driver_api.ID], vif_type, vif_details,"},{"line_number":174,"context_line":"                    status\u003dport_status)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_f9992e1f","line":171,"range":{"start_line":169,"start_character":1,"end_line":171,"end_character":58},"updated":"2017-04-24 21:36:49.000000000","message":"pseudo_agentdb_binding.py needs same modification.","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e98d41426b223fe17343ab5f1af390f9719c576","unresolved":false,"context_lines":[{"line_number":166,"context_line":"                     \u0027network\u0027: network_context_id,"},{"line_number":167,"context_line":"                     \u0027segment\u0027: segment, \u0027vif_type\u0027: vif_type,"},{"line_number":168,"context_line":"                     \u0027vif_details\u0027: vif_details})"},{"line_number":169,"context_line":"                port_status \u003d n_const.PORT_STATUS_ACTIVE"},{"line_number":170,"context_line":"                if odl_features.has(odl_features.OPERATIONAL_PORT_STATUS):"},{"line_number":171,"context_line":"                    port_status \u003d n_const.PORT_STATUS_DOWN"},{"line_number":172,"context_line":"                port_context.set_binding("},{"line_number":173,"context_line":"                    segment[driver_api.ID], vif_type, vif_details,"},{"line_number":174,"context_line":"                    status\u003dport_status)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_784ceec6","line":171,"range":{"start_line":169,"start_character":1,"end_line":171,"end_character":58},"in_reply_to":"5ff73747_f9992e1f","updated":"2017-04-25 08:13:30.000000000","message":"Done","commit_id":"c764a07f2d9ed9a035372526e4873fb67013eb9c"}],"networking_odl/ml2/port_status_update.py":[{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"d54796c5ea72335f430b497ce55cb8753da6e17e","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                if status_field is not None:"},{"line_number":73,"context_line":"                    status \u003d status_field.get(\u0027content\u0027)"},{"line_number":74,"context_line":"                    LOG.debug(\"Update port for port id %s %s\", port_id, status)"},{"line_number":75,"context_line":"                    provisioning_blocks.provisioning_complete("},{"line_number":76,"context_line":"                               context.get_admin_context(),"},{"line_number":77,"context_line":"                               port_id, resources.PORT,"},{"line_number":78,"context_line":"                               provisioning_blocks.L2_AGENT_ENTITY)"}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_3640e535","line":75,"updated":"2017-04-05 17:00:20.000000000","message":"Bug! Need to only call this if status is ACTIVE","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"348f0ecc5b705cf1851337bd83bfdc8f1a1c38d0","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                if status_field is not None:"},{"line_number":73,"context_line":"                    status \u003d status_field.get(\u0027content\u0027)"},{"line_number":74,"context_line":"                    LOG.debug(\"Update port for port id %s %s\", port_id, status)"},{"line_number":75,"context_line":"                    provisioning_blocks.provisioning_complete("},{"line_number":76,"context_line":"                               context.get_admin_context(),"},{"line_number":77,"context_line":"                               port_id, resources.PORT,"},{"line_number":78,"context_line":"                               provisioning_blocks.L2_AGENT_ENTITY)"}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_7a96d695","line":75,"in_reply_to":"bff0334d_3640e535","updated":"2017-04-10 03:21:27.000000000","message":"Done","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"826106b771332d7fba2e2de47b1149aa304b27ac","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        if status \u003d\u003d odl_ws_client.ODL_WEBSOCKET_CONNECTED:"},{"line_number":84,"context_line":"            # Get port data using restconf"},{"line_number":85,"context_line":"            LOG.debug(\"Websocket notification on reconnection\")"},{"line_number":86,"context_line":"            reconn_thread \u003d threading.Thread(name\u003d\u0027websocket\u0027,"},{"line_number":87,"context_line":"                                        target\u003dself._pull_missed_statuses())"},{"line_number":88,"context_line":"            reconn_thread.start()"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def _pull_missed_statuses(self):"},{"line_number":91,"context_line":"        LOG.debug(\"starting...\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_4004c37b","line":88,"range":{"start_line":86,"start_character":12,"end_line":88,"end_character":33},"updated":"2017-04-05 16:37:25.000000000","message":"This introduces race condition.\nWhat if port status update change happends during this sync?","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e381d48fb39358482c69f37ce255e532a4de661","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        if status \u003d\u003d odl_ws_client.ODL_WEBSOCKET_CONNECTED:"},{"line_number":84,"context_line":"            # Get port data using restconf"},{"line_number":85,"context_line":"            LOG.debug(\"Websocket notification on reconnection\")"},{"line_number":86,"context_line":"            reconn_thread \u003d threading.Thread(name\u003d\u0027websocket\u0027,"},{"line_number":87,"context_line":"                                        target\u003dself._pull_missed_statuses())"},{"line_number":88,"context_line":"            reconn_thread.start()"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def _pull_missed_statuses(self):"},{"line_number":91,"context_line":"        LOG.debug(\"starting...\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_7f676227","line":88,"range":{"start_line":86,"start_character":12,"end_line":88,"end_character":33},"in_reply_to":"bff0334d_4004c37b","updated":"2017-04-23 13:27:20.000000000","message":"As per our conversation, we are postponing dealing with this until the next phase. Currently there is no race condition since only transition from DOWN-\u003eACTIVE at the time of bind is supported.","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"826106b771332d7fba2e2de47b1149aa304b27ac","unresolved":false,"context_lines":[{"line_number":90,"context_line":"    def _pull_missed_statuses(self):"},{"line_number":91,"context_line":"        LOG.debug(\"starting...\")"},{"line_number":92,"context_line":"        plugin \u003d directory.get_plugin()"},{"line_number":93,"context_line":"        filter \u003d {\"status\":  [\"DOWN\"], \"vif_type\": [\"unbound\"]}"},{"line_number":94,"context_line":"        ports \u003d plugin.get_ports(context.get_admin_context(), filter)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        if not ports:"}],"source_content_type":"text/x-python","patch_set":2,"id":"bff0334d_c04b33ae","line":93,"range":{"start_line":93,"start_character":8,"end_line":93,"end_character":63},"updated":"2017-04-05 16:37:25.000000000","message":"This is too specific to the current existing behavior of netvirt.\nEven if we can assume netvirt, I would expect in future change of netvirt.\nWe should follow the behavior that neutron expects. Not the current existing behvior of netvirt.","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"},{"author":{"_account_id":22380,"name":"Josh Hershberg","email":"jhershbe@redhat.com","username":"jhershbe"},"change_message_id":"6e381d48fb39358482c69f37ce255e532a4de661","unresolved":false,"context_lines":[{"line_number":90,"context_line":"    def _pull_missed_statuses(self):"},{"line_number":91,"context_line":"        LOG.debug(\"starting...\")"},{"line_number":92,"context_line":"        plugin \u003d directory.get_plugin()"},{"line_number":93,"context_line":"        filter \u003d {\"status\":  [\"DOWN\"], \"vif_type\": [\"unbound\"]}"},{"line_number":94,"context_line":"        ports \u003d plugin.get_ports(context.get_admin_context(), filter)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        if not ports:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_5f6ca607","line":93,"range":{"start_line":93,"start_character":8,"end_line":93,"end_character":63},"in_reply_to":"bff0334d_c04b33ae","updated":"2017-04-23 13:27:20.000000000","message":"As per our conversation, postponing this until the next phase.","commit_id":"1f4e7e47b294010d080819b5e028bb7329fc099e"}]}
