)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"b363b75e1e740c1af6a14a1ecd12042c849e7d36","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I929d8d15fc6cfdb799c53ef0f3722f4ed5c1096d"},{"line_number":13,"context_line":"Partial-Bug: #1469871"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba3cc151_85b0eb44","line":11,"updated":"2015-06-30 18:22:27.000000000","message":"DocImpact?","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"09399fbe00ec5b8978c5d9a1aca4b0e9a27191bb","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I929d8d15fc6cfdb799c53ef0f3722f4ed5c1096d"},{"line_number":13,"context_line":"Partial-Bug: #1469871"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba3cc151_265b0989","line":11,"in_reply_to":"ba3cc151_361ef363","updated":"2015-07-01 09:28:28.000000000","message":"Done","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"a379c0cedd8f0ad101bc97007825a6f11d0b853c","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I929d8d15fc6cfdb799c53ef0f3722f4ed5c1096d"},{"line_number":13,"context_line":"Partial-Bug: #1469871"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba3cc151_361ef363","line":11,"in_reply_to":"ba3cc151_6502870d","updated":"2015-06-30 19:22:36.000000000","message":"Add DocImpact to just this patch, then when a bug gets created in launchpad (https://bugs.launchpad.net/openstack-manuals) - when you create the documentation patch associate it with the bug via Closes-Bug: #\u003cbug id\u003e","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bf8af28d114c6e6bd52129ebddbfdebf80882497","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I929d8d15fc6cfdb799c53ef0f3722f4ed5c1096d"},{"line_number":13,"context_line":"Partial-Bug: #1469871"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba3cc151_6502870d","line":11,"in_reply_to":"ba3cc151_85b0eb44","updated":"2015-06-30 18:40:27.000000000","message":"i will be submitting a third part to this change to add documentation to https://github.com/openstack/openstack-manuals/blob/master/doc/common/tables/neutron-openvswitch_agent.xml\n\nshould i add the DocImpact to all three part or just the patches with documentation changes?","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"81fef937c3420f533e7befa59e92dd02feaa85f3","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"DocImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_bb32a75c","line":9,"updated":"2015-07-01 22:48:59.000000000","message":"parameter","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"51d3b4f2b0c0b6ace0c12425579141fc6c8c8dc1","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new config pramater ovs_datapath"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"DocImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_d4e5e3a3","line":9,"in_reply_to":"ba3cc151_bb32a75c","updated":"2015-07-02 11:47:35.000000000","message":"thanks :)\nmy spelling is terrible.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"70b628ab7bfdf85c213ef338daab02075ecb7c90","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sean Mooney \u003csean.k.mooney@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-07-14 15:45:23 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new datapath_type parameter"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a41bdd9_2b16e4a7","line":7,"updated":"2015-07-16 16:31:02.000000000","message":"Nit: Capitalize \u0027Add\u0027.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7b1f00e366797e18b06b9b40bdbfc83609d14426","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sean Mooney \u003csean.k.mooney@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-07-14 15:45:23 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new datapath_type parameter"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a41bdd9_74acc48c","line":7,"in_reply_to":"9a41bdd9_2b16e4a7","updated":"2015-07-16 19:41:39.000000000","message":"Done","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"70b628ab7bfdf85c213ef338daab02075ecb7c90","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new datapath_type parameter"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"DocImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a41bdd9_0b11a0af","line":9,"updated":"2015-07-16 16:31:02.000000000","message":"Nit: Capitalize \u0027This\u0027.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7b1f00e366797e18b06b9b40bdbfc83609d14426","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add config option to specify ovs datapath."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this change introduces a new datapath_type parameter"},{"line_number":10,"context_line":"to allow specification of the ovs datapath to be used."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"DocImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a41bdd9_94a9487e","line":9,"in_reply_to":"9a41bdd9_0b11a0af","updated":"2015-07-16 19:41:39.000000000","message":"Done","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"}],"etc/neutron/plugins/ml2/openvswitch_agent.ini":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"5a6e1eb58ea8a42172dcd4fa484253ccb3ea2859","unresolved":false,"context_lines":[{"line_number":60,"context_line":"# (StrOpt) ovs datapath to use."},{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# ovs_datapath \u003d netdev"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"[agent]"},{"line_number":66,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":2,"id":"ba3cc151_d6b20494","line":63,"updated":"2015-07-01 11:47:57.000000000","message":"i think the example value should represent the default value (system)","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"81fef937c3420f533e7befa59e92dd02feaa85f3","unresolved":false,"context_lines":[{"line_number":60,"context_line":"# (StrOpt) ovs datapath to use."},{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# ovs_datapath \u003d netdev"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"[agent]"},{"line_number":66,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":2,"id":"ba3cc151_fb7a6ff0","line":63,"in_reply_to":"ba3cc151_30580d8a","updated":"2015-07-01 22:48:59.000000000","message":"If you want to specify an example:\n\n # ovs_datapath \u003d system\n # Example: ovs_datapath \u003d netdev\n\nWe are in ovs section, ovs_ prefix in option name is useless","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"8c5bf674a37dcd184195ede14666d6d1f8805a74","unresolved":false,"context_lines":[{"line_number":60,"context_line":"# (StrOpt) ovs datapath to use."},{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# ovs_datapath \u003d netdev"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"[agent]"},{"line_number":66,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":2,"id":"ba3cc151_30580d8a","line":63,"in_reply_to":"ba3cc151_bfc39356","updated":"2015-07-01 14:13:40.000000000","message":"please follow the existing convention.  ie. use the default value in the commented out example.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"de2c136b5d4e85d20dea0c2a420061a97466e325","unresolved":false,"context_lines":[{"line_number":60,"context_line":"# (StrOpt) ovs datapath to use."},{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# ovs_datapath \u003d netdev"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"[agent]"},{"line_number":66,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":2,"id":"ba3cc151_bfc39356","line":63,"in_reply_to":"ba3cc151_d6b20494","updated":"2015-07-01 12:34:32.000000000","message":"i made the example the non default assuming people would ommit the value to have the default.\n\ni have no real preference either way so i can change it if people prefer.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"51d3b4f2b0c0b6ace0c12425579141fc6c8c8dc1","unresolved":false,"context_lines":[{"line_number":60,"context_line":"# (StrOpt) ovs datapath to use."},{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# ovs_datapath \u003d netdev"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"[agent]"},{"line_number":66,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":2,"id":"ba3cc151_744417b6","line":63,"in_reply_to":"ba3cc151_fb7a6ff0","updated":"2015-07-02 11:47:35.000000000","message":"ok ill make both chages and reupload shortly.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"9b96df5f3fccb489997b488d0c4528ab6888bed8","unresolved":false,"context_lines":[{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# datapath_type \u003d system"},{"line_number":64,"context_line":"# Example: datapath_type \u003d netdev"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[agent]"},{"line_number":67,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":6,"id":"9a41bdd9_ca76c4a3","line":64,"updated":"2015-07-14 21:04:43.000000000","message":"The example seems useless as allowed values (system|netdev) are mentionned in option documentation.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7b1f00e366797e18b06b9b40bdbfc83609d14426","unresolved":false,"context_lines":[{"line_number":61,"context_line":"# \u0027system\u0027 is the default value and corresponds to the kernel datapath."},{"line_number":62,"context_line":"# To enable the userspace datapath set this value to \u0027netdev\u0027"},{"line_number":63,"context_line":"# datapath_type \u003d system"},{"line_number":64,"context_line":"# Example: datapath_type \u003d netdev"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[agent]"},{"line_number":67,"context_line":"# Log agent heartbeats from this OVS agent"}],"source_content_type":"text/x-properties","patch_set":6,"id":"9a41bdd9_5408a091","line":64,"in_reply_to":"9a41bdd9_ca76c4a3","updated":"2015-07-16 19:41:39.000000000","message":"removed","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"}],"neutron/agent/common/ovs_lib.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"8b2fae38e0319c9dea29c50327eaa8ef5dcbc837","unresolved":false,"context_lines":[{"line_number":165,"context_line":"            check_error\u003dTrue)"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_1cae0381","line":168,"updated":"2015-07-29 06:56:32.000000000","message":"Is it possible to change bridge\u0027s datapath type once it is created in out deployment?\nIf not, we should put it into bridge creation, I think.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6032ba688e1438fa8e4cf570146f93ccfa6d5aa8","unresolved":false,"context_lines":[{"line_number":165,"context_line":"            check_error\u003dTrue)"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_85ca3c6d","line":168,"in_reply_to":"3a50d1a3_1cae0381","updated":"2015-08-04 17:46:34.000000000","message":"no this should not be changed after the agent sets up the bridge so i agree the change should be moved to the bridge creation.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"38d5d42aa857f79611075d129ffa4904966ed0bd","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    def _set_bridge_fail_mode(self, mode):"},{"line_number":173,"context_line":"        self.ovsdb.set_fail_mode(self.br_name, mode).execute(check_error\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_e1c48660","line":170,"updated":"2015-07-17 04:32:38.000000000","message":"it\u0027s better to configure datapath_type as a part of add-br transaction.\nhow do you think?","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6032ba688e1438fa8e4cf570146f93ccfa6d5aa8","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    def _set_bridge_fail_mode(self, mode):"},{"line_number":173,"context_line":"        self.ovsdb.set_fail_mode(self.br_name, mode).execute(check_error\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_e50540c2","line":170,"in_reply_to":"3a50d1a3_925f9ae4","updated":"2015-08-04 17:46:34.000000000","message":"hi i will respin with this change as that warning also annoys me.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7db65dc718845ae4ba76f61c2c678a147a220f2f","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    def _set_bridge_fail_mode(self, mode):"},{"line_number":173,"context_line":"        self.ovsdb.set_fail_mode(self.br_name, mode).execute(check_error\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_f0ba00c0","line":170,"in_reply_to":"9a41bdd9_e1c48660","updated":"2015-07-17 11:03:47.000000000","message":"did you mean to move the call of set_datapath_type to inside the \nadd_bridge(self, bridge_name) function in BaseOVS or that this call\nshould be wrapped in a transaction?\n\nthis is using a transaction internally\n\ndef set_db_attribute(self, table_name, record, column, value,\n                         check_error\u003dFalse, log_errors\u003dTrue):\n        self.ovsdb.db_set(table_name, record, (column, value)).execute(\n            check_error\u003dcheck_error, log_errors\u003dlog_errors)\n \n\n def execute(self, check_error\u003dFalse, log_errors\u003dTrue):\n        with Transaction(self.context, check_error\u003dcheck_error,\n                         log_errors\u003dlog_errors) as txn:\n            txn.add(self)\n        return self.result\n\nthe only time this will fail is if the ovsdb server is has crashed or is unreachable as the ovsdb will accept any value for the datapath type even if there are no datapath implementations registered to instantiate it.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"df25174862fc63b62896c0e2830c1b8a266af0b1","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    def set_datapath_type(self, datapath):"},{"line_number":168,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":169,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":170,"context_line":"                              True)"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    def _set_bridge_fail_mode(self, mode):"},{"line_number":173,"context_line":"        self.ovsdb.set_fail_mode(self.br_name, mode).execute(check_error\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_925f9ae4","line":170,"in_reply_to":"9a41bdd9_f0ba00c0","updated":"2015-07-28 07:09:24.000000000","message":"i meant to make add_bridge etc take an datapath_type arguemnt so that it can set the type in a single transaction.  ie. an equivalent of:\n\n  ovs-vsctl add-br foo -- set br foo datapath_type\u003dbar\n\ni prefer it as it would avoid some warnings in case \"system\" is not supported.  it would avoid unnecessary\nflip-flop too.\ni don\u0027t insist much though.  (thus +1\u0027ed)","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ac284273ffa902d95592f7283a733d5f8ea39701","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    def __init__(self):"},{"line_number":102,"context_line":"        self.vsctl_timeout \u003d cfg.CONF.ovs_vsctl_timeout"},{"line_number":103,"context_line":"        self.ovsdb \u003d ovsdb.API.get(self)"},{"line_number":104,"context_line":"        self.datapath_type \u003d None"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def add_bridge(self, bridge_name):"},{"line_number":107,"context_line":"        self.ovsdb.add_br(bridge_name,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a4dcd0f_3616814c","line":104,"updated":"2015-08-12 20:15:43.000000000","message":"Since the datapath_type only pertains to an OVSBridge, it doesn\u0027t seem to logically fit very well as part of the BaseOVS class. Any reason to not add a default datapath parameter to the add_bridge method instead?","commit_id":"f56283a8f7f587cdb54c183c814af3538476cd39"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ac284273ffa902d95592f7283a733d5f8ea39701","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    def delete_bridge(self, bridge_name):"},{"line_number":115,"context_line":"        self.ovsdb.del_br(bridge_name).execute()"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def set_datapath_type(self, datapath_type):"},{"line_number":118,"context_line":"        self.datapath_type \u003d datapath_type"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"    def bridge_exists(self, bridge_name):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a4dcd0f_b684d15d","line":117,"updated":"2015-08-12 20:15:43.000000000","message":"And continuing from above, this could be part of OVSBridge. Looks like the calls to it are all from an OVSBridge instance anyway. In fact, I don\u0027t see any reason why it couldn\u0027t be a default argument to __init__ and just self.datapath_type.\n\nSee comments in ovs_neutron_agent for example of the simplification.","commit_id":"f56283a8f7f587cdb54c183c814af3538476cd39"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"2ea86ba9953f98843d9e72641a58d28ea1a0b090","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from neutron.common import exceptions"},{"line_number":31,"context_line":"from neutron.i18n import _LE, _LI, _LW"},{"line_number":32,"context_line":"from neutron.plugins.common import constants as p_const"},{"line_number":33,"context_line":"from neutron.plugins.ml2.drivers.openvswitch.agent.common \\"},{"line_number":34,"context_line":"    import constants"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Default timeout for ovs-vsctl command"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_38ec8c8e","line":33,"updated":"2015-08-19 16:41:11.000000000","message":"Since there is a merge failure anyway, might as well put this on one line since it is only 74 chars. If not, no big deal to me personally.","commit_id":"9a2c8a7af44279a9424f6582abc9605c5dd053e6"}],"neutron/agent/ovsdb/api.py":[{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"f209fd57679af25cbdcf2cb9d226416bea5de927","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        :param name:      The name of the bridge"},{"line_number":102,"context_line":"        :type name:       string"},{"line_number":103,"context_line":"        :type name:             string"},{"line_number":104,"context_line":"        :param datapath_type:   The datapath_type of the bridge"},{"line_number":105,"context_line":"        :param may_exist: Do not fail if bridge already exists"},{"line_number":106,"context_line":"        :type may_exist:  bool"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_b2d96a58","line":103,"updated":"2015-08-12 02:31:54.000000000","message":"L103 \u003d L102","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"e3653c3276a8b2dd34dc0a105170f2e24d0170ab","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        :param name:      The name of the bridge"},{"line_number":102,"context_line":"        :type name:       string"},{"line_number":103,"context_line":"        :type name:             string"},{"line_number":104,"context_line":"        :param datapath_type:   The datapath_type of the bridge"},{"line_number":105,"context_line":"        :param may_exist: Do not fail if bridge already exists"},{"line_number":106,"context_line":"        :type may_exist:  bool"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_6c6e9e30","line":103,"in_reply_to":"1a4dcd0f_b2d96a58","updated":"2015-08-12 08:53:54.000000000","message":"sorry yes that is right i think this got reordered when i rebased. ill re spin and upload again","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"},{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"f209fd57679af25cbdcf2cb9d226416bea5de927","unresolved":false,"context_lines":[{"line_number":101,"context_line":"        :param name:      The name of the bridge"},{"line_number":102,"context_line":"        :type name:       string"},{"line_number":103,"context_line":"        :type name:             string"},{"line_number":104,"context_line":"        :param datapath_type:   The datapath_type of the bridge"},{"line_number":105,"context_line":"        :param may_exist: Do not fail if bridge already exists"},{"line_number":106,"context_line":"        :type may_exist:  bool"},{"line_number":107,"context_line":"        :returns:        :class:`Command` with no result"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_52eb46dc","line":104,"updated":"2015-08-12 02:31:54.000000000","message":"Missing following after L104\n\n    :type datapath_type   string","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"},{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"f209fd57679af25cbdcf2cb9d226416bea5de927","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        :type name:             string"},{"line_number":104,"context_line":"        :param datapath_type:   The datapath_type of the bridge"},{"line_number":105,"context_line":"        :param may_exist: Do not fail if bridge already exists"},{"line_number":106,"context_line":"        :type may_exist:  bool"},{"line_number":107,"context_line":"        :returns:        :class:`Command` with no result"},{"line_number":108,"context_line":"        \"\"\""},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_72cf627f","line":106,"updated":"2015-08-12 02:31:54.000000000","message":"New parms should be placed in same order as on call.  Move to after L106","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"}],"neutron/agent/ovsdb/impl_vsctl.py":[{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"f209fd57679af25cbdcf2cb9d226416bea5de927","unresolved":false,"context_lines":[{"line_number":168,"context_line":"            params.append(\u0027set\u0027)"},{"line_number":169,"context_line":"            params.append(\u0027Bridge\u0027)"},{"line_number":170,"context_line":"            params.append(name)"},{"line_number":171,"context_line":"            params.append(\u0027datapath_type\u003d%s\u0027 % datapath_type)"},{"line_number":172,"context_line":"        return BaseCommand(self.context, \u0027add-br\u0027, opts, params)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def del_br(self, name, if_exists\u003dTrue):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_329c7a69","line":171,"updated":"2015-08-12 02:31:54.000000000","message":"why 5 separate append statements ?","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"ca812f81a4e999f3a7f10deacdedd6504c1ebd49","unresolved":false,"context_lines":[{"line_number":168,"context_line":"            params.append(\u0027set\u0027)"},{"line_number":169,"context_line":"            params.append(\u0027Bridge\u0027)"},{"line_number":170,"context_line":"            params.append(name)"},{"line_number":171,"context_line":"            params.append(\u0027datapath_type\u003d%s\u0027 % datapath_type)"},{"line_number":172,"context_line":"        return BaseCommand(self.context, \u0027add-br\u0027, opts, params)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def del_br(self, name, if_exists\u003dTrue):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_e4ae422d","line":171,"in_reply_to":"1a4dcd0f_0c503a31","updated":"2015-08-12 10:53:35.000000000","message":"it looks like you cant have spaces in the values of the array\n\ni have refactored to \n\n params +\u003d [\u0027--\u0027, \u0027set\u0027, \u0027Bridge\u0027, name,\n            \u0027datapath_type\u003d%s\u0027 % datapath_type]","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"e3653c3276a8b2dd34dc0a105170f2e24d0170ab","unresolved":false,"context_lines":[{"line_number":168,"context_line":"            params.append(\u0027set\u0027)"},{"line_number":169,"context_line":"            params.append(\u0027Bridge\u0027)"},{"line_number":170,"context_line":"            params.append(name)"},{"line_number":171,"context_line":"            params.append(\u0027datapath_type\u003d%s\u0027 % datapath_type)"},{"line_number":172,"context_line":"        return BaseCommand(self.context, \u0027add-br\u0027, opts, params)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def del_br(self, name, if_exists\u003dTrue):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_0c503a31","line":171,"in_reply_to":"1a4dcd0f_329c7a69","updated":"2015-08-12 08:53:54.000000000","message":"originally i had 3 but for some reason \nparams.append(\u0027-- set Bridge) did not work.\n\nill check it again when i fix the reordering in the other file.","commit_id":"894227ce1e9a29c59d305e0ba0ddffa0f6d74a6e"}],"neutron/agent/ovsdb/native/commands.py":[{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"32fb52d53ee541a073aef5a24fba0d686e4d6f83","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        self.api._ovs.verify(\u0027bridges\u0027)"},{"line_number":68,"context_line":"        self.api._ovs.bridges \u003d self.api._ovs.bridges + [row]"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if self.datapath_type:"},{"line_number":71,"context_line":"            cmd \u003d DbSetCommand(self.api, \u0027Bridge\u0027, self.name,"},{"line_number":72,"context_line":"                               (\u0027datapath_type\u0027, self.datapath_type))"},{"line_number":73,"context_line":"            cmd.run_idl(txn)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_b6e56ca9","line":70,"updated":"2015-08-17 22:34:49.000000000","message":"Didn\u0027t catch this last time for some reason, but since datapath_type is actually part of the Bridge table, I think we can just row.datapath_type \u003d self.datapath_type here.","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"f5bc54da814a25027ca681e9f61292b69ef6d42f","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        self.api._ovs.verify(\u0027bridges\u0027)"},{"line_number":68,"context_line":"        self.api._ovs.bridges \u003d self.api._ovs.bridges + [row]"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if self.datapath_type:"},{"line_number":71,"context_line":"            cmd \u003d DbSetCommand(self.api, \u0027Bridge\u0027, self.name,"},{"line_number":72,"context_line":"                               (\u0027datapath_type\u0027, self.datapath_type))"},{"line_number":73,"context_line":"            cmd.run_idl(txn)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_1620cd9a","line":70,"in_reply_to":"fa1b9901_b6e56ca9","updated":"2015-08-18 04:35:03.000000000","message":"+1","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"fcca77d514826cb365024099354911fcad345a2f","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        self.api._ovs.verify(\u0027bridges\u0027)"},{"line_number":68,"context_line":"        self.api._ovs.bridges \u003d self.api._ovs.bridges + [row]"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if self.datapath_type:"},{"line_number":71,"context_line":"            cmd \u003d DbSetCommand(self.api, \u0027Bridge\u0027, self.name,"},{"line_number":72,"context_line":"                               (\u0027datapath_type\u0027, self.datapath_type))"},{"line_number":73,"context_line":"            cmd.run_idl(txn)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_21dedb6d","line":70,"in_reply_to":"fa1b9901_b6e56ca9","updated":"2015-08-18 12:15:09.000000000","message":"sorry im not that familiar with the native bindings.\nthat makes sense i was wondering if i could condense this into a single atomic insert but was not sure if it would work.\n\nill quickly rework and reupload.","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"}],"neutron/plugins/ml2/drivers/openvswitch/agent/common/config.py":[{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"a4d3395a289ed36c07ddb7e5a8f0a03cfff0af50","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                       \"integration bridge to physical bridges.\")),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027of_interface\u0027, default\u003d\u0027ovs-ofctl\u0027, choices\u003d[\u0027ovs-ofctl\u0027],"},{"line_number":49,"context_line":"               help\u003d_(\"OpenFlow interface to use.\")),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027ovs_datapath\u0027, default\u003d\u0027system\u0027, choices\u003d[\u0027system\u0027, \u0027netdev\u0027],"},{"line_number":51,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":52,"context_line":"]"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_0eddd30d","line":50,"updated":"2015-06-30 21:46:13.000000000","message":"New option needs to get added to openvswitch_agent.ini.   I don\u0027t see that file listed on this patch.","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"09399fbe00ec5b8978c5d9a1aca4b0e9a27191bb","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                       \"integration bridge to physical bridges.\")),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027of_interface\u0027, default\u003d\u0027ovs-ofctl\u0027, choices\u003d[\u0027ovs-ofctl\u0027],"},{"line_number":49,"context_line":"               help\u003d_(\"OpenFlow interface to use.\")),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027ovs_datapath\u0027, default\u003d\u0027system\u0027, choices\u003d[\u0027system\u0027, \u0027netdev\u0027],"},{"line_number":51,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":52,"context_line":"]"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_c6e1fd9b","line":50,"in_reply_to":"ba3cc151_0eddd30d","updated":"2015-07-01 09:28:28.000000000","message":"will do in next patch.","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"8c5bf674a37dcd184195ede14666d6d1f8805a74","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                       \"integration bridge to physical bridges.\")),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027of_interface\u0027, default\u003d\u0027ovs-ofctl\u0027, choices\u003d[\u0027ovs-ofctl\u0027],"},{"line_number":49,"context_line":"               help\u003d_(\"OpenFlow interface to use.\")),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027ovs_datapath\u0027, default\u003d\u0027system\u0027, choices\u003d[\u0027system\u0027, \u0027netdev\u0027],"},{"line_number":51,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":52,"context_line":"]"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_d08e81cf","line":50,"range":{"start_line":50,"start_character":16,"end_line":50,"end_character":28},"updated":"2015-07-01 14:13:40.000000000","message":"\"datapath_type\" would be a more straightforward option name","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"51d3b4f2b0c0b6ace0c12425579141fc6c8c8dc1","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                       \"integration bridge to physical bridges.\")),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027of_interface\u0027, default\u003d\u0027ovs-ofctl\u0027, choices\u003d[\u0027ovs-ofctl\u0027],"},{"line_number":49,"context_line":"               help\u003d_(\"OpenFlow interface to use.\")),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027ovs_datapath\u0027, default\u003d\u0027system\u0027, choices\u003d[\u0027system\u0027, \u0027netdev\u0027],"},{"line_number":51,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":52,"context_line":"]"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_147b4bf6","line":50,"in_reply_to":"ba3cc151_d08e81cf","updated":"2015-07-02 11:47:35.000000000","message":"ok i will update.\ndatapath_type matches the nameing used internally in ovs also.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"f5bc54da814a25027ca681e9f61292b69ef6d42f","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    cfg.StrOpt(\u0027datapath_type\u0027, default\u003dconstants.OVS_DATAPATH_SYSTEM,"},{"line_number":51,"context_line":"               choices\u003d[constants.OVS_DATAPATH_SYSTEM,"},{"line_number":52,"context_line":"                        constants.OVS_DATAPATH_NETDEV],"},{"line_number":53,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":54,"context_line":"]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"agent_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_d641f53a","line":53,"range":{"start_line":53,"start_character":23,"end_line":53,"end_character":26},"updated":"2015-08-18 04:35:03.000000000","message":"capitalize OVS to be consistent with the other help message.","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"fcca77d514826cb365024099354911fcad345a2f","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    cfg.StrOpt(\u0027datapath_type\u0027, default\u003dconstants.OVS_DATAPATH_SYSTEM,"},{"line_number":51,"context_line":"               choices\u003d[constants.OVS_DATAPATH_SYSTEM,"},{"line_number":52,"context_line":"                        constants.OVS_DATAPATH_NETDEV],"},{"line_number":53,"context_line":"               help\u003d_(\"ovs datapath to use.\")),"},{"line_number":54,"context_line":"]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"agent_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_bfe206d4","line":53,"in_reply_to":"fa1b9901_d641f53a","updated":"2015-08-18 12:15:09.000000000","message":"Done","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"}],"neutron/plugins/ml2/drivers/openvswitch/agent/common/constants.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"1577d757478a3c27dc219ce726b8383ab39066b7","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"},{"line_number":95,"context_line":"OVS_DATAPATH_DEFAULT \u003d OVS_DATAPATH_KERNEL"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_1980f8f6","line":95,"updated":"2015-07-10 17:55:54.000000000","message":"When do we use OVS_DATAPATH_DEFAULT and OVS_DATAPATH_KERNEL for different purposes? We need to choose just one constant.","commit_id":"3929ca6d9226d1c3f92e657a1c7a68c4a07f39aa"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"33e36a72bc0c16416e2456067d027c08fbcc1a95","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"},{"line_number":95,"context_line":"OVS_DATAPATH_DEFAULT \u003d OVS_DATAPATH_KERNEL"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_06395c41","line":95,"in_reply_to":"9a41bdd9_9ddb921b","updated":"2015-07-13 13:32:06.000000000","message":"ok just leave OVS_DATAPATH_KERNEL \nand remove OVS_DATAPATH_DEFAULT\n\ngenerally i prefer to have one constant for each of the fixed options and a dedicated constant for the default so that if you change the default later you just update the default constant.","commit_id":"3929ca6d9226d1c3f92e657a1c7a68c4a07f39aa"},{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"d22fd4320ed9ba26c3f63c9d7700bc447a6d8429","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"},{"line_number":95,"context_line":"OVS_DATAPATH_DEFAULT \u003d OVS_DATAPATH_KERNEL"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_9ddb921b","line":95,"in_reply_to":"ba3cc151_1980f8f6","updated":"2015-07-13 04:10:12.000000000","message":"+1.  I agree.","commit_id":"3929ca6d9226d1c3f92e657a1c7a68c4a07f39aa"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"77999f0a98690a34c833c622793b0a7d821f93f9","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_2cb943cc","line":94,"updated":"2015-07-16 03:42:52.000000000","message":"i tend to think having our own aliases (kernel, userspace)\nin addition to underlying names (system, netdev) is rather confusing.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7b1f00e366797e18b06b9b40bdbfc83609d14426","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_f40a1479","line":94,"in_reply_to":"9a41bdd9_2b64a447","updated":"2015-07-16 19:41:39.000000000","message":"Updated to \n\nOVS_DATAPATH_SYSTEM \u003d \u0027system\u0027\n\nOVS_DATAPATH_NETDEV \u003d \u0027netdev\u0027","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"70b628ab7bfdf85c213ef338daab02075ecb7c90","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"# ovs datapath types"},{"line_number":93,"context_line":"OVS_DATAPATH_KERNEL \u003d \u0027system\u0027"},{"line_number":94,"context_line":"OVS_DATAPATH_USERSPACE \u003d \u0027netdev\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_2b64a447","line":94,"in_reply_to":"9a41bdd9_2cb943cc","updated":"2015-07-16 16:31:02.000000000","message":"I agree with YAMAMOTO here.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"}],"neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/ovs_bridge.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"8d5a6d1e2c075b1cd0349c1d3b36307dfe9dc555","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def drop_port(self, in_port):"},{"line_number":31,"context_line":"        self.install_drop(priority\u003d2, in_port\u003din_port)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def set_datapath(self, conf):"},{"line_number":34,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":35,"context_line":"                              \u0027datapath_type\u0027, conf.OVS.ovs_datapath,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_5410504e","line":32,"updated":"2015-06-30 19:44:19.000000000","message":"Kind of an odd API :) This method should accept the datapath arg not the conf object.","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"09399fbe00ec5b8978c5d9a1aca4b0e9a27191bb","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def drop_port(self, in_port):"},{"line_number":31,"context_line":"        self.install_drop(priority\u003d2, in_port\u003din_port)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def set_datapath(self, conf):"},{"line_number":34,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":35,"context_line":"                              \u0027datapath_type\u0027, conf.OVS.ovs_datapath,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_86c0d5e1","line":32,"in_reply_to":"ba3cc151_5410504e","updated":"2015-07-01 09:28:28.000000000","message":"i was originally going to call the function set_default_datapath hence the current api but i will re factor as you suggested.","commit_id":"2efb0f31a6d4287dcaa0255f403e8488e1f2b645"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"8c5bf674a37dcd184195ede14666d6d1f8805a74","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    def drop_port(self, in_port):"},{"line_number":31,"context_line":"        self.install_drop(priority\u003d2, in_port\u003din_port)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def set_datapath(self, datapath):"},{"line_number":34,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":35,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":36,"context_line":"                              True)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_1025c9bf","line":33,"range":{"start_line":33,"start_character":8,"end_line":33,"end_character":20},"updated":"2015-07-01 14:13:40.000000000","message":"i\u0027d suggest the name \"set_datapath_type\".\n\nalso, this seems to belong to ovs_lib.OVSBridge rather than this class.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"51d3b4f2b0c0b6ace0c12425579141fc6c8c8dc1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    def drop_port(self, in_port):"},{"line_number":31,"context_line":"        self.install_drop(priority\u003d2, in_port\u003din_port)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def set_datapath(self, datapath):"},{"line_number":34,"context_line":"        self.set_db_attribute(\u0027Bridge\u0027, self.br_name,"},{"line_number":35,"context_line":"                              \u0027datapath_type\u0027, datapath,"},{"line_number":36,"context_line":"                              True)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_14626b3e","line":33,"in_reply_to":"ba3cc151_1025c9bf","updated":"2015-07-02 11:47:35.000000000","message":"ok i ill move to ovs_lib.OVSBridge","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"}],"neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"5a6e1eb58ea8a42172dcd4fa484253ccb3ea2859","unresolved":false,"context_lines":[{"line_number":959,"context_line":"                           \u0027bridge\u0027: bridge})"},{"line_number":960,"context_line":"                sys.exit(1)"},{"line_number":961,"context_line":"            br \u003d self.br_phys_cls(bridge)"},{"line_number":962,"context_line":"            br.set_datapath(self.conf.OVS.ovs_datapath)"},{"line_number":963,"context_line":"            br.setup_controllers(self.conf)"},{"line_number":964,"context_line":"            br.setup_default_table()"},{"line_number":965,"context_line":"            self.phys_brs[physical_network] \u003d br"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_390c833a","line":962,"updated":"2015-07-01 11:47:57.000000000","message":"Is it possible that for different bridges you will want different types? or it doesnt make sense?","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"de2c136b5d4e85d20dea0c2a420061a97466e325","unresolved":false,"context_lines":[{"line_number":959,"context_line":"                           \u0027bridge\u0027: bridge})"},{"line_number":960,"context_line":"                sys.exit(1)"},{"line_number":961,"context_line":"            br \u003d self.br_phys_cls(bridge)"},{"line_number":962,"context_line":"            br.set_datapath(self.conf.OVS.ovs_datapath)"},{"line_number":963,"context_line":"            br.setup_controllers(self.conf)"},{"line_number":964,"context_line":"            br.setup_default_table()"},{"line_number":965,"context_line":"            self.phys_brs[physical_network] \u003d br"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_bf6713b6","line":962,"in_reply_to":"ba3cc151_390c833a","updated":"2015-07-01 12:34:32.000000000","message":"for the br-phy br-int and br-tun no.\n\nit is possible but it does not make sense for a performance or feature point of view.\n\nif you want to use different datapaths on different bridges you can no loger use patch ports.\n\nas a result you must inter connect bridges using veth pairs.\nthis requires all packets to be copied via the kernel over the veth pair when \ntraversing form one bridge to another. \n\nthis change does not effect the operation of the br-ex as it is not configured via the ovs_neuton_agent in the same way as the physical integration and tunnel bridges.\n\nas the br-ex bridge is not connected to the others via a patch ports or veth pairs it can have either datapath. all packets are already copied by the kernel via the router namespace so there is no impact of using a different datapath.","commit_id":"dd251158c734454e4ddb51263960a2196acf0f9b"},{"author":{"_account_id":11647,"name":"Przemyslaw Czesnowicz","email":"przemyslaw.czesnowicz@intel.com","username":"pczesno"},"change_message_id":"f7afc3e413d09eb869e856645ded72fd2eeef81e","unresolved":false,"context_lines":[{"line_number":847,"context_line":"        #   ovs-vsctl -- --may-exist add-br BRIDGE_NAME"},{"line_number":848,"context_line":"        # which does nothing if bridge already exists."},{"line_number":849,"context_line":"        self.int_br.create()"},{"line_number":850,"context_line":"        self.int_br.set_datapath_type(self.conf.OVS.datapath_type)"},{"line_number":851,"context_line":"        self.int_br.set_secure_mode()"},{"line_number":852,"context_line":"        self.int_br.setup_controllers(self.conf)"},{"line_number":853,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_9d020db3","line":850,"updated":"2015-07-02 17:13:12.000000000","message":"can You store self.conf.OVS.datapath_type in a variable? it would look a bit better","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"c8c32aa0c24412d45fd0bb962199275fd220b60b","unresolved":false,"context_lines":[{"line_number":847,"context_line":"        #   ovs-vsctl -- --may-exist add-br BRIDGE_NAME"},{"line_number":848,"context_line":"        # which does nothing if bridge already exists."},{"line_number":849,"context_line":"        self.int_br.create()"},{"line_number":850,"context_line":"        self.int_br.set_datapath_type(self.conf.OVS.datapath_type)"},{"line_number":851,"context_line":"        self.int_br.set_secure_mode()"},{"line_number":852,"context_line":"        self.int_br.setup_controllers(self.conf)"},{"line_number":853,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_c1acee37","line":850,"in_reply_to":"ba3cc151_9d020db3","updated":"2015-07-06 02:27:42.000000000","message":"+1","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"053d7ef68b40cc2534ffd8984b98c82d02195edf","unresolved":false,"context_lines":[{"line_number":847,"context_line":"        #   ovs-vsctl -- --may-exist add-br BRIDGE_NAME"},{"line_number":848,"context_line":"        # which does nothing if bridge already exists."},{"line_number":849,"context_line":"        self.int_br.create()"},{"line_number":850,"context_line":"        self.int_br.set_datapath_type(self.conf.OVS.datapath_type)"},{"line_number":851,"context_line":"        self.int_br.set_secure_mode()"},{"line_number":852,"context_line":"        self.int_br.setup_controllers(self.conf)"},{"line_number":853,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_a7d657c1","line":850,"in_reply_to":"ba3cc151_c1acee37","updated":"2015-07-07 10:51:52.000000000","message":"i will update next time i re-spin the patch.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"8b2fae38e0319c9dea29c50327eaa8ef5dcbc837","unresolved":false,"context_lines":[{"line_number":188,"context_line":"        self.arp_responder_enabled \u003d arp_responder and self.l2_pop"},{"line_number":189,"context_line":"        self.prevent_arp_spoofing \u003d prevent_arp_spoofing"},{"line_number":190,"context_line":"        self.conf \u003d conf or cfg.CONF"},{"line_number":191,"context_line":"        self.datapath \u003d self.conf.OVS.datapath_type"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        self.agent_state \u003d {"},{"line_number":194,"context_line":"            \u0027binary\u0027: \u0027neutron-openvswitch-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_dce97be7","line":191,"updated":"2015-07-29 06:56:32.000000000","message":"datapath -\u003e datapath_type is better","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6032ba688e1438fa8e4cf570146f93ccfa6d5aa8","unresolved":false,"context_lines":[{"line_number":188,"context_line":"        self.arp_responder_enabled \u003d arp_responder and self.l2_pop"},{"line_number":189,"context_line":"        self.prevent_arp_spoofing \u003d prevent_arp_spoofing"},{"line_number":190,"context_line":"        self.conf \u003d conf or cfg.CONF"},{"line_number":191,"context_line":"        self.datapath \u003d self.conf.OVS.datapath_type"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        self.agent_state \u003d {"},{"line_number":194,"context_line":"            \u0027binary\u0027: \u0027neutron-openvswitch-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_c5f604f9","line":191,"in_reply_to":"3a50d1a3_dce97be7","updated":"2015-08-04 17:46:34.000000000","message":"will update in next revision.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ac284273ffa902d95592f7283a733d5f8ea39701","unresolved":false,"context_lines":[{"line_number":186,"context_line":"        self.arp_responder_enabled \u003d arp_responder and self.l2_pop"},{"line_number":187,"context_line":"        self.prevent_arp_spoofing \u003d prevent_arp_spoofing"},{"line_number":188,"context_line":"        self.conf \u003d conf or cfg.CONF"},{"line_number":189,"context_line":"        self.datapath \u003d self.conf.OVS.datapath_type"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        self.agent_state \u003d {"},{"line_number":192,"context_line":"            \u0027binary\u0027: \u0027neutron-openvswitch-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a4dcd0f_713f3387","line":189,"updated":"2015-08-12 20:15:43.000000000","message":"If following previous suggestions to make the datapath an attribute on the OVSBridge, then this wouldn\u0027t need to be stored on OVSNeutronAgent as it would just be part of the OVSBridge. You could even do this above and not need to set the datapath anywhere else:\n\n self.br_int_cls \u003d functools.partial(bridge_classes[\u0027br_int\u0027], datapath\u003dself.conf.OVS.datapath_type)\n self.br_phys_cls \u003d functools.partial(bridge_classes[\u0027br_phys\u0027], datapath\u003dself.conf.OVS.datapath_type)\n self.br_tun_cls \u003d functools.partial(bridge_classes[\u0027br_tun\u0027], datapath\u003dself.conf.OVS.datapath_type)\n\nor\n self.br_int_cls, self.br_phys_cls, self.br_tun_cls \u003d (\n     functools.partial(bridge_classes[b], datapath\u003dself.conf.OVS.datapath_type)\n     for b in (\u0027br_int\u0027, \u0027br_phys\u0027, \u0027br_tun\u0027))\n\nif you were feeling really cheeky.","commit_id":"f56283a8f7f587cdb54c183c814af3538476cd39"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6cff2eaa6973a5c1fe30d849d80a9fd3a3a65b40","unresolved":false,"context_lines":[{"line_number":186,"context_line":"        self.arp_responder_enabled \u003d arp_responder and self.l2_pop"},{"line_number":187,"context_line":"        self.prevent_arp_spoofing \u003d prevent_arp_spoofing"},{"line_number":188,"context_line":"        self.conf \u003d conf or cfg.CONF"},{"line_number":189,"context_line":"        self.datapath \u003d self.conf.OVS.datapath_type"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        self.agent_state \u003d {"},{"line_number":192,"context_line":"            \u0027binary\u0027: \u0027neutron-openvswitch-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a4dcd0f_1b6b69f2","line":189,"in_reply_to":"1a4dcd0f_713f3387","updated":"2015-08-12 21:26:22.000000000","message":"i must say i like your cheeky implementation :)\n\nill try this refactoring and the other changes you mentioned \ntomorrow.\n\nthe refactoring will probably make the unit test cry so ill upload after we have made up and they pass again but yes the datapath type is really a property of the bridge so it makes sense to move into the OVSBridge class.","commit_id":"f56283a8f7f587cdb54c183c814af3538476cd39"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"f5bc54da814a25027ca681e9f61292b69ef6d42f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import sys"},{"line_number":19,"context_line":"import time"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from functools import partial"},{"line_number":22,"context_line":"import netaddr"},{"line_number":23,"context_line":"from oslo_config import cfg"},{"line_number":24,"context_line":"from oslo_log import log as logging"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_d3b0278e","line":21,"updated":"2015-08-18 04:35:03.000000000","message":"we prefer to import only modules. (in this case functools, not partial)","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"fcca77d514826cb365024099354911fcad345a2f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import sys"},{"line_number":19,"context_line":"import time"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from functools import partial"},{"line_number":22,"context_line":"import netaddr"},{"line_number":23,"context_line":"from oslo_config import cfg"},{"line_number":24,"context_line":"from oslo_log import log as logging"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_df49fad1","line":21,"in_reply_to":"fa1b9901_d3b0278e","updated":"2015-08-18 12:15:09.000000000","message":"Done","commit_id":"17e8fe195adbeb9f01feed55c6b70696297e9daf"}],"neutron/tests/functional/agent/test_l2_ovs_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"38d5d42aa857f79611075d129ffa4904966ed0bd","unresolved":false,"context_lines":[{"line_number":266,"context_line":"                                     agent.int_br.br_name,"},{"line_number":267,"context_line":"                                     \u0027datapath_type\u0027)"},{"line_number":268,"context_line":"        self.assertEqual(expected, actual)"},{"line_number":269,"context_line":"        if agent.tun_br:"},{"line_number":270,"context_line":"            actual \u003d self.ovs.db_get_val(\u0027Bridge\u0027,"},{"line_number":271,"context_line":"                                         agent.tun_br.br_name,"},{"line_number":272,"context_line":"                                         \u0027datapath_type\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_81d25a33","line":269,"updated":"2015-07-17 04:32:38.000000000","message":"this conditional seems unnecesary.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7db65dc718845ae4ba76f61c2c678a147a220f2f","unresolved":false,"context_lines":[{"line_number":266,"context_line":"                                     agent.int_br.br_name,"},{"line_number":267,"context_line":"                                     \u0027datapath_type\u0027)"},{"line_number":268,"context_line":"        self.assertEqual(expected, actual)"},{"line_number":269,"context_line":"        if agent.tun_br:"},{"line_number":270,"context_line":"            actual \u003d self.ovs.db_get_val(\u0027Bridge\u0027,"},{"line_number":271,"context_line":"                                         agent.tun_br.br_name,"},{"line_number":272,"context_line":"                                         \u0027datapath_type\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_d05d7ced","line":269,"in_reply_to":"9a41bdd9_81d25a33","updated":"2015-07-17 11:03:47.000000000","message":"i will remove if i respin.","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"38d5d42aa857f79611075d129ffa4904966ed0bd","unresolved":false,"context_lines":[{"line_number":283,"context_line":"                                     agent.int_br.br_name,"},{"line_number":284,"context_line":"                                     \u0027datapath_type\u0027)"},{"line_number":285,"context_line":"        self.assertEqual(expected, actual)"},{"line_number":286,"context_line":"        if agent.tun_br:"},{"line_number":287,"context_line":"            actual \u003d self.ovs.db_get_val(\u0027Bridge\u0027,"},{"line_number":288,"context_line":"                                         agent.tun_br.br_name,"},{"line_number":289,"context_line":"                                         \u0027datapath_type\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_41dc5246","line":286,"updated":"2015-07-17 04:32:38.000000000","message":"ditto","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7db65dc718845ae4ba76f61c2c678a147a220f2f","unresolved":false,"context_lines":[{"line_number":283,"context_line":"                                     agent.int_br.br_name,"},{"line_number":284,"context_line":"                                     \u0027datapath_type\u0027)"},{"line_number":285,"context_line":"        self.assertEqual(expected, actual)"},{"line_number":286,"context_line":"        if agent.tun_br:"},{"line_number":287,"context_line":"            actual \u003d self.ovs.db_get_val(\u0027Bridge\u0027,"},{"line_number":288,"context_line":"                                         agent.tun_br.br_name,"},{"line_number":289,"context_line":"                                         \u0027datapath_type\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a41bdd9_f06200ad","line":286,"in_reply_to":"9a41bdd9_41dc5246","updated":"2015-07-17 11:03:47.000000000","message":"same as above","commit_id":"549b906daeec8a12ae0147dfdcf032428bbf9c6e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"2ea86ba9953f98843d9e72641a58d28ea1a0b090","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"        self.wait_until_ports_state(self.ports, up\u003dFalse)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def test_datapath_type_system(self):"},{"line_number":34,"context_line":"        expected \u003d constants.OVS_DATAPATH_SYSTEM"},{"line_number":35,"context_line":"        agent \u003d self.create_agent()"},{"line_number":36,"context_line":"        self.start_agent(agent)"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_aaa83f78","line":33,"updated":"2015-08-19 16:41:11.000000000","message":"These two tests are the same except for expected/overriding the config. Could reduce code duplication with a:\n\n def _test_datapath_type(self, datapath_type):\n\nthat both tests call. Not something I\u0027d -1 over, but if you are are rebasing for the merge failure and want to... :)","commit_id":"9a2c8a7af44279a9424f6582abc9605c5dd053e6"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"4704d87729587d9e7d2e69d17329528b7dbf46ec","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"        self.wait_until_ports_state(self.ports, up\u003dFalse)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def test_datapath_type_system(self):"},{"line_number":37,"context_line":"        expected \u003d constants.OVS_DATAPATH_SYSTEM"},{"line_number":38,"context_line":"        agent \u003d self.create_agent()"},{"line_number":39,"context_line":"        self.start_agent(agent)"}],"source_content_type":"text/x-python","patch_set":14,"id":"fa1b9901_f912f757","line":36,"updated":"2015-08-22 20:29:04.000000000","message":"It\u0027s possible to define the test once and then run it twice, with each datapath_type.","commit_id":"63b03362821deadc0e65cce54b11cb7d4c2262d2"}],"neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"39dc8b67a34df9c4ee2131e1b2ec1ab0cc2294f4","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"    def test_datapath_type_default(self):"},{"line_number":187,"context_line":"        self.agent.tun_br.set_db_attribute \u003d mock.MagicMock()"},{"line_number":188,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":189,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":190,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":191,"context_line":"            \u0027system\u0027, True)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_bd373faf","line":188,"updated":"2015-07-07 13:44:13.000000000","message":"Why did you use cfg.CONF.OVS.datapath_type? I guess just \u0027system\u0027 is enough.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2cd460d799044ac240edc01c1ad380fc01c22382","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"    def test_datapath_type_default(self):"},{"line_number":187,"context_line":"        self.agent.tun_br.set_db_attribute \u003d mock.MagicMock()"},{"line_number":188,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":189,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":190,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":191,"context_line":"            \u0027system\u0027, True)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_6f5a4f2c","line":188,"in_reply_to":"ba3cc151_bd373faf","updated":"2015-07-08 08:30:28.000000000","message":"i am checking that the default config value is correct and validated that it matches system.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"39dc8b67a34df9c4ee2131e1b2ec1ab0cc2294f4","unresolved":false,"context_lines":[{"line_number":195,"context_line":"                              \u0027netdev\u0027,"},{"line_number":196,"context_line":"                              group\u003d\u0027OVS\u0027)"},{"line_number":197,"context_line":"        self.agent.tun_br.set_db_attribute \u003d mock.MagicMock()"},{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_7d0f77e1","line":198,"updated":"2015-07-07 13:44:13.000000000","message":"ditto","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2cd460d799044ac240edc01c1ad380fc01c22382","unresolved":false,"context_lines":[{"line_number":195,"context_line":"                              \u0027netdev\u0027,"},{"line_number":196,"context_line":"                              group\u003d\u0027OVS\u0027)"},{"line_number":197,"context_line":"        self.agent.tun_br.set_db_attribute \u003d mock.MagicMock()"},{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_8f5eb3e7","line":198,"in_reply_to":"ba3cc151_7d0f77e1","updated":"2015-07-08 08:30:28.000000000","message":"i am explicitly checking that the set config value is used.\nin the original api the config was passed to the set_datapath_type function.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4d363533b840fc9491c5fe838508f7f46137a454","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":204,"context_line":"        self._test_restore_local_vlan_maps(2)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_9d29b78c","line":201,"updated":"2015-07-02 14:40:00.000000000","message":"sorry, these tests look nearly pointless to me.\n\nand probably they belong to neutron/tests/unit/agent/common/test_ovs_lib.py","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2cd460d799044ac240edc01c1ad380fc01c22382","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":204,"context_line":"        self._test_restore_local_vlan_maps(2)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_ef509fd6","line":201,"in_reply_to":"ba3cc151_28b52f30","updated":"2015-07-08 08:30:28.000000000","message":"ok i will move and re submit soon.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"39dc8b67a34df9c4ee2131e1b2ec1ab0cc2294f4","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":204,"context_line":"        self._test_restore_local_vlan_maps(2)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_28b52f30","line":201,"in_reply_to":"ba3cc151_6a2fb688","updated":"2015-07-07 13:44:13.000000000","message":"I agree with yamamoto. These tests are moved to test_ovs_lib.py. You can refer to similar tests in test_ovs_lib.py(e.g. test_set_protocols).","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"053d7ef68b40cc2534ffd8984b98c82d02195edf","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        self.agent.tun_br.set_datapath_type(cfg.CONF.OVS.datapath_type)"},{"line_number":199,"context_line":"        self.agent.tun_br.set_db_attribute.assert_called_with("},{"line_number":200,"context_line":"            \u0027Bridge\u0027, self.agent.tun_br.br_name, \u0027datapath_type\u0027,"},{"line_number":201,"context_line":"            \u0027netdev\u0027, True)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":204,"context_line":"        self._test_restore_local_vlan_maps(2)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_6a2fb688","line":201,"in_reply_to":"ba3cc151_9d29b78c","updated":"2015-07-07 10:51:52.000000000","message":"the above will validate that the default value of \u0027system\u0027 will be used when the value is not set and secondly test if the value is set that it is used.\n\ni could move the test to neutron/tests/unit/agent/common/test_ovs_lib.py however i am not sure how to make the test more meaningful as this is a minor change with few side effects.","commit_id":"c14569b1009cf8b645332f1311deef4c38cce8fb"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"1577d757478a3c27dc219ce726b8383ab39066b7","unresolved":false,"context_lines":[{"line_number":219,"context_line":"            self.agent.int_br.set_db_attribute.assert_called_with("},{"line_number":220,"context_line":"                \u0027Bridge\u0027, self.agent.int_br.br_name, \u0027datapath_type\u0027,"},{"line_number":221,"context_line":"                datapath, True)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":224,"context_line":"        self._test_restore_local_vlan_maps(2)"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_7934a4fa","line":222,"updated":"2015-07-10 17:55:54.000000000","message":"I\u0027m not sure if two tests are needed. It seems duplication of test_set_datapath_type for me.","commit_id":"3929ca6d9226d1c3f92e657a1c7a68c4a07f39aa"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"33e36a72bc0c16416e2456067d027c08fbcc1a95","unresolved":false,"context_lines":[{"line_number":219,"context_line":"            self.agent.int_br.set_db_attribute.assert_called_with("},{"line_number":220,"context_line":"                \u0027Bridge\u0027, self.agent.int_br.br_name, \u0027datapath_type\u0027,"},{"line_number":221,"context_line":"                datapath, True)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"    def test_restore_local_vlan_map_with_device_has_tag(self):"},{"line_number":224,"context_line":"        self._test_restore_local_vlan_maps(2)"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_82927c56","line":222,"in_reply_to":"ba3cc151_7934a4fa","updated":"2015-07-13 13:32:06.000000000","message":"i could combine the two easily \n\nit also probably enough in insight to just assert that \nself.agent.datapath \u003d expected value as the set_datapath_type is tested in the test_ovs_lib.py","commit_id":"3929ca6d9226d1c3f92e657a1c7a68c4a07f39aa"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"9b96df5f3fccb489997b488d0c4528ab6888bed8","unresolved":false,"context_lines":[{"line_number":186,"context_line":"    def test_datapath_type(self):"},{"line_number":187,"context_line":"        # verify kernel datapath is default"},{"line_number":188,"context_line":"        expected \u003d constants.OVS_DATAPATH_KERNEL"},{"line_number":189,"context_line":"        self.assertEqual(expected, self.agent.datapath)"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        # validate setting non default datapath"},{"line_number":192,"context_line":"        expected \u003d constants.OVS_DATAPATH_USERSPACE"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_aaa820dc","line":189,"updated":"2015-07-14 21:04:43.000000000","message":"this method should be splitted in 2 methods on for each test (KERNEL, USERSPACE)","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7b1f00e366797e18b06b9b40bdbfc83609d14426","unresolved":false,"context_lines":[{"line_number":186,"context_line":"    def test_datapath_type(self):"},{"line_number":187,"context_line":"        # verify kernel datapath is default"},{"line_number":188,"context_line":"        expected \u003d constants.OVS_DATAPATH_KERNEL"},{"line_number":189,"context_line":"        self.assertEqual(expected, self.agent.datapath)"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        # validate setting non default datapath"},{"line_number":192,"context_line":"        expected \u003d constants.OVS_DATAPATH_USERSPACE"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_54c0a0e0","line":189,"in_reply_to":"9a41bdd9_6c1f4bb7","updated":"2015-07-16 19:41:39.000000000","message":"Done","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"cbfbe86124286aa17a99b3ee492f4888eb1ba574","unresolved":false,"context_lines":[{"line_number":186,"context_line":"    def test_datapath_type(self):"},{"line_number":187,"context_line":"        # verify kernel datapath is default"},{"line_number":188,"context_line":"        expected \u003d constants.OVS_DATAPATH_KERNEL"},{"line_number":189,"context_line":"        self.assertEqual(expected, self.agent.datapath)"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        # validate setting non default datapath"},{"line_number":192,"context_line":"        expected \u003d constants.OVS_DATAPATH_USERSPACE"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_d93e9c8b","line":189,"in_reply_to":"9a41bdd9_aaa820dc","updated":"2015-07-14 23:52:12.000000000","message":"this was split in the previous patch set and i re spun because i was asked to change it.\n\ni can split it back out but i would like to get consensus before changing them again.","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"77999f0a98690a34c833c622793b0a7d821f93f9","unresolved":false,"context_lines":[{"line_number":186,"context_line":"    def test_datapath_type(self):"},{"line_number":187,"context_line":"        # verify kernel datapath is default"},{"line_number":188,"context_line":"        expected \u003d constants.OVS_DATAPATH_KERNEL"},{"line_number":189,"context_line":"        self.assertEqual(expected, self.agent.datapath)"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        # validate setting non default datapath"},{"line_number":192,"context_line":"        expected \u003d constants.OVS_DATAPATH_USERSPACE"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_6c1f4bb7","line":189,"in_reply_to":"9a41bdd9_d93e9c8b","updated":"2015-07-16 03:42:52.000000000","message":"+1 for separate","commit_id":"132932f5f60b3d8f3a2311b6c4a8d2932c3a6dc7"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"4704d87729587d9e7d2e69d17329528b7dbf46ec","unresolved":false,"context_lines":[{"line_number":187,"context_line":"            else:"},{"line_number":188,"context_line":"                self.assertFalse(provision_local_vlan.called)"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    def test_datapath_type_system(self):"},{"line_number":191,"context_line":"        # verify kernel datapath is default"},{"line_number":192,"context_line":"        expected \u003d constants.OVS_DATAPATH_SYSTEM"},{"line_number":193,"context_line":"        self.assertEqual(expected, self.agent.int_br.datapath_type)"}],"source_content_type":"text/x-python","patch_set":14,"id":"fa1b9901_d919337b","line":190,"updated":"2015-08-22 20:29:04.000000000","message":"Do these tests add any value considering the coverage via the functional tests? Tests aren\u0027t free, there\u0027s a cost to their maintenance, especially tests that mock so many methods.","commit_id":"63b03362821deadc0e65cce54b11cb7d4c2262d2"}]}
