)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"06531085d0f72b7b9e66af0a9195c219883b7b7b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Aradhana Singh \u003caradhana1.singh@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-04-10 03:31:48 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[DO NOT MERGE]: refactor config options"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Refactor Neutron configuration options to be in neutron/conf"},{"line_number":10,"context_line":"Related-Bug: #1563069"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a1b2928_716328dd","line":7,"updated":"2016-04-11 18:57:15.000000000","message":"I\u0027d change this to WIP and not DO NOT MERGE","commit_id":"b95927803e4f8a77f1bea9b3c5cf410b70810feb"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bbd5c88123d6a68cba7b3b32d70ed259e0b09f58","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Aradhana Singh \u003caradhana1.singh@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-04-22 23:05:05 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Refactoring config options"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Refactoring Neutron configuration options to be in neutron/conf."},{"line_number":10,"context_line":"This would allow centralization of all configuration options and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"1a122d0e_3cdde370","line":7,"updated":"2016-04-23 03:57:27.000000000","message":"This commit touches only quota related stuff.\nThe summary line should describe it is related to \u0027quota\u0027.","commit_id":"5f034e53b0afa3410e7bb6cdb60ff5bb60ac129a"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"2d762b638908ced09875bdacd7a38363b5d10b96","unresolved":false,"context_lines":[{"line_number":13,"context_line":"http://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/centralize-config-options.html"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug:#1563069"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I7723ba9b24dd5cf74b321bd0fc54df0666594bbc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"dab17558_16047913","line":16,"updated":"2016-05-06 16:10:03.000000000","message":"I think that you need a BP and spec for this. I am not sure what value this brings to the community","commit_id":"e02e28d83f22d662214bbb4d18c994973b72ca8a"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"ff8eda8a443f6f9fb95b7ab6250720db9fc9685a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"http://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/centralize-config-options.html"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug:#1563069"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I7723ba9b24dd5cf74b321bd0fc54df0666594bbc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"dab17558_3679bdfd","line":16,"in_reply_to":"dab17558_16047913","updated":"2016-05-06 16:36:57.000000000","message":"please refer the bug on launchpad https://bugs.launchpad.net/neutron/+bug/1563069\n\nAccording to last comment by Armando, it was suggested that RFE is not required.\n\nThis effort is a part of cross prject spec for centralizing config options\nhttps://review.openstack.org/#/c/295543","commit_id":"e02e28d83f22d662214bbb4d18c994973b72ca8a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1c0cf519bb98aece774b46dc77b76c5ff49fb387","unresolved":false,"context_lines":[{"line_number":13,"context_line":"http://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/centralize-config-options.html"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug:#1563069"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I7723ba9b24dd5cf74b321bd0fc54df0666594bbc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"dab17558_64637db2","line":16,"in_reply_to":"dab17558_3679bdfd","updated":"2016-05-06 23:36:00.000000000","message":"We previously discussed it in the neutron-drivers meeting and we dropped the rfe tag from the bug because it is a kind of refactoring.","commit_id":"e02e28d83f22d662214bbb4d18c994973b72ca8a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ae96334ae9d79768f86af5d7fe386e050b57c43e","unresolved":false,"context_lines":[{"line_number":12,"context_line":"It is similar to the Nova implementation found here:"},{"line_number":13,"context_line":"http://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/centralize-config-options.html"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-Bug:#1563069"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I7723ba9b24dd5cf74b321bd0fc54df0666594bbc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"dab17558_0af2e199","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":11},"updated":"2016-05-11 11:35:41.000000000","message":"It should be \u0027Partial-Bug\u0027","commit_id":"3a5dee3ae6c361cc1672758ba938af9dc9f51f33"}],"neutron/conf/__init__.py":[{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"5710ce66bd49dedb405a051f70efb695db483fcf","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"5a18252c_ae2194b6","updated":"2016-04-13 21:35:03.000000000","message":"yes, this file existing determines whether python sees this as a package, or just another directory.","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"},{"author":{"_account_id":19591,"name":"Saisrikiran Mudigonda","email":"saisrikiran.mudigonda@intel.com","username":"saisrikiran"},"change_message_id":"d7fd2b12f4d3404edbcbaff00146d5f3eeee8bf7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"5a18252c_e3ca956d","line":1,"updated":"2016-04-13 16:21:13.000000000","message":"Do you need this empty file?","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"}],"neutron/conf/quota.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"267b643dd9ddaccf277f27905d70b8e59ab81741","unresolved":false,"context_lines":[{"line_number":48,"context_line":"               help\u003d_(\u0027Default driver to use for quota checks\u0027)),"},{"line_number":49,"context_line":"    cfg.BoolOpt(\u0027track_quota_usage\u0027,"},{"line_number":50,"context_line":"                default\u003dTrue,"},{"line_number":51,"context_line":"                help\u003d_(\u0027Keep in track in the database of current resource\u0027"},{"line_number":52,"context_line":"                       \u0027quota usage. Plugins which do not leverage the \u0027"},{"line_number":53,"context_line":"                       \u0027neutron database should set this flag to False\u0027)),"},{"line_number":54,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a122d0e_5e50a95e","line":51,"updated":"2016-04-18 09:17:10.000000000","message":"missing spaces","commit_id":"d1f3489999b42d19a383adc9f45a7b4401527767"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"f2e85d6d5ad5bbbf2bbc070fe71f2942f4296240","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"1a122d0e_576b1585","updated":"2016-04-19 19:29:42.000000000","message":"If this file defined methods for registering each group of options, it would be a bit more usable.  The module importing this module would not need to also import oslo_config just to register the options.  For example:\n\ndef register_security_group_opts()\ndef register_l3_opts()","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":12955,"name":"Aman Kumar","email":"aman.kumar3@hpe.com","username":"amank"},"change_message_id":"11d027e8575bb6d5742e27b74d59cf9339663e5c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_b710d202","line":1,"range":{"start_line":1,"start_character":5,"end_line":1,"end_character":13},"updated":"2016-04-19 05:47:25.000000000","message":"\"# Copyright 2016 .....\" line is missing, refer any other file. e.g.: https://github.com/openstack/neutron/blob/master/neutron/agent/common/config.py","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"51d299c9ece0f24a9420eb7526f7ca4f9e646b09","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_400b5f8e","line":1,"range":{"start_line":1,"start_character":5,"end_line":1,"end_character":13},"in_reply_to":"1a122d0e_b710d202","updated":"2016-04-19 14:41:59.000000000","message":"i don\u0027t work for OpenStack Foundation. Therefore didn\u0027t include # Copyright 2012 OpenStack Foundation","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                      \u0027A negative value means unlimited.\u0027)),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027quota_driver\u0027,"},{"line_number":47,"context_line":"               default\u003dQUOTA_DB_DRIVER,"},{"line_number":48,"context_line":"               help\u003d_(\u0027Default driver to use for quota checks\u0027)),"},{"line_number":49,"context_line":"    cfg.BoolOpt(\u0027track_quota_usage\u0027,"},{"line_number":50,"context_line":"                default\u003dTrue,"},{"line_number":51,"context_line":"                help\u003d_(\u0027Keep in track in the database of current resource \u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_538d207a","line":48,"updated":"2016-04-18 20:12:30.000000000","message":"Missing period at end of help text.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                default\u003dTrue,"},{"line_number":51,"context_line":"                help\u003d_(\u0027Keep in track in the database of current resource \u0027"},{"line_number":52,"context_line":"                       \u0027quota usage. Plugins which do not leverage the \u0027"},{"line_number":53,"context_line":"                       \u0027neutron database should set this flag to False\u0027)),"},{"line_number":54,"context_line":"]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"# _quota_opts from neutron/db/migration/cli.py"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_93edf827","line":53,"updated":"2016-04-18 20:12:30.000000000","message":"Missing period at end of help text.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":54,"context_line":"]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"# _quota_opts from neutron/db/migration/cli.py"},{"line_number":57,"context_line":"_quota_opts \u003d ["},{"line_number":58,"context_line":"    cfg.StrOpt(\u0027quota_driver\u0027,"},{"line_number":59,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":60,"context_line":"               help\u003d_(\u0027Neutron quota driver class\u0027),"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_93d4d847","line":57,"updated":"2016-04-18 20:12:30.000000000","message":"IHMO its slightly confusing to have a quota_opts and _quota_opts in this file. I understand its a direct \"port\" of what\u0027s in cli.py, but perhaps we should consider a more descriptive name such as quota_migration_cli_opts or something?","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":12955,"name":"Aman Kumar","email":"aman.kumar3@hpe.com","username":"amank"},"change_message_id":"11d027e8575bb6d5742e27b74d59cf9339663e5c","unresolved":false,"context_lines":[{"line_number":54,"context_line":"]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"# _quota_opts from neutron/db/migration/cli.py"},{"line_number":57,"context_line":"_quota_opts \u003d ["},{"line_number":58,"context_line":"    cfg.StrOpt(\u0027quota_driver\u0027,"},{"line_number":59,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":60,"context_line":"               help\u003d_(\u0027Neutron quota driver class\u0027),"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_f721aa4e","line":57,"in_reply_to":"1a122d0e_93d4d847","updated":"2016-04-19 05:47:25.000000000","message":"+1","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":57,"context_line":"_quota_opts \u003d ["},{"line_number":58,"context_line":"    cfg.StrOpt(\u0027quota_driver\u0027,"},{"line_number":59,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":60,"context_line":"               help\u003d_(\u0027Neutron quota driver class\u0027),"},{"line_number":61,"context_line":"               deprecated_for_removal\u003dTrue),"},{"line_number":62,"context_line":"]"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_33dfc46a","line":60,"updated":"2016-04-18 20:12:30.000000000","message":"Missing period at end of help text.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"75f42b61714b3d3fc4756c4afa4814846640ecf8","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts():"},{"line_number":102,"context_line":"    CONF \u003d cfg.ConfigOpts()"},{"line_number":103,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a122d0e_6c94368a","line":102,"updated":"2016-04-21 03:20:27.000000000","message":"why is this necessary?","commit_id":"087e46dec915f9ba5ee98e6d543a8f8b47b30951"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"eca7fe9a4c9517338730ae2fc8a1579c518ff5a2","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts():"},{"line_number":102,"context_line":"    CONF \u003d cfg.ConfigOpts()"},{"line_number":103,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a122d0e_3767f426","line":102,"in_reply_to":"1a122d0e_22b5f9cf","updated":"2016-04-21 22:58:27.000000000","message":"actually come to think of it this is not going to be good.  This is just instantiating a new cfg.ConfigOpts and not modifying the global one that everything uses that you get from oslo_config.cfg.CONF.  So this won\u0027t actually register these options in the right ConfigOpts instance.\n\nWhere do you get the DuplicateError?  I didn\u0027t think there was a piece of code that was attempting to register both migration_cli_quota_opts and quota_opts.  Thats how you\u0027d get the DuplicateError.  The cli code should be executed without registering the quota_opts so you wouldn\u0027t get a DuplicateError.\n\nIf this is unavoidable there\u0027s another method we can do, ping me on irc.","commit_id":"087e46dec915f9ba5ee98e6d543a8f8b47b30951"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"69615c179b5da2689bbe3074ee694fb7d2d169d4","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts():"},{"line_number":102,"context_line":"    CONF \u003d cfg.ConfigOpts()"},{"line_number":103,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a122d0e_7a7151e0","line":102,"in_reply_to":"1a122d0e_3767f426","updated":"2016-04-21 23:36:48.000000000","message":"amending what I said above.  Just looked at the cli code and it\u0027s creating a new ConfigOpts instance in its module, so this method is going to need to take a parameter that is an instance of ConfigOpts.  just call it config.  I don\u0027t like the inconsitency of this with the rest of the code but the cli isn\u0027t using the global CONF so this does have to be different.","commit_id":"087e46dec915f9ba5ee98e6d543a8f8b47b30951"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"b354e5d93b2ff96de9ec0d6b898fb6dbb04c7510","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts():"},{"line_number":102,"context_line":"    CONF \u003d cfg.ConfigOpts()"},{"line_number":103,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a122d0e_22b5f9cf","line":102,"in_reply_to":"1a122d0e_6c94368a","updated":"2016-04-21 20:50:04.000000000","message":"\u0027quota_driver\u0027 is an option under both quota_opts and migration_cli_quota_opts.\nDuplicateOptError if cfg.CONF.register_opts() is used for registering migration_cli_quota_opts","commit_id":"087e46dec915f9ba5ee98e6d543a8f8b47b30951"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"b1f32160e023909e1a816cb1405896860a65a5e2","unresolved":false,"context_lines":[{"line_number":98,"context_line":"]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts(CONF):"},{"line_number":102,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"1a122d0e_1d9bceca","line":101,"range":{"start_line":101,"start_character":32,"end_line":101,"end_character":36},"updated":"2016-04-22 19:10:36.000000000","message":"since you have to do another patch set bc this is in a merge conflict, can you renamet his to just config.  CONF is so widely used as a global variable i\u0027d rather keep that chance of confusion with this one low.","commit_id":"67e0a870c76e7ccf748f09aa2b19473e21d65986"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"8248f0f4c1418458db7d136d9d917ab68574f0f7","unresolved":false,"context_lines":[{"line_number":98,"context_line":"]"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"def register_migration_cli_opts(CONF):"},{"line_number":102,"context_line":"    CONF.register_opts(migration_cli_quota_opts, QUOTAS)"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"1a122d0e_b3280687","line":101,"range":{"start_line":101,"start_character":32,"end_line":101,"end_character":36},"in_reply_to":"1a122d0e_1d9bceca","updated":"2016-04-22 23:06:42.000000000","message":"missed it in the last patch.\nDone","commit_id":"67e0a870c76e7ccf748f09aa2b19473e21d65986"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bbd5c88123d6a68cba7b3b32d70ed259e0b09f58","unresolved":false,"context_lines":[{"line_number":20,"context_line":"QUOTA_DB_MODULE \u003d \u0027neutron.db.quota.driver\u0027"},{"line_number":21,"context_line":"QUOTA_DB_DRIVER \u003d \u0027%s.DbQuotaDriver\u0027 % QUOTA_DB_MODULE"},{"line_number":22,"context_line":"default_quota_items \u003d [\u0027network\u0027, \u0027subnet\u0027, \u0027port\u0027]"},{"line_number":23,"context_line":"QUOTAS \u003d \u0027QUOTAS\u0027"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# quota_opts from neutron/quota/__init__.py"},{"line_number":26,"context_line":"quota_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":9,"id":"1a122d0e_bc2bb332","line":23,"range":{"start_line":23,"start_character":0,"end_line":23,"end_character":6},"updated":"2016-04-23 03:57:27.000000000","message":"Could you use more meaningful name? How about QUOTAS_CFG_GROUP?","commit_id":"5f034e53b0afa3410e7bb6cdb60ff5bb60ac129a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bbd5c88123d6a68cba7b3b32d70ed259e0b09f58","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"def register_security_group_opts():"},{"line_number":114,"context_line":"    cfg.CONF.register_opts(security_group_quota_opts, QUOTAS)"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"def register_quota_opts():"},{"line_number":118,"context_line":"    cfg.CONF.register_opts(quota_opts, QUOTAS)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a122d0e_9c6077a6","line":115,"updated":"2016-04-23 03:57:27.000000000","message":"I am not sure it does scale to define methods per feature.\nIn addition, *-aas repo wants to register similar quota options.\n\nHow about preparing a generic method register_quota_opts?\n\n  def register_quota_opts(opts):\n      cfg.CONF.register_opts(opts, QUOTAS)\n\nand use it from extension/l3.py:\n\n  quota.register_quota_opts(quota.l3_quota_opts)","commit_id":"5f034e53b0afa3410e7bb6cdb60ff5bb60ac129a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bbd5c88123d6a68cba7b3b32d70ed259e0b09f58","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    cfg.CONF.register_opts(security_group_quota_opts, QUOTAS)"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"def register_quota_opts():"},{"line_number":118,"context_line":"    cfg.CONF.register_opts(quota_opts, QUOTAS)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a122d0e_fc0b6b7b","line":117,"range":{"start_line":117,"start_character":4,"end_line":117,"end_character":23},"updated":"2016-04-23 03:57:27.000000000","message":"It might be better to rename it to register_quota_base_opts or register_quota_core_opts, because register_quota_opts sounds generic.","commit_id":"5f034e53b0afa3410e7bb6cdb60ff5bb60ac129a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6c84f5b53723f9e38cb989319878b84a6b6a0308","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from neutron._i18n import _"},{"line_number":18,"context_line":"from oslo_config import cfg"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"QUOTA_DB_MODULE \u003d \u0027neutron.db.quota.driver\u0027"},{"line_number":21,"context_line":"QUOTA_DB_DRIVER \u003d \u0027%s.DbQuotaDriver\u0027 % QUOTA_DB_MODULE"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_a31c8f77","line":18,"updated":"2016-04-29 19:55:43.000000000","message":"oslo_config is third party, so L.17 and 18 should belong to separate import groups.","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6c84f5b53723f9e38cb989319878b84a6b6a0308","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from neutron._i18n import _"},{"line_number":18,"context_line":"from oslo_config import cfg"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"QUOTA_DB_MODULE \u003d \u0027neutron.db.quota.driver\u0027"},{"line_number":21,"context_line":"QUOTA_DB_DRIVER \u003d \u0027%s.DbQuotaDriver\u0027 % QUOTA_DB_MODULE"},{"line_number":22,"context_line":"default_quota_items \u003d [\u0027network\u0027, \u0027subnet\u0027, \u0027port\u0027]"},{"line_number":23,"context_line":"QUOTAS_CFG_GROUP \u003d \u0027QUOTAS\u0027"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# quota_opts from neutron/quota/__init__.py"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_7ee32aa4","line":22,"range":{"start_line":20,"start_character":0,"end_line":22,"end_character":51},"updated":"2016-04-29 19:55:43.000000000","message":"I see the same definitions in quota/__init__.py too.\nIt is to avoid import loop, but it is not a good idea to have duplicated definitions. How about preparing some module quota/constants.py?","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"1c4bf05628402454b157118b4615bd2072ea89b2","unresolved":false,"context_lines":[{"line_number":99,"context_line":"]"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"def register_quota_opts(opts, cfg\u003dcfg.CONF):"},{"line_number":103,"context_line":"    cfg.register_opts(opts, QUOTAS_CFG_GROUP)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_367440cd","line":102,"range":{"start_line":102,"start_character":24,"end_line":102,"end_character":28},"updated":"2016-04-29 16:42:22.000000000","message":"plan to rename this parameter to \"quota_opts\", any suggestions ?","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6c84f5b53723f9e38cb989319878b84a6b6a0308","unresolved":false,"context_lines":[{"line_number":99,"context_line":"]"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"def register_quota_opts(opts, cfg\u003dcfg.CONF):"},{"line_number":103,"context_line":"    cfg.register_opts(opts, QUOTAS_CFG_GROUP)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_9e99e621","line":102,"range":{"start_line":102,"start_character":24,"end_line":102,"end_character":28},"in_reply_to":"1a122d0e_367440cd","updated":"2016-04-29 19:55:43.000000000","message":"I am fine with either of the current one and quota_opts.\nThe method name says it is related to quota opts, so \u0027opts\u0027 is no problem to me.","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"31d3a4f172a0bafb511777db3474a2f089761d5d","unresolved":false,"context_lines":[{"line_number":99,"context_line":"]"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"def register_quota_opts(opts, cfg\u003dcfg.CONF):"},{"line_number":103,"context_line":"    cfg.register_opts(opts, QUOTAS_CFG_GROUP)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_193e90b7","line":102,"range":{"start_line":102,"start_character":24,"end_line":102,"end_character":28},"in_reply_to":"1a122d0e_9e99e621","updated":"2016-05-02 19:48:10.000000000","message":"i think opts is fine","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"}],"neutron/conf/quotas/__init__.py":[{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"06531085d0f72b7b9e66af0a9195c219883b7b7b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"7a1b2928_b182e050","updated":"2016-04-11 18:57:15.000000000","message":"I think it\u0027d be better if we made neutron/conf/quotas a module instead of a package and did everything in there.  (neutron/conf/quotas.py)","commit_id":"b95927803e4f8a77f1bea9b3c5cf410b70810feb"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"4e9ade6c48ff7581a0b05c43353c389b4fb87e42","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"5a18252c_5efec037","updated":"2016-04-13 16:37:13.000000000","message":"I would get rid of this file in favor of just a neutron/conf/quotas.py and everything in the current quotas/common.py file should be moved in here.\n\nalso I think the file name should be quota instead of quotas to be consistent with teh other neutron files.","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"},{"author":{"_account_id":19591,"name":"Saisrikiran Mudigonda","email":"saisrikiran.mudigonda@intel.com","username":"saisrikiran"},"change_message_id":"d7fd2b12f4d3404edbcbaff00146d5f3eeee8bf7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"from neutron.conf.quotas import common"},{"line_number":2,"context_line":"from oslo_config import cfg"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"common.register_opts(cfg.CONF)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a18252c_638cc535","line":4,"range":{"start_line":1,"start_character":0,"end_line":4,"end_character":30},"updated":"2016-04-13 16:21:13.000000000","message":"Add Copyright message.","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"}],"neutron/conf/quotas/common.py":[{"author":{"_account_id":19591,"name":"Saisrikiran Mudigonda","email":"saisrikiran.mudigonda@intel.com","username":"saisrikiran"},"change_message_id":"d7fd2b12f4d3404edbcbaff00146d5f3eeee8bf7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a18252c_839641ee","line":1,"updated":"2016-04-13 16:21:13.000000000","message":"Please add the copyright at the top of the header.\n# Copyright (c) 2016 OpenStack Foundation.\n# All Rights Reserved.\n#","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"5710ce66bd49dedb405a051f70efb695db483fcf","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a18252c_3103290f","line":1,"in_reply_to":"5a18252c_839641ee","updated":"2016-04-13 21:35:03.000000000","message":"You do not have to add a copyright header.  You should do whatever your company policy is.  If you do put a header in it SHOULD always be whatever company you work for.  Unless you work for the Openstack Foundation, you should not put Openstack Foundation.","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"}],"neutron/constants/quota.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"28e9d7af37ee616cdf535891d66d0c3c6684124a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"1a122d0e_49e9d57e","updated":"2016-05-05 01:12:49.000000000","message":"would you like to introduce \"constants\" module?\nWe already have neutron.common.constants and neutron_lib.constants.\nI am not sure we need to introduce a new neutron.constants.quota.\n\n\nPerhaps my suggestion in earlier patch set does not work.\nDefining constants in neutron/quota/constants.py does not work because neutron/quota/__init__.py to load neutron/quota/constants.py and you made this.\n\n\nConfDriver is now deprecated and I think we can drop it soon. Considering this, IMHO we can accept defining them in two places temporarily. Sorry for confusion.","commit_id":"349cab1514f7ec3ca880035c4d06bc8c1880d6e5"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"8093a3a1d18bf36cf9823d87d0a6593093b8c2a3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"dab17558_07aba675","in_reply_to":"1a122d0e_49e9d57e","updated":"2016-05-06 15:43:01.000000000","message":"when i tried consolidating variable definition from two places in neutron/quota, it resulted in import loop.\nThese variables are being used twice, thus i was reluctant in placing them under neutron.common.constants. \nAnd as you mentioned creating another constants module doesn\u0027t look like a good idea.\nWill revert these changes","commit_id":"349cab1514f7ec3ca880035c4d06bc8c1880d6e5"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2dc32ed41a25b398a7bad2a5407de1cb34cad44e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"dab17558_a8d654ee","updated":"2016-05-11 01:01:34.000000000","message":"we no longer need this file as you have the definitions in config and quota modules.","commit_id":"4e7e0b82fef00ee524c5132391016aa965b9138d"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"1fd88209903c13941a0c40179273b6152965afbe","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"dab17558_beb7ae38","in_reply_to":"dab17558_a8d654ee","updated":"2016-05-11 01:56:25.000000000","message":"Refactored this part. Removed file and all the constants are defined now in conf/quota","commit_id":"4e7e0b82fef00ee524c5132391016aa965b9138d"}],"neutron/db/migration/cli.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"CONF.register_opts(quota._quota_opts, \u0027QUOTAS\u0027)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_731c9c12","line":109,"range":{"start_line":109,"start_character":39,"end_line":109,"end_character":45},"updated":"2016-04-18 20:12:30.000000000","message":"I would opt to make QUOTAS a const in quota.py or elsewhere.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"69615c179b5da2689bbe3074ee694fb7d2d169d4","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_migration_cli_opts()"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a122d0e_5abbb575","line":109,"updated":"2016-04-21 23:36:48.000000000","message":"i think you\u0027re going to need to pass CONF to this function so that the options are registered with that ConfigOpts instance.","commit_id":"087e46dec915f9ba5ee98e6d543a8f8b47b30951"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"c36bdce0f8e24e190afaff99b2bf7390d2de0f6b","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_quota_opts(quota.migration_cli_quota_opts, CONF)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_280cc53a","line":109,"updated":"2016-05-01 13:22:51.000000000","message":"Not used in this file. Please just remove it entirely.","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"31d3a4f172a0bafb511777db3474a2f089761d5d","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_quota_opts(quota.migration_cli_quota_opts, CONF)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_863e98d8","line":109,"in_reply_to":"1a122d0e_0054301f","updated":"2016-05-02 19:48:10.000000000","message":"As long as neutron-db-manage does not need these options, removing this makes sense to me.\n\nThe files you mentioned probably aren\u0027t needed by neutron-db-manage.","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"66e3a9ae584bc02a478aa2054a8eaa379539ded2","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_quota_opts(quota.migration_cli_quota_opts, CONF)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_e0cc948c","line":109,"in_reply_to":"1a122d0e_280cc53a","updated":"2016-05-02 18:02:56.000000000","message":"true, it\u0027s not being used in this file\nbut this line calls a method which registers quota_driver to CONF object.\n\nquota_driver option is being used in following files\n\nhttps://github.com/openstack/neutron/blob/master/neutron/pecan_wsgi/controllers/quota.py/#L45\n\nhttps://github.com/openstack/neutron/blob/master/neutron/extensions/quotasv2.py#L49","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"13a0ee7446f50a162314ca74cbf95d5b6b42606c","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_quota_opts(quota.migration_cli_quota_opts, CONF)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_6c619b11","line":109,"in_reply_to":"1a122d0e_863e98d8","updated":"2016-05-02 21:18:54.000000000","message":"none of the these options are being used.\nwill remove registration from here and migration_cli_quota_opts from conf/quota.py","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"67a869c41c9660089d8f25c2132406de8c467e07","unresolved":false,"context_lines":[{"line_number":106,"context_line":"CONF \u003d cfg.ConfigOpts()"},{"line_number":107,"context_line":"CONF.register_cli_opts(_core_opts)"},{"line_number":108,"context_line":"CONF.register_cli_opts(_db_opts, \u0027database\u0027)"},{"line_number":109,"context_line":"quota.register_quota_opts(quota.migration_cli_quota_opts, CONF)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"def do_alembic_command(config, cmd, revision\u003dNone, desc\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a122d0e_0054301f","line":109,"in_reply_to":"1a122d0e_e0cc948c","updated":"2016-05-02 18:29:06.000000000","message":"OK, but here is not the right place to do this registration.","commit_id":"02672e5a8bfcb038d4d32ae8cda775e25427c65e"}],"neutron/extensions/l3.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    },"},{"line_number":156,"context_line":"}"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"cfg.CONF.register_opts(quota.l3_quota_opts, \u0027QUOTAS\u0027)"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"class L3(extensions.ExtensionDescriptor):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_736e5c96","line":158,"range":{"start_line":158,"start_character":45,"end_line":158,"end_character":51},"updated":"2016-04-18 20:12:30.000000000","message":"I would opt to make QUOTAS a const in quota.py or elsewhere.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"}],"neutron/extensions/rbac.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    }"},{"line_number":79,"context_line":"}"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"cfg.CONF.register_opts(quota.rbac_quota_opts, \u0027QUOTAS\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"class Rbac(extensions.ExtensionDescriptor):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_930978e0","line":81,"range":{"start_line":81,"start_character":47,"end_line":81,"end_character":53},"updated":"2016-04-18 20:12:30.000000000","message":"I would opt to make QUOTAS a const in quota.py or elsewhere.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"}],"neutron/extensions/securitygroup.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                               \u0027convert_to\u0027: convert_to_uuid_list_or_none,"},{"line_number":286,"context_line":"                               \u0027default\u0027: attr.ATTR_NOT_SPECIFIED}}}"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"cfg.CONF.register_opts(quota.security_group_quota_opts, \u0027QUOTAS\u0027)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"class Securitygroup(extensions.ExtensionDescriptor):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_33fb44c3","line":288,"range":{"start_line":288,"start_character":57,"end_line":288,"end_character":63},"updated":"2016-04-18 20:12:30.000000000","message":"I would opt to make QUOTAS a const in quota.py or elsewhere.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"}],"neutron/opts.py":[{"author":{"_account_id":19591,"name":"Saisrikiran Mudigonda","email":"saisrikiran.mudigonda@intel.com","username":"saisrikiran"},"change_message_id":"d7fd2b12f4d3404edbcbaff00146d5f3eeee8bf7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#  Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#  not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#  a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a18252c_63c045e1","line":1,"updated":"2016-04-13 16:21:13.000000000","message":"Please add copyright at the top of the header.\n# Copyright (c) 2016 OpenStack Foundation.\n# All Rights Reserved.\n#","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"}],"neutron/quota/__init__.py":[{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"06531085d0f72b7b9e66af0a9195c219883b7b7b","unresolved":false,"context_lines":[{"line_number":33,"context_line":"QUOTA_DB_DRIVER \u003d \u0027%s.DbQuotaDriver\u0027 % QUOTA_DB_MODULE"},{"line_number":34,"context_line":"QUOTA_CONF_DRIVER \u003d \u0027neutron.quota.ConfDriver\u0027"},{"line_number":35,"context_line":"default_quota_items \u003d [\u0027network\u0027, \u0027subnet\u0027, \u0027port\u0027]"},{"line_number":36,"context_line":"CONF \u003d neutron.conf.quotas.cfg.CONF"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"class ConfDriver(object):"},{"line_number":39,"context_line":"    \"\"\"Configuration driver."}],"source_content_type":"text/x-python","patch_set":1,"id":"7a1b2928_91bfe4cf","line":36,"updated":"2016-04-11 18:57:15.000000000","message":"Keep the oslo_config import and this shouldn\u0027t be necessary, nor should the changes from cfg.CONF to just CONF below.","commit_id":"b95927803e4f8a77f1bea9b3c5cf410b70810feb"},{"author":{"_account_id":19591,"name":"Saisrikiran Mudigonda","email":"saisrikiran.mudigonda@intel.com","username":"saisrikiran"},"change_message_id":"d7fd2b12f4d3404edbcbaff00146d5f3eeee8bf7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation.  All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":5,"context_line":"#    a copy of the License at"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a18252c_c36e7900","line":2,"range":{"start_line":1,"start_character":0,"end_line":2,"end_character":1},"updated":"2016-04-13 16:21:13.000000000","message":"Please add to the copyright at the top of the header.\n# Copyright (c) 2016 OpenStack Foundation.\n# All Rights Reserved.\n#","commit_id":"9bb58ceab76679aa055c7814ca18490f3bde4d9c"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ead79102f434cae659948c384f025efa62a77c8c","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Register the configuration options"},{"line_number":40,"context_line":"cfg.CONF.register_opts(quota.quota_opts, \u0027QUOTAS\u0027)"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class ConfDriver(object):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a122d0e_530080aa","line":40,"range":{"start_line":40,"start_character":42,"end_line":40,"end_character":48},"updated":"2016-04-18 20:12:30.000000000","message":"I would opt to make QUOTAS a const in quota.py or elsewhere.","commit_id":"035090ed555477fe914e8d1b005c6ba3e9effa2a"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"2d762b638908ced09875bdacd7a38363b5d10b96","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_1652b913","side":"PARENT","line":205,"updated":"2016-05-06 16:10:03.000000000","message":"not clear why this code is dropped","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"4d2fbe785dfc94780a7c39f93b1abc7383bb9f80","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_d77f10de","side":"PARENT","line":205,"in_reply_to":"dab17558_004f07be","updated":"2016-05-10 15:58:45.000000000","message":"Done","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"27c800b15d83278f00bbbb533c36d41f970d4f6d","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_c47ce974","side":"PARENT","line":205,"in_reply_to":"dab17558_004f07be","updated":"2016-05-06 23:31:19.000000000","message":"I agree with Brandon that we should keep ConfDriver in this review.\nDropping ConfDriver should be done in a separate review.\n\nSorry if my comment confused the author.\nThe intention of my comment is to allow duplication of quota related constants. Dropping ConfigQuotaDriver is not my intention.\n\nIn the near future, we will drop ConfigQuotaDriver and we can remove duplicate constants definitions, so I am okay to have duplicate constants until then. I can take care of dropping ConfQuotaDriver if nobody takes it.","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"ff8eda8a443f6f9fb95b7ab6250720db9fc9685a","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_99937aa3","side":"PARENT","line":205,"in_reply_to":"dab17558_1652b913","updated":"2016-05-06 16:36:57.000000000","message":"In one of the previous comments , Akihiro mentioned that\nQUOTA_CONF_DRIVER \u003d \u0027neutron.quota.ConfDriver\u0027 is deprecated ,\nthus i deleted this conditional statement which if true assigns QUOTA_CONF_DRIVER to _driver_class.","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"4d2fbe785dfc94780a7c39f93b1abc7383bb9f80","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_170fd888","side":"PARENT","line":205,"in_reply_to":"dab17558_1652b913","updated":"2016-05-10 15:58:45.000000000","message":"Reverted this removal.","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":20246,"name":"Aradhana Singh","email":"aradhanamailbox@gmail.com","username":"asingh"},"change_message_id":"a4806b758205861425d2aa0a02feb6374e86ee5b","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_6c57f202","side":"PARENT","line":205,"in_reply_to":"dab17558_1652b913","updated":"2016-05-06 16:58:36.000000000","message":"this is the only place QUOTA_CONF_DRIVER was being used , removing this piece of code didn\u0027t affect any of the tests.\ntherefore i removed this part of code","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"ba269ba9111b42018294df754782b5ee8dfec130","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_004f07be","side":"PARENT","line":205,"in_reply_to":"dab17558_6c57f202","updated":"2016-05-06 18:56:24.000000000","message":"Especially since some tests failed with this being pulled out, I\u0027d rather this change be in a separate review.  Keeping it in here starts to expand the scope of this change.  I think this was done in response to akihiro\u0027s comment.  Akihiro, would you be okay with this change being done in another review?","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"4d2fbe785dfc94780a7c39f93b1abc7383bb9f80","unresolved":false,"context_lines":[{"line_number":202,"context_line":"        if self._driver is None:"},{"line_number":203,"context_line":"            _driver_class \u003d (self._driver_class or"},{"line_number":204,"context_line":"                             cfg.CONF.QUOTAS.quota_driver)"},{"line_number":205,"context_line":"            if (_driver_class \u003d\u003d QUOTA_DB_DRIVER and"},{"line_number":206,"context_line":"                    QUOTA_DB_MODULE not in sys.modules):"},{"line_number":207,"context_line":"                # If quotas table is not loaded, force config quota driver."},{"line_number":208,"context_line":"                _driver_class \u003d QUOTA_CONF_DRIVER"}],"source_content_type":"text/x-python","patch_set":12,"id":"dab17558_776f442b","side":"PARENT","line":205,"in_reply_to":"dab17558_c47ce974","updated":"2016-05-10 15:58:45.000000000","message":"Done","commit_id":"36a04c9a308ec498f8e85b439a3b95ae22a15092"}]}
