)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Also it lays down the foundation for a more decoupled interaction"},{"line_number":13,"context_line":"with mechanism drivers."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug: #1627749"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I2f166a43f0b980ad22617f8a3f7b4cc7f4786c48"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"7a3c09a3_1a111353","line":14,"updated":"2017-01-13 20:13:27.000000000","message":"The change definitely needs DocImpact (to remove any notion of notification_drivers from docs).\n\nAlso, a release note should be added. Also doc/source/devref/quality_of_service.rst begs for cleanup and to capture new details.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Also it lays down the foundation for a more decoupled interaction"},{"line_number":13,"context_line":"with mechanism drivers."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug: #1627749"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I2f166a43f0b980ad22617f8a3f7b4cc7f4786c48"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"7a3c09a3_30afa482","line":14,"in_reply_to":"7a3c09a3_1a111353","updated":"2017-01-16 16:25:27.000000000","message":"Makes sense. Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Closes-Bug: #1657379"},{"line_number":16,"context_line":"Related-Bug: #1627749"},{"line_number":17,"context_line":"Doc-Impact"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I2f166a43f0b980ad22617f8a3f7b4cc7f4786c48"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"5a3905b3_f00f3e86","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":10},"updated":"2017-01-24 18:14:44.000000000","message":"It\u0027s DocImpact, without dash","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Closes-Bug: #1657379"},{"line_number":16,"context_line":"Related-Bug: #1627749"},{"line_number":17,"context_line":"Doc-Impact"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I2f166a43f0b980ad22617f8a3f7b4cc7f4786c48"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"5a3905b3_daca3d6e","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":10},"in_reply_to":"5a3905b3_f00f3e86","updated":"2017-01-25 10:52:01.000000000","message":"woops.Done.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/conf/services/qos_driver_manager.py":[{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":16,"context_line":"QOS_PLUGIN_OPTS \u003d ["},{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\u0027Drivers list to use to send the update notification\u0027),"},{"line_number":20,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":21,"context_line":"]"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_eeafd127","line":19,"range":{"start_line":19,"start_character":22,"end_line":19,"end_character":77},"updated":"2016-11-17 11:58:03.000000000","message":"Can you add deprecation warning to the help?","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"fa8a118652d11081b784eefbd26fe892fcf4976b","unresolved":false,"context_lines":[{"line_number":16,"context_line":"QOS_PLUGIN_OPTS \u003d ["},{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\u0027Drivers list to use to send the update notification\u0027),"},{"line_number":20,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":21,"context_line":"]"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_657bd7f5","line":19,"range":{"start_line":19,"start_character":22,"end_line":19,"end_character":77},"in_reply_to":"7a77a97e_51e30533","updated":"2016-11-17 15:49:01.000000000","message":"Done","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":16,"context_line":"QOS_PLUGIN_OPTS \u003d ["},{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\u0027Drivers list to use to send the update notification\u0027),"},{"line_number":20,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":21,"context_line":"]"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_51e30533","line":19,"range":{"start_line":19,"start_character":22,"end_line":19,"end_character":77},"in_reply_to":"7a77a97e_eeafd127","updated":"2016-11-17 13:10:12.000000000","message":"Yes, I will.","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":16,"context_line":"QOS_PLUGIN_OPTS \u003d ["},{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification.\""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_c48afabe","line":19,"updated":"2016-12-21 12:41:17.000000000","message":"nit - please add space at the end of the line","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":16,"context_line":"QOS_PLUGIN_OPTS \u003d ["},{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification.\""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_8ef217d1","line":19,"in_reply_to":"1a6eadb0_c48afabe","updated":"2017-01-03 13:10:55.000000000","message":"Done, thank you.","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_4f4cbbc7","line":20,"range":{"start_line":20,"start_character":60,"end_line":20,"end_character":65},"updated":"2017-01-13 20:13:27.000000000","message":"-\u003e is not","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_f0f99c81","line":20,"range":{"start_line":20,"start_character":60,"end_line":20,"end_character":65},"in_reply_to":"7a3c09a3_4f4cbbc7","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_8fcce336","line":23,"range":{"start_line":23,"start_character":62,"end_line":23,"end_character":66},"updated":"2017-01-13 20:13:27.000000000","message":"-\u003e is","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_50efd0af","line":23,"range":{"start_line":23,"start_character":62,"end_line":23,"end_character":66},"in_reply_to":"7a3c09a3_8fcce336","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_4fe3dba3","line":24,"range":{"start_line":20,"start_character":23,"end_line":24,"end_character":48},"updated":"2017-01-13 20:13:27.000000000","message":"This is too many words. Deprecation is already documented by virtue of line 25, and the rest can be said as \u0027... Unused.\u0027","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_707a0cf3","line":24,"range":{"start_line":20,"start_character":23,"end_line":24,"end_character":48},"in_reply_to":"7a3c09a3_4fe3dba3","updated":"2017-01-16 16:25:27.000000000","message":"I\u0027m not sure what you mean?, shall I make help more concise?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d18f57e1825ae1283f12a57860b73222263ded62","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and won\u0027t be \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and it will be \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_ad979946","line":24,"range":{"start_line":20,"start_character":23,"end_line":24,"end_character":48},"in_reply_to":"7a3c09a3_707a0cf3","updated":"2017-01-24 17:46:44.000000000","message":"Yes. Just saying it\u0027s unused would give same amount of info to operators.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and it\u0027s not \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and is \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_9016fa56","line":24,"range":{"start_line":20,"start_character":24,"end_line":24,"end_character":47},"updated":"2017-01-24 18:14:44.000000000","message":"-\u003e \"Unused.\"\n\nThe reason behind my suggestion is:\n\n1. the fact that the option is deprecated is already stated in config files by virtue of line 25.\n\n2. Operators (consumers of the option) should not care about internal architecture as long as they can figure out from the help text how to use the option, and if they need to touch it. Since they don\u0027t need to, just say it\u0027s unused, and that should be enough.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    cfg.ListOpt(\u0027notification_drivers\u0027,"},{"line_number":18,"context_line":"                default\u003d[\u0027message_queue\u0027],"},{"line_number":19,"context_line":"                help\u003d_(\"Drivers list to use to send the update notification. \""},{"line_number":20,"context_line":"                       \"This option has been deprecated and it\u0027s not \""},{"line_number":21,"context_line":"                       \"necessary anymore, the QoS driver architecture has \""},{"line_number":22,"context_line":"                       \"changed in a way that the operator won\u0027t need to \""},{"line_number":23,"context_line":"                       \"explicitly specify the driver, and is \""},{"line_number":24,"context_line":"                       \"automatically detected.\"),"},{"line_number":25,"context_line":"                deprecated_for_removal\u003dTrue),"},{"line_number":26,"context_line":"]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_7ae6a9e9","line":24,"range":{"start_line":20,"start_character":24,"end_line":24,"end_character":47},"in_reply_to":"5a3905b3_9016fa56","updated":"2017-01-25 10:52:01.000000000","message":"It\u0027s not completely unused now, since we still read the setting and notify the old-styled drivers.\n\nI will change it to \"This will be unused in Pike\".","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/extensions/portbindings.py":[{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":89,"context_line":"#                   which is defined further below. E.g. Macvtap agent uses"},{"line_number":90,"context_line":"#                   vnic_type \u0027normal\u0027."},{"line_number":91,"context_line":"VIF_TYPE_MACVTAP \u003d \u0027macvtap\u0027"},{"line_number":92,"context_line":"# sriov vif_types"},{"line_number":93,"context_line":"VIF_TYPE_HW_VEB \u003d \u0027hw_veb\u0027"},{"line_number":94,"context_line":"VIF_TYPE_HOSTDEV_PHY \u003d \u0027hostdev_physical\u0027"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_6e3821f0","line":92,"range":{"start_line":92,"start_character":2,"end_line":92,"end_character":8},"updated":"2016-11-17 11:58:03.000000000","message":"s/sriov/SR-IOV","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":89,"context_line":"#                   which is defined further below. E.g. Macvtap agent uses"},{"line_number":90,"context_line":"#                   vnic_type \u0027normal\u0027."},{"line_number":91,"context_line":"VIF_TYPE_MACVTAP \u003d \u0027macvtap\u0027"},{"line_number":92,"context_line":"# sriov vif_types"},{"line_number":93,"context_line":"VIF_TYPE_HW_VEB \u003d \u0027hw_veb\u0027"},{"line_number":94,"context_line":"VIF_TYPE_HOSTDEV_PHY \u003d \u0027hostdev_physical\u0027"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_f1c6d198","line":92,"range":{"start_line":92,"start_character":2,"end_line":92,"end_character":8},"in_reply_to":"7a77a97e_6e3821f0","updated":"2016-11-17 13:10:12.000000000","message":"Ack :)","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"fa8a118652d11081b784eefbd26fe892fcf4976b","unresolved":false,"context_lines":[{"line_number":89,"context_line":"#                   which is defined further below. E.g. Macvtap agent uses"},{"line_number":90,"context_line":"#                   vnic_type \u0027normal\u0027."},{"line_number":91,"context_line":"VIF_TYPE_MACVTAP \u003d \u0027macvtap\u0027"},{"line_number":92,"context_line":"# sriov vif_types"},{"line_number":93,"context_line":"VIF_TYPE_HW_VEB \u003d \u0027hw_veb\u0027"},{"line_number":94,"context_line":"VIF_TYPE_HOSTDEV_PHY \u003d \u0027hostdev_physical\u0027"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_45733b15","line":92,"range":{"start_line":92,"start_character":2,"end_line":92,"end_character":8},"in_reply_to":"7a77a97e_f1c6d198","updated":"2016-11-17 15:49:01.000000000","message":"Done, in a separate patch (see patch dependencies on PS9)","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"}],"neutron/objects/qos/rule_type.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        core_plugin \u003d directory.get_plugin()"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        rule_types \u003d ("},{"line_number":53,"context_line":"            getattr(core_plugin, \u0027supported_qos_rule_types\u0027, None) or"},{"line_number":54,"context_line":"            directory.get_plugin(alias\u003dconstants.QOS).supported_rule_types)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        # TODO(ihrachys): apply filters to returned result"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_6f609736","line":53,"updated":"2017-01-13 20:13:27.000000000","message":"should we maybe issue a warning if core plugin defines that?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        core_plugin \u003d directory.get_plugin()"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        rule_types \u003d ("},{"line_number":53,"context_line":"            getattr(core_plugin, \u0027supported_qos_rule_types\u0027, None) or"},{"line_number":54,"context_line":"            directory.get_plugin(alias\u003dconstants.QOS).supported_rule_types)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        # TODO(ihrachys): apply filters to returned result"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_3e6e9595","line":53,"in_reply_to":"7a3c09a3_6f609736","updated":"2017-01-16 16:25:27.000000000","message":"Makes sense, I\u0027ll add it. Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        if core_plugin_supported_rules:"},{"line_number":62,"context_line":"            LOG.warning(_LW("},{"line_number":63,"context_line":"                \"Your core plugin defines supported_qos_rule_types which \""},{"line_number":64,"context_line":"                \"is deprecated and shall be implemented through a QoS driver\""},{"line_number":65,"context_line":"            ))"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        # TODO(ihrachys): apply filters to returned result"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_932444b3","line":64,"updated":"2017-01-24 18:14:44.000000000","message":"nit: you probably want a dot at the end of the message","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        if core_plugin_supported_rules:"},{"line_number":62,"context_line":"            LOG.warning(_LW("},{"line_number":63,"context_line":"                \"Your core plugin defines supported_qos_rule_types which \""},{"line_number":64,"context_line":"                \"is deprecated and shall be implemented through a QoS driver\""},{"line_number":65,"context_line":"            ))"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        # TODO(ihrachys): apply filters to returned result"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_faf1b996","line":64,"in_reply_to":"5a3905b3_932444b3","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/plugins/ml2/drivers/linuxbridge/mech_driver/mech_linuxbridge.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":38,"context_line":"            constants.AGENT_TYPE_LINUXBRIDGE,"},{"line_number":39,"context_line":"            portbindings.VIF_TYPE_BRIDGE,"},{"line_number":40,"context_line":"            {portbindings.CAP_PORT_FILTER: sg_enabled})"},{"line_number":41,"context_line":"        lb_qos_driver.register()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def get_allowed_network_types(self, agent):"},{"line_number":44,"context_line":"        return (agent[\u0027configurations\u0027].get(\u0027tunnel_types\u0027, []) +"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_4f475bbb","line":41,"updated":"2017-01-13 20:13:27.000000000","message":"So register() will be called twice: once on qos plugin INIT event, and once here. Isn\u0027t it a problem?\n\nWhy do we even need two ways of doing the same thing? Why can\u0027t the driver subscribe to the event itself? (It already does it as part of __init__ from DriverBase, right?)","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":38,"context_line":"            constants.AGENT_TYPE_LINUXBRIDGE,"},{"line_number":39,"context_line":"            portbindings.VIF_TYPE_BRIDGE,"},{"line_number":40,"context_line":"            {portbindings.CAP_PORT_FILTER: sg_enabled})"},{"line_number":41,"context_line":"        lb_qos_driver.register()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def get_allowed_network_types(self, agent):"},{"line_number":44,"context_line":"        return (agent[\u0027configurations\u0027].get(\u0027tunnel_types\u0027, []) +"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_beb525ef","line":41,"in_reply_to":"7a3c09a3_4f475bbb","updated":"2017-01-16 16:25:27.000000000","message":"No no, register here (as for in the trunk plugins) is a module level method, basically creates an instance of the class (which will register on the callbacks through the driver base class and wait for the qos plugin to grab them all via class register method).\n\nIt will only create an instance of the class to make sure it\u0027s available for the QoS plugin consumption at the right moment.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"}],"neutron/plugins/ml2/drivers/mech_sriov/agent/extension_drivers/qos_driver.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from neutron.plugins.ml2.drivers.mech_sriov.agent.common import ("},{"line_number":20,"context_line":"    exceptions as exc)"},{"line_number":21,"context_line":"from neutron.plugins.ml2.drivers.mech_sriov.agent import eswitch_manager as esm"},{"line_number":22,"context_line":"from neutron.plugins.ml2.drivers.mech_sriov.mech_driver import ("},{"line_number":23,"context_line":"    mech_driver)"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_90abb074","side":"PARENT","line":22,"updated":"2017-01-05 15:21:18.000000000","message":"I believe it could be reasonable to move the implementation of the agent-side extensions to the qos plugin service directory, to finally group it all out of ml2.\n\nBut I\u0027d leave that to a 2nd patch, this is already huge enough.","commit_id":"a9464976757b0faf6f43c1bdf9f7420b1aa5c074"}],"neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        self.supported_vnic_types \u003d supported_vnic_types"},{"line_number":59,"context_line":"        # NOTE(ndipanov): PF passthrough requires a different vif type"},{"line_number":60,"context_line":"        self.vnic_type_for_vif_type \u003d ("},{"line_number":61,"context_line":"            {vtype: portbindings.VIF_TYPE_HOSTDEV_PHY"},{"line_number":62,"context_line":"                if vtype \u003d\u003d portbindings.VNIC_DIRECT_PHYSICAL"},{"line_number":63,"context_line":"                else portbindings.VIF_TYPE_HW_VEB"},{"line_number":64,"context_line":"             for vtype in self.supported_vnic_types})"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_8e0d7dea","line":61,"range":{"start_line":61,"start_character":19,"end_line":61,"end_character":53},"updated":"2016-11-17 11:56:36.000000000","message":"I don\u0027t want to be too severe, but is this change related?","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        self.supported_vnic_types \u003d supported_vnic_types"},{"line_number":59,"context_line":"        # NOTE(ndipanov): PF passthrough requires a different vif type"},{"line_number":60,"context_line":"        self.vnic_type_for_vif_type \u003d ("},{"line_number":61,"context_line":"            {vtype: portbindings.VIF_TYPE_HOSTDEV_PHY"},{"line_number":62,"context_line":"                if vtype \u003d\u003d portbindings.VNIC_DIRECT_PHYSICAL"},{"line_number":63,"context_line":"                else portbindings.VIF_TYPE_HW_VEB"},{"line_number":64,"context_line":"             for vtype in self.supported_vnic_types})"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_1e77dcd3","line":61,"range":{"start_line":61,"start_character":19,"end_line":61,"end_character":53},"in_reply_to":"7a77a97e_8e0d7dea","updated":"2016-11-17 13:04:45.000000000","message":"I can move it to a different patch, but it was weird to me that I could find all the VIF type constants in the portbindings extension, but not for SRIOV.","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7e4222ca337b1851fd682bb439fda9d71b0936c0","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        self.supported_vnic_types \u003d supported_vnic_types"},{"line_number":59,"context_line":"        # NOTE(ndipanov): PF passthrough requires a different vif type"},{"line_number":60,"context_line":"        self.vnic_type_for_vif_type \u003d ("},{"line_number":61,"context_line":"            {vtype: portbindings.VIF_TYPE_HOSTDEV_PHY"},{"line_number":62,"context_line":"                if vtype \u003d\u003d portbindings.VNIC_DIRECT_PHYSICAL"},{"line_number":63,"context_line":"                else portbindings.VIF_TYPE_HW_VEB"},{"line_number":64,"context_line":"             for vtype in self.supported_vnic_types})"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_9353da38","line":61,"range":{"start_line":61,"start_character":19,"end_line":61,"end_character":53},"in_reply_to":"7a77a97e_8e0d7dea","updated":"2016-11-17 15:54:26.000000000","message":"I extracted it here now: https://review.openstack.org/399103","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        self.vnic_type_for_vif_type \u003d ("},{"line_number":61,"context_line":"            {vtype: portbindings.VIF_TYPE_HOSTDEV_PHY"},{"line_number":62,"context_line":"                if vtype \u003d\u003d portbindings.VNIC_DIRECT_PHYSICAL"},{"line_number":63,"context_line":"                else portbindings.VIF_TYPE_HW_VEB"},{"line_number":64,"context_line":"             for vtype in self.supported_vnic_types})"},{"line_number":65,"context_line":"        self.vif_details \u003d vif_details"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_0e024db4","line":63,"range":{"start_line":63,"start_character":21,"end_line":63,"end_character":33},"updated":"2016-11-17 11:56:36.000000000","message":"ditto","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        self.vnic_type_for_vif_type \u003d ("},{"line_number":61,"context_line":"            {vtype: portbindings.VIF_TYPE_HOSTDEV_PHY"},{"line_number":62,"context_line":"                if vtype \u003d\u003d portbindings.VNIC_DIRECT_PHYSICAL"},{"line_number":63,"context_line":"                else portbindings.VIF_TYPE_HW_VEB"},{"line_number":64,"context_line":"             for vtype in self.supported_vnic_types})"},{"line_number":65,"context_line":"        self.vif_details \u003d vif_details"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_9e512c39","line":63,"range":{"start_line":63,"start_character":21,"end_line":63,"end_character":33},"in_reply_to":"7a77a97e_0e024db4","updated":"2016-11-17 13:04:45.000000000","message":"Same thing :)","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":30,"context_line":"VIF_TYPE_HW_VEB \u003d \u0027hw_veb\u0027"},{"line_number":31,"context_line":"VIF_TYPE_HOSTDEV_PHY \u003d \u0027hostdev_physical\u0027"},{"line_number":32,"context_line":"FLAT_VLAN \u003d 0"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_51ff85a9","side":"PARENT","line":30,"updated":"2016-11-17 13:10:12.000000000","message":"Separate this change to another patch.","commit_id":"d41bed0ee674e26f58e5ffe51198260ff765ccf6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"fa8a118652d11081b784eefbd26fe892fcf4976b","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":30,"context_line":"VIF_TYPE_HW_VEB \u003d \u0027hw_veb\u0027"},{"line_number":31,"context_line":"VIF_TYPE_HOSTDEV_PHY \u003d \u0027hostdev_physical\u0027"},{"line_number":32,"context_line":"FLAT_VLAN \u003d 0"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_65f03768","side":"PARENT","line":30,"in_reply_to":"7a77a97e_51ff85a9","updated":"2016-11-17 15:49:01.000000000","message":"Done","commit_id":"d41bed0ee674e26f58e5ffe51198260ff765ccf6"}],"neutron/services/qos/drivers/__init__.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"# under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from neutron.services.qos.drivers.linuxbridge import driver as lxb_driver"},{"line_number":17,"context_line":"from neutron.services.qos.drivers.openvswitch import driver as ovs_driver"},{"line_number":18,"context_line":"from neutron.services.qos.drivers.sriov import driver as sriov_driver"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_5b14bb4b","line":16,"updated":"2016-11-18 21:01:52.000000000","message":"nit: isn\u0027t \"lb_driver\" better name? even in comment in L23 You are using LB shortcut instead of lxb","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"# under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from neutron.services.qos.drivers.linuxbridge import driver as lxb_driver"},{"line_number":17,"context_line":"from neutron.services.qos.drivers.openvswitch import driver as ovs_driver"},{"line_number":18,"context_line":"from neutron.services.qos.drivers.sriov import driver as sriov_driver"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_c7c69348","line":16,"in_reply_to":"7a77a97e_10e11cff","updated":"2016-11-25 13:36:34.000000000","message":"Done","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"# under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from neutron.services.qos.drivers.linuxbridge import driver as lxb_driver"},{"line_number":17,"context_line":"from neutron.services.qos.drivers.openvswitch import driver as ovs_driver"},{"line_number":18,"context_line":"from neutron.services.qos.drivers.sriov import driver as sriov_driver"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_10e11cff","line":16,"in_reply_to":"7a77a97e_5b14bb4b","updated":"2016-11-21 09:28:18.000000000","message":"Yeah, I can change it, it\u0027s copy\u0026paste from trunk ports driver,  :)","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"def register():"},{"line_number":22,"context_line":"    \"\"\"Load in-tree drivers for the service plugin.\"\"\""},{"line_number":23,"context_line":"    # Enable the qos plugin to work with ML2/OVS,LB and SRIOV. Support"},{"line_number":24,"context_line":"    # for other drivers can be added similarly by executing the registration"},{"line_number":25,"context_line":"    # code at the time of plugin/mech driver initialization. There should"},{"line_number":26,"context_line":"    # be at least one compatible driver enabled in the deployment for qos"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_9b23b3bc","line":23,"range":{"start_line":23,"start_character":45,"end_line":23,"end_character":51},"updated":"2016-11-18 21:01:52.000000000","message":"nit: free space after comma isn\u0027t missing here?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c68a454c654ed1275c68933b3eada9be36194e8f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_7da9d0de","line":31,"updated":"2016-11-25 13:33:56.000000000","message":"why do you want to register in-tree drivers and out-of-tree drivers differently?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4dddc3a61037c85774f35a00658d79ccdb4d4ee2","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_250bbe8f","line":31,"in_reply_to":"5a74a57a_1d645c20","updated":"2016-11-25 13:50:58.000000000","message":"i don\u0027t follow.\nmy question is, why the reference drivers can\u0027t be registered by their mech drivers, in the same way out-of-tree drivers does?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"60ec3e8a0213b6b696fdb7af863e14e8bb2561ff","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_6c43326d","line":31,"in_reply_to":"5a74a57a_250bbe8f","updated":"2016-11-30 12:41:42.000000000","message":"Because we want the code references in the reference implementation to be uni directional qos-\u003emech drivers (following the pattern here https://github.com/openstack/neutron/blob/master/neutron/services/trunk/drivers/__init__.py)\n\nSo everything QoS related could live on it\u0027s own directory. (NOTE: This is not true yet while we have the ml2 plugin a little bit infested with QoS specific changes, but I eventually want to make that go away too).\n\nIt\u0027s only a design decision, but we could do it as you suggest, and it\u0027d work perfectly fine too.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2a43a00c1a4d83b7b2360e712f7b7845ab55518a","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5201f7_2e0b602b","line":31,"in_reply_to":"5a74a57a_6c43326d","updated":"2017-01-06 13:52:37.000000000","message":"but it\u0027s achieved only for the in-tree drivers, right?\nit\u0027s better not to follow a bad precedent.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2175cc3bda81cd022fd9171180109b5f95ba800a","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_1d645c20","line":31,"in_reply_to":"5a74a57a_7da9d0de","updated":"2016-11-25 13:46:01.000000000","message":"For the reference implementation somebody needs to load them, it could be the ml2 plugin, or mechanism drivers for instance.\n\nBut the intention was (as for the trunk port example armax worked on)  to totally decouple ml2 from the QoS/Trunk plugin.\n\nSo we register the reference drivers from the QoS plugin, *but* they only go really enabled if the specific mech drivers are loaded. In your case (midonet), you can register your driver from the mechanism driver or your monolithic plugin.\n\nThis is where OVN does it for example: https://github.com/openstack/networking-ovn/blob/master/networking_ovn/ml2/mech_driver.py#L103","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4f2a1830a2eb44fd1cb5e52da6f18c3b2515a2c7","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5201f7_4299f71e","line":31,"in_reply_to":"ba5201f7_0cd8131d","updated":"2017-01-10 06:29:23.000000000","message":"i prefer to use the same way for both of in-tree and out-of-tree drivers because otherwise the way for out-of-tree ones will not be covered by neutron gate jobs.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"922acbce32ef7d2804da41039913f7660bdd8c36","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    # driver is found in the deployment."},{"line_number":29,"context_line":"    lxb_driver.register()"},{"line_number":30,"context_line":"    ovs_driver.register()"},{"line_number":31,"context_line":"    sriov_driver.register()"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5201f7_0cd8131d","line":31,"in_reply_to":"ba5201f7_2e0b602b","updated":"2017-01-09 21:07:20.000000000","message":"Ok, I\u0027ll move it to the other side, and let\u0027s discuss that later, I don\u0027t think it\u0027s a bad precedent, just a design decision.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"def register():"},{"line_number":22,"context_line":"    \"\"\"Load in-tree drivers for the service plugin.\"\"\""},{"line_number":23,"context_line":"    # Enable the qos plugin to work with ML2/OVS,LB and SRIOV. Support"},{"line_number":24,"context_line":"    # for other drivers can be added similarly by executing the registration"},{"line_number":25,"context_line":"    # code at the time of plugin/mech driver initialization. There should"},{"line_number":26,"context_line":"    # be at least one compatible driver enabled in the deployment for qos"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_846ac2eb","line":23,"range":{"start_line":23,"start_character":48,"end_line":23,"end_character":49},"updated":"2016-12-21 12:41:17.000000000","message":", should have a space afteward","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"def register():"},{"line_number":22,"context_line":"    \"\"\"Load in-tree drivers for the service plugin.\"\"\""},{"line_number":23,"context_line":"    # Enable the qos plugin to work with ML2/OVS,LB and SRIOV. Support"},{"line_number":24,"context_line":"    # for other drivers can be added similarly by executing the registration"},{"line_number":25,"context_line":"    # code at the time of plugin/mech driver initialization. There should"},{"line_number":26,"context_line":"    # be at least one compatible driver enabled in the deployment for qos"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_0e3c67e1","line":23,"range":{"start_line":23,"start_character":48,"end_line":23,"end_character":49},"in_reply_to":"1a6eadb0_846ac2eb","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"}],"neutron/services/qos/drivers/base.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                      determine if at least one active driver is capable of"},{"line_number":113,"context_line":"                      supporting the policy rules combination."},{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_a9cdd3b8","line":115,"range":{"start_line":115,"start_character":7,"end_line":115,"end_character":61},"updated":"2016-11-17 11:56:36.000000000","message":"Where are you using this result?","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                      determine if at least one active driver is capable of"},{"line_number":113,"context_line":"                      supporting the policy rules combination."},{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_3e2e58a5","line":115,"range":{"start_line":115,"start_character":7,"end_line":115,"end_character":61},"in_reply_to":"7a77a97e_a9cdd3b8","updated":"2016-11-17 13:04:45.000000000","message":"Not yet, I can leave it as pass, and put a TO-DO note.\n\nThe idea behind this, is that we can leverage this on a later patch and block any policy change which is not supported by any driver.\n\nBut, may be this should be on another method to be checked before even modifying the database.\n\nAnyway this is unrelated, and more related to validation, I will remove it.","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        \"\"\""},{"line_number":86,"context_line":"        trigger.register_driver(self)"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def create_policy(self, context, policy):"},{"line_number":89,"context_line":"        \"\"\"Create policy invocation."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_094a4755","line":88,"range":{"start_line":88,"start_character":8,"end_line":88,"end_character":21},"updated":"2016-11-17 11:58:03.000000000","message":"why not @abc.abstractmethod","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        \"\"\""},{"line_number":86,"context_line":"        trigger.register_driver(self)"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def create_policy(self, context, policy):"},{"line_number":89,"context_line":"        \"\"\"Create policy invocation."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_316be986","line":88,"range":{"start_line":88,"start_character":8,"end_line":88,"end_character":21},"in_reply_to":"7a77a97e_094a4755","updated":"2016-11-17 13:10:12.000000000","message":"Because I don\u0027t want to enforce implementation, some drivers will do absolutely nothing (actually that\u0027s the case for most drivers on tree).","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                      determine if at least one active driver is capable of"},{"line_number":113,"context_line":"                      supporting the policy rules combination."},{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_b10d39ea","line":115,"updated":"2016-11-17 13:10:12.000000000","message":"note: remove this, unrelated.","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"fa8a118652d11081b784eefbd26fe892fcf4976b","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                      determine if at least one active driver is capable of"},{"line_number":113,"context_line":"                      supporting the policy rules combination."},{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_a5b40f82","line":115,"in_reply_to":"7a77a97e_b10d39ea","updated":"2016-11-17 15:49:01.000000000","message":"Done","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_096167d3","line":117,"range":{"start_line":117,"start_character":8,"end_line":117,"end_character":21},"updated":"2016-11-17 11:58:03.000000000","message":"why not @abc.abstractmethod","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        return all(map(self.is_rule_supported, policy.rules))"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":118,"context_line":"        \"\"\"Delete policy invocation."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_710721ca","line":117,"range":{"start_line":117,"start_character":8,"end_line":117,"end_character":21},"in_reply_to":"7a77a97e_096167d3","updated":"2016-11-17 13:10:12.000000000","message":"same here :)","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":38,"context_line":"               expects rpc push notifications to be sent from the driver."},{"line_number":39,"context_line":"        \"\"\""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        self.name \u003d name"},{"line_number":42,"context_line":"        self.interfaces \u003d interfaces"},{"line_number":43,"context_line":"        self.vnics \u003d vnics"},{"line_number":44,"context_line":"        self.supported_rules \u003d supported_rules"}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_2bb9b979","line":41,"updated":"2017-01-05 15:21:18.000000000","message":"We could avoid this whole thing, and rely on the class constants defined in the next class, moving those up here.","commit_id":"62bee3f192c9251991f0f86c08ce387505f49a6d"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                   cls.SUPPORTED_INTERFACES,"},{"line_number":154,"context_line":"                   cls.SUPPORTED_VNICS,"},{"line_number":155,"context_line":"                   cls.SUPPORTED_RULES,"},{"line_number":156,"context_line":"                   requires_rpc_notifications\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_ab9a096c","line":156,"updated":"2017-01-05 15:21:18.000000000","message":"moving this True to a VAR too, since for example, OVN or other mech drivers with no notifications required may want to implement this class too.","commit_id":"62bee3f192c9251991f0f86c08ce387505f49a6d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2c49f1b6fb7734fd5abacf4c09dd64b4603a5f5c","unresolved":false,"context_lines":[{"line_number":144,"context_line":"    @property"},{"line_number":145,"context_line":"    def is_loaded(self):"},{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            return self.NAME in cfg.CONF.ml2.mechanism_drivers"},{"line_number":148,"context_line":"        except cfg.NoSuchOptError:"},{"line_number":149,"context_line":"            return False"},{"line_number":150,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_cb35bbdb","line":147,"range":{"start_line":147,"start_character":19,"end_line":147,"end_character":62},"updated":"2017-01-11 12:09:14.000000000","message":"this seems no longer necessary as register() is not called unless the corresponding mech driver is configured.","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"05835c0d2147f14e73223751c5b67dbce9c073f8","unresolved":false,"context_lines":[{"line_number":144,"context_line":"    @property"},{"line_number":145,"context_line":"    def is_loaded(self):"},{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            return self.NAME in cfg.CONF.ml2.mechanism_drivers"},{"line_number":148,"context_line":"        except cfg.NoSuchOptError:"},{"line_number":149,"context_line":"            return False"},{"line_number":150,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_6954cdfd","line":147,"range":{"start_line":147,"start_character":19,"end_line":147,"end_character":62},"in_reply_to":"ba5201f7_47829701","updated":"2017-01-11 15:12:43.000000000","message":"Done","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"c493318a89689da027a9e5c1338a40eddeafec96","unresolved":false,"context_lines":[{"line_number":144,"context_line":"    @property"},{"line_number":145,"context_line":"    def is_loaded(self):"},{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            return self.NAME in cfg.CONF.ml2.mechanism_drivers"},{"line_number":148,"context_line":"        except cfg.NoSuchOptError:"},{"line_number":149,"context_line":"            return False"},{"line_number":150,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_47829701","line":147,"range":{"start_line":147,"start_character":19,"end_line":147,"end_character":62},"in_reply_to":"ba5201f7_cb35bbdb","updated":"2017-01-11 13:54:45.000000000","message":"Oh, good catch! :)\n\nI guess with that in mind I could collapse the whole class to DriverBase, since this won\u0027t have any ml2 specifics.\n\nDoes that make sense?","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class DriverBase(object):"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    NAME \u003d None"},{"line_number":25,"context_line":"    SUPPORTED_INTERFACES \u003d []"},{"line_number":26,"context_line":"    SUPPORTED_VNICS \u003d []"},{"line_number":27,"context_line":"    SUPPORTED_RULES \u003d []"},{"line_number":28,"context_line":"    REQUIRES_RPC_NOTIFICATIONS \u003d False"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, name, interfaces, vnics,"},{"line_number":31,"context_line":"                 supported_rules,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_8f2b0382","line":28,"range":{"start_line":24,"start_character":4,"end_line":28,"end_character":38},"updated":"2017-01-13 20:13:27.000000000","message":"Is it intended upper case? I see you use lower case in other places. Names also don\u0027t reflect what\u0027s in __init__.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class DriverBase(object):"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    NAME \u003d None"},{"line_number":25,"context_line":"    SUPPORTED_INTERFACES \u003d []"},{"line_number":26,"context_line":"    SUPPORTED_VNICS \u003d []"},{"line_number":27,"context_line":"    SUPPORTED_RULES \u003d []"},{"line_number":28,"context_line":"    REQUIRES_RPC_NOTIFICATIONS \u003d False"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, name, interfaces, vnics,"},{"line_number":31,"context_line":"                 supported_rules,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_fe788dc6","line":28,"range":{"start_line":24,"start_character":4,"end_line":28,"end_character":38},"in_reply_to":"7a3c09a3_8f2b0382","updated":"2017-01-16 16:25:27.000000000","message":"I will normalize this to make it go through the __init__ in low case.\n\nTBH it\u0027s a left over from a previous class that was extending this one, but now it doesn\u0027t make sense to keep it like this (beyond making the extended clases cleaner may be... we can just call super\u0027s __init__ with the right params.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        \"\"\"Instantiate a qos driver."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        :param name: driver name."},{"line_number":36,"context_line":"        :param interfaces: list of interfaces supported."},{"line_number":37,"context_line":"        :param vnics: list of vnic types supported."},{"line_number":38,"context_line":"        :param supported_rules: list of supported rules."},{"line_number":39,"context_line":"        :param requires_rpc_notifications: indicates if this driver"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_ef964793","line":36,"range":{"start_line":36,"start_character":27,"end_line":36,"end_character":56},"updated":"2017-01-13 20:13:27.000000000","message":"which interfaces are we talking about? it\u0027s not clear from the docstring. Seems like it\u0027s vif types, but it\u0027s not clear at all.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        \"\"\"Instantiate a qos driver."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        :param name: driver name."},{"line_number":36,"context_line":"        :param interfaces: list of interfaces supported."},{"line_number":37,"context_line":"        :param vnics: list of vnic types supported."},{"line_number":38,"context_line":"        :param supported_rules: list of supported rules."},{"line_number":39,"context_line":"        :param requires_rpc_notifications: indicates if this driver"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_5e90c1ec","line":36,"range":{"start_line":36,"start_character":27,"end_line":36,"end_character":56},"in_reply_to":"7a3c09a3_ef964793","updated":"2017-01-16 16:25:27.000000000","message":"vif types, I\u0027ll rename it to vif_types. Thanks","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        :param vnics: list of vnic types supported."},{"line_number":38,"context_line":"        :param supported_rules: list of supported rules."},{"line_number":39,"context_line":"        :param requires_rpc_notifications: indicates if this driver"},{"line_number":40,"context_line":"               expects rpc push notifications to be sent from the driver."},{"line_number":41,"context_line":"        \"\"\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        self.name \u003d name"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_8feea320","line":40,"range":{"start_line":40,"start_character":23,"end_line":40,"end_character":26},"updated":"2017-01-13 20:13:27.000000000","message":"RPC","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    @classmethod"},{"line_number":53,"context_line":"    def create(cls):"},{"line_number":54,"context_line":"        if cls.NAME is None:"},{"line_number":55,"context_line":"            raise ValueError(\u0027Your QoS driver must define a NAME attribute\u0027"},{"line_number":56,"context_line":"                             \u0027at class level\u0027)"},{"line_number":57,"context_line":"        return cls(cls.NAME,"},{"line_number":58,"context_line":"                   cls.SUPPORTED_INTERFACES,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_4f603bcf","line":55,"range":{"start_line":55,"start_character":28,"end_line":55,"end_character":30},"updated":"2017-01-13 20:13:27.000000000","message":"Do we need translation for the error?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    @classmethod"},{"line_number":53,"context_line":"    def create(cls):"},{"line_number":54,"context_line":"        if cls.NAME is None:"},{"line_number":55,"context_line":"            raise ValueError(\u0027Your QoS driver must define a NAME attribute\u0027"},{"line_number":56,"context_line":"                             \u0027at class level\u0027)"},{"line_number":57,"context_line":"        return cls(cls.NAME,"},{"line_number":58,"context_line":"                   cls.SUPPORTED_INTERFACES,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_0f6633ed","line":55,"range":{"start_line":55,"start_character":74,"end_line":55,"end_character":75},"updated":"2017-01-13 20:13:27.000000000","message":"Missing space after \u0027attribute\u0027","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    @classmethod"},{"line_number":53,"context_line":"    def create(cls):"},{"line_number":54,"context_line":"        if cls.NAME is None:"},{"line_number":55,"context_line":"            raise ValueError(\u0027Your QoS driver must define a NAME attribute\u0027"},{"line_number":56,"context_line":"                             \u0027at class level\u0027)"},{"line_number":57,"context_line":"        return cls(cls.NAME,"},{"line_number":58,"context_line":"                   cls.SUPPORTED_INTERFACES,"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_847ad6ef","line":55,"range":{"start_line":55,"start_character":28,"end_line":55,"end_character":30},"in_reply_to":"7a3c09a3_4f603bcf","updated":"2017-01-16 16:25:27.000000000","message":"It\u0027d be a programming error, so no translation. Anyway, I\u0027ll take this away by returning it to a normal __init__ parameter usage.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    @classmethod"},{"line_number":53,"context_line":"    def create(cls):"},{"line_number":54,"context_line":"        if cls.NAME is None:"},{"line_number":55,"context_line":"            raise ValueError(\u0027Your QoS driver must define a NAME attribute\u0027"},{"line_number":56,"context_line":"                             \u0027at class level\u0027)"},{"line_number":57,"context_line":"        return cls(cls.NAME,"},{"line_number":58,"context_line":"                   cls.SUPPORTED_INTERFACES,"},{"line_number":59,"context_line":"                   cls.SUPPORTED_VNICS,"},{"line_number":60,"context_line":"                   cls.SUPPORTED_RULES,"},{"line_number":61,"context_line":"                   requires_rpc_notifications\u003dcls.REQUIRES_RPC_NOTIFICATIONS)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    def is_loaded(self):"},{"line_number":64,"context_line":"        \"\"\"True if the driver is active for the Neutron Server."}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_2f4ccf6f","line":61,"range":{"start_line":54,"start_character":8,"end_line":61,"end_character":77},"updated":"2017-01-13 20:13:27.000000000","message":"same issue with caps lock?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        \"\"\"True if the driver is compatible with the interface.\"\"\""},{"line_number":73,"context_line":"        return interface in self.interfaces"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def is_vnic_compatible(self, vnic):"},{"line_number":76,"context_line":"        \"\"\"True if the driver is compatible with the specific vnic type.\"\"\""},{"line_number":77,"context_line":"        return vnic in self.vnics"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_6f825754","line":75,"range":{"start_line":75,"start_character":33,"end_line":75,"end_character":37},"updated":"2017-01-13 20:13:27.000000000","message":"vnic or vnic type?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        \"\"\"True if the driver is compatible with the interface.\"\"\""},{"line_number":73,"context_line":"        return interface in self.interfaces"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def is_vnic_compatible(self, vnic):"},{"line_number":76,"context_line":"        \"\"\"True if the driver is compatible with the specific vnic type.\"\"\""},{"line_number":77,"context_line":"        return vnic in self.vnics"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_594b7bb0","line":75,"range":{"start_line":75,"start_character":33,"end_line":75,"end_character":37},"in_reply_to":"7a3c09a3_6f825754","updated":"2017-01-16 16:25:27.000000000","message":"vnic_type","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def is_vnic_compatible(self, vnic):"},{"line_number":76,"context_line":"        \"\"\"True if the driver is compatible with the specific vnic type.\"\"\""},{"line_number":77,"context_line":"        return vnic in self.vnics"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    def is_rule_supported(self, rule):"},{"line_number":80,"context_line":"        return rule.rule_type in self.supported_rules"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_2fba0f24","line":77,"range":{"start_line":77,"start_character":28,"end_line":77,"end_character":33},"updated":"2017-01-13 20:13:27.000000000","message":"if it\u0027s about vnic types then maybe the attribute should be named as such (self.vnic_types).","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def is_vnic_compatible(self, vnic):"},{"line_number":76,"context_line":"        \"\"\"True if the driver is compatible with the specific vnic type.\"\"\""},{"line_number":77,"context_line":"        return vnic in self.vnics"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    def is_rule_supported(self, rule):"},{"line_number":80,"context_line":"        return rule.rule_type in self.supported_rules"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_d9d5abb9","line":77,"range":{"start_line":77,"start_character":28,"end_line":77,"end_character":33},"in_reply_to":"7a3c09a3_2fba0f24","updated":"2017-01-16 16:25:27.000000000","message":"Ack.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        return rule.rule_type in self.supported_rules"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    @property"},{"line_number":83,"context_line":"    def supported_rule_types(self):"},{"line_number":84,"context_line":"        return self.supported_rules"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"    def register(self, resource, event, trigger, **kwargs):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_cfcfcbae","line":83,"updated":"2017-01-13 20:13:27.000000000","message":"what\u0027s the goal of the property? Why isn\u0027t self.supported_rules enough?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        return rule.rule_type in self.supported_rules"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    @property"},{"line_number":83,"context_line":"    def supported_rule_types(self):"},{"line_number":84,"context_line":"        return self.supported_rules"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"    def register(self, resource, event, trigger, **kwargs):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_842c9603","line":83,"in_reply_to":"7a3c09a3_cfcfcbae","updated":"2017-01-16 16:25:27.000000000","message":"Hmm, I believe it\u0027s not necessary.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    def register(self, resource, event, trigger, **kwargs):"},{"line_number":87,"context_line":"        \"\"\"Register the qos driver."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        This method should be overridden so that the driver can subscribe"},{"line_number":90,"context_line":"        to the required qos events. The driver should also advertise"},{"line_number":91,"context_line":"        itself as supported driver by calling register_driver() on the"},{"line_number":92,"context_line":"        QoSPlugin otherwise the qos plugin may fail to start if no"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_cfb98beb","line":89,"range":{"start_line":89,"start_character":8,"end_line":89,"end_character":40},"updated":"2017-01-13 20:13:27.000000000","message":"This seems like an internal callback to me. Can we provide a specific abstract method to define by drivers, without the worthless parameters (resource, event, maybe kwargs)?\n\n@abstractmethod\ndef initialize(self, plugin):\n    pass\n\nThen call self.initialize() from register() here.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    def register(self, resource, event, trigger, **kwargs):"},{"line_number":87,"context_line":"        \"\"\"Register the qos driver."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        This method should be overridden so that the driver can subscribe"},{"line_number":90,"context_line":"        to the required qos events. The driver should also advertise"},{"line_number":91,"context_line":"        itself as supported driver by calling register_driver() on the"},{"line_number":92,"context_line":"        QoSPlugin otherwise the qos plugin may fail to start if no"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_799677f1","line":89,"range":{"start_line":89,"start_character":8,"end_line":89,"end_character":40},"in_reply_to":"7a3c09a3_cfb98beb","updated":"2017-01-16 16:25:27.000000000","message":"I like it, thanks. I didn\u0027t make it abstract anyway, because it\u0027s the same implementation for all the drivers so far. I explained that it can be overriden for any other specific need.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        :param policy: a QoSPolicy object being created, which will have no"},{"line_number":115,"context_line":"                      rules."},{"line_number":116,"context_line":"        \"\"\""},{"line_number":117,"context_line":"        pass"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def update_policy(self, context, policy):"},{"line_number":120,"context_line":"        \"\"\"Update policy invocation."}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_0f93935c","line":117,"updated":"2017-01-13 20:13:27.000000000","message":"nit: redundant line, here and below","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        :param policy: a QoSPolicy object being created, which will have no"},{"line_number":115,"context_line":"                      rules."},{"line_number":116,"context_line":"        \"\"\""},{"line_number":117,"context_line":"        pass"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def update_policy(self, context, policy):"},{"line_number":120,"context_line":"        \"\"\"Update policy invocation."}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_a408b292","line":117,"in_reply_to":"7a3c09a3_0f93935c","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        if self.is_loaded:"},{"line_number":92,"context_line":"            driver_manager.register_driver(self)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def create_policy(self, context, policy):"},{"line_number":95,"context_line":"        \"\"\"Create policy invocation."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_51776b01","line":94,"updated":"2017-01-18 01:14:22.000000000","message":"netwrking-odl needs xxx_policy_precommit hooks too.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2893d879250e0bb6e135f137b10fe1e895b619b9","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        if self.is_loaded:"},{"line_number":92,"context_line":"            driver_manager.register_driver(self)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def create_policy(self, context, policy):"},{"line_number":95,"context_line":"        \"\"\"Create policy invocation."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        This method can be implemented by the specific driver subclass"}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_841fc159","line":94,"in_reply_to":"7a3c09a3_51776b01","updated":"2017-01-18 08:59:46.000000000","message":"This is only refactoring the existing mechanism.\n\nI\u0027m perfectly fine with that, but, Could you explain the reasoning? I guess it\u0027s due to the HTTP backend nature, right?\n\nLet\u0027s handle that as a separate change, this is already big enough for reviewers.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        return rule.rule_type in self.supported_rules"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def _register(self, resource, event, trigger, **kwargs):"},{"line_number":66,"context_line":"        \"\"\"Register the qos driver."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        This method receives the event of QoS plugin initialization"},{"line_number":69,"context_line":"        (AFTER_INIT), and passes the QosServiceDriverManager"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_f344a81c","line":66,"updated":"2017-01-24 18:14:44.000000000","message":"I am not sure there is much value in keeping the docstring since it\u0027s an internal method. We could go as far as defining this simple callable inline as a lambda in L42, but that\u0027s a matter of taste.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"079cef59ddfcd0acc7dfe9de401a645e1d7540f8","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        return rule.rule_type in self.supported_rules"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def _register(self, resource, event, trigger, **kwargs):"},{"line_number":66,"context_line":"        \"\"\"Register the qos driver."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        This method receives the event of QoS plugin initialization"},{"line_number":69,"context_line":"        (AFTER_INIT), and passes the QosServiceDriverManager"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_1a304007","line":66,"in_reply_to":"5a3905b3_0b76353e","updated":"2017-01-25 11:23:03.000000000","message":"Ehhmm, you can lanbda kwargs if you do it right:\n\n     lambda resource, event trigger, **kwargs: ....\n\n\u0027:D","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        return rule.rule_type in self.supported_rules"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def _register(self, resource, event, trigger, **kwargs):"},{"line_number":66,"context_line":"        \"\"\"Register the qos driver."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        This method receives the event of QoS plugin initialization"},{"line_number":69,"context_line":"        (AFTER_INIT), and passes the QosServiceDriverManager"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_0b76353e","line":66,"in_reply_to":"5a3905b3_f344a81c","updated":"2017-01-25 10:52:01.000000000","message":"Lambdas don\u0027t like **kwargs :/\n\n\u003e\u003e\u003e lambda(resource, event, trigger, kwargs): resource\n\u003cfunction \u003clambda\u003e at 0x10e3f95f0\u003e\n\u003e\u003e\u003e lambda(resource, event, trigger, **kwargs): resource\n  File \"\u003cstdin\u003e\", line 1\n    lambda(resource, event, trigger, **kwargs): resource\n                                      ^\nSyntaxError: invalid syntax\n\n\nI will reduce the docstring, I agree it isn\u0027t necessary now.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        \"\"\"Register the qos driver."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"           This method can be overridden to handle subscription"},{"line_number":83,"context_line":"           to the required qos events. The driver should also advertise"},{"line_number":84,"context_line":"           itself as supported driver by calling register_driver() on the"},{"line_number":85,"context_line":"           QoSPlugin otherwise the qos plugin may fail to start if no"},{"line_number":86,"context_line":"           compatible configuration is found."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"           :param driver_manager: neutron.service.qos.drivers.manager."}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_13f854c4","line":85,"range":{"start_line":83,"start_character":39,"end_line":85,"end_character":20},"updated":"2017-01-24 18:14:44.000000000","message":"then wouldn\u0027t it make sense to do it as part of _register, and leave register (no underscore) empty for extension matters?","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        \"\"\"Register the qos driver."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"           This method can be overridden to handle subscription"},{"line_number":83,"context_line":"           to the required qos events. The driver should also advertise"},{"line_number":84,"context_line":"           itself as supported driver by calling register_driver() on the"},{"line_number":85,"context_line":"           QoSPlugin otherwise the qos plugin may fail to start if no"},{"line_number":86,"context_line":"           compatible configuration is found."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"           :param driver_manager: neutron.service.qos.drivers.manager."}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_0b4e35c1","line":85,"range":{"start_line":83,"start_character":39,"end_line":85,"end_character":20},"in_reply_to":"5a3905b3_13f854c4","updated":"2017-01-25 10:52:01.000000000","message":"We probably don\u0027t even need register to be overridable, since is_loaded is and we will check that.\n\nWe could at this at a later time if necessary. I\u0027ll remove this for now and move the L91:92 into _register\n\nWe can add a registered method/event at a later time if we find the need, I don\u0027t see any advantage or need now, since in this case we will receive the event\u0027s through methods (create_policy/update_policy/etc..)","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/services/qos/drivers/linuxbridge/driver.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":63,"context_line":"    global DRIVER"},{"line_number":64,"context_line":"    DRIVER \u003d LinuxBridgeDriver.create()"},{"line_number":65,"context_line":"    LOG.debug(\u0027Linuxbridge QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_8310f65a","line":65,"updated":"2016-11-17 11:56:36.000000000","message":"Where is the registry.subscribe call? Should be here, isn\u0027t it?","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":63,"context_line":"    global DRIVER"},{"line_number":64,"context_line":"    DRIVER \u003d LinuxBridgeDriver.create()"},{"line_number":65,"context_line":"    LOG.debug(\u0027Linuxbridge QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_113a6dcc","line":65,"in_reply_to":"7a77a97e_8310f65a","updated":"2016-11-17 13:04:45.000000000","message":"No, that\u0027s on the base.DriverBase __init__\n\nhttps://review.openstack.org/#/c/396651/6/neutron/services/qos/drivers/base.py@44","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":61,"context_line":"def register():"},{"line_number":62,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":63,"context_line":"    global DRIVER"},{"line_number":64,"context_line":"    DRIVER \u003d LinuxBridgeDriver.create()"},{"line_number":65,"context_line":"    LOG.debug(\u0027Linuxbridge QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_c661ced4","line":64,"updated":"2016-11-18 21:01:52.000000000","message":"what if something will call this method twice? shouldn\u0027t You check if DRIVER is None and only then create instance of it?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":61,"context_line":"def register():"},{"line_number":62,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":63,"context_line":"    global DRIVER"},{"line_number":64,"context_line":"    DRIVER \u003d LinuxBridgeDriver.create()"},{"line_number":65,"context_line":"    LOG.debug(\u0027Linuxbridge QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_f0a90092","line":64,"in_reply_to":"7a77a97e_c661ced4","updated":"2016-11-21 09:28:18.000000000","message":"again C\u0026P from the trunk driver, I believe DRIVER is not used, may be for testing, I must check that.\n\n\nBut I agree we could make use of it to avoid duplicate registration of drivers.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":61,"context_line":"def register():"},{"line_number":62,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":63,"context_line":"    global DRIVER"},{"line_number":64,"context_line":"    DRIVER \u003d LinuxBridgeDriver.create()"},{"line_number":65,"context_line":"    LOG.debug(\u0027Linuxbridge QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_277ae7f1","line":64,"in_reply_to":"7a77a97e_f0a90092","updated":"2016-11-25 13:36:34.000000000","message":"Done","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":42,"context_line":"    )"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    SUPPORTED_RULES \u003d ("},{"line_number":45,"context_line":"        qos_consts.RULE_TYPE_BANDWIDTH_LIMIT,"},{"line_number":46,"context_line":"        qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":47,"context_line":"    )"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_2fae8f85","line":44,"updated":"2017-01-13 20:13:27.000000000","message":"defined twice?..","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":42,"context_line":"    )"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    SUPPORTED_RULES \u003d ("},{"line_number":45,"context_line":"        qos_consts.RULE_TYPE_BANDWIDTH_LIMIT,"},{"line_number":46,"context_line":"        qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":47,"context_line":"    )"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_dfce6bb3","line":44,"in_reply_to":"7a3c09a3_2fae8f85","updated":"2017-01-16 16:25:27.000000000","message":"Woops :D","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"}],"neutron/services/qos/drivers/manager.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.conf.services import qos_driver_manager as qos_mgr"},{"line_number":21,"context_line":"from neutron.objects.qos import policy as policy_object"},{"line_number":22,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"qos_mgr.register_qos_plugin_opts()"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_6f057f0f","line":23,"updated":"2016-12-21 12:41:17.000000000","message":"only need one new line here","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dea6881d5d1eebc2aa2528d96965e41cd98f4a02","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.conf.services import qos_driver_manager as qos_mgr"},{"line_number":21,"context_line":"from neutron.objects.qos import policy as policy_object"},{"line_number":22,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"qos_mgr.register_qos_plugin_opts()"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa48f94a_666c769d","line":23,"in_reply_to":"1a6eadb0_6f057f0f","updated":"2017-01-02 16:33:45.000000000","message":"ooops, thanks :)","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.conf.services import qos_driver_manager as qos_mgr"},{"line_number":21,"context_line":"from neutron.objects.qos import policy as policy_object"},{"line_number":22,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"qos_mgr.register_qos_plugin_opts()"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_d1267eb9","line":23,"in_reply_to":"fa48f94a_666c769d","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        # Recalculate on every call to allow drivers determine supported rule"},{"line_number":80,"context_line":"        # types dynamically"},{"line_number":81,"context_line":"        for driver in self._drivers:"},{"line_number":82,"context_line":"            new_rule_types \u003d \\"},{"line_number":83,"context_line":"                rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":84,"context_line":"            dropped_rule_types \u003d new_rule_types - rule_types"},{"line_number":85,"context_line":"            if dropped_rule_types:"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_ef38afd5","line":82,"updated":"2016-12-21 12:41:17.000000000","message":"can you use a () insetad of the \\","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        # Recalculate on every call to allow drivers determine supported rule"},{"line_number":80,"context_line":"        # types dynamically"},{"line_number":81,"context_line":"        for driver in self._drivers:"},{"line_number":82,"context_line":"            new_rule_types \u003d \\"},{"line_number":83,"context_line":"                rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":84,"context_line":"            dropped_rule_types \u003d new_rule_types - rule_types"},{"line_number":85,"context_line":"            if dropped_rule_types:"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_1121e69f","line":82,"in_reply_to":"1a6eadb0_ef38afd5","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"fe13dc4d1958d16d5e1860b13b109fdfeed93435","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        for driver in self._drivers:"},{"line_number":82,"context_line":"            new_rule_types \u003d \\"},{"line_number":83,"context_line":"                rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":84,"context_line":"            dropped_rule_types \u003d new_rule_types - rule_types"},{"line_number":85,"context_line":"            if dropped_rule_types:"},{"line_number":86,"context_line":"                LOG.info("},{"line_number":87,"context_line":"                    _LI(\"%(rule_types)s rule types disabled \""}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_4a00a734","line":84,"range":{"start_line":84,"start_character":12,"end_line":84,"end_character":60},"updated":"2016-12-21 16:11:54.000000000","message":"This is always an empty set. Or maybe I\u0027m wrong.\n\nBut any driver supported rules must be in qos_consts.VALID_RULE_TYPES","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        for driver in self._drivers:"},{"line_number":82,"context_line":"            new_rule_types \u003d \\"},{"line_number":83,"context_line":"                rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":84,"context_line":"            dropped_rule_types \u003d new_rule_types - rule_types"},{"line_number":85,"context_line":"            if dropped_rule_types:"},{"line_number":86,"context_line":"                LOG.info("},{"line_number":87,"context_line":"                    _LI(\"%(rule_types)s rule types disabled \""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_3c2a412d","line":84,"range":{"start_line":84,"start_character":12,"end_line":84,"end_character":60},"in_reply_to":"1a6eadb0_4a00a734","updated":"2017-01-03 13:10:55.000000000","message":"hmmm, Good catch! you\u0027re right the right thing would be \ndropped_rule_types \u003d rule_types - new_rule_types\n\nsince new_rule_types is always going to be the smaller subset, and we want to discover the rules that will be left out.\n\nDone.","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                getattr(driver, method_name)(*args, **kwargs)"},{"line_number":57,"context_line":"            except Exception:"},{"line_number":58,"context_line":"                with excutils.save_and_reraise_exception():"},{"line_number":59,"context_line":"                    LOG.exception(_LE(\"Extension driver \u0027%(name)s\u0027 failed in \""},{"line_number":60,"context_line":"                                      \"%(method)s\"),"},{"line_number":61,"context_line":"                                  {\u0027name\u0027: driver.name, \u0027method\u0027: method_name})"},{"line_number":62,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_90a81022","line":59,"updated":"2017-01-05 15:21:18.000000000","message":"we should probably better save the exception, and then re-raise it later, when all the other drivers had a chance to execute.","commit_id":"62bee3f192c9251991f0f86c08ce387505f49a6d"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        rule_types \u003d set(qos_consts.VALID_RULE_TYPES)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        # Recalculate on every call to allow drivers determine supported rule"},{"line_number":79,"context_line":"        # types dynamically"},{"line_number":80,"context_line":"        for driver in self._drivers:"},{"line_number":81,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rule_types)"}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_abfe89ab","line":78,"updated":"2017-01-05 15:21:18.000000000","message":"Oh, we also should maintain compatibility by checking also mechanism drivers which have the supported_qos_rule_types attr if we want full backwards compat.","commit_id":"62bee3f192c9251991f0f86c08ce387505f49a6d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2c49f1b6fb7734fd5abacf4c09dd64b4603a5f5c","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":88,"context_line":"            dropped_rule_types \u003d rule_types - new_rule_types"},{"line_number":89,"context_line":"            if dropped_rule_types:"},{"line_number":90,"context_line":"                LOG.info("},{"line_number":91,"context_line":"                    _LI(\"%(rule_types)s rule types disabled \""},{"line_number":92,"context_line":"                        \"because enabled %(driver)s does not support them\"),"},{"line_number":93,"context_line":"                    {\u0027rule_types\u0027: \u0027, \u0027.join(dropped_rule_types),"},{"line_number":94,"context_line":"                     \u0027driver\u0027: driver.name})"},{"line_number":95,"context_line":"            rule_types \u003d new_rule_types"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        LOG.debug(\"Supported QoS rule types \""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_4b61cba7","line":94,"range":{"start_line":90,"start_character":0,"end_line":94,"end_character":44},"updated":"2017-01-11 12:09:14.000000000","message":"this is logged every time supported_rule_types is called?\nlooks too verbose.","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"05835c0d2147f14e73223751c5b67dbce9c073f8","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":88,"context_line":"            dropped_rule_types \u003d rule_types - new_rule_types"},{"line_number":89,"context_line":"            if dropped_rule_types:"},{"line_number":90,"context_line":"                LOG.info("},{"line_number":91,"context_line":"                    _LI(\"%(rule_types)s rule types disabled \""},{"line_number":92,"context_line":"                        \"because enabled %(driver)s does not support them\"),"},{"line_number":93,"context_line":"                    {\u0027rule_types\u0027: \u0027, \u0027.join(dropped_rule_types),"},{"line_number":94,"context_line":"                     \u0027driver\u0027: driver.name})"},{"line_number":95,"context_line":"            rule_types \u003d new_rule_types"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        LOG.debug(\"Supported QoS rule types \""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_e948bd5e","line":94,"range":{"start_line":90,"start_character":0,"end_line":94,"end_character":44},"in_reply_to":"ba5201f7_07ba4fe1","updated":"2017-01-11 15:12:43.000000000","message":"Done","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"c493318a89689da027a9e5c1338a40eddeafec96","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rule_types)"},{"line_number":88,"context_line":"            dropped_rule_types \u003d rule_types - new_rule_types"},{"line_number":89,"context_line":"            if dropped_rule_types:"},{"line_number":90,"context_line":"                LOG.info("},{"line_number":91,"context_line":"                    _LI(\"%(rule_types)s rule types disabled \""},{"line_number":92,"context_line":"                        \"because enabled %(driver)s does not support them\"),"},{"line_number":93,"context_line":"                    {\u0027rule_types\u0027: \u0027, \u0027.join(dropped_rule_types),"},{"line_number":94,"context_line":"                     \u0027driver\u0027: driver.name})"},{"line_number":95,"context_line":"            rule_types \u003d new_rule_types"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        LOG.debug(\"Supported QoS rule types \""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba5201f7_07ba4fe1","line":94,"range":{"start_line":90,"start_character":0,"end_line":94,"end_character":44},"in_reply_to":"ba5201f7_4b61cba7","updated":"2017-01-11 13:54:45.000000000","message":"Ack, makes sense\n\nI\u0027ll switch it into debug, it\u0027s just moved from it\u0027s previous implementation, not new code.","commit_id":"1db32009b049dab064cfc7702130a26432c1da91"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"88c3109d82337dc2cf8a15363429349dec2fb8bf","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        This method is called from drivers on INIT event."},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        self._drivers.append(driver)"},{"line_number":90,"context_line":"        self.rpc_notifications_required |\u003d driver.requires_rpc_notifications"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    @property"},{"line_number":93,"context_line":"    def supported_rule_types(self):"}],"source_content_type":"text/x-python","patch_set":23,"id":"7a3c09a3_6ced9eee","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":76},"updated":"2017-01-17 09:38:51.000000000","message":"Just one quick question. We are moving all qos drivers way from the message_queue. During the initialization shouldn\u0027t exist anyone which requires rcp_notification. You should also instantiate \"self.push\" IF NEEDED.","commit_id":"9e47dda7b20bba66de63ed19ef6692005ab6400a"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7b57d251b1a9ba096fa647b53c9f1f2399832e29","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        This method is called from drivers on INIT event."},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        self._drivers.append(driver)"},{"line_number":90,"context_line":"        self.rpc_notifications_required |\u003d driver.requires_rpc_notifications"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    @property"},{"line_number":93,"context_line":"    def supported_rule_types(self):"}],"source_content_type":"text/x-python","patch_set":23,"id":"7a3c09a3_18c4548f","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":76},"in_reply_to":"7a3c09a3_6ced9eee","updated":"2017-01-17 10:59:17.000000000","message":"That\u0027s what we\u0027re doing in L47.\non L47, all drivers must be already registered because we only call  registry.notify(qos_consts.QOS_PLUGIN, events.AFTER_INIT, self) once on L45 (that\u0027s what triggers all drivers registrations).\n\nWe could move the RPC endopoint creation here dynamically, but it\u0027s going to work one way or the other, the style would be different of course :)","commit_id":"9e47dda7b20bba66de63ed19ef6692005ab6400a"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":8,"context_line":"#    distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":9,"context_line":"#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":10,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":"from oslo_log import log as logging"},{"line_number":13,"context_line":"from oslo_utils import excutils"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_34237bbe","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":23},"updated":"2017-01-18 22:02:23.000000000","message":"nit: a line space to separate license and imports","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":8,"context_line":"#    distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":9,"context_line":"#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":10,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":"from oslo_log import log as logging"},{"line_number":13,"context_line":"from oslo_utils import excutils"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_90ad048b","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":23},"in_reply_to":"7a3c09a3_34237bbe","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":99,"context_line":"        # Recalculate on every call to allow drivers determine supported rule"},{"line_number":100,"context_line":"        # types dynamically"},{"line_number":101,"context_line":"        for driver in self._drivers:"},{"line_number":102,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rules)"},{"line_number":103,"context_line":"            dropped_rule_types \u003d rule_types - new_rule_types"},{"line_number":104,"context_line":"            if dropped_rule_types:"},{"line_number":105,"context_line":"                LOG.debug(\"%(rule_types)s rule types disabled \""},{"line_number":106,"context_line":"                          \"because enabled %(driver)s does not support them\","}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_94fd0c0b","line":103,"range":{"start_line":102,"start_character":11,"end_line":103,"end_character":60},"updated":"2017-01-18 22:02:23.000000000","message":"can you explain why this way of calculation ?","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":99,"context_line":"        # Recalculate on every call to allow drivers determine supported rule"},{"line_number":100,"context_line":"        # types dynamically"},{"line_number":101,"context_line":"        for driver in self._drivers:"},{"line_number":102,"context_line":"            new_rule_types \u003d rule_types \u0026 set(driver.supported_rules)"},{"line_number":103,"context_line":"            dropped_rule_types \u003d rule_types - new_rule_types"},{"line_number":104,"context_line":"            if dropped_rule_types:"},{"line_number":105,"context_line":"                LOG.debug(\"%(rule_types)s rule types disabled \""},{"line_number":106,"context_line":"                          \"because enabled %(driver)s does not support them\","}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_05cabda1","line":103,"range":{"start_line":102,"start_character":11,"end_line":103,"end_character":60},"in_reply_to":"7a3c09a3_94fd0c0b","updated":"2017-01-19 09:05:27.000000000","message":"This is just moving the method we had in: \n\nhttps://review.openstack.org/#/c/396651/27/neutron/plugins/ml2/managers.py\n\nit\u0027s not new.\n\n\nThis is exposed via an HTTP API call.\n\nThe current implementation of the API returns the minimum subset which is shared by all the drivers. We plan to enhance this in the future by adding a more detailed way to grab all the available combinations per driver / vif / vnic type.\n\nWe can\u0027t change this now to avoid breaking any application that could be (theoretically) relying on this call for anything.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        if self.rpc_notifications_required:"},{"line_number":76,"context_line":"            context \u003d kwargs.get(\u0027context\u0027) or args[0]"},{"line_number":77,"context_line":"            policy_obj \u003d kwargs.get(\u0027policy_obj\u0027) or args[1]"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"            if method_name \u003d\u003d \u0027update_policy\u0027:"},{"line_number":80,"context_line":"                self.push_api.push(context, [policy_obj], rpc_events.UPDATED)"},{"line_number":81,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_93b8c4ea","line":78,"updated":"2017-01-24 18:14:44.000000000","message":"explain with a comment why you ignore create events","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        if self.rpc_notifications_required:"},{"line_number":76,"context_line":"            context \u003d kwargs.get(\u0027context\u0027) or args[0]"},{"line_number":77,"context_line":"            policy_obj \u003d kwargs.get(\u0027policy_obj\u0027) or args[1]"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"            if method_name \u003d\u003d \u0027update_policy\u0027:"},{"line_number":80,"context_line":"                self.push_api.push(context, [policy_obj], rpc_events.UPDATED)"},{"line_number":81,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_2b03f110","line":78,"in_reply_to":"5a3905b3_93b8c4ea","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/services/qos/drivers/openvswitch/driver.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d OVSDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027Open vSwitch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_2302c20b","line":67,"updated":"2016-11-17 11:56:36.000000000","message":"Where is the registry.subscribe call? Should be here, isn\u0027t it?","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d OVSDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027Open vSwitch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_51b5c52e","line":67,"in_reply_to":"7a77a97e_2302c20b","updated":"2016-11-17 13:04:45.000000000","message":"Ditto :)","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"SUPPORTED_RULES \u003d ("},{"line_number":38,"context_line":"    qos_consts.RULE_TYPE_BANDWIDTH_LIMIT,"},{"line_number":39,"context_line":"    qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"DRIVER \u003d None"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_2688c270","line":39,"updated":"2016-11-18 21:01:52.000000000","message":"what about supported parameters and values of parameters for rules? should we add it later in another patch?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"SUPPORTED_RULES \u003d ("},{"line_number":38,"context_line":"    qos_consts.RULE_TYPE_BANDWIDTH_LIMIT,"},{"line_number":39,"context_line":"    qos_consts.RULE_TYPE_DSCP_MARKING"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"DRIVER \u003d None"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_10af5c95","line":39,"in_reply_to":"7a77a97e_2688c270","updated":"2016-11-21 09:28:18.000000000","message":"Yes that\u0027s a separate patch, otherwise this one will grow huger.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def register():"},{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d OVSDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027Open vSwitch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_46a4de06","line":66,"updated":"2016-11-18 21:01:52.000000000","message":"same here, maybe check if DRIVER is None first?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def register():"},{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d OVSDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027Open vSwitch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_6784dfd3","line":66,"in_reply_to":"7a77a97e_30945843","updated":"2016-11-25 13:36:34.000000000","message":"Done","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def register():"},{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d OVSDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027Open vSwitch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_30945843","line":66,"in_reply_to":"7a77a97e_46a4de06","updated":"2016-11-21 09:28:18.000000000","message":"I agree, I\u0027ll add it.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.qos.drivers import base"},{"line_number":21,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"NAME \u003d \u0027openvswitch\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_ef3fcfb1","line":23,"updated":"2016-12-21 12:41:17.000000000","message":"same point here","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.qos.drivers import base"},{"line_number":21,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"NAME \u003d \u0027openvswitch\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_bced51f1","line":23,"in_reply_to":"1a6eadb0_ef3fcfb1","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"fe13dc4d1958d16d5e1860b13b109fdfeed93435","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @classmethod"},{"line_number":55,"context_line":"    def create(cls):"},{"line_number":56,"context_line":"        return OVSDriver(NAME,"},{"line_number":57,"context_line":"                         SUPPORTED_INTERFACES,"},{"line_number":58,"context_line":"                         SUPPORTED_VNICS,"},{"line_number":59,"context_line":"                         SUPPORTED_RULES,"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_e378c3c6","line":56,"range":{"start_line":56,"start_character":15,"end_line":56,"end_character":24},"updated":"2016-12-21 16:11:54.000000000","message":"small nit: to be consistent, use \"cls\"","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dea6881d5d1eebc2aa2528d96965e41cd98f4a02","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @classmethod"},{"line_number":55,"context_line":"    def create(cls):"},{"line_number":56,"context_line":"        return OVSDriver(NAME,"},{"line_number":57,"context_line":"                         SUPPORTED_INTERFACES,"},{"line_number":58,"context_line":"                         SUPPORTED_VNICS,"},{"line_number":59,"context_line":"                         SUPPORTED_RULES,"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa48f94a_466f7292","line":56,"range":{"start_line":56,"start_character":15,"end_line":56,"end_character":24},"in_reply_to":"1a6eadb0_e378c3c6","updated":"2017-01-02 16:33:45.000000000","message":"oh right.","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    @classmethod"},{"line_number":55,"context_line":"    def create(cls):"},{"line_number":56,"context_line":"        return OVSDriver(NAME,"},{"line_number":57,"context_line":"                         SUPPORTED_INTERFACES,"},{"line_number":58,"context_line":"                         SUPPORTED_VNICS,"},{"line_number":59,"context_line":"                         SUPPORTED_RULES,"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_7cca0970","line":56,"range":{"start_line":56,"start_character":15,"end_line":56,"end_character":24},"in_reply_to":"fa48f94a_466f7292","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"}],"neutron/services/qos/drivers/sriov/driver.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"4d1e4fd61ba819039c46cb528d0f39721adc4fdf","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SRIOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_ae85d907","line":67,"updated":"2016-11-17 11:56:36.000000000","message":"ditto","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e2cfb7169a43520878c38732020ffc7740779623","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SRIOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a77a97e_7184815d","line":67,"in_reply_to":"7a77a97e_ae85d907","updated":"2016-11-17 13:04:45.000000000","message":"Ditto :)","commit_id":"f8d904e4fdc5af3eb7c3b2514c5a14f698db87ba"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SRIOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_69f01bff","line":67,"range":{"start_line":67,"start_character":15,"end_line":67,"end_character":20},"updated":"2016-11-17 11:58:03.000000000","message":"s/SRIOV/SR-IOV","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"c716299544aadb2b34ee877fefe4b05b6b1d890b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SRIOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_93ed9ab9","line":67,"range":{"start_line":67,"start_character":15,"end_line":67,"end_character":20},"in_reply_to":"7a77a97e_11e7cd11","updated":"2016-11-17 15:49:59.000000000","message":"Done","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SRIOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_11e7cd11","line":67,"range":{"start_line":67,"start_character":15,"end_line":67,"end_character":20},"in_reply_to":"7a77a97e_69f01bff","updated":"2016-11-17 13:10:12.000000000","message":"ack.","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def register():"},{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SR-IOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_709ed064","line":66,"updated":"2016-11-21 09:28:18.000000000","message":"here too..","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def register():"},{"line_number":64,"context_line":"    \"\"\"Register the driver.\"\"\""},{"line_number":65,"context_line":"    global DRIVER"},{"line_number":66,"context_line":"    DRIVER \u003d SRIOVNICSwitchDriver.create()"},{"line_number":67,"context_line":"    LOG.debug(\u0027SR-IOV NIC Switch QoS driver registered\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_c7693327","line":66,"in_reply_to":"7a77a97e_709ed064","updated":"2016-11-25 13:36:34.000000000","message":"Done","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.qos.drivers import base"},{"line_number":21,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"NAME \u003d \u0027sriovnicswitch\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_8fa2dbfa","line":23,"updated":"2016-12-21 12:41:17.000000000","message":"ditto","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.qos.drivers import base"},{"line_number":21,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"NAME \u003d \u0027sriovnicswitch\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_7c08492e","line":23,"in_reply_to":"1a6eadb0_8fa2dbfa","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5d01d35ef60ada71162be31301717d8b29312c74","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    @property"},{"line_number":47,"context_line":"    def is_loaded(self):"},{"line_number":48,"context_line":"        try:"},{"line_number":49,"context_line":"            return NAME in cfg.CONF.ml2.mechanism_drivers"},{"line_number":50,"context_line":"        except cfg.NoSuchOptError:"},{"line_number":51,"context_line":"            return False"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_e6746a37","line":49,"updated":"2017-01-04 18:52:43.000000000","message":"If You would move NAME to class and use it as self.name then You could define this method in base.DriverBase class once instead if repeat it 3 times","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eb4b25529f549d8794b74b1414855c950d1f832d","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    @property"},{"line_number":47,"context_line":"    def is_loaded(self):"},{"line_number":48,"context_line":"        try:"},{"line_number":49,"context_line":"            return NAME in cfg.CONF.ml2.mechanism_drivers"},{"line_number":50,"context_line":"        except cfg.NoSuchOptError:"},{"line_number":51,"context_line":"            return False"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_994f6a6a","line":49,"in_reply_to":"ba5201f7_e6746a37","updated":"2017-01-05 08:18:12.000000000","message":"Right, I didn\u0027t make that in the base class because some drivers non being mechanism drivers would not like that.\n\nBut makes perfect sense, I will add another base class (deriving from the first) to be DriverML2Base or something like that.","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5d01d35ef60ada71162be31301717d8b29312c74","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                   SUPPORTED_INTERFACES,"},{"line_number":57,"context_line":"                   SUPPORTED_VNICS,"},{"line_number":58,"context_line":"                   SUPPORTED_RULES,"},{"line_number":59,"context_line":"                   requires_rpc_notifications\u003dTrue)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"def register():"}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_e6ab8a73","line":59,"updated":"2017-01-04 18:52:43.000000000","message":"here also, It is same code repeated 3 times and could be defined once in base driver if parameters would be inside class","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eb4b25529f549d8794b74b1414855c950d1f832d","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                   SUPPORTED_INTERFACES,"},{"line_number":57,"context_line":"                   SUPPORTED_VNICS,"},{"line_number":58,"context_line":"                   SUPPORTED_RULES,"},{"line_number":59,"context_line":"                   requires_rpc_notifications\u003dTrue)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"def register():"}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_f97156a9","line":59,"in_reply_to":"ba5201f7_e6ab8a73","updated":"2017-01-05 08:18:12.000000000","message":"Ok, let\u0027s try to refine that :), sounds like a good idea.","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"}],"neutron/services/qos/notification_drivers/manager.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"c716299544aadb2b34ee877fefe4b05b6b1d890b","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        for notification_driver in notification_drivers:"},{"line_number":70,"context_line":"            driver_ins \u003d self._load_driver_instance(notification_driver)"},{"line_number":71,"context_line":"            if driver_ins:"},{"line_number":72,"context_line":"                self.notification_drivers.append(driver_ins)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def _load_driver_instance(self, notification_driver):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_1338aa3c","line":71,"updated":"2016-11-17 15:49:59.000000000","message":"This change is not necessary. (leftover)","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        for driver in self.notification_drivers:"},{"line_number":54,"context_line":"            if not isinstance(driver,"},{"line_number":55,"context_line":"                              message_queue.RpcQosServiceNotificationDriver):"},{"line_number":56,"context_line":"                only_message_queue \u003d False"},{"line_number":57,"context_line":"        return only_message_queue"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def _load_drivers(self, notification_drivers):"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_c6bd4e03","line":56,"updated":"2016-11-18 21:01:52.000000000","message":"IMO here You can have directly \"return False\" and after loop return True. Then \"only_message_queue\" variable is not neccessary","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        for driver in self.notification_drivers:"},{"line_number":54,"context_line":"            if not isinstance(driver,"},{"line_number":55,"context_line":"                              message_queue.RpcQosServiceNotificationDriver):"},{"line_number":56,"context_line":"                only_message_queue \u003d False"},{"line_number":57,"context_line":"        return only_message_queue"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def _load_drivers(self, notification_drivers):"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_a78a77bd","line":56,"in_reply_to":"7a77a97e_b086a814","updated":"2016-11-25 13:36:34.000000000","message":"Done","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        for driver in self.notification_drivers:"},{"line_number":54,"context_line":"            if not isinstance(driver,"},{"line_number":55,"context_line":"                              message_queue.RpcQosServiceNotificationDriver):"},{"line_number":56,"context_line":"                only_message_queue \u003d False"},{"line_number":57,"context_line":"        return only_message_queue"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def _load_drivers(self, notification_drivers):"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_b086a814","line":56,"in_reply_to":"7a77a97e_c6bd4e03","updated":"2016-11-21 09:28:18.000000000","message":"Right, makes sense.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5d01d35ef60ada71162be31301717d8b29312c74","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        if notification_drivers:"},{"line_number":64,"context_line":"            LOG.warning(_LW(\"Please note that qos notification_drivers \""},{"line_number":65,"context_line":"                            \"have been deprecated and will be removed in Pike\")"},{"line_number":66,"context_line":"                        )"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        for notification_driver in notification_drivers:"},{"line_number":69,"context_line":"            driver_ins \u003d self._load_driver_instance(notification_driver)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_c6f76689","line":66,"updated":"2017-01-04 18:52:43.000000000","message":"nit: can\u0027t You move this closing bracket to L65?","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eb4b25529f549d8794b74b1414855c950d1f832d","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        if notification_drivers:"},{"line_number":64,"context_line":"            LOG.warning(_LW(\"Please note that qos notification_drivers \""},{"line_number":65,"context_line":"                            \"have been deprecated and will be removed in Pike\")"},{"line_number":66,"context_line":"                        )"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        for notification_driver in notification_drivers:"},{"line_number":69,"context_line":"            driver_ins \u003d self._load_driver_instance(notification_driver)"}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_d9a3b2fe","line":66,"in_reply_to":"ba5201f7_c6f76689","updated":"2017-01-05 08:18:12.000000000","message":"Of course :)","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9d9b3fcfebe05451dea6a35de744f9d49f5ba827","unresolved":false,"context_lines":[{"line_number":42,"context_line":"            driver.create_policy(context, qos_policy)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    @property"},{"line_number":45,"context_line":"    def only_message_queue_driver(self):"},{"line_number":46,"context_line":"        \"\"\"Determine if theres any other driver beyond the message queue"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        This is used by the qos plugin to identify if the driver configuration"}],"source_content_type":"text/x-python","patch_set":16,"id":"ba5201f7_abc3e955","line":45,"updated":"2017-01-05 15:21:18.000000000","message":"hmmm, we\u0027re not using this, are we?","commit_id":"62bee3f192c9251991f0f86c08ce387505f49a6d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"            driver.create_policy(context, qos_policy)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    @property"},{"line_number":45,"context_line":"    def only_message_queue_driver(self):"},{"line_number":46,"context_line":"        \"\"\"Determine if theres any other driver beyond the message queue"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        This is used by the qos plugin to identify if the driver configuration"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_341b461d","line":45,"updated":"2017-01-13 20:13:27.000000000","message":"where is the property used? remove if not needed.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":42,"context_line":"            driver.create_policy(context, qos_policy)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    @property"},{"line_number":45,"context_line":"    def only_message_queue_driver(self):"},{"line_number":46,"context_line":"        \"\"\"Determine if theres any other driver beyond the message queue"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        This is used by the qos plugin to identify if the driver configuration"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_11838799","line":45,"in_reply_to":"7a3c09a3_341b461d","updated":"2017-01-16 16:25:27.000000000","message":"I changed the implementation to check this, this way we can detect if somebody out of tree subclassed the message queue class. (vs just checking \u0027message_queue\u0027 in notification_drivers config knob)","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    @property"},{"line_number":45,"context_line":"    def only_message_queue_driver(self):"},{"line_number":46,"context_line":"        \"\"\"Determine if theres any other driver beyond the message queue"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        This is used by the qos plugin to identify if the driver configuration"},{"line_number":49,"context_line":"        is valid during transition time between notification_driver and"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_745eaeea","line":46,"range":{"start_line":46,"start_character":24,"end_line":46,"end_character":30},"updated":"2017-01-13 20:13:27.000000000","message":"there is","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        if notification_drivers:"},{"line_number":64,"context_line":"            LOG.warning(_LW(\"Please note that qos notification_drivers \""},{"line_number":65,"context_line":"                            \"have been deprecated and will be removed in Pike\")"},{"line_number":66,"context_line":"                        )"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        for notification_driver in notification_drivers:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_940a3ad1","line":65,"range":{"start_line":65,"start_character":29,"end_line":65,"end_character":33},"updated":"2017-01-13 20:13:27.000000000","message":"-\u003e has since notification_drivers is an option (single).\n\nAlso, if you mark the option as deprecated_for_removal in option definition, then oslo.config should already log an error if the value is set in config file, so it seems like this message is not needed.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        if notification_drivers:"},{"line_number":64,"context_line":"            LOG.warning(_LW(\"Please note that qos notification_drivers \""},{"line_number":65,"context_line":"                            \"have been deprecated and will be removed in Pike\")"},{"line_number":66,"context_line":"                        )"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        for notification_driver in notification_drivers:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b13f13d5","line":65,"range":{"start_line":65,"start_character":29,"end_line":65,"end_character":33},"in_reply_to":"7a3c09a3_940a3ad1","updated":"2017-01-16 16:25:27.000000000","message":"Done. Thank you.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        notifications drivers, so the QoS plugin will forcefully enable"},{"line_number":48,"context_line":"        the rpc notifications for Pike, since our message_queue driver"},{"line_number":49,"context_line":"        is a dummy which doesn\u0027t send any messages."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        \"\"\""},{"line_number":52,"context_line":"        #TODO(mangelajo): remove this in Pike"},{"line_number":53,"context_line":"        return any("}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_13a2149b","line":50,"updated":"2017-01-24 18:14:44.000000000","message":"nit: redundant line","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        notifications drivers, so the QoS plugin will forcefully enable"},{"line_number":48,"context_line":"        the rpc notifications for Pike, since our message_queue driver"},{"line_number":49,"context_line":"        is a dummy which doesn\u0027t send any messages."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        \"\"\""},{"line_number":52,"context_line":"        #TODO(mangelajo): remove this in Pike"},{"line_number":53,"context_line":"        return any("}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_263168ed","line":50,"in_reply_to":"5a3905b3_13a2149b","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/services/qos/notification_drivers/message_queue.py":[{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"48960a437661815e73b017361ef1c6cbbb6f6528","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        #No need to update agents on create"},{"line_number":36,"context_line":"        pass"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def update_policy(self, context, policy):"},{"line_number":39,"context_line":"        pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":42,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_89c817aa","line":41,"range":{"start_line":38,"start_character":4,"end_line":41,"end_character":45},"updated":"2016-11-17 11:58:03.000000000","message":"should use  @abc.abstractmethod","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"544e5fbb2ce5070de966cf1f05235b7966a49615","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        #No need to update agents on create"},{"line_number":36,"context_line":"        pass"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def update_policy(self, context, policy):"},{"line_number":39,"context_line":"        pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def delete_policy(self, context, policy):"},{"line_number":42,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":8,"id":"7a77a97e_f197b145","line":41,"range":{"start_line":38,"start_character":4,"end_line":41,"end_character":45},"in_reply_to":"7a77a97e_89c817aa","updated":"2016-11-17 13:10:12.000000000","message":"No, that would break it, I just want it to do \"nothing\" in this case (so anyone who installed it won\u0027t have an issue, and still has a cycle to remove it).","commit_id":"297ab714f10d0334c1ff3d9314aad6697e1d472f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        return \"Message queue updates\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    def create_policy(self, context, policy):"},{"line_number":35,"context_line":"        #No need to update agents on create"},{"line_number":36,"context_line":"        pass"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def update_policy(self, context, policy):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_f4953e40","line":35,"updated":"2017-01-13 20:13:27.000000000","message":"now that all methods are stubs, and the message in line 27 clearly describes why it\u0027s so, maybe also kill this comment since it\u0027s not really valuable anymore.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        return \"Message queue updates\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    def create_policy(self, context, policy):"},{"line_number":35,"context_line":"        #No need to update agents on create"},{"line_number":36,"context_line":"        pass"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def update_policy(self, context, policy):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b4ce21b2","line":35,"in_reply_to":"7a3c09a3_f4953e40","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"}],"neutron/services/qos/qos_plugin.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"35592c6b1324c97f5b826750cab9e416ab639130","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"        if self._rpc_notifications_required:"},{"line_number":146,"context_line":"            self.notification_api.push(context, [policy], rpc_events.UPDATED)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        return policy_obj"},{"line_number":149,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"7a77a97e_566ed095","line":146,"range":{"start_line":146,"start_character":49,"end_line":146,"end_character":55},"updated":"2016-11-16 14:41:48.000000000","message":"policy_obj","commit_id":"d7cfeded3d9baa5b72652fdf78122e3d288d60f8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"788d0a3b8e1a3b188ea20ed8e074f4b81d6bce14","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        registry.notify(qos_consts.QOS_PLUGIN, events.AFTER_INIT, self)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    @staticmethod"},{"line_number":71,"context_line":"    def _get_qos_policy_cb(resource, policy_id, **kwargs):"},{"line_number":72,"context_line":"        context \u003d kwargs.get(\u0027context\u0027)"},{"line_number":73,"context_line":"        if context is None:"},{"line_number":74,"context_line":"            LOG.warning(_LW("}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_062f463f","line":71,"updated":"2016-11-18 21:01:52.000000000","message":"nit: should it\u0027s name starts with \"_\"?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        registry.notify(qos_consts.QOS_PLUGIN, events.AFTER_INIT, self)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    @staticmethod"},{"line_number":71,"context_line":"    def _get_qos_policy_cb(resource, policy_id, **kwargs):"},{"line_number":72,"context_line":"        context \u003d kwargs.get(\u0027context\u0027)"},{"line_number":73,"context_line":"        if context is None:"},{"line_number":74,"context_line":"            LOG.warning(_LW("}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_f08020fa","line":71,"in_reply_to":"7a77a97e_062f463f","updated":"2016-11-21 09:28:18.000000000","message":"Hmmm, doesn\u0027t it start with _  ?\n\nIt should, it\u0027s a private method.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"9eba17974ea9c7da0b07cbe8cbf96c0cdc2c63aa","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        for driver in self._drivers:"},{"line_number":86,"context_line":"            try:"},{"line_number":87,"context_line":"                getattr(driver, method_name)(*args, **kwargs)"},{"line_number":88,"context_line":"            except Exception:"},{"line_number":89,"context_line":"                LOG.exception(_LE(\"Extension driver \u0027%(name)s\u0027 failed in \""},{"line_number":90,"context_line":"                                  \"%(method)s\"),"},{"line_number":91,"context_line":"                              {\u0027name\u0027: driver.name, \u0027method\u0027: method_name})"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a77a97e_109d9c59","line":88,"updated":"2016-11-21 09:28:18.000000000","message":"shall we re-raise the exception here, or shall we move on as we do now?","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2175cc3bda81cd022fd9171180109b5f95ba800a","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        for driver in self._drivers:"},{"line_number":86,"context_line":"            try:"},{"line_number":87,"context_line":"                getattr(driver, method_name)(*args, **kwargs)"},{"line_number":88,"context_line":"            except Exception:"},{"line_number":89,"context_line":"                LOG.exception(_LE(\"Extension driver \u0027%(name)s\u0027 failed in \""},{"line_number":90,"context_line":"                                  \"%(method)s\"),"},{"line_number":91,"context_line":"                              {\u0027name\u0027: driver.name, \u0027method\u0027: method_name})"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_45551af8","line":88,"in_reply_to":"5a74a57a_5db174e0","updated":"2016-11-25 13:46:01.000000000","message":"Yeah, you\u0027re right, I will re-raise it as ml2 does.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c68a454c654ed1275c68933b3eada9be36194e8f","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        for driver in self._drivers:"},{"line_number":86,"context_line":"            try:"},{"line_number":87,"context_line":"                getattr(driver, method_name)(*args, **kwargs)"},{"line_number":88,"context_line":"            except Exception:"},{"line_number":89,"context_line":"                LOG.exception(_LE(\"Extension driver \u0027%(name)s\u0027 failed in \""},{"line_number":90,"context_line":"                                  \"%(method)s\"),"},{"line_number":91,"context_line":"                              {\u0027name\u0027: driver.name, \u0027method\u0027: method_name})"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_5db174e0","line":88,"in_reply_to":"7a77a97e_109d9c59","updated":"2016-11-25 13:33:56.000000000","message":"i guess we should at least report to api user.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7f367665cc806b6c5022a0065c64f528832e18f0","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        self._call_on_drivers(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        return policy_obj"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    @db_base_plugin_common.convert_result_to_dict"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a74a57a_a2e8a5e3","line":118,"updated":"2016-11-25 13:36:34.000000000","message":"I can remove this. Done.","commit_id":"4ccced2ec6825180921a9a50ea02cfa70c0fbab3"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f0505c6c4600ed2b4934c50b1153e959f1484a34","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from neutron.services.qos.drivers import manager"},{"line_number":31,"context_line":"from neutron.services.qos.notification_drivers import manager as driver_mgr"},{"line_number":32,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":36,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_efdb4f7a","line":33,"updated":"2016-12-21 12:41:17.000000000","message":"only need one new line","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4d5d4f5b60b1d7bb682056ce3e0885219db2a4ae","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from neutron.services.qos.drivers import manager"},{"line_number":31,"context_line":"from neutron.services.qos.notification_drivers import manager as driver_mgr"},{"line_number":32,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":36,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5201f7_d7ff4eff","line":33,"in_reply_to":"1a6eadb0_efdb4f7a","updated":"2017-01-03 13:10:55.000000000","message":"Done","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a1b6c7d6c1ae25dca1d7662e008f94862a4b3fb7","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":135,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        if self.driver_manager.rpc_notifications_required:"},{"line_number":138,"context_line":"            self.push_api.push(context, [policy], rpc_events.DELETED)"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def _get_policy_obj(self, context, policy_id):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_b5d36ed4","line":137,"updated":"2016-12-21 11:09:48.000000000","message":"May be I should move this logic inside the driver_manager itself, and avoid polluting the plugin. Thoughts?","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"fe13dc4d1958d16d5e1860b13b109fdfeed93435","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":135,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        if self.driver_manager.rpc_notifications_required:"},{"line_number":138,"context_line":"            self.push_api.push(context, [policy], rpc_events.DELETED)"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def _get_policy_obj(self, context, policy_id):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a6eadb0_674bdeb1","line":137,"in_reply_to":"1a6eadb0_b5d36ed4","updated":"2016-12-21 16:11:54.000000000","message":"I think this is the right place, because you are passing the kind of event","commit_id":"be0e0c4cc1f5cd941893f8f3dc16f71e2120a109"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        self.driver_manager.call(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":75,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":76,"context_line":"        return policy_obj"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_54c29234","line":74,"range":{"start_line":74,"start_character":32,"end_line":74,"end_character":51},"updated":"2017-01-13 20:13:27.000000000","message":"..._manager","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        self.driver_manager.call(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":75,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":76,"context_line":"        return policy_obj"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_14c80a55","line":74,"range":{"start_line":74,"start_character":57,"end_line":74,"end_character":59},"updated":"2017-01-13 20:13:27.000000000","message":"in","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        self.driver_manager.call(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":75,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":76,"context_line":"        return policy_obj"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_94acc5a1","line":74,"range":{"start_line":74,"start_character":32,"end_line":74,"end_character":51},"in_reply_to":"7a3c09a3_54c29234","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy_obj)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":99,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_d4ecc2c9","line":98,"range":{"start_line":98,"start_character":32,"end_line":98,"end_character":51},"updated":"2017-01-13 20:13:27.000000000","message":"ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy_obj)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":99,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_f4d1befc","line":98,"range":{"start_line":98,"start_character":57,"end_line":98,"end_character":59},"updated":"2017-01-13 20:13:27.000000000","message":"ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy_obj)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":99,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b4af0193","line":98,"range":{"start_line":98,"start_character":57,"end_line":98,"end_character":59},"in_reply_to":"7a3c09a3_f4d1befc","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":98,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":99,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        if self.driver_manager.rpc_notifications_required:"},{"line_number":102,"context_line":"            self.push_api.push(context, [policy_obj], rpc_events.UPDATED)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        return policy_obj"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_54f0d290","line":101,"updated":"2017-01-13 20:13:27.000000000","message":"if driver manager already knows if we need to issue an RPC notification, and it already has context and policy object and type of action (passed via arguments), then why not issuing notifications from inside the manager? Seems better isolated that way.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":98,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":99,"context_line":"        self.notification_driver_manager.update_policy(context, policy_obj)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        if self.driver_manager.rpc_notifications_required:"},{"line_number":102,"context_line":"            self.push_api.push(context, [policy_obj], rpc_events.UPDATED)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        return policy_obj"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_d4400da8","line":101,"in_reply_to":"7a3c09a3_54f0d290","updated":"2017-01-16 16:25:27.000000000","message":"Makes sense, I was in doubt about that change, finally Done.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":124,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_f4261e15","line":123,"updated":"2017-01-13 20:13:27.000000000","message":"ditto-ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":124,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_741679a8","line":123,"in_reply_to":"7a3c09a3_f4261e15","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":213,"context_line":""},{"line_number":214,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":217,"context_line":"        self.notification_driver_manager.update_policy(context, policy)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_344fc6be","line":216,"updated":"2017-01-13 20:13:27.000000000","message":"ditto-ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":213,"context_line":""},{"line_number":214,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":217,"context_line":"        self.notification_driver_manager.update_policy(context, policy)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_d4272d10","line":216,"in_reply_to":"7a3c09a3_344fc6be","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":258,"context_line":"        self.notification_driver_manager.update_policy(context, policy)"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_b4d1f6cf","line":257,"updated":"2017-01-13 20:13:27.000000000","message":"ditto-ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":288,"context_line":"        self.notification_driver_manager.update_policy(context, policy)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_34e6e6b4","line":287,"updated":"2017-01-13 20:13:27.000000000","message":"ditto-ditto","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"        #TODO(majopela): remove notification_driver call on Pike"},{"line_number":288,"context_line":"        self.notification_driver_manager.update_policy(context, policy)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"        if self.driver_manager.rpc_notifications_required:"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_547a5df2","line":287,"in_reply_to":"7a3c09a3_34e6e6b4","updated":"2017-01-16 16:25:27.000000000","message":"Done","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        policy[\u0027policy\u0027].pop(\u0027tenant_id\u0027, None)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        policy_obj \u003d policy_object.QosPolicy(context, **policy[\u0027policy\u0027])"},{"line_number":73,"context_line":"        policy_obj.create()"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        self.driver_manager.call(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_f1ccd7bc","line":73,"updated":"2017-01-18 01:14:22.000000000","message":"networking-odl needs hooks that are called during db transaction.\nCan xxx_precommit be added?","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2893d879250e0bb6e135f137b10fe1e895b619b9","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        policy[\u0027policy\u0027].pop(\u0027tenant_id\u0027, None)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        policy_obj \u003d policy_object.QosPolicy(context, **policy[\u0027policy\u0027])"},{"line_number":73,"context_line":"        policy_obj.create()"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        self.driver_manager.call(\u0027create_policy\u0027, context, policy_obj)"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_847b417a","line":73,"in_reply_to":"7a3c09a3_f1ccd7bc","updated":"2017-01-18 08:59:46.000000000","message":"Yes, as said on the previous comment, I\u0027d be happy to handle that on a separate patch, this one has already grown big enough.\n\nTo clarify, what you want is a precommit call within a transaction, so your backend is able to stop the transaction? or before?\n\nThanks a lot for the suggestion Isaku, I\u0027m sure other backends will benefit from it too.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        policy_data \u003d policy[\u0027policy\u0027]"},{"line_number":95,"context_line":"        policy_obj \u003d policy_object.QosPolicy(context, id\u003dpolicy_id)"},{"line_number":96,"context_line":"        policy_obj.update_fields(policy_data, reset_changes\u003dTrue)"},{"line_number":97,"context_line":"        policy_obj.update()"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy_obj)"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_11c883a5","line":97,"updated":"2017-01-18 01:14:22.000000000","message":"ditto.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        \"\"\""},{"line_number":116,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":117,"context_line":"        policy.id \u003d policy_id"},{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_71b9c714","line":118,"updated":"2017-01-18 01:14:22.000000000","message":"ditto.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            policy \u003d self._get_policy_obj(context, policy_id)"},{"line_number":207,"context_line":"            rule \u003d rule_cls(context, qos_policy_id\u003dpolicy_id, **rule_data)"},{"line_number":208,"context_line":"            rule.create()"},{"line_number":209,"context_line":"            policy.reload_rules()"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_b13def90","line":209,"updated":"2017-01-18 01:14:22.000000000","message":"ditto.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":244,"context_line":"            rule \u003d rule_cls(context, id\u003drule_id)"},{"line_number":245,"context_line":"            rule.update_fields(rule_data, reset_changes\u003dTrue)"},{"line_number":246,"context_line":"            rule.update()"},{"line_number":247,"context_line":"            policy.reload_rules()"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":250,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_f143f710","line":247,"updated":"2017-01-18 01:14:22.000000000","message":"ditto.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"5e966311fecac3c0bfd67f42bc299b5f8f5ff517","unresolved":false,"context_lines":[{"line_number":272,"context_line":"            policy \u003d self._get_policy_obj(context, policy_id)"},{"line_number":273,"context_line":"            rule \u003d policy.get_rule_by_id(rule_id)"},{"line_number":274,"context_line":"            rule.delete()"},{"line_number":275,"context_line":"            policy.reload_rules()"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"        self.driver_manager.call(\u0027update_policy\u0027, context, policy)"},{"line_number":278,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_114fa337","line":275,"updated":"2017-01-18 01:14:22.000000000","message":"ditto.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c91ac1dfaf17bd3eb39fda6ec4ab7c9c0d39b233","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":78,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":79,"context_line":"        return policy_obj"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @db_base_plugin_common.convert_result_to_dict"},{"line_number":82,"context_line":"    def update_policy(self, context, policy_id, policy):"}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_a9ee26b2","line":79,"updated":"2017-01-18 21:25:47.000000000","message":"nitpick: blank line before this line for consistency?\nEitherway is okay personaly, but I\u0027d like to see consistency.\nline 103 ...","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":78,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":79,"context_line":"        return policy_obj"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @db_base_plugin_common.convert_result_to_dict"},{"line_number":82,"context_line":"    def update_policy(self, context, policy_id, policy):"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_70f5f881","line":79,"in_reply_to":"5a3905b3_c5b995ee","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":78,"context_line":"        self.notification_driver_manager.create_policy(context, policy_obj)"},{"line_number":79,"context_line":"        return policy_obj"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @db_base_plugin_common.convert_result_to_dict"},{"line_number":82,"context_line":"    def update_policy(self, context, policy_id, policy):"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_c5b995ee","line":79,"in_reply_to":"7a3c09a3_a9ee26b2","updated":"2017-01-19 09:05:27.000000000","message":"I will add it to be consistent, it\u0027s easier to read with the blank line IMO but as you said, this is personal preference, and highly subjective.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c91ac1dfaf17bd3eb39fda6ec4ab7c9c0d39b233","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":117,"context_line":"        policy.id \u003d policy_id"},{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_e992ee4a","line":119,"range":{"start_line":119,"start_character":8,"end_line":119,"end_character":71},"updated":"2017-01-18 21:25:47.000000000","message":"Duplicated to line 124.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":117,"context_line":"        policy.id \u003d policy_id"},{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_10359445","line":119,"range":{"start_line":119,"start_character":8,"end_line":119,"end_character":71},"in_reply_to":"5a3905b3_e5be91d3","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":117,"context_line":"        policy.id \u003d policy_id"},{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_e5be91d3","line":119,"range":{"start_line":119,"start_character":8,"end_line":119,"end_character":71},"in_reply_to":"7a3c09a3_e992ee4a","updated":"2017-01-19 09:05:27.000000000","message":"Wooops good catch, thanks.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c91ac1dfaf17bd3eb39fda6ec4ab7c9c0d39b233","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":124,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_e9e02ecf","line":121,"range":{"start_line":121,"start_character":59,"end_line":121,"end_character":65},"updated":"2017-01-18 21:25:47.000000000","message":"As policy is deleted above, Is policy.id (or other element) accessible?","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":124,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_649f0351","line":121,"range":{"start_line":121,"start_character":7,"end_line":121,"end_character":66},"updated":"2017-01-18 22:02:23.000000000","message":"since the policy object is above deleted would it be still intact ?","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        policy.delete()"},{"line_number":119,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        self.driver_manager.call(\u0027delete_policy\u0027, context, policy)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        #TODO(majopela): remove notification_driver_manager call in Pike"},{"line_number":124,"context_line":"        self.notification_driver_manager.delete_policy(context, policy)"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_c5a0b5a8","line":121,"range":{"start_line":121,"start_character":7,"end_line":121,"end_character":66},"in_reply_to":"7a3c09a3_649f0351","updated":"2017-01-19 09:05:27.000000000","message":"Yes, it\u0027s still accessible in memory, only gone from the database backend.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        :returns: None"},{"line_number":116,"context_line":"        \"\"\""},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":119,"context_line":"        policy.id \u003d policy_id"},{"line_number":120,"context_line":"        policy.delete()"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_3321d0b5","line":117,"updated":"2017-01-24 18:14:44.000000000","message":"nit: redundant and inconsistent with other methods","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        :returns: None"},{"line_number":116,"context_line":"        \"\"\""},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"        policy \u003d policy_object.QosPolicy(context)"},{"line_number":119,"context_line":"        policy.id \u003d policy_id"},{"line_number":120,"context_line":"        policy.delete()"}],"source_content_type":"text/x-python","patch_set":28,"id":"5a3905b3_866dbcce","line":117,"in_reply_to":"5a3905b3_3321d0b5","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}],"neutron/tests/fullstack/test_qos.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"3c942cf6f7e5117eddfd9b8b7286d5317142c481","unresolved":false,"context_lines":[{"line_number":280,"context_line":"    def test_supported_qos_rule_types(self):"},{"line_number":281,"context_line":"        res \u003d self.client.list_qos_rule_types()"},{"line_number":282,"context_line":"        rule_types \u003d {t[\u0027type\u0027] for t in res[\u0027rule_types\u0027]}"},{"line_number":283,"context_line":"        expected_rules \u003d set(ovs_drv.OVSDriver.SUPPORTED_RULES)"},{"line_number":284,"context_line":"        self.assertEqual(expected_rules, rule_types)"}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_c47f30a9","line":283,"range":{"start_line":283,"start_character":47,"end_line":283,"end_character":62},"updated":"2017-01-17 16:51:20.000000000","message":"This should be \"supported_rule\", from services.qos.drivers.base.DriverBase","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2893d879250e0bb6e135f137b10fe1e895b619b9","unresolved":false,"context_lines":[{"line_number":280,"context_line":"    def test_supported_qos_rule_types(self):"},{"line_number":281,"context_line":"        res \u003d self.client.list_qos_rule_types()"},{"line_number":282,"context_line":"        rule_types \u003d {t[\u0027type\u0027] for t in res[\u0027rule_types\u0027]}"},{"line_number":283,"context_line":"        expected_rules \u003d set(ovs_drv.OVSDriver.SUPPORTED_RULES)"},{"line_number":284,"context_line":"        self.assertEqual(expected_rules, rule_types)"}],"source_content_type":"text/x-python","patch_set":25,"id":"7a3c09a3_a443dd11","line":283,"range":{"start_line":283,"start_character":47,"end_line":283,"end_character":62},"in_reply_to":"7a3c09a3_c47f30a9","updated":"2017-01-18 08:59:46.000000000","message":"thanks, or ovs_drv.SUPPORTED_RULES too.","commit_id":"507c241e45581eb9005c811515a93f1ad180adf4"}],"neutron/tests/unit/services/qos/drivers/test_manager.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5d01d35ef60ada71162be31301717d8b29312c74","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"},{"line_number":61,"context_line":"    \"\"\"Test supported rules\"\"\""}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_e64c6aca","line":60,"updated":"2017-01-04 18:52:43.000000000","message":"maybe it\u0027s not best question but for what You need this class?","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eb4b25529f549d8794b74b1414855c950d1f832d","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"},{"line_number":61,"context_line":"    \"\"\"Test supported rules\"\"\""}],"source_content_type":"text/x-python","patch_set":14,"id":"ba5201f7_d97ad276","line":60,"in_reply_to":"ba5201f7_e64c6aca","updated":"2017-01-05 08:18:12.000000000","message":"I\u0027m adding more tests now, basically some of the ones I removed for the other implementation.","commit_id":"2f9e4382578a7fc05dd71bb2e9cdc805f9af56d6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"72455e7d547559fe57dea445aa8ac31fdcf1d700","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"},{"line_number":71,"context_line":"    \"\"\"Test supported rules\"\"\""}],"source_content_type":"text/x-python","patch_set":19,"id":"ba5201f7_49d9c956","line":71,"updated":"2017-01-11 15:13:59.000000000","message":"uh wait, this is not finished here.","commit_id":"b6d384469e74a37050035c5b2ec776cb9239bd83"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from neutron.tests.unit.services.qos import base"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"def _load_message_queue_notification_driver():"},{"line_number":23,"context_line":"    cfg.CONF.set_override(\"notification_drivers\", [\"message_queue\"], \"qos\")"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_6f63371b","line":22,"updated":"2017-01-13 20:13:27.000000000","message":"unused, remove","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @staticmethod"},{"line_number":36,"context_line":"    def _create_manager_with_drivers(drivers_details):"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        for name, driver_details in drivers_details.items():"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"            class QoSDriver(qos_driver_base.DriverBase):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_efb0078e","line":37,"updated":"2017-01-13 20:13:27.000000000","message":"nit: redundant line","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @staticmethod"},{"line_number":36,"context_line":"    def _create_manager_with_drivers(drivers_details):"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        for name, driver_details in drivers_details.items():"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"            class QoSDriver(qos_driver_base.DriverBase):"}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_74f2f970","line":37,"in_reply_to":"7a3c09a3_efb0078e","updated":"2017-01-16 16:25:27.000000000","message":"It enhances readability when you have another block right under. But it\u0027s very subjective.","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        return driver_mgr.QosServiceDriverManager()"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"class TestQosDriversManagerMulti(TestQosDriversManagerBase):"},{"line_number":50,"context_line":"    \"\"\"Test calls happen to all drivers\"\"\""},{"line_number":51,"context_line":"    def test_driver_manager_empty_with_no_drivers(self):"},{"line_number":52,"context_line":"        driver_manager \u003d self._create_manager_with_drivers({})"},{"line_number":53,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def test_driver_manager_empty_with_no_loaded_drivers(self):"},{"line_number":56,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":57,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: False}})"},{"line_number":58,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def test_driver_manager_empty_with_one_loaded_driver(self):"},{"line_number":61,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":62,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: True}})"},{"line_number":63,"context_line":"        self.assertEqual(len(driver_manager._drivers), 1)"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_0459df8e","line":63,"range":{"start_line":49,"start_character":0,"end_line":63,"end_character":57},"updated":"2017-01-18 22:02:23.000000000","message":"can a case for multiple drivers could be added ? or i see you\u0027re creating two drivers in test below, can it be there asserted len(driver_manager._drivers) \u003d 2.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        return driver_mgr.QosServiceDriverManager()"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"class TestQosDriversManagerMulti(TestQosDriversManagerBase):"},{"line_number":50,"context_line":"    \"\"\"Test calls happen to all drivers\"\"\""},{"line_number":51,"context_line":"    def test_driver_manager_empty_with_no_drivers(self):"},{"line_number":52,"context_line":"        driver_manager \u003d self._create_manager_with_drivers({})"},{"line_number":53,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def test_driver_manager_empty_with_no_loaded_drivers(self):"},{"line_number":56,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":57,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: False}})"},{"line_number":58,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def test_driver_manager_empty_with_one_loaded_driver(self):"},{"line_number":61,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":62,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: True}})"},{"line_number":63,"context_line":"        self.assertEqual(len(driver_manager._drivers), 1)"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_b04be0af","line":63,"range":{"start_line":49,"start_character":0,"end_line":63,"end_character":57},"in_reply_to":"5a3905b3_45d125fb","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        return driver_mgr.QosServiceDriverManager()"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"class TestQosDriversManagerMulti(TestQosDriversManagerBase):"},{"line_number":50,"context_line":"    \"\"\"Test calls happen to all drivers\"\"\""},{"line_number":51,"context_line":"    def test_driver_manager_empty_with_no_drivers(self):"},{"line_number":52,"context_line":"        driver_manager \u003d self._create_manager_with_drivers({})"},{"line_number":53,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def test_driver_manager_empty_with_no_loaded_drivers(self):"},{"line_number":56,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":57,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: False}})"},{"line_number":58,"context_line":"        self.assertEqual(len(driver_manager._drivers), 0)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def test_driver_manager_empty_with_one_loaded_driver(self):"},{"line_number":61,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("},{"line_number":62,"context_line":"            {\u0027driver-A\u0027: {\u0027is_loaded\u0027: True}})"},{"line_number":63,"context_line":"        self.assertEqual(len(driver_manager._drivers), 1)"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"class TestQosDriversManagerRules(TestQosDriversManagerBase):"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_45d125fb","line":63,"range":{"start_line":49,"start_character":0,"end_line":63,"end_character":57},"in_reply_to":"7a3c09a3_0459df8e","updated":"2017-01-19 09:05:27.000000000","message":"Makes sense, thanks, I\u0027ll add it.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                          \u0027rules\u0027: [qos_consts.RULE_TYPE_MINIMUM_BANDWIDTH,"},{"line_number":75,"context_line":"                                    qos_consts.RULE_TYPE_DSCP_MARKING]}"},{"line_number":76,"context_line":"             })"},{"line_number":77,"context_line":"        self.assertEqual(driver_manager.supported_rule_types,"},{"line_number":78,"context_line":"                         set([qos_consts.RULE_TYPE_MINIMUM_BANDWIDTH]))"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def test_available_rules_no_rule_in_common(self):"},{"line_number":81,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("}],"source_content_type":"text/x-python","patch_set":27,"id":"7a3c09a3_447687d9","line":78,"range":{"start_line":77,"start_character":8,"end_line":78,"end_character":71},"updated":"2017-01-18 22:02:23.000000000","message":"im doubtful about how supported rules are being calculated.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                          \u0027rules\u0027: [qos_consts.RULE_TYPE_MINIMUM_BANDWIDTH,"},{"line_number":75,"context_line":"                                    qos_consts.RULE_TYPE_DSCP_MARKING]}"},{"line_number":76,"context_line":"             })"},{"line_number":77,"context_line":"        self.assertEqual(driver_manager.supported_rule_types,"},{"line_number":78,"context_line":"                         set([qos_consts.RULE_TYPE_MINIMUM_BANDWIDTH]))"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def test_available_rules_no_rule_in_common(self):"},{"line_number":81,"context_line":"        driver_manager \u003d self._create_manager_with_drivers("}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_c52a75e7","line":78,"range":{"start_line":77,"start_character":8,"end_line":78,"end_character":71},"in_reply_to":"7a3c09a3_447687d9","updated":"2017-01-19 09:05:27.000000000","message":"See my explanation on previous files. It\u0027s the minimum subset of registered drivers, and we need to keep it for backwards compatibility, although we plan to provide a more detailed calculation in the future.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"}],"neutron/tests/unit/services/qos/notification_drivers/test_message_queue.py":[{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":27,"id":"7a3c09a3_bf99f8d2","side":"PARENT","updated":"2017-01-18 22:02:23.000000000","message":"I see your TODO to remove notification_manager call should n\u0027t we keep these tests intact until message_queue is there ?","commit_id":"eb27f0be526f9bd4b97ee1f4e70d80a8a1b229e5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":27,"id":"5a3905b3_e0c03fe3","side":"PARENT","in_reply_to":"7a3c09a3_bf99f8d2","updated":"2017-01-19 09:05:27.000000000","message":"Yes, but this tests the \"message_queue\" notification driver, which has been left empty now, so we don\u0027t need to test it\u0027s behaviour.\n\nBefore we had an specific driver for that, but now, the drivers declare their need for push notifications, and if any driver requires RPC the driver manager will send the notification calls for all (it\u0027s a fanout that all subscribers will receive).\n\nThis way if two drivers require RPC we don\u0027t have duplicated rpc calls.","commit_id":"eb27f0be526f9bd4b97ee1f4e70d80a8a1b229e5"}],"neutron/tests/unit/services/qos/test_qos_plugin.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"35dc7eb2d724e737520780e3d11592756a647e8c","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        manager.init()"},{"line_number":54,"context_line":"        self.qos_plugin \u003d directory.get_plugin(constants.QOS)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        #TODO(mangelajo): Remove notification_driver_manager mock on Pike"},{"line_number":57,"context_line":"        self.qos_plugin.notification_driver_manager \u003d mock.Mock()"},{"line_number":58,"context_line":"        self.qos_plugin.driver_manager \u003d mock.Mock()"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_8f4f8391","line":56,"range":{"start_line":56,"start_character":66,"end_line":56,"end_character":68},"updated":"2017-01-13 20:13:27.000000000","message":"in; now that the manager doesn\u0027t do much, can\u0027t we remove the mock right away?","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"4ddb4945222436515d39ed8142c268a214cd0d69","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        manager.init()"},{"line_number":54,"context_line":"        self.qos_plugin \u003d directory.get_plugin(constants.QOS)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        #TODO(mangelajo): Remove notification_driver_manager mock on Pike"},{"line_number":57,"context_line":"        self.qos_plugin.notification_driver_manager \u003d mock.Mock()"},{"line_number":58,"context_line":"        self.qos_plugin.driver_manager \u003d mock.Mock()"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"7a3c09a3_943cc5e3","line":56,"range":{"start_line":56,"start_character":66,"end_line":56,"end_character":68},"in_reply_to":"7a3c09a3_8f4f8391","updated":"2017-01-16 16:25:27.000000000","message":"Hmmm the plugin still calls the notification_driver_manager on the actions, it\u0027s still required. \n\nI\u0027d keep it to make sure we don\u0027t break the notification driver normally, until we finally remove it. (I\u0027ll add TO-DO\u0027s to those mock checks too).","commit_id":"3e8416a10d7f9bb883a2d2956e09494d667838ca"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            method.call_args[0][1], policy_object.QosPolicy)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        self.assertTrue(self.qos_plugin.driver_manager.call.called)"},{"line_number":97,"context_line":"        self.assertIsInstance("},{"line_number":98,"context_line":"            self.qos_plugin.driver_manager.call.call_args[0][2],"},{"line_number":99,"context_line":"            policy_object.QosPolicy"},{"line_number":100,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_3b96fa94","line":97,"updated":"2017-01-19 09:05:27.000000000","message":"we can also check the first parameter to be \u003d\u003d method_name","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            method.call_args[0][1], policy_object.QosPolicy)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        self.assertTrue(self.qos_plugin.driver_manager.call.called)"},{"line_number":97,"context_line":"        self.assertIsInstance("},{"line_number":98,"context_line":"            self.qos_plugin.driver_manager.call.call_args[0][2],"},{"line_number":99,"context_line":"            policy_object.QosPolicy"},{"line_number":100,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":27,"id":"5a3905b3_5d173051","line":97,"in_reply_to":"5a3905b3_3b96fa94","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"}],"neutron/tests/unit/services/revisions/test_revision_plugin.py":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"010dd332d37adc9bf2b09d9204aece452b3e5a3e","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self.l3p \u003d directory.get_plugin(constants.L3)"},{"line_number":50,"context_line":"        self.ctx \u003d nctx.get_admin_context()"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        # FIXME: apparently, this is on the test base class, but it\u0027s"},{"line_number":53,"context_line":"        #        not being hit on parent setUp somehow."},{"line_number":54,"context_line":"        self.addCleanup(registry.clear)"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"ba5201f7_975d5f17","line":52,"range":{"start_line":52,"start_character":10,"end_line":52,"end_character":59},"updated":"2017-01-05 16:56:50.000000000","message":"That\u0027s a different registry. Superclass clears https://github.com/openstack/neutron/blob/master/neutron/callbacks/registry.py#L23\n\nwhile you clear https://github.com/openstack/neutron/blob/master/neutron/api/rpc/callbacks/resource_manager.py#L86\n\nno?","commit_id":"f532aa5ec34341dda5501ee13a800f815f9e027c"}],"releasenotes/notes/qos-drivers-refactor-16ece9984958f8a4.yaml":[{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f17a164c570a255fdbbf0da5e12800834a38d169","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers on the qos section setting has been deprecated, and"},{"line_number":16,"context_line":"    while in the Ocata release the setting will still be used, and QoS"},{"line_number":17,"context_line":"    notification drivers will be called, in the next release the setting"},{"line_number":18,"context_line":"    will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":27,"id":"7a3c09a3_1fa3ec50","line":15,"range":{"start_line":15,"start_character":4,"end_line":15,"end_character":51},"updated":"2017-01-18 22:02:23.000000000","message":"how about \"notification_drivers from the qos section in the configuration setting\" instead","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"dadb69a7911b7d6545fe568fac2a3e202e0b2fe2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers on the qos section setting has been deprecated, and"},{"line_number":16,"context_line":"    while in the Ocata release the setting will still be used, and QoS"},{"line_number":17,"context_line":"    notification drivers will be called, in the next release the setting"},{"line_number":18,"context_line":"    will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":27,"id":"5a3905b3_58257ea9","line":15,"range":{"start_line":15,"start_character":4,"end_line":15,"end_character":51},"in_reply_to":"5a3905b3_9bbb6e0e","updated":"2017-01-19 13:24:44.000000000","message":"Done","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"84dce7dfb3bd9af84e87a851c50610213d554575","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers on the qos section setting has been deprecated, and"},{"line_number":16,"context_line":"    while in the Ocata release the setting will still be used, and QoS"},{"line_number":17,"context_line":"    notification drivers will be called, in the next release the setting"},{"line_number":18,"context_line":"    will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":27,"id":"5a3905b3_9bbb6e0e","line":15,"range":{"start_line":15,"start_character":4,"end_line":15,"end_character":51},"in_reply_to":"7a3c09a3_1fa3ec50","updated":"2017-01-19 09:05:27.000000000","message":"makes sense, thank you Manjeet.","commit_id":"d1c99d17321993bce23e6d8106f095f8d8005ddb"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"    The QoS notification drivers were meant as the interface between the QoS"},{"line_number":4,"context_line":"    plugin and the backend. The previous architecture had several limitations,"},{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_d67a3a77","line":2,"updated":"2017-01-24 18:14:44.000000000","message":"note that prelude is a header for the whole release. maybe we should not have it at the very top describing the release, but as a bullet point among other changes.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"    The QoS notification drivers were meant as the interface between the QoS"},{"line_number":4,"context_line":"    plugin and the backend. The previous architecture had several limitations,"},{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_46875412","line":2,"in_reply_to":"5a3905b3_d67a3a77","updated":"2017-01-25 10:52:01.000000000","message":"I\u0027m changing it into feature bulletpoints, let\u0027s see how does it look.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"},{"line_number":6,"context_line":"    and the next one was the need of configuration knobs to enable each"},{"line_number":7,"context_line":"    specific notification driver."},{"line_number":8,"context_line":"    The new architecture lets core plugin, or ml2 mechanism driver register"},{"line_number":9,"context_line":"    their QoS drivers, which self contain any interface to the backend,"},{"line_number":10,"context_line":"    along with the specific characteristics of the driver (port types, port"},{"line_number":11,"context_line":"    vif types, supported rules, etc) completely decoupling those details"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_f6f656f8","line":8,"range":{"start_line":8,"start_character":41,"end_line":8,"end_character":42},"updated":"2017-01-24 18:14:44.000000000","message":"I suspect this comma is not needed, but I am not a native speaker","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"},{"line_number":6,"context_line":"    and the next one was the need of configuration knobs to enable each"},{"line_number":7,"context_line":"    specific notification driver."},{"line_number":8,"context_line":"    The new architecture lets core plugin, or ml2 mechanism driver register"},{"line_number":9,"context_line":"    their QoS drivers, which self contain any interface to the backend,"},{"line_number":10,"context_line":"    along with the specific characteristics of the driver (port types, port"},{"line_number":11,"context_line":"    vif types, supported rules, etc) completely decoupling those details"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_06db8c1c","line":8,"range":{"start_line":8,"start_character":41,"end_line":8,"end_character":42},"in_reply_to":"5a3905b3_f6f656f8","updated":"2017-01-25 10:52:01.000000000","message":"It\u0027s not necessary I believe.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"},{"line_number":6,"context_line":"    and the next one was the need of configuration knobs to enable each"},{"line_number":7,"context_line":"    specific notification driver."},{"line_number":8,"context_line":"    The new architecture lets core plugin, or ml2 mechanism driver register"},{"line_number":9,"context_line":"    their QoS drivers, which self contain any interface to the backend,"},{"line_number":10,"context_line":"    along with the specific characteristics of the driver (port types, port"},{"line_number":11,"context_line":"    vif types, supported rules, etc) completely decoupling those details"},{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_164a0228","line":12,"range":{"start_line":8,"start_character":4,"end_line":12,"end_character":50},"updated":"2017-01-24 18:14:44.000000000","message":"This seems rather internal to avoid describing in release notes. Notes are meant to be read by consumers (ops) not developers. What is interesting to consumers is that the option is deprecated, and that they don\u0027t need to set it. That should be enough for the note.","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    the main one was the coupling of QoS details into the mechanism drivers,"},{"line_number":6,"context_line":"    and the next one was the need of configuration knobs to enable each"},{"line_number":7,"context_line":"    specific notification driver."},{"line_number":8,"context_line":"    The new architecture lets core plugin, or ml2 mechanism driver register"},{"line_number":9,"context_line":"    their QoS drivers, which self contain any interface to the backend,"},{"line_number":10,"context_line":"    along with the specific characteristics of the driver (port types, port"},{"line_number":11,"context_line":"    vif types, supported rules, etc) completely decoupling those details"},{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_a602b86d","line":12,"range":{"start_line":8,"start_character":4,"end_line":12,"end_character":50},"in_reply_to":"5a3905b3_164a0228","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"},{"line_number":16,"context_line":"    been deprecated, and while in the Ocata release the setting will still"},{"line_number":17,"context_line":"    be used, and QoS notification drivers will be called, in the next"},{"line_number":18,"context_line":"    release the setting will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_b6612eab","line":15,"range":{"start_line":15,"start_character":25,"end_line":15,"end_character":74},"updated":"2017-01-24 18:14:44.000000000","message":"-\u003e from ``[qos]`` configuration section","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    from the mechanism drivers in the case of ML2."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"},{"line_number":16,"context_line":"    been deprecated, and while in the Ocata release the setting will still"},{"line_number":17,"context_line":"    be used, and QoS notification drivers will be called, in the next"},{"line_number":18,"context_line":"    release the setting will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_c6f7c48a","line":15,"range":{"start_line":15,"start_character":25,"end_line":15,"end_character":74},"in_reply_to":"5a3905b3_b6612eab","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98840987c66608cae2d0eaf60f0507598a515f34","unresolved":false,"context_lines":[{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"},{"line_number":16,"context_line":"    been deprecated, and while in the Ocata release the setting will still"},{"line_number":17,"context_line":"    be used, and QoS notification drivers will be called, in the next"},{"line_number":18,"context_line":"    release the setting will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_b6084edb","line":18,"range":{"start_line":16,"start_character":19,"end_line":18,"end_character":50},"updated":"2017-01-24 18:14:44.000000000","message":"-\u003e \". It will be removed in a future release.\"","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a44bbf8752580a987ab988716372d7e94ef7ddef","unresolved":false,"context_lines":[{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - |"},{"line_number":15,"context_line":"    notification_drivers from the qos section setting in the configuration has"},{"line_number":16,"context_line":"    been deprecated, and while in the Ocata release the setting will still"},{"line_number":17,"context_line":"    be used, and QoS notification drivers will be called, in the next"},{"line_number":18,"context_line":"    release the setting will be completely ignored."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"5a3905b3_06f2ac9a","line":18,"range":{"start_line":16,"start_character":19,"end_line":18,"end_character":50},"in_reply_to":"5a3905b3_b6084edb","updated":"2017-01-25 10:52:01.000000000","message":"Done","commit_id":"8e602656cd4da76b457e54b762425d391db197b5"}]}
