)]}'
{"etc/neutron/plugins/cisco/cisco_cfg_agent.ini":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Show debugging output in log (sets DEBUG log level output)"},{"line_number":3,"context_line":"# debug \u003d False"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_f7b36997","line":1,"updated":"2014-06-20 16:32:24.000000000","message":"Should there be a way to specify/customize the subnet used for the management network (vs 10.0.100.x)?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Show debugging output in log (sets DEBUG log level output)"},{"line_number":3,"context_line":"# debug \u003d False"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_f3c7cb63","line":1,"in_reply_to":"1ae5cdf2_f7b36997","updated":"2014-06-24 07:52:01.000000000","message":"Fixed. Now configurable in the setup script.\n\nAlso, this ini file should not be in this patch (it belong to the cfg agent patch).  So I also fix that mistake and remove it now.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"021c79f917ee85968b7fc247a7e36186b0aa104b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Show debugging output in log (sets DEBUG log level output)"},{"line_number":3,"context_line":"# debug \u003d False"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":22,"id":"1abeadc6_c3376be1","line":1,"updated":"2014-08-24 01:35:45.000000000","message":"Should these configs be in a group, rather than default?","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"ab3556ac83d0e79702b2865737977cd50b1b4d89","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Show debugging output in log (sets DEBUG log level output)"},{"line_number":3,"context_line":"# debug \u003d False"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":22,"id":"1abeadc6_9997a047","line":1,"in_reply_to":"1abeadc6_c3376be1","updated":"2014-08-24 10:20:40.000000000","message":"Yes that makes sense. I\u0027d prefer we do that in a separate patch though as I\u0027d prefer not to touch the cfg agent code in this patch.","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"}],"etc/neutron/plugins/cisco/cisco_router_plugin.ini":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":36,"context_line":"# csr1kv_cfgagent_router_driver \u003d neutron.plugins.cisco.cfg_agent.device_drivers.csr1kv.csr1kv_routing_driver.CSR1kvRoutingDriver"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Booting time in seconds before a CSR1kv becomes operational"},{"line_number":39,"context_line":"# csr1kv_booting_time \u003d 420"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# Username to use for CSR1kv configurations"},{"line_number":42,"context_line":"# csr1kv_username \u003d stack"}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_974145a8","line":39,"updated":"2014-06-20 16:32:24.000000000","message":"How does this relate to the hosting_device_dead_timeout in other .ini file?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":36,"context_line":"# csr1kv_cfgagent_router_driver \u003d neutron.plugins.cisco.cfg_agent.device_drivers.csr1kv.csr1kv_routing_driver.CSR1kvRoutingDriver"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Booting time in seconds before a CSR1kv becomes operational"},{"line_number":39,"context_line":"# csr1kv_booting_time \u003d 420"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# Username to use for CSR1kv configurations"},{"line_number":42,"context_line":"# csr1kv_username \u003d stack"}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_07c1592f","line":39,"in_reply_to":"1ae5cdf2_974145a8","updated":"2014-06-24 07:52:01.000000000","message":"hosting_device_dead_timeout is the time in seconds after which the device is considered dead if not contact to it has been possible to establish.\n\nThe first \u0027csr1kv_booting_time\u0027 seconds after a VM is dispatched are excluded from the above timeout interval.\n\nI.e., when a VM is first dispatched, it will not be determined to be dead until csr1kv_booting_time + hosting_device_dead_timeout seconds have passed without any ping response.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":44,"context_line":"# Password to use for CSR1kv configurations"},{"line_number":45,"context_line":"# csr1kv_password \u003d cisco"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# Booting time in seconds before a CSR1kv becomes operational"},{"line_number":48,"context_line":"# csr1kv_booting_time \u003d 10"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# Username to use for CSR1kv configurations"}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_d77d8de8","line":47,"updated":"2014-06-20 16:32:24.000000000","message":"L47-54 are duplicates of L38-045.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":44,"context_line":"# Password to use for CSR1kv configurations"},{"line_number":45,"context_line":"# csr1kv_password \u003d cisco"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# Booting time in seconds before a CSR1kv becomes operational"},{"line_number":48,"context_line":"# csr1kv_booting_time \u003d 10"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# Username to use for CSR1kv configurations"}],"source_content_type":"text/x-properties","patch_set":7,"id":"1ae5cdf2_478c412f","line":47,"in_reply_to":"1ae5cdf2_d77d8de8","updated":"2014-06-24 07:52:01.000000000","message":"Oops, mistake. Removed.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"ad4358834124a232f976589cf2272ddf5416f602","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Time in seconds between renewed scheduling attempts of non-scheduled routers"},{"line_number":3,"context_line":"# backlog_processing_interval \u003d 10"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":13,"id":"baada198_2eb0dfdb","line":1,"updated":"2014-08-13 10:53:51.000000000","message":"Should these configs be in a specific group, versus default?","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[DEFAULT]"},{"line_number":2,"context_line":"# Time in seconds between renewed scheduling attempts of non-scheduled routers"},{"line_number":3,"context_line":"# backlog_processing_interval \u003d 10"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-properties","patch_set":13,"id":"baada198_1aa187a8","line":1,"in_reply_to":"baada198_2eb0dfdb","updated":"2014-08-13 19:00:27.000000000","message":"Done","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":8645,"name":"Trinath Somanchi","email":"trinath.somanchi@freescale.com","username":"trinaths"},"change_message_id":"f0f9a992aa725f05987014dbc24370dc4193a646","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[general]"},{"line_number":2,"context_line":"# Time in seconds between renewed scheduling attempts of non-scheduled routers"},{"line_number":3,"context_line":"# backlog_processing_interval \u003d 10"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Name of the L3 admin tenant"},{"line_number":6,"context_line":"# l3_admin_tenant \u003d L3AdminTenant"}],"source_content_type":"text/x-properties","patch_set":16,"id":"1abeadc6_8567a9b6","line":3,"updated":"2014-08-20 17:39:38.000000000","message":"Can you add \n\n#(IntOpt) Time in seconds between renewed scheduling attempts of non-scheduled routers\n# backlog_processing_interval \u003d 10\n\nthe datatype in () for each of these option. I gives more readability.\n\nDitto for all below.","commit_id":"0d658b35d930041fd25c61c21e57260184116cec"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"7e14ebb144f60eec0324a39d345f95447c0a948f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[general]"},{"line_number":2,"context_line":"# Time in seconds between renewed scheduling attempts of non-scheduled routers"},{"line_number":3,"context_line":"# backlog_processing_interval \u003d 10"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Name of the L3 admin tenant"},{"line_number":6,"context_line":"# l3_admin_tenant \u003d L3AdminTenant"}],"source_content_type":"text/x-properties","patch_set":16,"id":"1abeadc6_40601f01","line":3,"in_reply_to":"1abeadc6_8567a9b6","updated":"2014-08-20 18:15:16.000000000","message":"Done","commit_id":"0d658b35d930041fd25c61c21e57260184116cec"}],"neutron/db/migration/alembic_migrations/versions/58fe87a01143_cisco_csr_routing.py":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"7080570079d135e63238d5865359c7e56a41e63b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    (\u0027neutron.plugins.cisco.service_plugins.\u0027"},{"line_number":32,"context_line":"     \u0027cisco_router_plugin.CiscoRouterPlugin\u0027)"},{"line_number":33,"context_line":"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"from alembic import op"},{"line_number":36,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_938a73bd","line":33,"updated":"2014-08-21 11:46:49.000000000","message":"Migrations are unconditional. Remove this lines.","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"6791a856f898276a2f45d163c6d750170bd405df","unresolved":false,"context_lines":[{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    (\u0027neutron.plugins.cisco.service_plugins.\u0027"},{"line_number":32,"context_line":"     \u0027cisco_router_plugin.CiscoRouterPlugin\u0027)"},{"line_number":33,"context_line":"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"from alembic import op"},{"line_number":36,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_52a98822","line":33,"in_reply_to":"1abeadc6_938a73bd","updated":"2014-08-22 13:19:27.000000000","message":"Done","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"e2cbe82236cc5f7f0925a413848a9cdc255b3fd0","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":42,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":43,"context_line":"        return"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    op.create_table(\u0027cisco_hosting_devices\u0027,"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_8d95fe88","line":42,"updated":"2014-08-21 03:44:14.000000000","message":"remove conditional code from migrations now.","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"7080570079d135e63238d5865359c7e56a41e63b","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":42,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":43,"context_line":"        return"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    op.create_table(\u0027cisco_hosting_devices\u0027,"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_d3e22b9f","line":42,"in_reply_to":"1abeadc6_8d95fe88","updated":"2014-08-21 11:46:49.000000000","message":"+1","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"6791a856f898276a2f45d163c6d750170bd405df","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":42,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":43,"context_line":"        return"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    op.create_table(\u0027cisco_hosting_devices\u0027,"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_9266c028","line":42,"in_reply_to":"1abeadc6_d3e22b9f","updated":"2014-08-22 13:19:27.000000000","message":"Done","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"7080570079d135e63238d5865359c7e56a41e63b","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":89,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":90,"context_line":"        return"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    op.drop_table(\u0027cisco_router_mappings\u0027)"},{"line_number":93,"context_line":"    op.drop_table(\u0027cisco_port_mappings\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_13be6365","line":90,"updated":"2014-08-21 11:46:49.000000000","message":"the same","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"6791a856f898276a2f45d163c6d750170bd405df","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":89,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":90,"context_line":"        return"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    op.drop_table(\u0027cisco_router_mappings\u0027)"},{"line_number":93,"context_line":"    op.drop_table(\u0027cisco_port_mappings\u0027)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_b269fcfa","line":90,"in_reply_to":"1abeadc6_13be6365","updated":"2014-08-22 13:19:27.000000000","message":"Done","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    (\u0027neutron.plugins.cisco.service_plugins.\u0027"},{"line_number":32,"context_line":"     \u0027cisco_router_plugin.CiscoRouterPlugin\u0027)"},{"line_number":33,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_7970320b","line":30,"updated":"2014-08-22 10:00:22.000000000","message":"As Paul and Ann pointed out,  migration should be unconditional.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    (\u0027neutron.plugins.cisco.service_plugins.\u0027"},{"line_number":32,"context_line":"     \u0027cisco_router_plugin.CiscoRouterPlugin\u0027)"},{"line_number":33,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_464e2d3c","line":30,"in_reply_to":"1abeadc6_7970320b","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"}],"neutron/plugins/cisco/db/l3/device_handling_db.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"DEVICE_HANDLING_OPTS \u003d ["},{"line_number":44,"context_line":"    cfg.StrOpt(\u0027l3_admin_tenant\u0027, default\u003d\u0027L3AdminTenant\u0027,"},{"line_number":45,"context_line":"               help\u003d_(\"Name of the L3 admin tenant\")),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027management_network\u0027, default\u003d\u0027osn_mgmt_nw\u0027,"},{"line_number":47,"context_line":"               help\u003d_(\"Name of management network for device configuration. \""},{"line_number":48,"context_line":"                      \"Default value is osn_mgmt_nw\")),"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_d71cad79","line":45,"updated":"2014-06-20 16:32:24.000000000","message":"Nit: Just check consistency of help messages, w.r.t. punctuation.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"DEVICE_HANDLING_OPTS \u003d ["},{"line_number":44,"context_line":"    cfg.StrOpt(\u0027l3_admin_tenant\u0027, default\u003d\u0027L3AdminTenant\u0027,"},{"line_number":45,"context_line":"               help\u003d_(\"Name of the L3 admin tenant\")),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027management_network\u0027, default\u003d\u0027osn_mgmt_nw\u0027,"},{"line_number":47,"context_line":"               help\u003d_(\"Name of management network for device configuration. \""},{"line_number":48,"context_line":"                      \"Default value is osn_mgmt_nw\")),"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_0774f9fc","line":45,"in_reply_to":"1ae5cdf2_d71cad79","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            if len(net) \u003d\u003d 1:"},{"line_number":132,"context_line":"                num_subnets \u003d len(net[0][\u0027subnets\u0027])"},{"line_number":133,"context_line":"                if num_subnets \u003d\u003d 0:"},{"line_number":134,"context_line":"                    LOG.error(_(\u0027The management network has no subnet. \u0027"},{"line_number":135,"context_line":"                                \u0027Please assign one.\u0027))"},{"line_number":136,"context_line":"                    return"},{"line_number":137,"context_line":"                elif num_subnets \u003e 1:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_f296173d","line":134,"updated":"2014-06-20 16:32:24.000000000","message":"In this and some of the other methods, the errors seem to be addressing user errors. Do we just want to log an error versus raise an exception?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            if len(net) \u003d\u003d 1:"},{"line_number":132,"context_line":"                num_subnets \u003d len(net[0][\u0027subnets\u0027])"},{"line_number":133,"context_line":"                if num_subnets \u003d\u003d 0:"},{"line_number":134,"context_line":"                    LOG.error(_(\u0027The management network has no subnet. \u0027"},{"line_number":135,"context_line":"                                \u0027Please assign one.\u0027))"},{"line_number":136,"context_line":"                    return"},{"line_number":137,"context_line":"                elif num_subnets \u003e 1:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_9db85677","line":134,"in_reply_to":"1ae5cdf2_f296173d","updated":"2014-06-24 07:52:01.000000000","message":"I only logged error since these failures are not catastrophic in the sense that db operations are still able to complete successfully etc. It is the instantiation part that will be unable to complete until the point where mgmt nw, l3tenant etc are created and neutron server is restarted.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":412,"context_line":"        \"\"\"Selects Cisco cfg agent that will configure \u003chosting_device\u003e.\"\"\""},{"line_number":413,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":414,"context_line":"            if not hosting_device:"},{"line_number":415,"context_line":"                LOG.debug(_(\u0027Hosting device to schedule not specified\u0027))"},{"line_number":416,"context_line":"                return"},{"line_number":417,"context_line":"            elif hosting_device.cfg_agent:"},{"line_number":418,"context_line":"                LOG.debug(_(\u0027Hosting device %(hd_id)s has already been \u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_72aa0772","line":415,"updated":"2014-06-20 16:32:24.000000000","message":"Remove all i18n on debug log messages.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":412,"context_line":"        \"\"\"Selects Cisco cfg agent that will configure \u003chosting_device\u003e.\"\"\""},{"line_number":413,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":414,"context_line":"            if not hosting_device:"},{"line_number":415,"context_line":"                LOG.debug(_(\u0027Hosting device to schedule not specified\u0027))"},{"line_number":416,"context_line":"                return"},{"line_number":417,"context_line":"            elif hosting_device.cfg_agent:"},{"line_number":418,"context_line":"                LOG.debug(_(\u0027Hosting device %(hd_id)s has already been \u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_fa68808a","line":415,"in_reply_to":"1ae5cdf2_72aa0772","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    cfg.StrOpt(\u0027csr1kv_password\u0027, default\u003d\u0027cisco\u0027,"},{"line_number":72,"context_line":"               help\u003d_(\u0027Password to use for CSR1kv configurations.\u0027)),"},{"line_number":73,"context_line":"    cfg.BoolOpt(\u0027ensure_nova_running\u0027, default\u003dTrue,"},{"line_number":74,"context_line":"                help\u003d_(\"Ensure that Nova is running before attempting to\""},{"line_number":75,"context_line":"                       \"create any CSR1kv VM.\"))"},{"line_number":76,"context_line":"]"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_07586b57","line":74,"updated":"2014-08-13 07:20:46.000000000","message":"missing space before \"","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"ad4358834124a232f976589cf2272ddf5416f602","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    cfg.StrOpt(\u0027csr1kv_password\u0027, default\u003d\u0027cisco\u0027,"},{"line_number":72,"context_line":"               help\u003d_(\u0027Password to use for CSR1kv configurations.\u0027)),"},{"line_number":73,"context_line":"    cfg.BoolOpt(\u0027ensure_nova_running\u0027, default\u003dTrue,"},{"line_number":74,"context_line":"                help\u003d_(\"Ensure that Nova is running before attempting to\""},{"line_number":75,"context_line":"                       \"create any CSR1kv VM.\"))"},{"line_number":76,"context_line":"]"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_ee87c70f","line":74,"in_reply_to":"baada198_07586b57","updated":"2014-08-13 10:53:51.000000000","message":"+1","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    cfg.StrOpt(\u0027csr1kv_password\u0027, default\u003d\u0027cisco\u0027,"},{"line_number":72,"context_line":"               help\u003d_(\u0027Password to use for CSR1kv configurations.\u0027)),"},{"line_number":73,"context_line":"    cfg.BoolOpt(\u0027ensure_nova_running\u0027, default\u003dTrue,"},{"line_number":74,"context_line":"                help\u003d_(\"Ensure that Nova is running before attempting to\""},{"line_number":75,"context_line":"                       \"create any CSR1kv VM.\"))"},{"line_number":76,"context_line":"]"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_af2b069a","line":74,"in_reply_to":"baada198_07586b57","updated":"2014-08-13 19:00:27.000000000","message":"Done","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            elif len(net) \u003e 1:"},{"line_number":145,"context_line":"                # Management network must have a unique name."},{"line_number":146,"context_line":"                LOG.error(_(\u0027The management network for does not have unique \u0027"},{"line_number":147,"context_line":"                            \u0027name. Please ensure that it is.\u0027))"},{"line_number":148,"context_line":"            else:"},{"line_number":149,"context_line":"                # Management network has not been created."},{"line_number":150,"context_line":"                LOG.error(_(\u0027There is no virtual management network. Please \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_4a450a43","line":147,"updated":"2014-08-13 07:20:46.000000000","message":"Remove \"for\" from the msg","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            elif len(net) \u003e 1:"},{"line_number":145,"context_line":"                # Management network must have a unique name."},{"line_number":146,"context_line":"                LOG.error(_(\u0027The management network for does not have unique \u0027"},{"line_number":147,"context_line":"                            \u0027name. Please ensure that it is.\u0027))"},{"line_number":148,"context_line":"            else:"},{"line_number":149,"context_line":"                # Management network has not been created."},{"line_number":150,"context_line":"                LOG.error(_(\u0027There is no virtual management network. Please \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_8f2642ca","line":147,"in_reply_to":"baada198_4a450a43","updated":"2014-08-13 19:00:27.000000000","message":"Done","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                [\u0027id\u0027])"},{"line_number":168,"context_line":"            if len(res) \u003d\u003d 1:"},{"line_number":169,"context_line":"                sec_grp_id \u003d res[0].get(\u0027id\u0027, None)"},{"line_number":170,"context_line":"                cls._mgmt_sec_grp_id \u003d sec_grp_id"},{"line_number":171,"context_line":"            elif len(res) \u003e 1:"},{"line_number":172,"context_line":"                # the mgmt sec group must be unique."},{"line_number":173,"context_line":"                LOG.error(_(\u0027The security group for the management network \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_ea409e08","line":170,"updated":"2014-08-13 07:20:46.000000000","message":"\"None\" is not required.\nAlso you can use\ncls._mgmt_sec_grp_id \u003d res[0].get(\u0027id\u0027)","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                [\u0027id\u0027])"},{"line_number":168,"context_line":"            if len(res) \u003d\u003d 1:"},{"line_number":169,"context_line":"                sec_grp_id \u003d res[0].get(\u0027id\u0027, None)"},{"line_number":170,"context_line":"                cls._mgmt_sec_grp_id \u003d sec_grp_id"},{"line_number":171,"context_line":"            elif len(res) \u003e 1:"},{"line_number":172,"context_line":"                # the mgmt sec group must be unique."},{"line_number":173,"context_line":"                LOG.error(_(\u0027The security group for the management network \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_0a7ce070","line":170,"in_reply_to":"baada198_ea409e08","updated":"2014-08-13 19:00:27.000000000","message":"Done","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":395,"context_line":""},{"line_number":396,"context_line":"        This will indirectly make all of its hosted resources unscheduled."},{"line_number":397,"context_line":"        \"\"\""},{"line_number":398,"context_line":"        if hosting_device is None:"},{"line_number":399,"context_line":"            return"},{"line_number":400,"context_line":"        plugging_drv \u003d self.get_hosting_device_plugging_driver()"},{"line_number":401,"context_line":"        hosting_device_drv \u003d self.get_hosting_device_driver()"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_2a361650","line":398,"updated":"2014-08-13 07:20:46.000000000","message":"A log here will be helpful","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":445,"context_line":"                          \u0027assigned to Cisco cfg agent %(agent_id)s\u0027,"},{"line_number":446,"context_line":"                          {\u0027hd_id\u0027: id,"},{"line_number":447,"context_line":"                           \u0027agent_id\u0027: hosting_device.cfg_agent.id})"},{"line_number":448,"context_line":"                return"},{"line_number":449,"context_line":"            active_cfg_agents \u003d self._get_cfg_agents(context, active\u003dTrue)"},{"line_number":450,"context_line":"            if not active_cfg_agents:"},{"line_number":451,"context_line":"                LOG.warn(_(\u0027There are no active Cisco cfg agents\u0027))"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_2a64564c","line":448,"updated":"2014-08-13 07:20:46.000000000","message":"Can the check from line 440 to 448 be done upfront and outside with statement ?","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":445,"context_line":"                          \u0027assigned to Cisco cfg agent %(agent_id)s\u0027,"},{"line_number":446,"context_line":"                          {\u0027hd_id\u0027: id,"},{"line_number":447,"context_line":"                           \u0027agent_id\u0027: hosting_device.cfg_agent.id})"},{"line_number":448,"context_line":"                return"},{"line_number":449,"context_line":"            active_cfg_agents \u003d self._get_cfg_agents(context, active\u003dTrue)"},{"line_number":450,"context_line":"            if not active_cfg_agents:"},{"line_number":451,"context_line":"                LOG.warn(_(\u0027There are no active Cisco cfg agents\u0027))"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_4a42580e","line":448,"in_reply_to":"baada198_2a64564c","updated":"2014-08-13 19:00:27.000000000","message":"Done","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    cfg.StrOpt(\u0027default_security_group\u0027, default\u003d\u0027mgmt_sec_grp\u0027,"},{"line_number":49,"context_line":"               help\u003d_(\u0027Default security group applied on management port. \u0027"},{"line_number":50,"context_line":"                      \u0027Default value is mgmt_sec_grp.\u0027)),"},{"line_number":51,"context_line":"    cfg.IntOpt(\u0027cfg_agent_down_time\u0027, default\u003d60,"},{"line_number":52,"context_line":"               help\u003d_(\u0027Seconds of no status update until a cfg agent \u0027"},{"line_number":53,"context_line":"                      \u0027is considered down.\u0027)),"},{"line_number":54,"context_line":"    cfg.BoolOpt(\u0027ensure_nova_running\u0027, default\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_fd7eed68","line":51,"updated":"2014-08-22 10:00:22.000000000","message":"Do you want another configuration different from one defined in agents_db and AgentDbMixin.is_agent_down?","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    cfg.StrOpt(\u0027default_security_group\u0027, default\u003d\u0027mgmt_sec_grp\u0027,"},{"line_number":49,"context_line":"               help\u003d_(\u0027Default security group applied on management port. \u0027"},{"line_number":50,"context_line":"                      \u0027Default value is mgmt_sec_grp.\u0027)),"},{"line_number":51,"context_line":"    cfg.IntOpt(\u0027cfg_agent_down_time\u0027, default\u003d60,"},{"line_number":52,"context_line":"               help\u003d_(\u0027Seconds of no status update until a cfg agent \u0027"},{"line_number":53,"context_line":"                      \u0027is considered down.\u0027)),"},{"line_number":54,"context_line":"    cfg.BoolOpt(\u0027ensure_nova_running\u0027, default\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_3bbf6962","line":51,"in_reply_to":"1abeadc6_fd7eed68","updated":"2014-08-23 19:31:31.000000000","message":"Yes, I want a separate one to have more control.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":188,"context_line":"                            \u0027management network. Please create one.\u0027))"},{"line_number":189,"context_line":"        return cls._mgmt_sec_grp_id"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def get_hosting_device_driver(self):"},{"line_number":192,"context_line":"        \"\"\"Returns device driver.\"\"\""},{"line_number":193,"context_line":"        if self._hosting_device_driver:"},{"line_number":194,"context_line":"            return self._hosting_device_driver"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_b9a9ea25","line":191,"updated":"2014-08-22 10:00:22.000000000","message":"@classmethod? because _hosting_device_driver defined above is class attributed.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":188,"context_line":"                            \u0027management network. Please create one.\u0027))"},{"line_number":189,"context_line":"        return cls._mgmt_sec_grp_id"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def get_hosting_device_driver(self):"},{"line_number":192,"context_line":"        \"\"\"Returns device driver.\"\"\""},{"line_number":193,"context_line":"        if self._hosting_device_driver:"},{"line_number":194,"context_line":"            return self._hosting_device_driver"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_76aad885","line":191,"in_reply_to":"1abeadc6_b9a9ea25","updated":"2014-08-23 19:31:31.000000000","message":"Yes, in its current form it might just as well be. I\u0027ll change it.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":200,"context_line":"                LOG.exception(_(\u0027Error loading hosting device driver\u0027))"},{"line_number":201,"context_line":"            return self._hosting_device_driver"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def get_hosting_device_plugging_driver(self):"},{"line_number":204,"context_line":"        \"\"\"Returns  plugging driver.\"\"\""},{"line_number":205,"context_line":"        if self._plugging_driver:"},{"line_number":206,"context_line":"            return self._plugging_driver"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_396dda04","line":203,"updated":"2014-08-22 10:00:22.000000000","message":"ditto.\n@classmethod?","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":200,"context_line":"                LOG.exception(_(\u0027Error loading hosting device driver\u0027))"},{"line_number":201,"context_line":"            return self._hosting_device_driver"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def get_hosting_device_plugging_driver(self):"},{"line_number":204,"context_line":"        \"\"\"Returns  plugging driver.\"\"\""},{"line_number":205,"context_line":"        if self._plugging_driver:"},{"line_number":206,"context_line":"            return self._plugging_driver"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_568ebc2e","line":203,"in_reply_to":"1abeadc6_396dda04","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":223,"context_line":"                hosting_device_ids))"},{"line_number":224,"context_line":"        else:"},{"line_number":225,"context_line":"            query \u003d query.filter(l3_models.HostingDevice.id \u003d\u003d"},{"line_number":226,"context_line":"                                 hosting_device_ids[0])"},{"line_number":227,"context_line":"        return query"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def handle_non_responding_hosting_devices(self, context, cfg_agent,"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_3d114552","line":226,"updated":"2014-08-22 10:00:22.000000000","message":"Just from my curiosity. Does this micro optimization make performance difference?\nOr is this widely accepted technique?","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":223,"context_line":"                hosting_device_ids))"},{"line_number":224,"context_line":"        else:"},{"line_number":225,"context_line":"            query \u003d query.filter(l3_models.HostingDevice.id \u003d\u003d"},{"line_number":226,"context_line":"                                 hosting_device_ids[0])"},{"line_number":227,"context_line":"        return query"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def handle_non_responding_hosting_devices(self, context, cfg_agent,"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_1ba46d49","line":226,"in_reply_to":"1abeadc6_3d114552","updated":"2014-08-23 19:31:31.000000000","message":"Don\u0027t know really. The same pattern was used in the l3 agent scheduler and I took inspiration from that.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":226,"context_line":"                                 hosting_device_ids[0])"},{"line_number":227,"context_line":"        return query"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def handle_non_responding_hosting_devices(self, context, cfg_agent,"},{"line_number":230,"context_line":"                                              hosting_device_ids):"},{"line_number":231,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":232,"context_line":"            e_context \u003d context.elevated()"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_d9706642","line":229,"updated":"2014-08-22 10:00:22.000000000","message":"nitpick:\ncfg_agent should be host. As the caller, DeviceCfgRpcCallbackMixin.report_non_responding_hosting_devices calls this with host, and the caller. l3_cfg_rpc_notifier.hosting_devices_removed() expects host.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":226,"context_line":"                                 hosting_device_ids[0])"},{"line_number":227,"context_line":"        return query"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def handle_non_responding_hosting_devices(self, context, cfg_agent,"},{"line_number":230,"context_line":"                                              hosting_device_ids):"},{"line_number":231,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":232,"context_line":"            e_context \u003d context.elevated()"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_9b14fd4d","line":229,"in_reply_to":"1abeadc6_d9706642","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":251,"context_line":"                pass"},{"line_number":252,"context_line":"            for hd in hosting_devices:"},{"line_number":253,"context_line":"                if self._process_non_responsive_hosting_device(e_context, hd):"},{"line_number":254,"context_line":"                    self.l3_cfg_rpc_notifier.hosting_devices_removed("},{"line_number":255,"context_line":"                        context, hosting_info, False, cfg_agent)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    def get_device_info_for_agent(self, hosting_device):"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_39995a6e","line":254,"updated":"2014-08-22 10:00:22.000000000","message":"Something strange. This notifier is called per hosting deivce. But the passed arguments includes all hosting device. i.e. hosting_info.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":251,"context_line":"                pass"},{"line_number":252,"context_line":"            for hd in hosting_devices:"},{"line_number":253,"context_line":"                if self._process_non_responsive_hosting_device(e_context, hd):"},{"line_number":254,"context_line":"                    self.l3_cfg_rpc_notifier.hosting_devices_removed("},{"line_number":255,"context_line":"                        context, hosting_info, False, cfg_agent)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    def get_device_info_for_agent(self, hosting_device):"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_563ddc8d","line":254,"in_reply_to":"1abeadc6_39995a6e","updated":"2014-08-23 19:31:31.000000000","message":"Indeed. Good catch! I\u0027ll fix that.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        # Only perform pool maintenance if needed Nova services have started"},{"line_number":358,"context_line":"        if cfg.CONF.general.ensure_nova_running and not self._nova_running:"},{"line_number":359,"context_line":"            if self._svc_vm_mgr.nova_services_up():"},{"line_number":360,"context_line":"                self._nova_running \u003d True"},{"line_number":361,"context_line":"            else:"},{"line_number":362,"context_line":"                LOG.info(_(\u0027Not all Nova services are up and running. \u0027"},{"line_number":363,"context_line":"                           \u0027Skipping this CSR1kv vm create request.\u0027))"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_1dd1e922","line":360,"updated":"2014-08-22 10:00:22.000000000","message":"Since _nova_running is class attribute, self.__class__._nova_running \u003d True\n\nProbably this isn\u0027t critical, though.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        # Only perform pool maintenance if needed Nova services have started"},{"line_number":358,"context_line":"        if cfg.CONF.general.ensure_nova_running and not self._nova_running:"},{"line_number":359,"context_line":"            if self._svc_vm_mgr.nova_services_up():"},{"line_number":360,"context_line":"                self._nova_running \u003d True"},{"line_number":361,"context_line":"            else:"},{"line_number":362,"context_line":"                LOG.info(_(\u0027Not all Nova services are up and running. \u0027"},{"line_number":363,"context_line":"                           \u0027Skipping this CSR1kv vm create request.\u0027))"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_56d95c55","line":360,"in_reply_to":"1abeadc6_1dd1e922","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        if hosting_device is None:"},{"line_number":408,"context_line":"            return"},{"line_number":409,"context_line":"        plugging_drv \u003d self.get_hosting_device_plugging_driver()"},{"line_number":410,"context_line":"        hosting_device_drv \u003d self.get_hosting_device_driver()"},{"line_number":411,"context_line":"        if plugging_drv is None or hosting_device_drv is None:"},{"line_number":412,"context_line":"            return"},{"line_number":413,"context_line":"        res \u003d plugging_drv.get_hosting_device_resources("}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_bd8e352c","line":410,"updated":"2014-08-22 10:00:22.000000000","message":"hosting_device_drv isn\u0027t used, but line 411.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        if hosting_device is None:"},{"line_number":408,"context_line":"            return"},{"line_number":409,"context_line":"        plugging_drv \u003d self.get_hosting_device_plugging_driver()"},{"line_number":410,"context_line":"        hosting_device_drv \u003d self.get_hosting_device_driver()"},{"line_number":411,"context_line":"        if plugging_drv is None or hosting_device_drv is None:"},{"line_number":412,"context_line":"            return"},{"line_number":413,"context_line":"        res \u003d plugging_drv.get_hosting_device_resources("}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_b622b04f","line":410,"in_reply_to":"1abeadc6_bd8e352c","updated":"2014-08-23 19:31:31.000000000","message":"Right. I\u0027ll remove it.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":6995,"name":"Sridar Kandaswamy","email":"skandasw@yahoo.com","username":"skandasw"},"change_message_id":"237a1120ece1f312eeb4dbaf6c2d73f5379ef09e","unresolved":false,"context_lines":[{"line_number":246,"context_line":"            #     ...}"},{"line_number":247,"context_line":"            hosting_info \u003d dict((id, {}) for id in hosting_device_ids)"},{"line_number":248,"context_line":"            try:"},{"line_number":249,"context_line":"                #TODO(bobmel): Modify so service plugins register themselves"},{"line_number":250,"context_line":"                self._handle_non_responding_hosting_devices("},{"line_number":251,"context_line":"                    context, hosting_devices, hosting_info)"},{"line_number":252,"context_line":"            except AttributeError:"}],"source_content_type":"text/x-python","patch_set":23,"id":"1abeadc6_1af0c7c8","line":249,"updated":"2014-08-25 14:32:45.000000000","message":"Is the intent to have a plugin side notifier to other service plugins managing a resource on the backend. For now do we rely on a agent notification to act on a non responsive backend ?","commit_id":"fd38dc15413676e2775d91f656274b36f94c6b9a"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cee14f041ef0448edb21859a28b3429e4fb1ede5","unresolved":false,"context_lines":[{"line_number":246,"context_line":"            #     ...}"},{"line_number":247,"context_line":"            hosting_info \u003d dict((id, {}) for id in hosting_device_ids)"},{"line_number":248,"context_line":"            try:"},{"line_number":249,"context_line":"                #TODO(bobmel): Modify so service plugins register themselves"},{"line_number":250,"context_line":"                self._handle_non_responding_hosting_devices("},{"line_number":251,"context_line":"                    context, hosting_devices, hosting_info)"},{"line_number":252,"context_line":"            except AttributeError:"}],"source_content_type":"text/x-python","patch_set":23,"id":"1abeadc6_43fecd39","line":249,"in_reply_to":"1abeadc6_1af0c7c8","updated":"2014-08-25 22:47:39.000000000","message":"Yes, thinking was to have some mechanism so that the other service plugins can be told about events such as suspected device failure.\nHow this should be done is an open question. To begin with, the csr fw plugin can just implement a _handle_non_responding_... function so we can call it here.","commit_id":"fd38dc15413676e2775d91f656274b36f94c6b9a"}],"neutron/plugins/cisco/db/l3/l3_models.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        primaryjoin\u003d\u0027Port.id\u003d\u003dHostedHostingPortBinding.logical_port_id\u0027,"},{"line_number":67,"context_line":"        backref\u003dorm.backref(\u0027hosting_info\u0027, cascade\u003d\u0027all\u0027, uselist\u003dFalse))"},{"line_number":68,"context_line":"    # type of router port: router_interface, ..._gateway, ..._floatingip"},{"line_number":69,"context_line":"    port_type \u003d sa.Column(sa.String(32))"},{"line_number":70,"context_line":"    # type of network the router port belongs to"},{"line_number":71,"context_line":"    network_type \u003d sa.Column(sa.String(32))"},{"line_number":72,"context_line":"    hosting_port_id \u003d sa.Column(sa.String(36),"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_fde98db7","line":69,"updated":"2014-08-22 10:00:22.000000000","message":"port_type isn\u0027t set/used.\nFor future use?","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        primaryjoin\u003d\u0027Port.id\u003d\u003dHostedHostingPortBinding.logical_port_id\u0027,"},{"line_number":67,"context_line":"        backref\u003dorm.backref(\u0027hosting_info\u0027, cascade\u003d\u0027all\u0027, uselist\u003dFalse))"},{"line_number":68,"context_line":"    # type of router port: router_interface, ..._gateway, ..._floatingip"},{"line_number":69,"context_line":"    port_type \u003d sa.Column(sa.String(32))"},{"line_number":70,"context_line":"    # type of network the router port belongs to"},{"line_number":71,"context_line":"    network_type \u003d sa.Column(sa.String(32))"},{"line_number":72,"context_line":"    hosting_port_id \u003d sa.Column(sa.String(36),"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_46fc6db8","line":69,"in_reply_to":"1abeadc6_fde98db7","updated":"2014-08-23 19:31:31.000000000","message":"Yes. Will change the comment a bit.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        models_v2.Port,"},{"line_number":77,"context_line":"        primaryjoin\u003d\u0027Port.id\u003d\u003dHostedHostingPortBinding.hosting_port_id\u0027)"},{"line_number":78,"context_line":"    # VLAN tag for trunk ports"},{"line_number":79,"context_line":"    segmentation_tag \u003d sa.Column(sa.Integer, autoincrement\u003dFalse)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"class RouterHostingDeviceBinding(model_base.BASEV2):"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_007182a7","line":79,"updated":"2014-08-22 10:00:22.000000000","message":"How about segmentation_id for consistency with ML2?","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        models_v2.Port,"},{"line_number":77,"context_line":"        primaryjoin\u003d\u0027Port.id\u003d\u003dHostedHostingPortBinding.hosting_port_id\u0027)"},{"line_number":78,"context_line":"    # VLAN tag for trunk ports"},{"line_number":79,"context_line":"    segmentation_tag \u003d sa.Column(sa.Integer, autoincrement\u003dFalse)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"class RouterHostingDeviceBinding(model_base.BASEV2):"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_c6bdddd9","line":79,"in_reply_to":"1abeadc6_007182a7","updated":"2014-08-23 19:31:31.000000000","message":"Sure. I\u0027ll change to that.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"}],"neutron/plugins/cisco/db/l3/l3_router_appliance_db.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                         ...},"},{"line_number":277,"context_line":"              ...}"},{"line_number":278,"context_line":"        \"\"\""},{"line_number":279,"context_line":"        LOG.debug(_(\u0027Processing affected routers in dead hosting devices\u0027))"},{"line_number":280,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":281,"context_line":"            for hd in hosting_devices:"},{"line_number":282,"context_line":"                hd_bindings \u003d self._get_hosting_device_bindings(context,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_a8c8a022","line":279,"updated":"2014-06-20 16:32:24.000000000","message":"Remove i18n from all debug log messages. In this and other files.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                         ...},"},{"line_number":277,"context_line":"              ...}"},{"line_number":278,"context_line":"        \"\"\""},{"line_number":279,"context_line":"        LOG.debug(_(\u0027Processing affected routers in dead hosting devices\u0027))"},{"line_number":280,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":281,"context_line":"            for hd in hosting_devices:"},{"line_number":282,"context_line":"                hd_bindings \u003d self._get_hosting_device_bindings(context,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_3d47427c","line":279,"in_reply_to":"1ae5cdf2_a8c8a022","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":402,"context_line":"        query \u003d query.filter(l3_models.RouterHostingDeviceBinding.router_id \u003d\u003d"},{"line_number":403,"context_line":"                             id)"},{"line_number":404,"context_line":"        try:"},{"line_number":405,"context_line":"            r_hd_b \u003d query.one()"},{"line_number":406,"context_line":"            return r_hd_b"},{"line_number":407,"context_line":"        except exc.NoResultFound:"},{"line_number":408,"context_line":"            # This should not happen"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_03e897b1","line":405,"updated":"2014-06-20 16:32:24.000000000","message":"can just return /o temp variable","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":402,"context_line":"        query \u003d query.filter(l3_models.RouterHostingDeviceBinding.router_id \u003d\u003d"},{"line_number":403,"context_line":"                             id)"},{"line_number":404,"context_line":"        try:"},{"line_number":405,"context_line":"            r_hd_b \u003d query.one()"},{"line_number":406,"context_line":"            return r_hd_b"},{"line_number":407,"context_line":"        except exc.NoResultFound:"},{"line_number":408,"context_line":"            # This should not happen"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_b300e367","line":405,"in_reply_to":"1ae5cdf2_03e897b1","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    def _add_hosting_port_info(self, context, router, plugging_driver):"},{"line_number":456,"context_line":"        \"\"\"Adds hosting port information to router ports.\"\"\""},{"line_number":457,"context_line":"        # We only populate hosting port info, i.e., reach here, if the"},{"line_number":458,"context_line":"        # router has been scheduled to a hosting device. Hence this"},{"line_number":459,"context_line":"        # a good place to allocate hosting ports to the router ports."},{"line_number":460,"context_line":"        # cache of hosting port information: {mac_addr: {\u0027name\u0027: port_name}}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_2303d342","line":457,"updated":"2014-06-20 16:32:24.000000000","message":"Make part of doc string?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    def _add_hosting_port_info(self, context, router, plugging_driver):"},{"line_number":456,"context_line":"        \"\"\"Adds hosting port information to router ports.\"\"\""},{"line_number":457,"context_line":"        # We only populate hosting port info, i.e., reach here, if the"},{"line_number":458,"context_line":"        # router has been scheduled to a hosting device. Hence this"},{"line_number":459,"context_line":"        # a good place to allocate hosting ports to the router ports."},{"line_number":460,"context_line":"        # cache of hosting port information: {mac_addr: {\u0027name\u0027: port_name}}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_d369ef27","line":457,"in_reply_to":"1ae5cdf2_2303d342","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":461,"context_line":"        router has been scheduled to a hosting device. Hence this"},{"line_number":462,"context_line":"        a good place to allocate hosting ports to the router ports."},{"line_number":463,"context_line":"        cache of hosting port information: {mac_addr: {\u0027name\u0027: port_name}}"},{"line_number":464,"context_line":"        hosting_pdata \u003d {}"},{"line_number":465,"context_line":"        \"\"\""},{"line_number":466,"context_line":"        hosting_pdata \u003d {}"},{"line_number":467,"context_line":"        if router[\u0027external_gateway_info\u0027] is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_f3231da8","line":464,"updated":"2014-06-24 12:49:38.000000000","message":"remove.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":461,"context_line":"        router has been scheduled to a hosting device. Hence this"},{"line_number":462,"context_line":"        a good place to allocate hosting ports to the router ports."},{"line_number":463,"context_line":"        cache of hosting port information: {mac_addr: {\u0027name\u0027: port_name}}"},{"line_number":464,"context_line":"        hosting_pdata \u003d {}"},{"line_number":465,"context_line":"        \"\"\""},{"line_number":466,"context_line":"        hosting_pdata \u003d {}"},{"line_number":467,"context_line":"        if router[\u0027external_gateway_info\u0027] is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_110bcad5","line":464,"in_reply_to":"1ae5cdf2_f3231da8","updated":"2014-06-26 11:20:47.000000000","message":"Done","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ffefc86cd2f0bf467577a71212f54407df096ce1","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        return self._l3_cfg_rpc_notifier"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    @l3_cfg_rpc_notifier.setter"},{"line_number":84,"context_line":"    def l3_cfg_rpc_notifier(self, value):"},{"line_number":85,"context_line":"        self._l3_cfg_rpc_notifier \u003d value"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def create_router(self, context, router):"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_1e5a9f1d","line":84,"updated":"2014-07-22 04:51:37.000000000","message":"Doesn\u0027t self.l3_rpc_notifier work?\nI guess you resorted to this because refactoring of L3_NAT_db_mixin will be necessary for cleaner implementation.\nCorrect?","commit_id":"9a55a3e3c1e2e8ec511e12ee2d03812428be8026"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                    router_ids.append(binding[\u0027router_id\u0027])"},{"line_number":292,"context_line":"                    if binding[\u0027auto_schedule\u0027]:"},{"line_number":293,"context_line":"                        self.backlog_router(binding[\u0027router\u0027])"},{"line_number":294,"context_line":"                    try:"},{"line_number":295,"context_line":"                        affected_resources[hd[\u0027id\u0027]].update("},{"line_number":296,"context_line":"                            {\u0027routers\u0027: router_ids})"},{"line_number":297,"context_line":"                    except KeyError:"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_59ea96ac","line":294,"updated":"2014-08-22 10:00:22.000000000","message":"This try clause should be after \u0027for binding in hd_bindings\u0027. (i.e. shift 4 to left) because binding variable isn\u0027t used, but only hd.\n\nSo we can avoid multiple update.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                    router_ids.append(binding[\u0027router_id\u0027])"},{"line_number":292,"context_line":"                    if binding[\u0027auto_schedule\u0027]:"},{"line_number":293,"context_line":"                        self.backlog_router(binding[\u0027router\u0027])"},{"line_number":294,"context_line":"                    try:"},{"line_number":295,"context_line":"                        affected_resources[hd[\u0027id\u0027]].update("},{"line_number":296,"context_line":"                            {\u0027routers\u0027: router_ids})"},{"line_number":297,"context_line":"                    except KeyError:"}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_96e934b9","line":294,"in_reply_to":"1abeadc6_59ea96ac","updated":"2014-08-23 19:31:31.000000000","message":"Indeed. Again, good catch! :-) Fixed now.","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":6995,"name":"Sridar Kandaswamy","email":"skandasw@yahoo.com","username":"skandasw"},"change_message_id":"237a1120ece1f312eeb4dbaf6c2d73f5379ef09e","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    def notify_router_interface_action("},{"line_number":150,"context_line":"            self, context, router_interface_info, routers, action):"},{"line_number":151,"context_line":"        l3_method \u003d \u0027%s_router_interface\u0027 % action"},{"line_number":152,"context_line":"        self.l3_cfg_rpc_notifier.routers_updated(context, routers, l3_method)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        mapping \u003d {\u0027add\u0027: \u0027create\u0027, \u0027remove\u0027: \u0027delete\u0027}"},{"line_number":155,"context_line":"        notifier \u003d n_rpc.get_notifier(\u0027network\u0027)"}],"source_content_type":"text/x-python","patch_set":23,"id":"1abeadc6_9a8137fe","line":152,"updated":"2014-08-25 14:32:45.000000000","message":"Again, a clarification on the notifications - So other plugins interested in the router interface - will get notified by its agent in the cfg-agent context.","commit_id":"fd38dc15413676e2775d91f656274b36f94c6b9a"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cee14f041ef0448edb21859a28b3429e4fb1ede5","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    def notify_router_interface_action("},{"line_number":150,"context_line":"            self, context, router_interface_info, routers, action):"},{"line_number":151,"context_line":"        l3_method \u003d \u0027%s_router_interface\u0027 % action"},{"line_number":152,"context_line":"        self.l3_cfg_rpc_notifier.routers_updated(context, routers, l3_method)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        mapping \u003d {\u0027add\u0027: \u0027create\u0027, \u0027remove\u0027: \u0027delete\u0027}"},{"line_number":155,"context_line":"        notifier \u003d n_rpc.get_notifier(\u0027network\u0027)"}],"source_content_type":"text/x-python","patch_set":23,"id":"1abeadc6_e3e6f9e7","line":152,"in_reply_to":"1abeadc6_9a8137fe","updated":"2014-08-25 22:47:39.000000000","message":"Yes it can be indirectly done that way. Currently there is no notification mechanism from the router plugin to other service plugins.","commit_id":"fd38dc15413676e2775d91f656274b36f94c6b9a"}],"neutron/plugins/cisco/l3/configdrive_templates/csr1kv_cfg_template":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":43,"context_line":"ip name-server \u003cname_server\u003e"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"license accept end user agreement"},{"line_number":46,"context_line":"license boot level premium"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":7,"id":"1ae5cdf2_6a2ccb02","line":46,"updated":"2014-06-20 16:32:24.000000000","message":"Question, how do you tell if the license has been applied?  I don\u0027t see this line in the running config (unless it is displayed differently).","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":43,"context_line":"ip name-server \u003cname_server\u003e"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"license accept end user agreement"},{"line_number":46,"context_line":"license boot level premium"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":7,"id":"1ae5cdf2_bd08b22f","line":46,"in_reply_to":"1ae5cdf2_6a2ccb02","updated":"2014-06-24 07:52:01.000000000","message":"Actually, I don\u0027t know.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"}],"neutron/plugins/cisco/l3/hosting_device_drivers/csr1kv_hd_driver.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"23acd2ec0d37f6291284df2d84b4dbe91276b281","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                with open(vm_cfg_filename, \"w\") as vm_cfg_file:"},{"line_number":65,"context_line":"                    # insert proper instance values in the template"},{"line_number":66,"context_line":"                    for line in cfg_template_file:"},{"line_number":67,"context_line":"                        tokens \u003d line.strip(\u0027\\n\u0027).split(\u0027 \u0027)"},{"line_number":68,"context_line":"                        result \u003d [params[token] if token in params.keys()"},{"line_number":69,"context_line":"                                  else token for token in tokens]"},{"line_number":70,"context_line":"                        line \u003d \u0027 \u0027.join(map(str, result)) + \u0027\\n\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_cd7c1974","line":67,"updated":"2014-06-20 16:32:24.000000000","message":"could do:\n    line \u003d \u0027 \u0027.join(map(lambda x: params.get(x, x), line.strip(\u0027\\n\u0027).split(\u0027 \u0027)))\n\nOr break into two parts:\n    tokens \u003d line.strip(\u0027\\n\u0027).split(\u0027 \u0027)\n    line \u003d \u0027 \u0027.join(map(lambda x: params.get(x, x), tokens))","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                with open(vm_cfg_filename, \"w\") as vm_cfg_file:"},{"line_number":65,"context_line":"                    # insert proper instance values in the template"},{"line_number":66,"context_line":"                    for line in cfg_template_file:"},{"line_number":67,"context_line":"                        tokens \u003d line.strip(\u0027\\n\u0027).split(\u0027 \u0027)"},{"line_number":68,"context_line":"                        result \u003d [params[token] if token in params.keys()"},{"line_number":69,"context_line":"                                  else token for token in tokens]"},{"line_number":70,"context_line":"                        line \u003d \u0027 \u0027.join(map(str, result)) + \u0027\\n\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_53479f7a","line":67,"in_reply_to":"1ae5cdf2_cd7c1974","updated":"2014-06-24 07:52:01.000000000","message":"Ok, changes to second proposal (modified to end with: + \u0027\\n\u0027)","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b3b90e61c36d04b6c3ecf0362bc83357883b7667","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    def hosting_device_name(self):"},{"line_number":44,"context_line":"        return \"CSR1kv\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_configdrive_files(self, context, mgmtport):"},{"line_number":47,"context_line":"        mgmt_ip \u003d mgmtport[\u0027fixed_ips\u0027][0][\u0027ip_address\u0027]"},{"line_number":48,"context_line":"        subnet_data \u003d self._core_plugin.get_subnet("},{"line_number":49,"context_line":"            context, mgmtport[\u0027fixed_ips\u0027][0][\u0027subnet_id\u0027],"}],"source_content_type":"text/x-python","patch_set":14,"id":"7ac7a964_e420a64b","line":46,"updated":"2014-08-15 06:42:56.000000000","message":"nova boot files parameter accepts not only file object but also string object.\nSo we don\u0027t need create file and delete later it.","commit_id":"6e5767d00aefb753a3b08cad0e96eff32e43ecc1"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0833207c23e5b8b251ce574fe6b71aa727de7a73","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    def hosting_device_name(self):"},{"line_number":44,"context_line":"        return \"CSR1kv\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_configdrive_files(self, context, mgmtport):"},{"line_number":47,"context_line":"        mgmt_ip \u003d mgmtport[\u0027fixed_ips\u0027][0][\u0027ip_address\u0027]"},{"line_number":48,"context_line":"        subnet_data \u003d self._core_plugin.get_subnet("},{"line_number":49,"context_line":"            context, mgmtport[\u0027fixed_ips\u0027][0][\u0027subnet_id\u0027],"}],"source_content_type":"text/x-python","patch_set":14,"id":"7ac7a964_4a1eb864","line":46,"in_reply_to":"7ac7a964_b39a7261","updated":"2014-08-15 13:26:42.000000000","message":"I mean at line 68, the return value can be something like\n{\u0027iosxe_config.tx\u0027t: str(params)}\n\nnovaclient.v1_1.servers.create() file arguments accepts dict.\nits dict value can be string.\nPlease refer to \nhttp://git.openstack.org/cgit/openstack/python-novaclient/tree/novaclient/v1_1/servers.py#n491","commit_id":"6e5767d00aefb753a3b08cad0e96eff32e43ecc1"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"8f974005b712608419e237d642445b7d5a3abcb3","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    def hosting_device_name(self):"},{"line_number":44,"context_line":"        return \"CSR1kv\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_configdrive_files(self, context, mgmtport):"},{"line_number":47,"context_line":"        mgmt_ip \u003d mgmtport[\u0027fixed_ips\u0027][0][\u0027ip_address\u0027]"},{"line_number":48,"context_line":"        subnet_data \u003d self._core_plugin.get_subnet("},{"line_number":49,"context_line":"            context, mgmtport[\u0027fixed_ips\u0027][0][\u0027subnet_id\u0027],"}],"source_content_type":"text/x-python","patch_set":14,"id":"7ac7a964_b39a7261","line":46,"in_reply_to":"7ac7a964_e420a64b","updated":"2014-08-15 09:00:37.000000000","message":"Are you talking about the metadata and user data?\n\nThing is, the CSR expects a particular file name and location for the initial config. I\u0027m not aware of such a file being possible to generate any other way. Is there?","commit_id":"6e5767d00aefb753a3b08cad0e96eff32e43ecc1"}],"neutron/plugins/cisco/l3/plugging_drivers/__init__.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":130,"context_line":"                              hosting_device_id):"},{"line_number":131,"context_line":"        \"\"\"Allocates a hosting port for a logical port."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"        Schedules a logical port to a hosting port. Not that the hosting port"},{"line_number":134,"context_line":"        may be the logical port itself."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        returns: a dict {\u0027allocated_port_id\u0027: \u003cid of allocated port\u003e,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_6951300d","line":133,"updated":"2014-06-20 23:42:32.000000000","message":"nit: Not -\u003e Note","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":130,"context_line":"                              hosting_device_id):"},{"line_number":131,"context_line":"        \"\"\"Allocates a hosting port for a logical port."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"        Schedules a logical port to a hosting port. Not that the hosting port"},{"line_number":134,"context_line":"        may be the logical port itself."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        returns: a dict {\u0027allocated_port_id\u0027: \u003cid of allocated port\u003e,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_1831b4ed","line":133,"in_reply_to":"1ae5cdf2_6951300d","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"}],"neutron/plugins/cisco/l3/plugging_drivers/n1kv_trunking_driver.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":37,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"N1KV_TRUNKING_DRIVER_OPTS \u003d ["},{"line_number":41,"context_line":"    cfg.StrOpt(\u0027management_port_profile\u0027, default\u003d\u0027osn_mgmt_pp\u0027,"},{"line_number":42,"context_line":"               help\u003d_(\"Name of N1kv port profile for management ports\")),"},{"line_number":43,"context_line":"    cfg.StrOpt(\u0027t1_port_profile\u0027, default\u003d\u0027osn_t1_pp\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_c996c493","line":40,"updated":"2014-06-20 23:42:32.000000000","message":"It may be helpful to the reader to explain what T1 and T2 are. Are they just two different trunks? Why only two? Just some background on this.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":37,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"N1KV_TRUNKING_DRIVER_OPTS \u003d ["},{"line_number":41,"context_line":"    cfg.StrOpt(\u0027management_port_profile\u0027, default\u003d\u0027osn_mgmt_pp\u0027,"},{"line_number":42,"context_line":"               help\u003d_(\"Name of N1kv port profile for management ports\")),"},{"line_number":43,"context_line":"    cfg.StrOpt(\u0027t1_port_profile\u0027, default\u003d\u0027osn_t1_pp\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_eed60253","line":40,"in_reply_to":"1ae5cdf2_c996c493","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":56,"context_line":"MAX_LL_VLAN_TAG \u003d 200"},{"line_number":57,"context_line":"FULL_VLAN_SET \u003d set(range(MIN_LL_VLAN_TAG, MAX_LL_VLAN_TAG + 1))"},{"line_number":58,"context_line":"DELETION_ATTEMPTS \u003d 5"},{"line_number":59,"context_line":"SECONDS_BETWEEN_ATTEMPTS \u003d 3"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"# Port lookups can fail so retries are needed"},{"line_number":62,"context_line":"MAX_HOSTING_PORT_LOOKUP_ATTEMPTS \u003d 10"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_c9afa4e1","line":59,"updated":"2014-06-20 23:42:32.000000000","message":"Are these for delete attempts?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":56,"context_line":"MAX_LL_VLAN_TAG \u003d 200"},{"line_number":57,"context_line":"FULL_VLAN_SET \u003d set(range(MIN_LL_VLAN_TAG, MAX_LL_VLAN_TAG + 1))"},{"line_number":58,"context_line":"DELETION_ATTEMPTS \u003d 5"},{"line_number":59,"context_line":"SECONDS_BETWEEN_ATTEMPTS \u003d 3"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"# Port lookups can fail so retries are needed"},{"line_number":62,"context_line":"MAX_HOSTING_PORT_LOOKUP_ATTEMPTS \u003d 10"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_f31eeb73","line":59,"in_reply_to":"1ae5cdf2_c9afa4e1","updated":"2014-06-24 07:52:01.000000000","message":"Yes. Will give it a clearer name.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    The driver makes use N1kv plugin\u0027s VLAN trunk feature."},{"line_number":70,"context_line":"    \"\"\""},{"line_number":71,"context_line":"    _n1kv_mgmt_pp_id \u003d None"},{"line_number":72,"context_line":"    _n1kv_t1_pp_id \u003d None"},{"line_number":73,"context_line":"    _n1kv_t2_pp_id \u003d None"},{"line_number":74,"context_line":"    _n1kv_t1_np_id \u003d None"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_696210ae","line":71,"updated":"2014-06-20 23:42:32.000000000","message":"Is the _n1kv prefix needed? Could instead the name be more descriptive? _t1_port_profile_id,_t1_network_profile_id,...","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    The driver makes use N1kv plugin\u0027s VLAN trunk feature."},{"line_number":70,"context_line":"    \"\"\""},{"line_number":71,"context_line":"    _n1kv_mgmt_pp_id \u003d None"},{"line_number":72,"context_line":"    _n1kv_t1_pp_id \u003d None"},{"line_number":73,"context_line":"    _n1kv_t2_pp_id \u003d None"},{"line_number":74,"context_line":"    _n1kv_t1_np_id \u003d None"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_0ebb2e10","line":71,"in_reply_to":"1ae5cdf2_696210ae","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                      {\u0027resource\u0027: resource, \u0027name\u0027: name})"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    @classmethod"},{"line_number":120,"context_line":"    def n1kv_mgmt_pp_id(cls):"},{"line_number":121,"context_line":"        if cls._n1kv_mgmt_pp_id is None:"},{"line_number":122,"context_line":"            cls._n1kv_mgmt_pp_id \u003d cls._get_profile_id("},{"line_number":123,"context_line":"                \u0027port_profile\u0027, \u0027N1kv port profile\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_69d77023","line":120,"updated":"2014-06-20 23:42:32.000000000","message":"Would be better if names of these functions were more descriptive.  Maybe get_management_policy_profile_id() or get_mgmt_policy_profile_id(). Since they are class methods, probably can get context by class name and not need n1kv prefix.\n\nSame for others...","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":117,"context_line":"                      {\u0027resource\u0027: resource, \u0027name\u0027: name})"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    @classmethod"},{"line_number":120,"context_line":"    def n1kv_mgmt_pp_id(cls):"},{"line_number":121,"context_line":"        if cls._n1kv_mgmt_pp_id is None:"},{"line_number":122,"context_line":"            cls._n1kv_mgmt_pp_id \u003d cls._get_profile_id("},{"line_number":123,"context_line":"                \u0027port_profile\u0027, \u0027N1kv port profile\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_0e46cec0","line":120,"in_reply_to":"1ae5cdf2_69d77023","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                    \u0027dns_nameservers\u0027: attributes.ATTR_NOT_SPECIFIED,"},{"line_number":193,"context_line":"                    \u0027host_routes\u0027: attributes.ATTR_NOT_SPECIFIED}}"},{"line_number":194,"context_line":"                for i in xrange(max_hosted):"},{"line_number":195,"context_line":"                    # Create T1 trunk network for this router"},{"line_number":196,"context_line":"                    indx \u003d str(i + 1)"},{"line_number":197,"context_line":"                    n_spec[\u0027network\u0027].update("},{"line_number":198,"context_line":"                        {\u0027name\u0027: n1kv_const.T1_NETWORK_NAME + indx,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_69e130cf","line":195,"updated":"2014-06-20 23:42:32.000000000","message":"Since T1 and T2 processing is very similar, consider creating functions and passing in the varying parts. May be nice to have a function for network, subnet, and port.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                    \u0027dns_nameservers\u0027: attributes.ATTR_NOT_SPECIFIED,"},{"line_number":193,"context_line":"                    \u0027host_routes\u0027: attributes.ATTR_NOT_SPECIFIED}}"},{"line_number":194,"context_line":"                for i in xrange(max_hosted):"},{"line_number":195,"context_line":"                    # Create T1 trunk network for this router"},{"line_number":196,"context_line":"                    indx \u003d str(i + 1)"},{"line_number":197,"context_line":"                    n_spec[\u0027network\u0027].update("},{"line_number":198,"context_line":"                        {\u0027name\u0027: n1kv_const.T1_NETWORK_NAME + indx,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_09a7a851","line":195,"in_reply_to":"1ae5cdf2_69e130cf","updated":"2014-06-24 07:52:01.000000000","message":"Hmmm, I think that for the creation case the gain is limited so I\u0027ll keep as is.\nWill change for the deletion case though.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                         \u0027n1kv:profile_id\u0027: self.n1kv_t1_np_id()})"},{"line_number":200,"context_line":"                    t1_n.append(self._core_plugin.create_network("},{"line_number":201,"context_line":"                        context, n_spec))"},{"line_number":202,"context_line":"                    LOG.debug(_(\u0027Created T1 network with name %(name)s and \u0027"},{"line_number":203,"context_line":"                                \u0027id %(id)s\u0027),"},{"line_number":204,"context_line":"                              {\u0027name\u0027: n1kv_const.T1_NETWORK_NAME + indx,"},{"line_number":205,"context_line":"                               \u0027id\u0027: t1_n[i][\u0027id\u0027]})"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_4990f442","line":202,"updated":"2014-06-20 23:42:32.000000000","message":"Nit: Go through all files and remove i18n from debug logs.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                         \u0027n1kv:profile_id\u0027: self.n1kv_t1_np_id()})"},{"line_number":200,"context_line":"                    t1_n.append(self._core_plugin.create_network("},{"line_number":201,"context_line":"                        context, n_spec))"},{"line_number":202,"context_line":"                    LOG.debug(_(\u0027Created T1 network with name %(name)s and \u0027"},{"line_number":203,"context_line":"                                \u0027id %(id)s\u0027),"},{"line_number":204,"context_line":"                              {\u0027name\u0027: n1kv_const.T1_NETWORK_NAME + indx,"},{"line_number":205,"context_line":"                               \u0027id\u0027: t1_n[i][\u0027id\u0027]})"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_b870c0a5","line":202,"in_reply_to":"1ae5cdf2_4990f442","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":302,"context_line":"                    LOG.error(_(\u0027Failed to delete management port %(port_id) \u0027"},{"line_number":303,"context_line":"                                \u0027for service vm due to %(err)s\u0027),"},{"line_number":304,"context_line":"                              {\u0027port_id\u0027: mgmt_port[\u0027id\u0027], \u0027err\u0027: e})"},{"line_number":305,"context_line":"            for item in port_ids.copy():"},{"line_number":306,"context_line":"                try:"},{"line_number":307,"context_line":"                    self._core_plugin.delete_port(context, item)"},{"line_number":308,"context_line":"                    port_ids.remove(item)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_5fea620f","line":305,"updated":"2014-06-20 23:42:32.000000000","message":"Possible to remove duplication with a function that takes the resource type, exception type, and id list?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":302,"context_line":"                    LOG.error(_(\u0027Failed to delete management port %(port_id) \u0027"},{"line_number":303,"context_line":"                                \u0027for service vm due to %(err)s\u0027),"},{"line_number":304,"context_line":"                              {\u0027port_id\u0027: mgmt_port[\u0027id\u0027], \u0027err\u0027: e})"},{"line_number":305,"context_line":"            for item in port_ids.copy():"},{"line_number":306,"context_line":"                try:"},{"line_number":307,"context_line":"                    self._core_plugin.delete_port(context, item)"},{"line_number":308,"context_line":"                    port_ids.remove(item)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_a9e954b9","line":305,"in_reply_to":"1ae5cdf2_5fea620f","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":386,"context_line":"                id_allocated_port \u003d self._get_other_port_id_in_pair("},{"line_number":387,"context_line":"                    context, port_twin_id, hosting_device_id)"},{"line_number":388,"context_line":"        if id_allocated_port is None:"},{"line_number":389,"context_line":"            # Database must have been messed up if this happens ..."},{"line_number":390,"context_line":"            return"},{"line_number":391,"context_line":"        if network_type \u003d\u003d \u0027vxlan\u0027:"},{"line_number":392,"context_line":"            # For VLXAN we choose the (link local) VLAN tag"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_5fd18255","line":389,"updated":"2014-06-20 23:42:32.000000000","message":"LOG?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":386,"context_line":"                id_allocated_port \u003d self._get_other_port_id_in_pair("},{"line_number":387,"context_line":"                    context, port_twin_id, hosting_device_id)"},{"line_number":388,"context_line":"        if id_allocated_port is None:"},{"line_number":389,"context_line":"            # Database must have been messed up if this happens ..."},{"line_number":390,"context_line":"            return"},{"line_number":391,"context_line":"        if network_type \u003d\u003d \u0027vxlan\u0027:"},{"line_number":392,"context_line":"            # For VLXAN we choose the (link local) VLAN tag"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_0e4b2eb2","line":389,"in_reply_to":"1ae5cdf2_5fd18255","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":401,"context_line":"            allocated_vlan \u003d (None if tags \u003d\u003d []"},{"line_number":402,"context_line":"                              else tags[0].get(pr_net.SEGMENTATION_ID))"},{"line_number":403,"context_line":"        if allocated_vlan is None:"},{"line_number":404,"context_line":"            # Database must have been messed up if this happens ..."},{"line_number":405,"context_line":"            return"},{"line_number":406,"context_line":"        return {\u0027allocated_port_id\u0027: id_allocated_port,"},{"line_number":407,"context_line":"                \u0027allocated_vlan\u0027: allocated_vlan}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_9fc78a97","line":404,"updated":"2014-06-20 23:42:32.000000000","message":"LOG?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":401,"context_line":"            allocated_vlan \u003d (None if tags \u003d\u003d []"},{"line_number":402,"context_line":"                              else tags[0].get(pr_net.SEGMENTATION_ID))"},{"line_number":403,"context_line":"        if allocated_vlan is None:"},{"line_number":404,"context_line":"            # Database must have been messed up if this happens ..."},{"line_number":405,"context_line":"            return"},{"line_number":406,"context_line":"        return {\u0027allocated_port_id\u0027: id_allocated_port,"},{"line_number":407,"context_line":"                \u0027allocated_vlan\u0027: allocated_vlan}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_ced786bf","line":404,"in_reply_to":"1ae5cdf2_9fc78a97","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7b68d805fbfb8b77849d6c99db09d9ca1a09216d","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from oslo.config import cfg"},{"line_number":20,"context_line":"from sqlalchemy import and_"},{"line_number":21,"context_line":"from sqlalchemy import or_"},{"line_number":22,"context_line":"from sqlalchemy.orm import exc"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from neutron.api.v2 import attributes"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_772e788d","line":21,"updated":"2014-07-07 12:19:13.000000000","message":"H302 wants us to import only modules, so you can do:\n\n    from sqlalchemy.sql import expression as expr\n\nand use expr.and_ and expr.or_","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"f0d4718c29f381a6a87e586ee7220c0d64c04441","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from oslo.config import cfg"},{"line_number":20,"context_line":"from sqlalchemy import and_"},{"line_number":21,"context_line":"from sqlalchemy import or_"},{"line_number":22,"context_line":"from sqlalchemy.orm import exc"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from neutron.api.v2 import attributes"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_62b7a03a","line":21,"in_reply_to":"baada198_772e788d","updated":"2014-07-14 16:26:32.000000000","message":"Done","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"345f557f9320dfffe525580745c632ef6823304a","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                constants.L3_ROUTER_NAT].l3_tenant_id()"},{"line_number":90,"context_line":"        except AttributeError:"},{"line_number":91,"context_line":"            return"},{"line_number":92,"context_line":"        if tenant_id is None:"},{"line_number":93,"context_line":"            return"},{"line_number":94,"context_line":"        core_plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":95,"context_line":"        if p_type \u003d\u003d \u0027net_profile\u0027:"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_a549778f","line":92,"updated":"2014-08-13 07:20:46.000000000","message":"Log msg will be helpful to distinguish from the return at line 91","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"bde20a69e86b119dde701d48dda6b6f844cbd423","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                constants.L3_ROUTER_NAT].l3_tenant_id()"},{"line_number":90,"context_line":"        except AttributeError:"},{"line_number":91,"context_line":"            return"},{"line_number":92,"context_line":"        if tenant_id is None:"},{"line_number":93,"context_line":"            return"},{"line_number":94,"context_line":"        core_plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":95,"context_line":"        if p_type \u003d\u003d \u0027net_profile\u0027:"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_4a8c183a","line":92,"in_reply_to":"baada198_a549778f","updated":"2014-08-13 19:00:27.000000000","message":"There are log messages generated by device handling that effectively achieves the same, thus allowing for the cases to be distinguished.","commit_id":"53fe0a5cd1e2a879f0d4a7e8dc30a5b6a8356c6f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":276,"context_line":"    def delete_hosting_device_resources(self, context, tenant_id, mgmt_port,"},{"line_number":277,"context_line":"                                        **kwargs):"},{"line_number":278,"context_line":"        attempts \u003d 1"},{"line_number":279,"context_line":"        port_ids \u003d set([p[\u0027id\u0027] for p in kwargs[\u0027ports\u0027]])"},{"line_number":280,"context_line":"        subnet_ids \u003d set([s[\u0027id\u0027] for s in kwargs[\u0027subnets\u0027]])"},{"line_number":281,"context_line":"        net_ids \u003d set([n[\u0027id\u0027] for n in kwargs[\u0027networks\u0027]])"},{"line_number":282,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_002342a7","line":279,"updated":"2014-08-22 10:00:22.000000000","message":"Probably it\u0027s a matter of taste, though.\n\ngenerator expression can be used like\nset(p[\u0027id\u0027] for p in kwargs[\u0027ports\u0027])","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":276,"context_line":"    def delete_hosting_device_resources(self, context, tenant_id, mgmt_port,"},{"line_number":277,"context_line":"                                        **kwargs):"},{"line_number":278,"context_line":"        attempts \u003d 1"},{"line_number":279,"context_line":"        port_ids \u003d set([p[\u0027id\u0027] for p in kwargs[\u0027ports\u0027]])"},{"line_number":280,"context_line":"        subnet_ids \u003d set([s[\u0027id\u0027] for s in kwargs[\u0027subnets\u0027]])"},{"line_number":281,"context_line":"        net_ids \u003d set([n[\u0027id\u0027] for n in kwargs[\u0027networks\u0027]])"},{"line_number":282,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_d6ad6c32","line":279,"in_reply_to":"1abeadc6_002342a7","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"19084ca18244830adfe433ca57824fb0b4151ef7","unresolved":false,"context_lines":[{"line_number":340,"context_line":"        allocations \u003d self._get_router_ports_with_hosting_info_qry("},{"line_number":341,"context_line":"            context, router_id).all()"},{"line_number":342,"context_line":"        trunk_mappings \u003d {}"},{"line_number":343,"context_line":"        if len(allocations) \u003d\u003d 0:"},{"line_number":344,"context_line":"            # Router has no ports with hosting port allocated to them yet"},{"line_number":345,"context_line":"            # whatsoever, so we select an unused port (that trunks networks"},{"line_number":346,"context_line":"            # of correct type) on the hosting device."}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_c0a14af9","line":343,"updated":"2014-08-22 10:00:22.000000000","message":"if allocation is guarenteed to list, len is not needed.\n\"if not allocations:\"","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"76764bfc33aba35c40b2fdac948153e6971621ee","unresolved":false,"context_lines":[{"line_number":340,"context_line":"        allocations \u003d self._get_router_ports_with_hosting_info_qry("},{"line_number":341,"context_line":"            context, router_id).all()"},{"line_number":342,"context_line":"        trunk_mappings \u003d {}"},{"line_number":343,"context_line":"        if len(allocations) \u003d\u003d 0:"},{"line_number":344,"context_line":"            # Router has no ports with hosting port allocated to them yet"},{"line_number":345,"context_line":"            # whatsoever, so we select an unused port (that trunks networks"},{"line_number":346,"context_line":"            # of correct type) on the hosting device."}],"source_content_type":"text/x-python","patch_set":20,"id":"1abeadc6_66a16993","line":343,"in_reply_to":"1abeadc6_c0a14af9","updated":"2014-08-23 19:31:31.000000000","message":"Done","commit_id":"e74632c9e11d1ed5a2e7f71a646c0f1962d2b63e"}],"neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":24,"context_line":"class DeviceCfgRpcCallbackMixin(object):"},{"line_number":25,"context_line":"    \"\"\"Mixin for Cisco cfg agent device reporting rpc support.\"\"\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def report_non_responding_hosting_devices(self, context, **kwargs):"},{"line_number":28,"context_line":"        \"\"\"Report that a hosting device cannot be contacted."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"        @param: context - contains user information"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_9f230a57","line":27,"updated":"2014-06-20 23:42:32.000000000","message":"Just curious as to why kwargs used and not just host and hosting_device_ids.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":24,"context_line":"class DeviceCfgRpcCallbackMixin(object):"},{"line_number":25,"context_line":"    \"\"\"Mixin for Cisco cfg agent device reporting rpc support.\"\"\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def report_non_responding_hosting_devices(self, context, **kwargs):"},{"line_number":28,"context_line":"        \"\"\"Report that a hosting device cannot be contacted."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"        @param: context - contains user information"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_492e10ad","line":27,"in_reply_to":"1ae5cdf2_9f230a57","updated":"2014-06-24 07:52:01.000000000","message":"No special reason really. Can change it.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":39,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":40,"context_line":"        if plugin is None:"},{"line_number":41,"context_line":"            LOG.error(_(\u0027No router service plugin registered!\u0027"},{"line_number":42,"context_line":"                        \u0027Cannot handle non-responding hosting device \u0027"},{"line_number":43,"context_line":"                        \u0027callback\u0027))"},{"line_number":44,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_ff6dee99","line":41,"updated":"2014-06-20 23:42:32.000000000","message":"Space at end of string.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":39,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":40,"context_line":"        if plugin is None:"},{"line_number":41,"context_line":"            LOG.error(_(\u0027No router service plugin registered!\u0027"},{"line_number":42,"context_line":"                        \u0027Cannot handle non-responding hosting device \u0027"},{"line_number":43,"context_line":"                        \u0027callback\u0027))"},{"line_number":44,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_9855c4c4","line":41,"in_reply_to":"1ae5cdf2_ff6dee99","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        if plugin is None:"},{"line_number":41,"context_line":"            LOG.error(_(\u0027No router service plugin registered!\u0027"},{"line_number":42,"context_line":"                        \u0027Cannot handle non-responding hosting device \u0027"},{"line_number":43,"context_line":"                        \u0027callback\u0027))"},{"line_number":44,"context_line":"        else:"},{"line_number":45,"context_line":"            plugin.handle_non_responding_hosting_devices("},{"line_number":46,"context_line":"                context, cfg_agent_host, hosting_device_ids)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_1f69ba8b","line":43,"updated":"2014-06-20 23:42:32.000000000","message":"Nit: period at end of line.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        if plugin is None:"},{"line_number":41,"context_line":"            LOG.error(_(\u0027No router service plugin registered!\u0027"},{"line_number":42,"context_line":"                        \u0027Cannot handle non-responding hosting device \u0027"},{"line_number":43,"context_line":"                        \u0027callback\u0027))"},{"line_number":44,"context_line":"        else:"},{"line_number":45,"context_line":"            plugin.handle_non_responding_hosting_devices("},{"line_number":46,"context_line":"                context, cfg_agent_host, hosting_device_ids)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_b85a80f0","line":43,"in_reply_to":"1ae5cdf2_1f69ba8b","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            plugin.handle_non_responding_hosting_devices("},{"line_number":46,"context_line":"                context, cfg_agent_host, hosting_device_ids)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def register_for_duty(self, context, **kwargs):"},{"line_number":49,"context_line":"        \"\"\"Report that Cisco cfg agent is ready for duty."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        This function is supposed to be called when the agent has started,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_df20324b","line":48,"updated":"2014-06-20 23:42:32.000000000","message":"Why not just use host vs kwargs?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            plugin.handle_non_responding_hosting_devices("},{"line_number":46,"context_line":"                context, cfg_agent_host, hosting_device_ids)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def register_for_duty(self, context, **kwargs):"},{"line_number":49,"context_line":"        \"\"\"Report that Cisco cfg agent is ready for duty."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        This function is supposed to be called when the agent has started,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_78a398b1","line":48,"in_reply_to":"1ae5cdf2_df20324b","updated":"2014-06-24 07:52:01.000000000","message":"Same as above.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"}],"neutron/plugins/cisco/l3/rpc/l3_router_cfgagent_rpc_cb.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":29,"context_line":"class L3RouterCfgRpcCallbackMixin(object):"},{"line_number":30,"context_line":"    \"\"\"Mixin for Cisco cfg agent rpc support in L3 routing service plugin.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def cfg_sync_routers(self, context, **kwargs):"},{"line_number":33,"context_line":"        \"\"\"Sync routers according to filters to a specific Cisco cfg agent."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        @param context: contains user information"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_df7cb222","line":32,"updated":"2014-06-20 23:42:32.000000000","message":"Locking needed for this method, for case of other processes calling it?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":29,"context_line":"class L3RouterCfgRpcCallbackMixin(object):"},{"line_number":30,"context_line":"    \"\"\"Mixin for Cisco cfg agent rpc support in L3 routing service plugin.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def cfg_sync_routers(self, context, **kwargs):"},{"line_number":33,"context_line":"        \"\"\"Sync routers according to filters to a specific Cisco cfg agent."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        @param context: contains user information"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_50007002","line":32,"in_reply_to":"1ae5cdf2_df7cb222","updated":"2014-06-24 07:52:01.000000000","message":"Possibly. I\u0027m not sure. This function is analogous to the sync_routers() function in the l3agent callback and it does not employ locks. \n\nI will have to think some more about your concern here.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        host \u003d kwargs.get(\u0027host\u0027)"},{"line_number":42,"context_line":"        hd_ids \u003d kwargs.get(\u0027hosting_device_ids\u0027, [])"},{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":45,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":46,"context_line":"        if l3plugin is None:"},{"line_number":47,"context_line":"            routers \u003d []"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_ffc96e79","line":44,"updated":"2014-06-20 23:42:32.000000000","message":"l3plugin and plugin will never change, right? Maybe lazy init them as a property?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        host \u003d kwargs.get(\u0027host\u0027)"},{"line_number":42,"context_line":"        hd_ids \u003d kwargs.get(\u0027hosting_device_ids\u0027, [])"},{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":45,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":46,"context_line":"        if l3plugin is None:"},{"line_number":47,"context_line":"            routers \u003d []"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_edf4478a","line":44,"in_reply_to":"1ae5cdf2_ffc96e79","updated":"2014-06-24 07:52:01.000000000","message":"Hmm, I wonder how much the gain of that will actually be. There will still be a function call. Will have to think about it some more.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":45,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":46,"context_line":"        if l3plugin is None:"},{"line_number":47,"context_line":"            routers \u003d []"},{"line_number":48,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":49,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7fa55eb3","line":46,"updated":"2014-06-20 23:42:32.000000000","message":"Is this something that should be caught at start up, rather than checked at each sync operation?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":45,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":46,"context_line":"        if l3plugin is None:"},{"line_number":47,"context_line":"            routers \u003d []"},{"line_number":48,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":49,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_4df61b5f","line":46,"in_reply_to":"1ae5cdf2_7fa55eb3","updated":"2014-06-24 07:52:01.000000000","message":"Would be nice but I don\u0027t think it is possible given how Neutron is started and service plugins are loaded. The RPC object that these callback functions are mixed into is created in the __init_ function of the service plugin. But, that __init__ function is called as part of creating the singleton Neutron manager object. So it is not possible to call the get_service_plugins at that point.\n\nFor core plugin there is nowadays the start_rpc_listener() function that gives the possibility to delay RPC initialization to after neutron manager/plugin initialization. But that function is not available to service plugins at the moment. That would be a useful change but not in this patch.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":48,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":49,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"},{"line_number":50,"context_line":"        else:"},{"line_number":51,"context_line":"            routers \u003d l3plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":52,"context_line":"                context, host, router_ids, hd_ids)"},{"line_number":53,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":54,"context_line":"        if utils.is_extension_supported("}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7f8c7e35","line":51,"updated":"2014-06-20 23:42:32.000000000","message":"Should the getting of the routers be in a separate function that could be used by other processes wanting to get the router list, or will you always want to update the host info, when getting routers?\n\nEssentially, this method has two responsibilities, which I\u0027m concerned about.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":48,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":49,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"},{"line_number":50,"context_line":"        else:"},{"line_number":51,"context_line":"            routers \u003d l3plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":52,"context_line":"                context, host, router_ids, hd_ids)"},{"line_number":53,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":54,"context_line":"        if utils.is_extension_supported("}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_70764c0e","line":51,"in_reply_to":"1ae5cdf2_7f8c7e35","updated":"2014-06-24 07:52:01.000000000","message":"Not sure I understand this comment.\n\nThis RPC function, cfg_sync_routers(), is supposed to be called only by the routing service helper in the cfg agent.\n\nIf another service plugin wants information about routers they should use the get_sync_data_ext() or list_active_sync_routers_on_hosting_devices()","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":42,"context_line":"                 with their hosting devices, interfaces and floating_ips"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":45,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":46,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":47,"context_line":"        if l3plugin is None:"},{"line_number":48,"context_line":"            routers \u003d []"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_13d6c927","line":45,"updated":"2014-06-24 12:49:38.000000000","message":"If you make l3plugin a property and do the call on first use, it\u0027ll save doing the call to get_service_plugins each time a sync is done. Maybe at that time, if unable to get plugin it could be caught and raise an exception, instead of the test at L47+?","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":42,"context_line":"                 with their hosting devices, interfaces and floating_ips"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":45,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":46,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":47,"context_line":"        if l3plugin is None:"},{"line_number":48,"context_line":"            routers \u003d []"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_6c6ef597","line":45,"in_reply_to":"1ae5cdf2_13d6c927","updated":"2014-06-26 11:20:47.000000000","message":"Made it an attribute that is set in class mixed into.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":50,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"},{"line_number":51,"context_line":"        else:"},{"line_number":52,"context_line":"            routers \u003d l3plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":53,"context_line":"                context, host, router_ids, hosting_device_ids)"},{"line_number":54,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":55,"context_line":"        if utils.is_extension_supported("}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_ee5b34f7","line":52,"updated":"2014-06-24 12:49:38.000000000","message":"The question is... how can other processes obtain router info, like what is provided by list_active_sync_routers_on_hosting_devices()? I see that an RPC request to cfg_sync_routers will do that, but also does additional functionality. Are there other RPC methods that just provide the router info?","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            LOG.error(_(\u0027No L3 router service plugin registered! Will return \u0027"},{"line_number":50,"context_line":"                        \u0027empty router list to Cisco cfg agent@%s.\u0027), host)"},{"line_number":51,"context_line":"        else:"},{"line_number":52,"context_line":"            routers \u003d l3plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":53,"context_line":"                context, host, router_ids, hosting_device_ids)"},{"line_number":54,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":55,"context_line":"        if utils.is_extension_supported("}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_f18c9e37","line":52,"in_reply_to":"1ae5cdf2_ee5b34f7","updated":"2014-06-26 11:20:47.000000000","message":"Other plugins can use: get_sync_data_ext() or list_active_sync_routers_on_hosting_device() methods that our l3 plugin expose.\n\nThis router service plugin has not been designed to use any of the existing l3agent, VPN agent or FW agent to apply configurations inside CSR VMs.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                 with their hosting devices, interfaces and floating_ips"},{"line_number":42,"context_line":"        \"\"\""},{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        routers \u003d self._plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":45,"context_line":"            context, host, router_ids, hosting_device_ids)"},{"line_number":46,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":47,"context_line":"        if utils.is_extension_supported(plugin,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_14446fb6","line":44,"updated":"2014-06-27 11:17:48.000000000","message":"_plugin -\u003e _l3plugin?\n\nWhere is this defined (I didn\u0027t see the class using this mixin)?","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                 with their hosting devices, interfaces and floating_ips"},{"line_number":42,"context_line":"        \"\"\""},{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        routers \u003d self._plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":45,"context_line":"            context, host, router_ids, hosting_device_ids)"},{"line_number":46,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":47,"context_line":"        if utils.is_extension_supported(plugin,"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_d01a156e","line":44,"in_reply_to":"1ae5cdf2_14446fb6","updated":"2014-07-04 17:02:06.000000000","message":"It is defined in the callback class in the l3 service plugin which this calls is mixed into. I\u0027ll change the name to _l3plugin for clarity.","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        routers \u003d self._plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":45,"context_line":"            context, host, router_ids, hosting_device_ids)"},{"line_number":46,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":47,"context_line":"        if utils.is_extension_supported(plugin,"},{"line_number":48,"context_line":"                                        constants.PORT_BINDING_EXT_ALIAS):"},{"line_number":49,"context_line":"            self._ensure_host_set_on_ports(context, plugin, host, routers)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_94079f6f","line":46,"updated":"2014-06-27 11:17:48.000000000","message":"save plugin in instance variable and lazy init too (or reuse existing)?","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        context \u003d neutron_context.get_admin_context()"},{"line_number":44,"context_line":"        routers \u003d self._plugin.list_active_sync_routers_on_hosting_devices("},{"line_number":45,"context_line":"            context, host, router_ids, hosting_device_ids)"},{"line_number":46,"context_line":"        plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":47,"context_line":"        if utils.is_extension_supported(plugin,"},{"line_number":48,"context_line":"                                        constants.PORT_BINDING_EXT_ALIAS):"},{"line_number":49,"context_line":"            self._ensure_host_set_on_ports(context, plugin, host, routers)"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_b06681eb","line":46,"in_reply_to":"1ae5cdf2_94079f6f","updated":"2014-07-04 17:02:06.000000000","message":"Ok, I\u0027ll do that (under the name _core_plugin) in the callback class in the l3 service plugin.","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"}],"neutron/plugins/cisco/l3/rpc/l3_router_rpc_joint_agent_api.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        super(L3RouterJointAgentNotifyAPI, self).__init__("},{"line_number":31,"context_line":"            topic\u003dtopic, default_version\u003dself.BASE_RPC_API_VERSION)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def _notification_host(self, context, method, payload, host,"},{"line_number":34,"context_line":"                           topic\u003dNone):"},{"line_number":35,"context_line":"        \"\"\"Notify the cfg agent that is handling the hosting device.\"\"\""},{"line_number":36,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_df3f5223","line":33,"updated":"2014-06-20 23:42:32.000000000","message":"_host_notification() to be consistent with with _agent_notification()","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        super(L3RouterJointAgentNotifyAPI, self).__init__("},{"line_number":31,"context_line":"            topic\u003dtopic, default_version\u003dself.BASE_RPC_API_VERSION)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def _notification_host(self, context, method, payload, host,"},{"line_number":34,"context_line":"                           topic\u003dNone):"},{"line_number":35,"context_line":"        \"\"\"Notify the cfg agent that is handling the hosting device.\"\"\""},{"line_number":36,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_136272d9","line":33,"in_reply_to":"1ae5cdf2_df3f5223","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    def _agent_notification(self, context, method, routers, operation, data):"},{"line_number":45,"context_line":"        \"\"\"Notify individual Cisco cfg agents.\"\"\""},{"line_number":46,"context_line":"        admin_context \u003d context.is_admin and context or context.elevated()"},{"line_number":47,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":48,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":49,"context_line":"        for router in routers:"},{"line_number":50,"context_line":"            if router[\u0027hosting_device\u0027] is not None:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_bfb0c6dc","line":47,"updated":"2014-06-20 23:42:32.000000000","message":"Same question about lazy init of l3plugin vs getting on each notification.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    def _agent_notification(self, context, method, routers, operation, data):"},{"line_number":45,"context_line":"        \"\"\"Notify individual Cisco cfg agents.\"\"\""},{"line_number":46,"context_line":"        admin_context \u003d context.is_admin and context or context.elevated()"},{"line_number":47,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":48,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":49,"context_line":"        for router in routers:"},{"line_number":50,"context_line":"            if router[\u0027hosting_device\u0027] is not None:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_33b68e3f","line":47,"in_reply_to":"1ae5cdf2_bfb0c6dc","updated":"2014-06-24 07:52:01.000000000","message":"Well, not convinced about the real gain. There will still be a function call involved.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":48,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":49,"context_line":"        for router in routers:"},{"line_number":50,"context_line":"            if router[\u0027hosting_device\u0027] is not None:"},{"line_number":51,"context_line":"                agents \u003d l3plugin.get_cfg_agents_for_hosting_devices("},{"line_number":52,"context_line":"                    admin_context, [router[\u0027hosting_device\u0027][\u0027id\u0027]],"},{"line_number":53,"context_line":"                    admin_state_up\u003dTrue, active\u003dTrue, schedule\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_5f2c2202","line":50,"updated":"2014-06-20 23:42:32.000000000","message":"May be more readable to have:\n\n    if router[\u0027hosting_device\u0027] is None:\n        continue\n    agents \u003d l3plugin.get_cfg_agents_for_hosting_devices(...)\n    for agent in agents:\n        ...","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":48,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":49,"context_line":"        for router in routers:"},{"line_number":50,"context_line":"            if router[\u0027hosting_device\u0027] is not None:"},{"line_number":51,"context_line":"                agents \u003d l3plugin.get_cfg_agents_for_hosting_devices("},{"line_number":52,"context_line":"                    admin_context, [router[\u0027hosting_device\u0027][\u0027id\u0027]],"},{"line_number":53,"context_line":"                    admin_state_up\u003dTrue, active\u003dTrue, schedule\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_735bb6f9","line":50,"in_reply_to":"1ae5cdf2_5f2c2202","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                          topic\u003d\u0027%s.%s\u0027 % (c_constants.CFG_AGENT_L3_ROUTING,"},{"line_number":66,"context_line":"                                           agent.host))"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def _notification(self, context, method, routers, operation, data):"},{"line_number":69,"context_line":"        \"\"\"Notify all or individual Cisco cfg agents.\"\"\""},{"line_number":70,"context_line":"        self._agent_notification(context, method, routers, operation, data)"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7f2f1ef6","line":68,"updated":"2014-06-20 23:42:32.000000000","message":"What is this wrapper method for? Why not just call agent_notification() from routers_updated()?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                          topic\u003d\u0027%s.%s\u0027 % (c_constants.CFG_AGENT_L3_ROUTING,"},{"line_number":66,"context_line":"                                           agent.host))"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def _notification(self, context, method, routers, operation, data):"},{"line_number":69,"context_line":"        \"\"\"Notify all or individual Cisco cfg agents.\"\"\""},{"line_number":70,"context_line":"        self._agent_notification(context, method, routers, operation, data)"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_933922a6","line":68,"in_reply_to":"1ae5cdf2_7f2f1ef6","updated":"2014-06-24 07:52:01.000000000","message":"It contained more in the non-stripped code supporting multiple router types. \nNow it does not do anything meaningful. I\u0027ll remove it altogether.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    def _agent_notification(self, context, method, routers, operation, data):"},{"line_number":44,"context_line":"        \"\"\"Notify individual Cisco cfg agents.\"\"\""},{"line_number":45,"context_line":"        admin_context \u003d context.is_admin and context or context.elevated()"},{"line_number":46,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":47,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":48,"context_line":"        for router in routers:"},{"line_number":49,"context_line":"            if router[\u0027hosting_device\u0027] is None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_ce6678bb","line":46,"updated":"2014-06-24 12:49:38.000000000","message":"Suggesting property, so get_service_plugins() is only called once, rather than on each notification.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    def _agent_notification(self, context, method, routers, operation, data):"},{"line_number":44,"context_line":"        \"\"\"Notify individual Cisco cfg agents.\"\"\""},{"line_number":45,"context_line":"        admin_context \u003d context.is_admin and context or context.elevated()"},{"line_number":46,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":47,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":48,"context_line":"        for router in routers:"},{"line_number":49,"context_line":"            if router[\u0027hosting_device\u0027] is None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_2ccb0da5","line":46,"in_reply_to":"1ae5cdf2_ce6678bb","updated":"2014-06-26 11:20:47.000000000","message":"Made it an attribute that is set in __init()__","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    \"\"\"API for plugin to notify Cisco cfg agent.\"\"\""},{"line_number":25,"context_line":"    BASE_RPC_API_VERSION \u003d \u00271.0\u0027"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def __init__(self, l3plugin, topic\u003dc_constants.CFG_AGENT_L3_ROUTING):"},{"line_number":28,"context_line":"        super(L3RouterJointAgentNotifyAPI, self).__init__("},{"line_number":29,"context_line":"            topic\u003dtopic, default_version\u003dself.BASE_RPC_API_VERSION)"},{"line_number":30,"context_line":"        self._l3plugin \u003d l3plugin"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_d46be71c","line":27,"updated":"2014-06-27 11:17:48.000000000","message":"Can you elaborate on why you pass in l3plugin, versus calling get_service_plugins() to set value?","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    \"\"\"API for plugin to notify Cisco cfg agent.\"\"\""},{"line_number":25,"context_line":"    BASE_RPC_API_VERSION \u003d \u00271.0\u0027"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def __init__(self, l3plugin, topic\u003dc_constants.CFG_AGENT_L3_ROUTING):"},{"line_number":28,"context_line":"        super(L3RouterJointAgentNotifyAPI, self).__init__("},{"line_number":29,"context_line":"            topic\u003dtopic, default_version\u003dself.BASE_RPC_API_VERSION)"},{"line_number":30,"context_line":"        self._l3plugin \u003d l3plugin"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_d00055ad","line":27,"in_reply_to":"1ae5cdf2_d46be71c","updated":"2014-07-04 17:02:06.000000000","message":"Because it works well in this case. I create this ...NotifyAPI object in the __init__ of the l3 service plugin and self reference can then conveniently be  used, thus avoiding later get_service_plugins calls altogether here.","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"}],"neutron/plugins/cisco/l3/rpc/l3_rpc_agent_api_noop.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    def __init__(self, topic\u003dtopics.L3_AGENT):"},{"line_number":30,"context_line":"        pass"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def _notification_host(self, context, method, payload, host):"},{"line_number":33,"context_line":"        \"\"\"Notify the agent that is hosting the router.\"\"\""},{"line_number":34,"context_line":"        pass"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_df267215","line":32,"updated":"2014-06-20 23:42:32.000000000","message":"same comment on naming of notifiers.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    def __init__(self, topic\u003dtopics.L3_AGENT):"},{"line_number":30,"context_line":"        pass"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def _notification_host(self, context, method, payload, host):"},{"line_number":33,"context_line":"        \"\"\"Notify the agent that is hosting the router.\"\"\""},{"line_number":34,"context_line":"        pass"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7814789f","line":32,"in_reply_to":"1ae5cdf2_df267215","updated":"2014-06-24 07:52:01.000000000","message":"The function names comes from those in neutron/api/rpc/l3_rpc_agent_api.py","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        \"\"\"Notify changed routers to hosting l3 agents.\"\"\""},{"line_number":39,"context_line":"        pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def _notification(self, context, method, routers_ids, operation, data):"},{"line_number":42,"context_line":"        \"\"\"Notify all the agents that are hosting the routers.\"\"\""},{"line_number":43,"context_line":"        pass"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_bf0c4694","line":41,"updated":"2014-06-20 23:42:32.000000000","message":"Wondering what this will be used for, versus the two specific notifications.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        \"\"\"Notify changed routers to hosting l3 agents.\"\"\""},{"line_number":39,"context_line":"        pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def _notification(self, context, method, routers_ids, operation, data):"},{"line_number":42,"context_line":"        \"\"\"Notify all the agents that are hosting the routers.\"\"\""},{"line_number":43,"context_line":"        pass"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_b837e04c","line":41,"in_reply_to":"1ae5cdf2_bf0c4694","updated":"2014-06-24 07:52:01.000000000","message":"You can see how the functions are used in the file it replaces:\nneutron/api/rpc/l3_rpc_agent_api.py","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    def __init__(self, topic\u003dtopics.L3_AGENT):"},{"line_number":26,"context_line":"        pass"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def _notification_host(self, context, method, payload, host):"},{"line_number":29,"context_line":"        \"\"\"Notify the agent that is hosting the router.\"\"\""},{"line_number":30,"context_line":"        pass"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_6ece445d","line":28,"updated":"2014-06-24 12:49:38.000000000","message":"Can\u0027t find the mentioned neutron/api/rpc/l3_rpc_agent_api.py in my view. Suggestion was to, like l3_rpc_agent_api_noop.py to name this _host_notification(), similar in naming to _agent_notification(), and to eliminate _notification(), if not overridden.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    def __init__(self, topic\u003dtopics.L3_AGENT):"},{"line_number":26,"context_line":"        pass"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def _notification_host(self, context, method, payload, host):"},{"line_number":29,"context_line":"        \"\"\"Notify the agent that is hosting the router.\"\"\""},{"line_number":30,"context_line":"        pass"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_11782a7d","line":28,"in_reply_to":"1ae5cdf2_6ece445d","updated":"2014-06-26 11:20:47.000000000","message":"I\u0027ve removed all internal functions.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"}],"neutron/plugins/cisco/l3/service_vm_lib.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            image \u003d n_utils.find_resource(self._nclient.images, vm_image)"},{"line_number":79,"context_line":"            flavor \u003d n_utils.find_resource(self._nclient.flavors, vm_flavor)"},{"line_number":80,"context_line":"        except nova_exc.CommandError as e:"},{"line_number":81,"context_line":"            LOG.error(_(\u0027Failure: %s\u0027), e)"},{"line_number":82,"context_line":"            return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_ff688e22","line":81,"updated":"2014-06-20 23:42:32.000000000","message":"More descriptive please","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            image \u003d n_utils.find_resource(self._nclient.images, vm_image)"},{"line_number":79,"context_line":"            flavor \u003d n_utils.find_resource(self._nclient.flavors, vm_flavor)"},{"line_number":80,"context_line":"        except nova_exc.CommandError as e:"},{"line_number":81,"context_line":"            LOG.error(_(\u0027Failure: %s\u0027), e)"},{"line_number":82,"context_line":"            return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_338a1365","line":81,"in_reply_to":"1ae5cdf2_ff688e22","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":79,"context_line":"            flavor \u003d n_utils.find_resource(self._nclient.flavors, vm_flavor)"},{"line_number":80,"context_line":"        except nova_exc.CommandError as e:"},{"line_number":81,"context_line":"            LOG.error(_(\u0027Failure: %s\u0027), e)"},{"line_number":82,"context_line":"            return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        try:"},{"line_number":85,"context_line":"            # Assumption for now is that this does not need to be"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_1f745afc","line":82,"updated":"2014-06-20 23:42:32.000000000","message":"None is implied so can remove","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":79,"context_line":"            flavor \u003d n_utils.find_resource(self._nclient.flavors, vm_flavor)"},{"line_number":80,"context_line":"        except nova_exc.CommandError as e:"},{"line_number":81,"context_line":"            LOG.error(_(\u0027Failure: %s\u0027), e)"},{"line_number":82,"context_line":"            return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        try:"},{"line_number":85,"context_line":"            # Assumption for now is that this does not need to be"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_d33d6fbe","line":82,"in_reply_to":"1ae5cdf2_1f745afc","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            files \u003d dict((label, open(name)) for label, name in"},{"line_number":90,"context_line":"                         cfg_files.items())"},{"line_number":91,"context_line":"        except IOError:"},{"line_number":92,"context_line":"            return None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        try:"},{"line_number":95,"context_line":"            server \u003d self._nclient.servers.create("}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7f647e48","line":92,"updated":"2014-06-20 23:42:32.000000000","message":"Any logging?\n\njust return","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            files \u003d dict((label, open(name)) for label, name in"},{"line_number":90,"context_line":"                         cfg_files.items())"},{"line_number":91,"context_line":"        except IOError:"},{"line_number":92,"context_line":"            return None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        try:"},{"line_number":95,"context_line":"            server \u003d self._nclient.servers.create("}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_33b3f34e","line":92,"in_reply_to":"1ae5cdf2_7f647e48","updated":"2014-06-24 07:52:01.000000000","message":"Well, the driver prints log message.\n\nNone removed from return.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                Exception) as e:"},{"line_number":106,"context_line":"            LOG.error(_(\u0027Failed to create service VM instance: %s\u0027), e)"},{"line_number":107,"context_line":"            hosting_device_drv.delete_configdrive_files(context, mgmt_port)"},{"line_number":108,"context_line":"            return None"},{"line_number":109,"context_line":"        return {\u0027id\u0027: server.id}"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def delete_service_vm(self, context, vm_id, hosting_device_drv,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_bf5a867f","line":108,"updated":"2014-06-20 23:42:32.000000000","message":"just return","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                Exception) as e:"},{"line_number":106,"context_line":"            LOG.error(_(\u0027Failed to create service VM instance: %s\u0027), e)"},{"line_number":107,"context_line":"            hosting_device_drv.delete_configdrive_files(context, mgmt_port)"},{"line_number":108,"context_line":"            return None"},{"line_number":109,"context_line":"        return {\u0027id\u0027: server.id}"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def delete_service_vm(self, context, vm_id, hosting_device_drv,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_3345b343","line":108,"in_reply_to":"1ae5cdf2_bf5a867f","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":40,"context_line":"cfg.CONF.register_opts(SERVICE_VM_LIB_OPTS)"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class ServiceVMManager:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def __init__(self, user\u003dNone, passwd\u003dNone, l3_admin_tenant\u003dNone,"},{"line_number":46,"context_line":"                 auth_url\u003d\u0027\u0027):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_0fb45a34","line":43,"updated":"2014-06-27 11:17:48.000000000","message":"ServiceVMManager(object)?","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":40,"context_line":"cfg.CONF.register_opts(SERVICE_VM_LIB_OPTS)"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class ServiceVMManager:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def __init__(self, user\u003dNone, passwd\u003dNone, l3_admin_tenant\u003dNone,"},{"line_number":46,"context_line":"                 auth_url\u003d\u0027\u0027):"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_d51da7bf","line":43,"in_reply_to":"1ae5cdf2_0fb45a34","updated":"2014-07-04 17:02:06.000000000","message":"Done","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7b68d805fbfb8b77849d6c99db09d9ca1a09216d","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":79,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":80,"context_line":"                required.remove(service.binary)"},{"line_number":81,"context_line":"            if len(required) \u003d\u003d 0:"},{"line_number":82,"context_line":"                return True"},{"line_number":83,"context_line":"        return False"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_97bdccda","line":81,"updated":"2014-07-07 12:19:13.000000000","message":"nit: could just do:\n    if required:","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"f0d4718c29f381a6a87e586ee7220c0d64c04441","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":79,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":80,"context_line":"                required.remove(service.binary)"},{"line_number":81,"context_line":"            if len(required) \u003d\u003d 0:"},{"line_number":82,"context_line":"                return True"},{"line_number":83,"context_line":"        return False"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_1c1e4a70","line":81,"in_reply_to":"baada198_97bdccda","updated":"2014-07-14 16:26:32.000000000","message":"Nit for the nit: :-)\n    if not required:\n\nDone.","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ffefc86cd2f0bf467577a71212f54407df096ce1","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    def _core_plugin(self):"},{"line_number":52,"context_line":"        try:"},{"line_number":53,"context_line":"            return self._plugin"},{"line_number":54,"context_line":"        except AttributeError:"},{"line_number":55,"context_line":"            self._plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":56,"context_line":"            return self._plugin"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_aeb57ad1","line":54,"updated":"2014-07-22 04:51:37.000000000","message":"NeutronManager has similar logic. So this makes the code complex.\nJust reutrn manager.NeutronManager.get_plugin()","commit_id":"9a55a3e3c1e2e8ec511e12ee2d03812428be8026"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8cd68c1db5f566911d69a12907a376beac26f550","unresolved":false,"context_lines":[{"line_number":71,"context_line":"            LOG.error(_(\u0027Failure determining running Nova services: %s\u0027), e)"},{"line_number":72,"context_line":"            return False"},{"line_number":73,"context_line":"        for service in services:"},{"line_number":74,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":75,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":76,"context_line":"                required.remove(service.binary)"},{"line_number":77,"context_line":"            if not required:"}],"source_content_type":"text/x-python","patch_set":22,"id":"1abeadc6_9fe13601","line":74,"updated":"2014-08-25 09:18:38.000000000","message":"Maybe this is a matter of taste, though.\n\nset.difference() can be used instead of \u0027in required\u0027 as\nrequired.difference([service.binary for service in services if service.status \u003d\u003d \u0027enabled\u0027 and service.state \u003d\u003d \u0027up\u0027])","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"c959fbf36739cc4622910c4211d44a05bf686e05","unresolved":false,"context_lines":[{"line_number":71,"context_line":"            LOG.error(_(\u0027Failure determining running Nova services: %s\u0027), e)"},{"line_number":72,"context_line":"            return False"},{"line_number":73,"context_line":"        for service in services:"},{"line_number":74,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":75,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":76,"context_line":"                required.remove(service.binary)"},{"line_number":77,"context_line":"            if not required:"}],"source_content_type":"text/x-python","patch_set":22,"id":"1abeadc6_85864464","line":74,"in_reply_to":"1abeadc6_9fe13601","updated":"2014-08-25 11:10:17.000000000","message":"Done","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8cd68c1db5f566911d69a12907a376beac26f550","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":75,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":76,"context_line":"                required.remove(service.binary)"},{"line_number":77,"context_line":"            if not required:"},{"line_number":78,"context_line":"                return True"},{"line_number":79,"context_line":"        return False"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"1abeadc6_df91ee9b","line":77,"updated":"2014-08-25 09:18:38.000000000","message":"This check should be after for-loop above.\n\nso it can be simplified as\nreturn not bool(required)","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"c959fbf36739cc4622910c4211d44a05bf686e05","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            if (service.binary in required and service.status \u003d\u003d \u0027enabled\u0027 and"},{"line_number":75,"context_line":"                    service.state \u003d\u003d \u0027up\u0027):"},{"line_number":76,"context_line":"                required.remove(service.binary)"},{"line_number":77,"context_line":"            if not required:"},{"line_number":78,"context_line":"                return True"},{"line_number":79,"context_line":"        return False"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"1abeadc6_a57b407a","line":77,"in_reply_to":"1abeadc6_df91ee9b","updated":"2014-08-25 11:10:17.000000000","message":"Done","commit_id":"80d57ffe2b18270abb1f02cca70b7965c69ab931"}],"neutron/plugins/cisco/l3/setup/setup_neutron_for_csr1kv_l3.sh":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":36,"context_line":"mgmtProviderVlanId\u003d100"},{"line_number":37,"context_line":"osnMgmtSubnetName\u003dosn_mgmt_subnet"},{"line_number":38,"context_line":"# note that the size of this network sets the limit on number of CSR instances"},{"line_number":39,"context_line":"osnMgmtNw\u003d10.0.100.0"},{"line_number":40,"context_line":"osnMgmtNwLen\u003d24"},{"line_number":41,"context_line":"osnMgmtSubnet\u003d$osnMgmtNw/$osnMgmtNwLen"},{"line_number":42,"context_line":"# the first 9 addresses are set aside for L3CfgAgents and similar"}],"source_content_type":"text/x-sh","patch_set":7,"id":"1ae5cdf2_df02f23c","line":39,"updated":"2014-06-20 23:42:32.000000000","message":"Wondering if network should be configurable (issue I saw with two nodes on same network)","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":36,"context_line":"mgmtProviderVlanId\u003d100"},{"line_number":37,"context_line":"osnMgmtSubnetName\u003dosn_mgmt_subnet"},{"line_number":38,"context_line":"# note that the size of this network sets the limit on number of CSR instances"},{"line_number":39,"context_line":"osnMgmtNw\u003d10.0.100.0"},{"line_number":40,"context_line":"osnMgmtNwLen\u003d24"},{"line_number":41,"context_line":"osnMgmtSubnet\u003d$osnMgmtNw/$osnMgmtNwLen"},{"line_number":42,"context_line":"# the first 9 addresses are set aside for L3CfgAgents and similar"}],"source_content_type":"text/x-sh","patch_set":7,"id":"1ae5cdf2_f84de8c6","line":39,"in_reply_to":"1ae5cdf2_df02f23c","updated":"2014-06-24 07:52:01.000000000","message":"Ok, I\u0027ll make it changeable.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"}],"neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py":[{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"7d03a523455faab228e8a16dd58eaab33dd90008","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    __native_bulk_support \u003d False"},{"line_number":103,"context_line":"    supported_extension_aliases \u003d [\"provider\", \"agent\","},{"line_number":104,"context_line":"                                   \"n1kv\", \"network_profile\","},{"line_number":105,"context_line":"                                   \"policy_profile\", \"external-net\", \"router\","},{"line_number":106,"context_line":"                                   \"binding\", \"credential\","},{"line_number":107,"context_line":"                                   \"l3_agent_scheduler\","},{"line_number":108,"context_line":"                                   \"dhcp_agent_scheduler\"]"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_e8f09eff","side":"PARENT","line":105,"updated":"2014-06-24 00:46:24.000000000","message":"Will the linux router functionality work with a standalone n1kv implementation if we remove this extended alias?","commit_id":"24718e6f1764e95f0c393ba042546e3584981b31"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    __native_bulk_support \u003d False"},{"line_number":103,"context_line":"    supported_extension_aliases \u003d [\"provider\", \"agent\","},{"line_number":104,"context_line":"                                   \"n1kv\", \"network_profile\","},{"line_number":105,"context_line":"                                   \"policy_profile\", \"external-net\", \"router\","},{"line_number":106,"context_line":"                                   \"binding\", \"credential\","},{"line_number":107,"context_line":"                                   \"l3_agent_scheduler\","},{"line_number":108,"context_line":"                                   \"dhcp_agent_scheduler\"]"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_d17e26af","side":"PARENT","line":105,"in_reply_to":"1ae5cdf2_e8f09eff","updated":"2014-06-24 07:52:01.000000000","message":"The deployer will have to choose if Neutron routers should be Linux namespace-based or CSR1kv-based by selecting the community router service plugin, or the router service plugin in this patch. This selection is made by specifying the router service plugin to use in /etc/neutron/neutron.conf. \n\nThe \"router\" extension and \"l3_agent_scheduler\" extensions are supported by the community router service plugin.\nThe \"router\" extension is supported by the router service plugin in this patch (the l3_agent_scheduler extension is then not applicable).\n\nSo with the community router service plugin the net result will be the same as the current n1kv implementation.","commit_id":"24718e6f1764e95f0c393ba042546e3584981b31"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":1215,"context_line":"        \"\"\""},{"line_number":1216,"context_line":"        # if needed, check to see if this is a port owned by"},{"line_number":1217,"context_line":"        # and l3-router.  If so, we should prevent deletion."},{"line_number":1218,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":1219,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":1220,"context_line":"        if l3plugin and l3_port_check:"},{"line_number":1221,"context_line":"            l3plugin.prevent_l3_port_deletion(context, id)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7fc0fedf","line":1218,"updated":"2014-06-20 23:42:32.000000000","message":"lazy init l3plugin?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":1215,"context_line":"        \"\"\""},{"line_number":1216,"context_line":"        # if needed, check to see if this is a port owned by"},{"line_number":1217,"context_line":"        # and l3-router.  If so, we should prevent deletion."},{"line_number":1218,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":1219,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":1220,"context_line":"        if l3plugin and l3_port_check:"},{"line_number":1221,"context_line":"            l3plugin.prevent_l3_port_deletion(context, id)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_339cce6a","line":1218,"in_reply_to":"1ae5cdf2_7fc0fedf","updated":"2014-06-24 07:52:01.000000000","message":"Not convinced about the significant gain of that. Leaving it for now.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b787cac237eccb133be637f86998500dcbb1916e","unresolved":false,"context_lines":[{"line_number":1203,"context_line":"        \"\"\""},{"line_number":1204,"context_line":"        # if needed, check to see if this is a port owned by"},{"line_number":1205,"context_line":"        # and l3-router.  If so, we should prevent deletion."},{"line_number":1206,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":1207,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":1208,"context_line":"        if l3plugin and l3_port_check:"},{"line_number":1209,"context_line":"            l3plugin.prevent_l3_port_deletion(context, id)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_2e335c63","line":1206,"updated":"2014-06-24 12:49:38.000000000","message":"Just thinking one call to get_service_plugin() on first use, versus on each delete_port() call.","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"dadbdb92bfb4236b4c743975f404faf2c4ce085b","unresolved":false,"context_lines":[{"line_number":1203,"context_line":"        \"\"\""},{"line_number":1204,"context_line":"        # if needed, check to see if this is a port owned by"},{"line_number":1205,"context_line":"        # and l3-router.  If so, we should prevent deletion."},{"line_number":1206,"context_line":"        l3plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":1207,"context_line":"            svc_constants.L3_ROUTER_NAT)"},{"line_number":1208,"context_line":"        if l3plugin and l3_port_check:"},{"line_number":1209,"context_line":"            l3plugin.prevent_l3_port_deletion(context, id)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_8c4421b9","line":1206,"in_reply_to":"1ae5cdf2_2e335c63","updated":"2014-06-26 11:20:47.000000000","message":"Done","commit_id":"c9ff63c77455ffe2a90658f188a55ea2d8ac0bc9"}],"neutron/plugins/cisco/service_plugins/cisco_router_plugin.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ffefc86cd2f0bf467577a71212f54407df096ce1","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    def _core_plugin(self):"},{"line_number":47,"context_line":"        try:"},{"line_number":48,"context_line":"            return self._plugin"},{"line_number":49,"context_line":"        except AttributeError:"},{"line_number":50,"context_line":"            self._plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":51,"context_line":"            return self._plugin"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_cea38eaf","line":49,"updated":"2014-07-22 04:51:37.000000000","message":"NeutronManager.get_plugin has already similar check.\nSo this kind of caching makes the code complex. Or does this decrease cpu usage significantly?","commit_id":"9a55a3e3c1e2e8ec511e12ee2d03812428be8026"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ffefc86cd2f0bf467577a71212f54407df096ce1","unresolved":false,"context_lines":[{"line_number":77,"context_line":"            if cp.find(ext_path) \u003d\u003d -1:"},{"line_number":78,"context_line":"                to_add +\u003d \u0027:\u0027 + ext_path"},{"line_number":79,"context_line":"        if to_add !\u003d \"\":"},{"line_number":80,"context_line":"            cfg.CONF.set_override(\u0027api_extensions_path\u0027, cp + to_add)"},{"line_number":81,"context_line":"        # for backlogging of non-scheduled routers"},{"line_number":82,"context_line":"        self._setup_backlog_handling()"},{"line_number":83,"context_line":"        self._setup_device_handling()"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_ce338e11","line":80,"updated":"2014-07-22 04:51:37.000000000","message":"neutron.api.extensions.append_api_extension_path(to_add)\n\nDoes this patch introduce new extension?\nAnyway you might want to add it neutron.plugins.cisco.__init__.py or somewhere similar.","commit_id":"9a55a3e3c1e2e8ec511e12ee2d03812428be8026"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ffefc86cd2f0bf467577a71212f54407df096ce1","unresolved":false,"context_lines":[{"line_number":106,"context_line":"    def _core_plugin(self):"},{"line_number":107,"context_line":"        try:"},{"line_number":108,"context_line":"            return self._plugin"},{"line_number":109,"context_line":"        except AttributeError:"},{"line_number":110,"context_line":"            self._plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":111,"context_line":"            return self._plugin"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_eeaa1284","line":109,"updated":"2014-07-22 04:51:37.000000000","message":"Same to Line 49","commit_id":"9a55a3e3c1e2e8ec511e12ee2d03812428be8026"}],"neutron/tests/unit/cisco/l3/device_handling_test_support.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":72,"context_line":"            # plugin dependent, only hosting device type dependent."},{"line_number":73,"context_line":"            hosting_device_drv.create_configdrive_files(context, mgmt_port)"},{"line_number":74,"context_line":"        except IOError:"},{"line_number":75,"context_line":"            return None"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        if mgmt_port is not None:"},{"line_number":78,"context_line":"            p_dict \u003d {\u0027port\u0027: {\u0027device_id\u0027: vm_id,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_ffab2e1b","line":75,"updated":"2014-06-20 23:42:32.000000000","message":"can just return","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":72,"context_line":"            # plugin dependent, only hosting device type dependent."},{"line_number":73,"context_line":"            hosting_device_drv.create_configdrive_files(context, mgmt_port)"},{"line_number":74,"context_line":"        except IOError:"},{"line_number":75,"context_line":"            return None"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        if mgmt_port is not None:"},{"line_number":78,"context_line":"            p_dict \u003d {\u0027port\u0027: {\u0027device_id\u0027: vm_id,"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_b30b8323","line":75,"in_reply_to":"1ae5cdf2_ffab2e1b","updated":"2014-06-24 07:52:01.000000000","message":"Done","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":30,"context_line":"_uuid \u003d uuidutils.generate_uuid"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class DeviceHandlingTestSupportMixin:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @property"},{"line_number":36,"context_line":"    def _core_plugin(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_ef772e39","line":33,"updated":"2014-06-27 11:17:48.000000000","message":"New style class... DeviceHandlingTestSupportMixin(object)?","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":30,"context_line":"_uuid \u003d uuidutils.generate_uuid"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class DeviceHandlingTestSupportMixin:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @property"},{"line_number":36,"context_line":"    def _core_plugin(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_550a7779","line":33,"in_reply_to":"1ae5cdf2_ef772e39","updated":"2014-07-04 17:02:06.000000000","message":"Done","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"5c74d7f3ac09298c4154d3e7d53b1230cf1dd9e2","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    def _delete_service_vm_mock(self, context, vm_id, hosting_device_drv,"},{"line_number":99,"context_line":"                                mgmt_nw_id):"},{"line_number":100,"context_line":"            result \u003d True"},{"line_number":101,"context_line":"            # Get ports on management network (should be only one)"},{"line_number":102,"context_line":"            ports \u003d self._core_plugin.get_ports("},{"line_number":103,"context_line":"                context, filters\u003d{\u0027device_id\u0027: [vm_id],"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ae5cdf2_744e9397","line":100,"updated":"2014-06-27 11:17:48.000000000","message":"nit: indentation level of method body.","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"b07e70f75d88ae92e812f4d500fd1271db86ca9d","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    def _delete_service_vm_mock(self, context, vm_id, hosting_device_drv,"},{"line_number":99,"context_line":"                                mgmt_nw_id):"},{"line_number":100,"context_line":"            result \u003d True"},{"line_number":101,"context_line":"            # Get ports on management network (should be only one)"},{"line_number":102,"context_line":"            ports \u003d self._core_plugin.get_ports("},{"line_number":103,"context_line":"                context, filters\u003d{\u0027device_id\u0027: [vm_id],"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_750f7b88","line":100,"in_reply_to":"1ae5cdf2_744e9397","updated":"2014-07-04 17:02:06.000000000","message":"Done","commit_id":"809247d9e6954a737e31d2f9f753cd028a721ad4"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7b68d805fbfb8b77849d6c99db09d9ca1a09216d","unresolved":false,"context_lines":[{"line_number":30,"context_line":"_uuid \u003d uuidutils.generate_uuid"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class DeviceHandlingTestSupportMixin:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @property"},{"line_number":36,"context_line":"    def _core_plugin(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_b70ad087","line":33,"updated":"2014-07-07 12:19:13.000000000","message":"Comment from patch 10.","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"f0d4718c29f381a6a87e586ee7220c0d64c04441","unresolved":false,"context_lines":[{"line_number":30,"context_line":"_uuid \u003d uuidutils.generate_uuid"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class DeviceHandlingTestSupportMixin:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @property"},{"line_number":36,"context_line":"    def _core_plugin(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_5c0e028d","line":33,"in_reply_to":"baada198_b70ad087","updated":"2014-07-14 16:26:32.000000000","message":"Oops. I thought I took care of it then.\nDone now.","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7b68d805fbfb8b77849d6c99db09d9ca1a09216d","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _mock_get_x_profiles(self, plugin):"},{"line_number":48,"context_line":"        # Mock N1kv plugin\u0027s get_network/policy_profile functions."},{"line_number":49,"context_line":"        self.get_net_profiles_fcn_p \u003d mock.patch.object("},{"line_number":50,"context_line":"            plugin, \u0027get_network_profiles\u0027, create\u003dTrue)"},{"line_number":51,"context_line":"        self.get_net_profiles_fcn \u003d self.get_net_profiles_fcn_p.start()"},{"line_number":52,"context_line":"        self.get_net_profiles_fcn.return_value \u003d [{\u0027id\u0027: \"1234\"}]"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_1770dc09","line":49,"updated":"2014-07-07 12:19:13.000000000","message":"could combine these two assignments, if don\u0027t need fcn_p variable...\n\nself.get_net_profiles_fcn \u003d mock.patch.object(plugin, \u0027get_nework_profiles\u0027, create\u003dTrue).start()\n\nSame with L54-56","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"f0d4718c29f381a6a87e586ee7220c0d64c04441","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _mock_get_x_profiles(self, plugin):"},{"line_number":48,"context_line":"        # Mock N1kv plugin\u0027s get_network/policy_profile functions."},{"line_number":49,"context_line":"        self.get_net_profiles_fcn_p \u003d mock.patch.object("},{"line_number":50,"context_line":"            plugin, \u0027get_network_profiles\u0027, create\u003dTrue)"},{"line_number":51,"context_line":"        self.get_net_profiles_fcn \u003d self.get_net_profiles_fcn_p.start()"},{"line_number":52,"context_line":"        self.get_net_profiles_fcn.return_value \u003d [{\u0027id\u0027: \"1234\"}]"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_7c4106a8","line":49,"in_reply_to":"baada198_1770dc09","updated":"2014-07-14 16:26:32.000000000","message":"Done","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7b68d805fbfb8b77849d6c99db09d9ca1a09216d","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    def _delete_service_vm_mock(self, context, vm_id, hosting_device_drv,"},{"line_number":111,"context_line":"                                mgmt_nw_id):"},{"line_number":112,"context_line":"            result \u003d True"},{"line_number":113,"context_line":"            # Get ports on management network (should be only one)"},{"line_number":114,"context_line":"            ports \u003d self._core_plugin.get_ports("},{"line_number":115,"context_line":"                context, filters\u003d{\u0027device_id\u0027: [vm_id],"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_b766504f","line":112,"updated":"2014-07-07 12:19:13.000000000","message":"Comment from rev 10","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"f0d4718c29f381a6a87e586ee7220c0d64c04441","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    def _delete_service_vm_mock(self, context, vm_id, hosting_device_drv,"},{"line_number":111,"context_line":"                                mgmt_nw_id):"},{"line_number":112,"context_line":"            result \u003d True"},{"line_number":113,"context_line":"            # Get ports on management network (should be only one)"},{"line_number":114,"context_line":"            ports \u003d self._core_plugin.get_ports("},{"line_number":115,"context_line":"                context, filters\u003d{\u0027device_id\u0027: [vm_id],"}],"source_content_type":"text/x-python","patch_set":11,"id":"baada198_1c664a51","line":112,"in_reply_to":"baada198_b766504f","updated":"2014-07-14 16:26:32.000000000","message":"Oops again. I thought I took care of it then.\nDone now.","commit_id":"08fc73168ed875c34d7e713d49a17c575404934f"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"e2cbe82236cc5f7f0925a413848a9cdc255b3fd0","unresolved":false,"context_lines":[{"line_number":105,"context_line":"            try:"},{"line_number":106,"context_line":"                self._delete(\u0027ports\u0027, port[\u0027id\u0027])"},{"line_number":107,"context_line":"            except Exception as e:"},{"line_number":108,"context_line":"                LOG.error(\u0027Failed to delete port %(p_id)s for vm instance \u0027"},{"line_number":109,"context_line":"                          \u0027%(v_id)s due to %(err)s\u0027, {\u0027p_id\u0027: port[\u0027id\u0027],"},{"line_number":110,"context_line":"                                                      \u0027v_id\u0027: vm_id, \u0027err\u0027: e})"},{"line_number":111,"context_line":"                raise nova_exc.InternalServerError"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_ed3912a5","line":108,"updated":"2014-08-21 03:44:14.000000000","message":"Use with save_and_reraise_exception() as log message may switch context and loose exception info","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"6791a856f898276a2f45d163c6d750170bd405df","unresolved":false,"context_lines":[{"line_number":105,"context_line":"            try:"},{"line_number":106,"context_line":"                self._delete(\u0027ports\u0027, port[\u0027id\u0027])"},{"line_number":107,"context_line":"            except Exception as e:"},{"line_number":108,"context_line":"                LOG.error(\u0027Failed to delete port %(p_id)s for vm instance \u0027"},{"line_number":109,"context_line":"                          \u0027%(v_id)s due to %(err)s\u0027, {\u0027p_id\u0027: port[\u0027id\u0027],"},{"line_number":110,"context_line":"                                                      \u0027v_id\u0027: vm_id, \u0027err\u0027: e})"},{"line_number":111,"context_line":"                raise nova_exc.InternalServerError"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_727be4bd","line":108,"in_reply_to":"1abeadc6_ed3912a5","updated":"2014-08-22 13:19:27.000000000","message":"Done","commit_id":"de98a722ff6ff7043314dc4fa6229d742587704e"}],"neutron/tests/unit/cisco/l3/test_l3_router_appliance_plugin.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"6f21111ab5358fcb00e608ffb35da1b9ea659660","unresolved":false,"context_lines":[{"line_number":188,"context_line":"        self._mock_svc_vm_create_delete()"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"#class L3RouterApplianceVMTestCaseXML(L3RouterApplianceVMTestCase):"},{"line_number":192,"context_line":"#    fmt \u003d \u0027xml\u0027"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_7f4e3e97","line":191,"updated":"2014-06-20 23:42:32.000000000","message":"enabling later?","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"},{"author":{"_account_id":162,"name":"Bob Melander","email":"bob.melander@gmail.com","username":"bob-melander"},"change_message_id":"cc72930cfc08014ed924463378f45f88c96b9687","unresolved":false,"context_lines":[{"line_number":188,"context_line":"        self._mock_svc_vm_create_delete()"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"#class L3RouterApplianceVMTestCaseXML(L3RouterApplianceVMTestCase):"},{"line_number":192,"context_line":"#    fmt \u003d \u0027xml\u0027"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_d14626c0","line":191,"in_reply_to":"1ae5cdf2_7f4e3e97","updated":"2014-06-24 07:52:01.000000000","message":"Mistake. It should have been enabled.\nFixed now.","commit_id":"0e20d2352dda7385eee27e949e01f268a9ebe413"}],"setup.cfg":[{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"2cf25b1ad184ce70cbb69c47de5f15244ac88c40","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        etc/neutron/plugins/bigswitch/ssl/host_certs/README"},{"line_number":55,"context_line":"    etc/neutron/plugins/brocade \u003d etc/neutron/plugins/brocade/brocade.ini"},{"line_number":56,"context_line":"    etc/neutron/plugins/cisco \u003d"},{"line_number":57,"context_line":"        etc/neutron/plugins/cisco/cisco_cfg_agent.ini"},{"line_number":58,"context_line":"        etc/neutron/plugins/cisco/cisco_plugins.ini"},{"line_number":59,"context_line":"        etc/neutron/plugins/cisco/cisco_router_plugin.ini"},{"line_number":60,"context_line":"        etc/neutron/plugins/cisco/cisco_vpn_agent.ini"}],"source_content_type":"text/x-ttcn-cfg","patch_set":28,"id":"fa98f980_754f2c93","line":57,"updated":"2014-09-01 06:45:14.000000000","message":"This line is bug.\nhttps://bugs.launchpad.net/tripleo/+bug/1351466","commit_id":"5af30a44ca9491d01c3cbcb551b80a814d635daf"}]}
