)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8bd1b02d2bd49a648f95682bd73b732cad70ed6d","unresolved":false,"context_lines":[{"line_number":26,"context_line":"tunnel_sync rpc signature upgrade to obtain \u0027host\u0027."},{"line_number":27,"context_line":"Added testcases for TunnelRpcCallbackMixin()."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"This patch-set agent deals with agent side changes."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Closes-Bug: #1179223"},{"line_number":32,"context_line":"Closes-Bug: #1381071"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3a961159_b75f0de4","line":29,"updated":"2015-01-08 10:56:47.000000000","message":"If this patch is just the agent side changes, remove the mentions of the DB changes in this message.","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5736a049461b482d299c46ea88e1382963ffad4d","unresolved":false,"context_lines":[{"line_number":26,"context_line":"tunnel_sync rpc signature upgrade to obtain \u0027host\u0027."},{"line_number":27,"context_line":"Added testcases for TunnelRpcCallbackMixin()."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"This patch-set agent deals with agent side changes."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Closes-Bug: #1179223"},{"line_number":32,"context_line":"Closes-Bug: #1381071"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3a961159_770045ab","line":29,"in_reply_to":"3a961159_b75f0de4","updated":"2015-01-08 11:04:57.000000000","message":"Done","commit_id":"e646de8cea3534509db56014511a467650cf8f55"}],"neutron/agent/rpc.py":[{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"3755203facbb2d35b43878a62c8b20dfcefb741f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":127,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":128,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":129,"context_line":"        return res"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_8fa1f997","line":129,"updated":"2014-12-15 17:27:14.000000000","message":"I can\u0027t find any changes where the new \u0027host\u0027 arg is actually used.\n\nIf this change stays, I would actually prefer dropping the try/except handling here.  The only case where this error would be hit would be in the case of a deployment error (a partial upgrade).  I\u0027m pretty sure in that case an error will be logged on the other side, and on this side, messaging.UnsupportedVersion will be raised up to the caller and hopefully logged somewhere as a failed operation.","commit_id":"73ca5f47ae58728f4180f83bd65f5775d8e5b5c2"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"da8dfe242c53df4618a32d7f47136f1c89deb9a9","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":127,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":128,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":129,"context_line":"        return res"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_40519e0d","line":129,"in_reply_to":"3a961159_8fa1f997","updated":"2014-12-15 18:30:37.000000000","message":"Maybe you might not have reviewed the base patch-set the host arg is used in plugin side tunnel_sync:\n\nhttps://review.openstack.org/#/c/121000/28/neutron/plugins/ml2/drivers/type_tunnel.py L208","commit_id":"73ca5f47ae58728f4180f83bd65f5775d8e5b5c2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7d3687d0b4e61d71bc637ab9239befbbe045794e","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":130,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":131,"context_line":"        return res"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a961159_c9e1082c","line":129,"updated":"2015-01-12 19:06:38.000000000","message":"bear with me, but how is line 129 different from 124 if we\u0027re passing the host again?","commit_id":"49a1fb4bab18614862e6397a9bc8d94b19e26ae8"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"7c6a07e9779ba5b62e06ca5548c191783060ab88","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":130,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":131,"context_line":"        return res"}],"source_content_type":"text/x-python","patch_set":14,"id":"3a961159_7e1359b7","line":129,"in_reply_to":"3a961159_c9e1082c","updated":"2015-01-13 04:20:08.000000000","message":"Sorry...my mistake.\n\nWe should not pass host here. I will post new patch-set.\n\nThanks :)","commit_id":"49a1fb4bab18614862e6397a9bc8d94b19e26ae8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_1f07601a","line":126,"updated":"2015-02-04 14:33:36.000000000","message":"I believe old versions of server receive all arguments thru kwargs and will just ignore host\u003d, so there is no real need to handle UnsupportedVersion here specifically. If that\u0027s really the case, we may probably also omit client version bump here?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"975b1e7bb9799895cb1e2f19506a2227adf12b0c","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_f82c61ae","line":126,"in_reply_to":"da86d52c_18c3f557","updated":"2015-02-04 16:02:39.000000000","message":"It was suggested in the link below: \n\nhttps://review.openstack.org/#/c/121000/18/neutron/agent/rpc.py","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_5abac66e","line":126,"in_reply_to":"da86d52c_1f07601a","updated":"2015-02-04 15:14:31.000000000","message":"I didn\u0027t get this \u0027we may probably also omit client version bump here?\u0027\nCould you please elaborate a bit.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1244003088022fef4c9b7286707f7b0a1ae723e3","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_7444f51a","line":126,"in_reply_to":"da86d52c_497bddf4","updated":"2015-02-04 19:01:16.000000000","message":"My understanding is that you haven\u0027t actually changed method signature since you pass host\u003d thru kwargs, and hence you don\u0027t need version bump on client side.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"36794aef4dfb6221dd8c8aec9101933200bf10d2","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_b57d941e","line":126,"in_reply_to":"da86d52c_5abac66e","updated":"2015-02-04 15:35:28.000000000","message":"I mean, since server side is ok with receving host\u003d argument even in Juno, there seems to be no reason to bump client endpoint version (version\u003d\u00271.4\u0027), and/or handle UnsupportedVersion exception.\n\nDo you think there are any scenarios in which server side would fail to process tunnel_sync request from client?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"ed134c31b40d9005dec0993fdbc0a9fc606d646b","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_b46bcd1c","line":126,"in_reply_to":"da86d52c_7444f51a","updated":"2015-02-04 19:14:59.000000000","message":"Will this work?\n\n    def tunnel_sync(self, context, tunnel_ip, tunnel_type\u003dNone, host\u003dNone):\n        cctxt \u003d self.client.prepare()\n        return cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,\n                          tunnel_type\u003dtunnel_type, host\u003dhost)","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"f52231ae6affe78ebf1081100896ecc2a98388d5","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_18c3f557","line":126,"in_reply_to":"da86d52c_75e6bcb1","updated":"2015-02-04 15:51:28.000000000","message":"It seems it\u0027s here from the very first patchset.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7c296e0d104cc04080b5859a4942069b9fb4cc9e","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_f63ff7b1","line":126,"in_reply_to":"da86d52c_83012807","updated":"2015-02-05 07:32:14.000000000","message":"Thanks Russell. In that case, let\u0027s leave the code as-is.\n\nRomil, sorry for making mess here. :)","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"cb355129ea78728ebdad5bd4d63dfda65b315d89","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_cd0a7025","line":126,"in_reply_to":"da86d52c_b46bcd1c","updated":"2015-02-04 20:36:01.000000000","message":"I think yes, but I want Russel Bryant to comment.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"3a62a4eddd0732a1fe4c4f5c9531ed566cf8b3ef","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_75e6bcb1","line":126,"in_reply_to":"da86d52c_b57d941e","updated":"2015-02-04 15:47:43.000000000","message":"Sure,I will remove the messaging.UnsupportedVersion code. Frankly speaking initially I didn\u0027t add this but some of the reviewer insisted me to add.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"4ff778daf1a4330a945e08d5989fcf5d7c57ea6c","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_83012807","line":126,"in_reply_to":"da86d52c_cd0a7025","updated":"2015-02-04 21:29:09.000000000","message":"The right thing to do here is to bump the version to \u00271.4\u0027.  A new argument is considered a non-backwards compatible change.  Even if the other side accepts **kwargs, I think it\u0027s important to remain consistent with the rules for version changes.\n\nRegarding the incompatible version exception handling, I\u0027m fine either way with it.  It seems technically correct, though the only case it would happen is with a broken deployment.  Even without it, the exception should get logged somewhere to give a hint that something is busted.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b5d3a6408afb80722c1467f0da35edf864514da6","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_fbeffbae","line":126,"in_reply_to":"da86d52c_f82c61ae","updated":"2015-02-04 16:16:22.000000000","message":"If I understand correctly, Rossella just noticed there that if you explicitly set version to 1.4 here, you will get the exception. But let\u0027s say we don\u0027t enforce the version and allow server to handle it depending on whether host\u003d is passed. In that case it should work fine (as per server side implementation), and so there is no particular need to bump version here.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"510887c38d5a95ed934f675757bb976e8614c0a4","unresolved":false,"context_lines":[{"line_number":123,"context_line":"            cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)"},{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_497bddf4","line":126,"in_reply_to":"da86d52c_fbeffbae","updated":"2015-02-04 16:58:53.000000000","message":"I think we need to set the version to 1.4 since we upgraded the tunnel_sync signature to obtain host which was not there in 1.3.\n\nI am bit confused, shall I revert the changes(remove messaging.Unsupported Version)  like:\n\n    def tunnel_sync(self, context, tunnel_ip, tunnel_type\u003dNone, host\u003dNone):\n        cctxt \u003d self.client.prepare(version\u003d\u00271.4\u0027)\n        return cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,\n                          tunnel_type\u003dtunnel_type, host\u003dhost)\n\nor keep it AS-IS?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":130,"context_line":"                             tunnel_type\u003dtunnel_type)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_84a5c5a3","line":127,"updated":"2015-02-04 14:33:36.000000000","message":"tunnel sync -\u003e Tunnel synchronization","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[{"line_number":124,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":125,"context_line":"                             tunnel_type\u003dtunnel_type, host\u003dhost)"},{"line_number":126,"context_line":"        except messaging.UnsupportedVersion:"},{"line_number":127,"context_line":"            LOG.warn(_LW(\u0027tunnel sync requires a server upgrade.\u0027))"},{"line_number":128,"context_line":"            cctxt \u003d self.client.prepare()"},{"line_number":129,"context_line":"            res \u003d cctxt.call(context, \u0027tunnel_sync\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":130,"context_line":"                             tunnel_type\u003dtunnel_type)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_9aafde29","line":127,"in_reply_to":"da86d52c_84a5c5a3","updated":"2015-02-04 15:14:31.000000000","message":"Done","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"}],"neutron/plugins/ml2/drivers/type_tunnel.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"724299b22f629e6838c2683071e1ac251ea61e2a","unresolved":false,"context_lines":[{"line_number":272,"context_line":"                                     topics.DELETE)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":275,"context_line":"        self.fanout_cast(context,"},{"line_number":276,"context_line":"                         self.make_msg(\u0027tunnel_delete\u0027,"},{"line_number":277,"context_line":"                                       tunnel_ip\u003dtunnel_ip,"},{"line_number":278,"context_line":"                                       tunnel_type\u003dtunnel_type),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a890539_00f06b90","line":275,"updated":"2014-11-27 00:33:57.000000000","message":"this most likely needs to be refactored in light of the droprpccompat blueprint.","commit_id":"f943740b389ef8bf72d216479274dcf7b9752f20"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5871eb200ee682d7f88f7f9f2a2b7d61c2f566da","unresolved":false,"context_lines":[{"line_number":272,"context_line":"                                     topics.DELETE)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":275,"context_line":"        self.fanout_cast(context,"},{"line_number":276,"context_line":"                         self.make_msg(\u0027tunnel_delete\u0027,"},{"line_number":277,"context_line":"                                       tunnel_ip\u003dtunnel_ip,"},{"line_number":278,"context_line":"                                       tunnel_type\u003dtunnel_type),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a890539_f5587a59","line":275,"in_reply_to":"5a890539_00f06b90","updated":"2014-11-27 08:53:14.000000000","message":"Sorry, I didn\u0027t get your comment ?\n\nPlease share some reference links.","commit_id":"f943740b389ef8bf72d216479274dcf7b9752f20"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"811f3ef6525bbb0aa69ec82784c4d18fcbe1f9b9","unresolved":false,"context_lines":[{"line_number":272,"context_line":"                                     topics.DELETE)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":275,"context_line":"        self.fanout_cast(context,"},{"line_number":276,"context_line":"                         self.make_msg(\u0027tunnel_delete\u0027,"},{"line_number":277,"context_line":"                                       tunnel_ip\u003dtunnel_ip,"},{"line_number":278,"context_line":"                                       tunnel_type\u003dtunnel_type),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a890539_60f04f67","line":275,"in_reply_to":"5a890539_e41c65c4","updated":"2014-12-05 11:50:58.000000000","message":"Done","commit_id":"f943740b389ef8bf72d216479274dcf7b9752f20"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"616a05ea28c8c0a7973d6701647f528d1650fe19","unresolved":false,"context_lines":[{"line_number":272,"context_line":"                                     topics.DELETE)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":275,"context_line":"        self.fanout_cast(context,"},{"line_number":276,"context_line":"                         self.make_msg(\u0027tunnel_delete\u0027,"},{"line_number":277,"context_line":"                                       tunnel_ip\u003dtunnel_ip,"},{"line_number":278,"context_line":"                                       tunnel_type\u003dtunnel_type),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a890539_e41c65c4","line":275,"in_reply_to":"5a890539_f5587a59","updated":"2014-12-05 00:29:16.000000000","message":"https://review.openstack.org/#/q/status:merged+project:openstack/neutron+branch:master+topic:bp/drop-rpc-compat,n,z","commit_id":"f943740b389ef8bf72d216479274dcf7b9752f20"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8bd1b02d2bd49a648f95682bd73b732cad70ed6d","unresolved":false,"context_lines":[{"line_number":270,"context_line":"                                     TUNNEL,"},{"line_number":271,"context_line":"                                     topics.DELETE)"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":274,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself._get_tunnel_delete_topic(),"},{"line_number":275,"context_line":"                                    version\u003d\u00271.3\u0027, fanout\u003dTrue)"},{"line_number":276,"context_line":"        cctxt.cast(context, \u0027tunnel_delete\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_f75515c2","line":273,"updated":"2015-01-08 10:56:47.000000000","message":"I don\u0027t think _get_tunnel_delete_topic needs to be its own function. Just call topics.get_topic_name right here and assign it to a local var before calling prepare","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5736a049461b482d299c46ea88e1382963ffad4d","unresolved":false,"context_lines":[{"line_number":270,"context_line":"                                     TUNNEL,"},{"line_number":271,"context_line":"                                     topics.DELETE)"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":274,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself._get_tunnel_delete_topic(),"},{"line_number":275,"context_line":"                                    version\u003d\u00271.3\u0027, fanout\u003dTrue)"},{"line_number":276,"context_line":"        cctxt.cast(context, \u0027tunnel_delete\u0027, tunnel_ip\u003dtunnel_ip,"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_b7d46d20","line":273,"in_reply_to":"3a961159_f75515c2","updated":"2015-01-08 11:04:57.000000000","message":"I feel it should be similar to _get_tunnel_update_topic(self).\n\nLet it be AS-IS please :)","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"8c8b59e5424b5c39302838b9a08454908e9d86dd","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":274,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself._get_tunnel_delete_topic(),"},{"line_number":275,"context_line":"                                    version\u003d\u00271.3\u0027, fanout\u003dTrue)"},{"line_number":276,"context_line":"        cctxt.cast(context, \u0027tunnel_delete\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":277,"context_line":"                   tunnel_type\u003dtunnel_type)"}],"source_content_type":"text/x-python","patch_set":20,"id":"da86d52c_ba8be61c","line":275,"updated":"2015-02-10 18:00:33.000000000","message":"I don\u0027t think you need to bump the version if you are using a brand new topic. A version number is associated with an oslo.messaging.Target. The target of a message is specified using a topic. So the version for this topic here is the base one.","commit_id":"7c17d623ff33b633a6e6a5b9d4c3d187a214d6de"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"f1a83fd055175711895341bfc531350c05617891","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":"    def tunnel_delete(self, context, tunnel_ip, tunnel_type):"},{"line_number":274,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dself._get_tunnel_delete_topic(),"},{"line_number":275,"context_line":"                                    version\u003d\u00271.3\u0027, fanout\u003dTrue)"},{"line_number":276,"context_line":"        cctxt.cast(context, \u0027tunnel_delete\u0027, tunnel_ip\u003dtunnel_ip,"},{"line_number":277,"context_line":"                   tunnel_type\u003dtunnel_type)"}],"source_content_type":"text/x-python","patch_set":20,"id":"da86d52c_1a7792d5","line":275,"in_reply_to":"da86d52c_ba8be61c","updated":"2015-02-10 18:14:03.000000000","message":"Thanks Rossella for the clarification. I will remove it.","commit_id":"7c17d623ff33b633a6e6a5b9d4c3d187a214d6de"}],"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    #   1.3 get_device_details rpc signature upgrade to obtain \u0027host\u0027 and"},{"line_number":45,"context_line":"    #       return value to include fixed_ips and device_owner for"},{"line_number":46,"context_line":"    #       the device port"},{"line_number":47,"context_line":"    #   1.4 tunnel_sync rpc signature upgrade to obtain \u0027host\u0027"},{"line_number":48,"context_line":"    target \u003d messaging.Target(version\u003d\u00271.4\u0027)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def __init__(self, notifier, type_manager):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_1ff12002","line":47,"updated":"2015-02-04 14:33:36.000000000","message":"as far as I see in https://review.openstack.org/#/c/121000/32/neutron/plugins/ml2/drivers/type_tunnel.py, we haven\u0027t really modified method signature.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    #   1.3 get_device_details rpc signature upgrade to obtain \u0027host\u0027 and"},{"line_number":45,"context_line":"    #       return value to include fixed_ips and device_owner for"},{"line_number":46,"context_line":"    #       the device port"},{"line_number":47,"context_line":"    #   1.4 tunnel_sync rpc signature upgrade to obtain \u0027host\u0027"},{"line_number":48,"context_line":"    target \u003d messaging.Target(version\u003d\u00271.4\u0027)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def __init__(self, notifier, type_manager):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_5a3f26d6","line":47,"in_reply_to":"da86d52c_1ff12002","updated":"2015-02-04 15:14:31.000000000","message":"Yeah, I think we could remove this. Since we are adding here,\nhttps://review.openstack.org/#/c/136106/16/neutron/agent/rpc.py","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"629ea6e5eaf997996c380af1a7cb446915946b4d","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    #   1.3 get_device_details rpc signature upgrade to obtain \u0027host\u0027 and"},{"line_number":45,"context_line":"    #       return value to include fixed_ips and device_owner for"},{"line_number":46,"context_line":"    #       the device port"},{"line_number":47,"context_line":"    #   1.4 tunnel_sync rpc signature upgrade to obtain \u0027host\u0027"},{"line_number":48,"context_line":"    target \u003d messaging.Target(version\u003d\u00271.4\u0027)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def __init__(self, notifier, type_manager):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_c1f7a1d1","line":47,"in_reply_to":"da86d52c_5a3f26d6","updated":"2015-02-04 18:41:00.000000000","message":"@Ihar: We should not remove this comment from here, I agree we have not modified the server side tunnel_sync method signature we are passing **kwargs which have HOST as additional argument. To sync with agent side changes we need to upgrade its version from 1.3 to 1.4 and add this comment as we have done for get_device_details rpc changes. \n\nI referred get_device_details rpc signature upgrade to understand this. Correct me if my understanding is wrong.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7c296e0d104cc04080b5859a4942069b9fb4cc9e","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    #   1.3 get_device_details rpc signature upgrade to obtain \u0027host\u0027 and"},{"line_number":45,"context_line":"    #       return value to include fixed_ips and device_owner for"},{"line_number":46,"context_line":"    #       the device port"},{"line_number":47,"context_line":"    #   1.4 tunnel_sync rpc signature upgrade to obtain \u0027host\u0027"},{"line_number":48,"context_line":"    target \u003d messaging.Target(version\u003d\u00271.4\u0027)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def __init__(self, notifier, type_manager):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_f6ad37ea","line":47,"in_reply_to":"da86d52c_c1f7a1d1","updated":"2015-02-05 07:32:14.000000000","message":"After Russell\u0027s comment, I agree we should leave it.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"}],"neutron/plugins/ofagent/agent/ofa_neutron_agent.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"da86d52c_bfe3b4a2","updated":"2015-02-04 14:33:36.000000000","message":"Where is tunnel_delete() implementation for the agent?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5377e41a3a714805986cebca1852bc2c79d5a1f2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"da86d52c_b96ba21c","in_reply_to":"da86d52c_78079118","updated":"2015-02-05 14:53:39.000000000","message":"To respect the tunnel_sync rpc signature every agent who call tunnel_sync should pass host also.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"da86d52c_f528ed87","in_reply_to":"da86d52c_bfe3b4a2","updated":"2015-02-04 15:14:31.000000000","message":"I am not sure about the ofa_neutron_agent. I only considered ovs_neutron_agent.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"36794aef4dfb6221dd8c8aec9101933200bf10d2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"da86d52c_f5c1cc2f","in_reply_to":"da86d52c_f528ed87","updated":"2015-02-04 15:35:28.000000000","message":"What\u0027s the point of adding host argument here then? We will only receive unneeded tunnel_delete() requests that we will fail to process, right?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"3a62a4eddd0732a1fe4c4f5c9531ed566cf8b3ef","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"da86d52c_78079118","in_reply_to":"da86d52c_f5c1cc2f","updated":"2015-02-04 15:47:43.000000000","message":"Yes, we will remove.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8bd1b02d2bd49a648f95682bd73b732cad70ed6d","unresolved":false,"context_lines":[{"line_number":353,"context_line":"                                    tunnel_type)"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    def tunnel_delete(self, context, **kwargs):"},{"line_number":356,"context_line":"        LOG.debug(\"tunnel_delete received\")"},{"line_number":357,"context_line":"        if not self.enable_tunneling:"},{"line_number":358,"context_line":"            return"},{"line_number":359,"context_line":"        tunnel_ip \u003d kwargs.get(\u0027tunnel_ip\u0027)"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_1759c1fc","line":356,"updated":"2015-01-08 10:56:47.000000000","message":"if you think this function call log is necessary, I suggest the @log.log decorator so we get function name and all for free","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5736a049461b482d299c46ea88e1382963ffad4d","unresolved":false,"context_lines":[{"line_number":353,"context_line":"                                    tunnel_type)"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    def tunnel_delete(self, context, **kwargs):"},{"line_number":356,"context_line":"        LOG.debug(\"tunnel_delete received\")"},{"line_number":357,"context_line":"        if not self.enable_tunneling:"},{"line_number":358,"context_line":"            return"},{"line_number":359,"context_line":"        tunnel_ip \u003d kwargs.get(\u0027tunnel_ip\u0027)"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_37cf9d80","line":356,"in_reply_to":"3a961159_1759c1fc","updated":"2015-01-08 11:04:57.000000000","message":"Done","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"0132b9638d4ec494a65a4446447acd432a441e57","unresolved":false,"context_lines":[{"line_number":353,"context_line":"                                    tunnel_type)"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    def tunnel_delete(self, context, **kwargs):"},{"line_number":356,"context_line":"        LOG.debug(\"tunnel_delete received\")"},{"line_number":357,"context_line":"        if not self.enable_tunneling:"},{"line_number":358,"context_line":"            return"},{"line_number":359,"context_line":"        tunnel_ip \u003d kwargs.get(\u0027tunnel_ip\u0027)"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_17ff0167","line":356,"in_reply_to":"3a961159_37cf9d80","updated":"2015-01-08 11:10:44.000000000","message":"Before doing the suggested changes, Can you please have a look for \ntunnel_update method L333.\n\nDo I need to do the similar changes for tunnel_update also?\n\nI feel for a given file we should follow similar pattern.","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8bd1b02d2bd49a648f95682bd73b732cad70ed6d","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        LOG.debug(\"tunnel_delete received\")"},{"line_number":357,"context_line":"        if not self.enable_tunneling:"},{"line_number":358,"context_line":"            return"},{"line_number":359,"context_line":"        tunnel_ip \u003d kwargs.get(\u0027tunnel_ip\u0027)"},{"line_number":360,"context_line":"        if not tunnel_ip:"},{"line_number":361,"context_line":"            LOG.error(_LE(\"No tunnel_ip specified, cannot delete tunnels\"))"},{"line_number":362,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_37731d81","line":359,"updated":"2015-01-08 10:56:47.000000000","message":"I don\u0027t see these kwargs passed on, so add these as actual keywords to the function def.\n\ndef tunnel_delete(self, context, tunnel_ip\u003dNone, tunnel_type\u003dNone):","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5736a049461b482d299c46ea88e1382963ffad4d","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        LOG.debug(\"tunnel_delete received\")"},{"line_number":357,"context_line":"        if not self.enable_tunneling:"},{"line_number":358,"context_line":"            return"},{"line_number":359,"context_line":"        tunnel_ip \u003d kwargs.get(\u0027tunnel_ip\u0027)"},{"line_number":360,"context_line":"        if not tunnel_ip:"},{"line_number":361,"context_line":"            LOG.error(_LE(\"No tunnel_ip specified, cannot delete tunnels\"))"},{"line_number":362,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_57ca696e","line":359,"in_reply_to":"3a961159_37731d81","updated":"2015-01-08 11:04:57.000000000","message":"Done","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[{"line_number":368,"context_line":"            LOG.error(_LE(\"tunnel_type %s not supported by agent\"),"},{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_dfa86879","line":371,"updated":"2015-02-04 14:33:36.000000000","message":"get_ip_in_hex() logs the following when an error occurs:\n\n            LOG.warn(_LW(\"Unable to create tunnel port. \"\n                         \"Invalid remote IP: %s\"), ip_address)\n\nI suspect we should refactor it somehow so that it does not log create failure on tunnel delete attempt.\n\nIt also return None, we should handle it somehow so that we don\u0027t attempt to drop a port with a name of \u0027vxlan-None\u0027 or similar.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"36794aef4dfb6221dd8c8aec9101933200bf10d2","unresolved":false,"context_lines":[{"line_number":368,"context_line":"            LOG.error(_LE(\"tunnel_type %s not supported by agent\"),"},{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_b5d2f4fd","line":371,"in_reply_to":"da86d52c_35a44507","updated":"2015-02-04 15:35:28.000000000","message":"Maybe you should refactor out part of get_ip_in_hex() that wouldn\u0027t log any error but rely on its caller to handle errors?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"3a62a4eddd0732a1fe4c4f5c9531ed566cf8b3ef","unresolved":false,"context_lines":[{"line_number":368,"context_line":"            LOG.error(_LE(\"tunnel_type %s not supported by agent\"),"},{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_b842e93b","line":371,"in_reply_to":"da86d52c_b5d2f4fd","updated":"2015-02-04 15:47:43.000000000","message":"Done","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[{"line_number":368,"context_line":"            LOG.error(_LE(\"tunnel_type %s not supported by agent\"),"},{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_35a44507","line":371,"in_reply_to":"da86d52c_dfa86879","updated":"2015-02-04 15:14:31.000000000","message":"Could you please suggest something for this. I will try my best to address this from my side.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a4bcee69d6b827c5f9673c38739231462019f9ad","unresolved":false,"context_lines":[{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"},{"line_number":375,"context_line":"        self.tun_br_ofports[tunnel_type].pop(tunnel_ip, None)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_5f8718d7","line":372,"updated":"2015-02-04 14:33:36.000000000","message":"Should we reuse cleanup_tunnel_port() here?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"d65feeeb8f71c681a807496aa79637b94f064d37","unresolved":false,"context_lines":[{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"},{"line_number":375,"context_line":"        self.tun_br_ofports[tunnel_type].pop(tunnel_ip, None)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_b574b536","line":372,"in_reply_to":"da86d52c_5f8718d7","updated":"2015-02-04 15:14:31.000000000","message":"Initially, we also thought the same but cleanup_tunnel_port() requires other parameters need to be passed into it. \n    def cleanup_tunnel_port(self, br, tun_ofport, tunnel_type):\n\nSo instead of fetching other parameter and calling cleanup_tunnel_port() we could do it like the way we have done now.\n\nPlease suggest if you have something else in your mind.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"3a62a4eddd0732a1fe4c4f5c9531ed566cf8b3ef","unresolved":false,"context_lines":[{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"},{"line_number":375,"context_line":"        self.tun_br_ofports[tunnel_type].pop(tunnel_ip, None)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_185db515","line":372,"in_reply_to":"da86d52c_9538903e","updated":"2015-02-04 15:47:43.000000000","message":"Sure, I will try to do it.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"36794aef4dfb6221dd8c8aec9101933200bf10d2","unresolved":false,"context_lines":[{"line_number":369,"context_line":"                      tunnel_type)"},{"line_number":370,"context_line":"            return"},{"line_number":371,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (tunnel_type, self.get_ip_in_hex(tunnel_ip))"},{"line_number":372,"context_line":"        self.tun_br.delete_port(port_name)"},{"line_number":373,"context_line":"        ofport \u003d self.tun_br_ofports[tunnel_type].get(tunnel_ip)"},{"line_number":374,"context_line":"        self.tun_br.delete_flows(in_port\u003dofport)"},{"line_number":375,"context_line":"        self.tun_br_ofports[tunnel_type].pop(tunnel_ip, None)"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_9538903e","line":372,"in_reply_to":"da86d52c_b574b536","updated":"2015-02-04 15:35:28.000000000","message":"Can you factor out the common code and reuse it from both here and cleanup_tunnel_port()? Your code and the one in cleanup_tunnel_port() seem to be pretty similar, which suggests we should reuse the code.","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"8c8b59e5424b5c39302838b9a08454908e9d86dd","unresolved":false,"context_lines":[{"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":"    #   1.3 Support Tunnel Delete RPC"},{"line_number":123,"context_line":"    target \u003d oslo_messaging.Target(version\u003d\u00271.3\u0027)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    def __init__(self, integ_br, tun_br, local_ip,"}],"source_content_type":"text/x-python","patch_set":20,"id":"da86d52c_dab09adf","line":122,"updated":"2015-02-10 18:00:33.000000000","message":"ditto","commit_id":"7c17d623ff33b633a6e6a5b9d4c3d187a214d6de"}],"neutron/tests/unit/ml2/test_type_tunnel.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8bd1b02d2bd49a648f95682bd73b732cad70ed6d","unresolved":false,"context_lines":[{"line_number":293,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"},{"line_number":294,"context_line":"        ) as (tunnel_update, tunnel_delete):"},{"line_number":295,"context_line":"            details \u003d self.callbacks.tunnel_sync(\u0027fake_context\u0027, **kwargs)"},{"line_number":296,"context_line":"            tunnels \u003d details[\u0027tunnels\u0027]"},{"line_number":297,"context_line":"            for tunnel in tunnels:"},{"line_number":298,"context_line":"                self.assertEqual(kwargs[\u0027tunnel_ip\u0027], tunnel[\u0027ip_address\u0027])"},{"line_number":299,"context_line":"                self.assertEqual(kwargs[\u0027host\u0027], tunnel[\u0027host\u0027])"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_d762d9ab","line":296,"updated":"2015-01-08 10:56:47.000000000","message":"The five lines of code above this are repeated several times. Can you put them in a helper function?","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5736a049461b482d299c46ea88e1382963ffad4d","unresolved":false,"context_lines":[{"line_number":293,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"},{"line_number":294,"context_line":"        ) as (tunnel_update, tunnel_delete):"},{"line_number":295,"context_line":"            details \u003d self.callbacks.tunnel_sync(\u0027fake_context\u0027, **kwargs)"},{"line_number":296,"context_line":"            tunnels \u003d details[\u0027tunnels\u0027]"},{"line_number":297,"context_line":"            for tunnel in tunnels:"},{"line_number":298,"context_line":"                self.assertEqual(kwargs[\u0027tunnel_ip\u0027], tunnel[\u0027ip_address\u0027])"},{"line_number":299,"context_line":"                self.assertEqual(kwargs[\u0027host\u0027], tunnel[\u0027host\u0027])"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_57918950","line":296,"in_reply_to":"3a961159_d762d9ab","updated":"2015-01-08 11:04:57.000000000","message":"Sure, I will try to improvise it.","commit_id":"e646de8cea3534509db56014511a467650cf8f55"},{"author":{"_account_id":9093,"name":"Chuck Carlino","email":"chuckjcarlino@gmail.com","username":"ChuckC"},"change_message_id":"0a87f4bd723fe66bb4df76b8fc3e3fdbbdd8a8f7","unresolved":false,"context_lines":[{"line_number":289,"context_line":""},{"line_number":290,"context_line":"        kwargs \u003d {\u0027tunnel_ip\u0027: TUNNEL_IP_TWO, \u0027tunnel_type\u0027: self.TYPE,"},{"line_number":291,"context_line":"                  \u0027host\u0027: HOST_ONE}"},{"line_number":292,"context_line":"        with contextlib.nested("},{"line_number":293,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_update\u0027),"},{"line_number":294,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"},{"line_number":295,"context_line":"        ) as (tunnel_update, tunnel_delete):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_17d2db5b","line":292,"updated":"2015-02-04 19:39:42.000000000","message":"add delete_expected\u003dFalse param to _test_tunnel_sync() and use here to reduce duplication?","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"5377e41a3a714805986cebca1852bc2c79d5a1f2","unresolved":false,"context_lines":[{"line_number":289,"context_line":""},{"line_number":290,"context_line":"        kwargs \u003d {\u0027tunnel_ip\u0027: TUNNEL_IP_TWO, \u0027tunnel_type\u0027: self.TYPE,"},{"line_number":291,"context_line":"                  \u0027host\u0027: HOST_ONE}"},{"line_number":292,"context_line":"        with contextlib.nested("},{"line_number":293,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_update\u0027),"},{"line_number":294,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"},{"line_number":295,"context_line":"        ) as (tunnel_update, tunnel_delete):"}],"source_content_type":"text/x-python","patch_set":16,"id":"da86d52c_9957be57","line":292,"in_reply_to":"da86d52c_17d2db5b","updated":"2015-02-05 14:53:39.000000000","message":"Done","commit_id":"75415e6a6f4e304d4f0559ddf0ae77acf1ddda21"},{"author":{"_account_id":7183,"name":"Xu Han Peng","email":"xuhanp@linux.vnet.ibm.com","username":"xuhanp"},"change_message_id":"896c7a838030165341a0fcd7fc5ba3fe7d379f4c","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        super(TunnelRpcCallbackTestMixin, self).setUp()"},{"line_number":237,"context_line":"        self.driver \u003d self.DRIVER_CLASS()"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    def _test_tunnel_sync(self, kwargs, delete_tunnel\u003dFalse):"},{"line_number":240,"context_line":"        with contextlib.nested("},{"line_number":241,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_update\u0027),"},{"line_number":242,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"}],"source_content_type":"text/x-python","patch_set":19,"id":"da86d52c_94e3ae32","line":239,"updated":"2015-02-09 05:53:40.000000000","message":"can we add a test case where delete_tunnel\u003dTrue?","commit_id":"dd0a17e375cfaca659f6c4ffbf6920a3cd4a1d87"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"82b44464670b0c137918b4c69ef3c0c2f83faabf","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        super(TunnelRpcCallbackTestMixin, self).setUp()"},{"line_number":237,"context_line":"        self.driver \u003d self.DRIVER_CLASS()"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    def _test_tunnel_sync(self, kwargs, delete_tunnel\u003dFalse):"},{"line_number":240,"context_line":"        with contextlib.nested("},{"line_number":241,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_update\u0027),"},{"line_number":242,"context_line":"            mock.patch.object(self.notifier, \u0027tunnel_delete\u0027)"}],"source_content_type":"text/x-python","patch_set":19,"id":"da86d52c_9451eeda","line":239,"in_reply_to":"da86d52c_94e3ae32","updated":"2015-02-09 05:59:42.000000000","message":"It\u0027s already there in below test case:\n\ndef test_tunnel_sync_called_for_existing_host_with_tunnel_ip_changed(self):\n\nSee line No. L295.","commit_id":"dd0a17e375cfaca659f6c4ffbf6920a3cd4a1d87"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"ca556f823ee653d5c2e6c8bb2b1f3eb67a237e9c","unresolved":false,"context_lines":[{"line_number":287,"context_line":"                  \u0027host\u0027: HOST_ONE}"},{"line_number":288,"context_line":"        self._test_tunnel_sync(kwargs)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"    def test_tunnel_sync_called_for_existing_host_with_tunnel_ip_changed(self):"},{"line_number":291,"context_line":"        self.driver.add_endpoint(TUNNEL_IP_ONE, HOST_ONE)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        kwargs \u003d {\u0027tunnel_ip\u0027: TUNNEL_IP_TWO, \u0027tunnel_type\u0027: self.TYPE,"}],"source_content_type":"text/x-python","patch_set":19,"id":"da86d52c_5450565e","line":290,"updated":"2015-02-09 06:25:58.000000000","message":"In this test_case tunnel_delete rpc will be called.","commit_id":"dd0a17e375cfaca659f6c4ffbf6920a3cd4a1d87"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"ca556f823ee653d5c2e6c8bb2b1f3eb67a237e9c","unresolved":false,"context_lines":[{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        kwargs \u003d {\u0027tunnel_ip\u0027: TUNNEL_IP_TWO, \u0027tunnel_type\u0027: self.TYPE,"},{"line_number":294,"context_line":"                  \u0027host\u0027: HOST_ONE}"},{"line_number":295,"context_line":"        self._test_tunnel_sync(kwargs, True)"},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"    def test_tunnel_sync_called_with_used_tunnel_ip_case_one(self):"},{"line_number":298,"context_line":"        self.driver.add_endpoint(TUNNEL_IP_ONE, HOST_ONE)"}],"source_content_type":"text/x-python","patch_set":19,"id":"da86d52c_944aceaa","line":295,"updated":"2015-02-09 06:25:58.000000000","message":"Here, we are sending delete_tunnel\u003dTrue.","commit_id":"dd0a17e375cfaca659f6c4ffbf6920a3cd4a1d87"}]}
