)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6694,"name":"rcurran","email":"rcurran@cisco.com","username":"rcurran"},"change_message_id":"e0de358ad5f05eb9f31dddc8c5b0ae536fcaf8ae","unresolved":false,"context_lines":[{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"1abeadc6_20ffd1ab","line":13,"updated":"2014-08-19 17:44:36.000000000","message":"partially implements","commit_id":"dbdfcf8e20f2c5f35d6f0e43f7dcb2a7429fca0c"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"dadff9f5c0350cc9f8cceeb0cd8b88a36b98be98","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ML2 Type Driver refactor part 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"fa81d914_67ca25a3","line":10,"updated":"2015-01-27 22:38:46.000000000","message":"why do we need to differentiate the two? How will this be leveraged?","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"d972df7da5a65e415a38d129e43cf239682d5b6a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ML2 Type Driver refactor part 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"fa81d914_67fea56d","line":10,"in_reply_to":"fa81d914_67ca25a3","updated":"2015-01-27 23:08:14.000000000","message":"In some use cases vendors need a differentiation between tenant and provider networks to prevent the drivers from performing certain operations on provider networks. E.g. we want to prevent deleting and/or untrunking of VLANs from switches in case of provider networks.\n\nThis patch will add a key to the segment dictionary in ML2 that will tell the drivers whether that segment is a tenant of provider segment to be handled as deemed appropriate by the driver.","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"},{"author":{"_account_id":14039,"name":"watanabe isao","email":"watanabe.isao.openstack@gmail.com","username":"watanabe.isao"},"change_message_id":"644a89ec2c6b62b7d8952833fe735f4bedae4efe","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"ML2 Type Driver refactor part 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":18,"id":"fa81d914_a57255e3","line":9,"updated":"2015-01-28 00:15:22.000000000","message":"If there is a URL of part 2(and part 1?), it would be more friendly to the new reviewer (like me).:) But whatever.","commit_id":"df0a98752f163e076476a6c3d936e6fd5575353e"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"b35701539b64bb9ae0533669a2e46c8ce9a4a71d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ML2 Type Driver refactor part 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"da86d52c_631ccbc2","line":10,"updated":"2015-02-08 02:13:30.000000000","message":"Please add more details here about this change. (e.g. adds provider_segment flag, which indicates \u003cwhatever it indicates\u003e.) Otherwise this commit message says nothing about the actual code changes.","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a4224cbdb9f8065953e97d3710c1443cc64c4fda","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ML2 Type Driver refactor part 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"fa81d914_81bb7ec3","line":10,"updated":"2015-01-28 03:35:37.000000000","message":"for other reviewers: part 2 is commit 6c38103e095dbf107bdb199979be8e5e909d7e74","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"b35701539b64bb9ae0533669a2e46c8ce9a4a71d","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This commit builds on top of part 2 to introduce differentiation"},{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"da86d52c_8378dff9","line":12,"updated":"2015-02-08 02:13:30.000000000","message":"ApiImpact\nDocImpact\n\nUnless I\u0027m mistaken, this is a new part of an API response that needs to be documented.","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a4224cbdb9f8065953e97d3710c1443cc64c4fda","unresolved":false,"context_lines":[{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"fa81d914_618f6a24","line":13,"updated":"2015-01-28 03:35:37.000000000","message":"this bp has not been approved for kilo, right?","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"ec883e95910407e4cbfc140e31536a8960039e67","unresolved":false,"context_lines":[{"line_number":10,"context_line":"between provider and tenant networks."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ic77ade6b1d1be9af2f3503cc17e869f0e2493e26"},{"line_number":13,"context_line":"Implements: Blueprint ml2-type-driver-refactor"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"fa81d914_7f3b2c38","line":13,"in_reply_to":"fa81d914_618f6a24","updated":"2015-01-29 16:23:37.000000000","message":"From Kyle\u0027s comment, i thought it was ok to go for Kilo.","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"}],"neutron/db/migration/alembic_migrations/versions/33a3d31845ad_ml2_refactor_for_provider_networks.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"189114e4011ae1b34e6e533c1309b1250410a414","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_eb795efd","line":32,"updated":"2014-08-19 02:41:48.000000000","message":"Remove lines 28-32.","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"2e45e00cd6de411217a8b223fa0935e36ae16c88","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_5cd2ffd2","line":32,"in_reply_to":"1abeadc6_eb795efd","updated":"2014-08-19 15:04:31.000000000","message":"Done","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"189114e4011ae1b34e6e533c1309b1250410a414","unresolved":false,"context_lines":[{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"from neutron.db import migration"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_0b7f7ae1","line":37,"updated":"2014-08-19 02:41:48.000000000","message":"Remove.","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"2e45e00cd6de411217a8b223fa0935e36ae16c88","unresolved":false,"context_lines":[{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"from neutron.db import migration"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_7cd5fbb7","line":37,"in_reply_to":"1abeadc6_0b7f7ae1","updated":"2014-08-19 15:04:31.000000000","message":"Done","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"189114e4011ae1b34e6e533c1309b1250410a414","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":41,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":42,"context_line":"        return"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":45,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_2b8436d3","line":42,"updated":"2014-08-19 02:41:48.000000000","message":"Remove the above two lines.","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"2e45e00cd6de411217a8b223fa0935e36ae16c88","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":41,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":42,"context_line":"        return"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":45,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_9cdbb7ec","line":42,"in_reply_to":"1abeadc6_2b8436d3","updated":"2014-08-19 15:04:31.000000000","message":"Done","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"189114e4011ae1b34e6e533c1309b1250410a414","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":51,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":52,"context_line":"        return"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    op.drop_column(\u0027ml2_network_segments\u0027, \u0027provider_segment\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_4b8972ea","line":52,"updated":"2014-08-19 02:41:48.000000000","message":"Remove the above two lines.","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"2e45e00cd6de411217a8b223fa0935e36ae16c88","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":51,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":52,"context_line":"        return"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    op.drop_column(\u0027ml2_network_segments\u0027, \u0027provider_segment\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_dce52fa9","line":52,"in_reply_to":"1abeadc6_4b8972ea","updated":"2014-08-19 15:04:31.000000000","message":"Done","commit_id":"372b045f864da82cb70c4d8e02e37b096cf7c8c4"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"a7c7bee21ff5a084fb79e91f92f5d321da9c14bb","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"},{"line_number":36,"context_line":"                            default\u003dFalse, nullable\u003dFalse,"},{"line_number":37,"context_line":"                            server_default\u003dsa.sql.false()))"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa98f980_3fa34550","line":36,"updated":"2014-09-03 11:47:03.000000000","message":"Remove default\u003dFalse it means nothing in migration.","commit_id":"4c106dd77cfc05de6829a3b13d9eb6d88bbdfd42"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"47f6835bad4494d252dc16895ff6aaf46badd089","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"},{"line_number":36,"context_line":"                            default\u003dFalse, nullable\u003dFalse,"},{"line_number":37,"context_line":"                            server_default\u003dsa.sql.false()))"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa98f980_8674e168","line":36,"in_reply_to":"fa98f980_3fa34550","updated":"2014-09-03 14:52:15.000000000","message":"Done","commit_id":"4c106dd77cfc05de6829a3b13d9eb6d88bbdfd42"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"2c433108f3dfc06afa358e2053bb71eafbe0ea07","unresolved":false,"context_lines":[{"line_number":29,"context_line":"import sqlalchemy as sa"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":14,"id":"9aa7fdbe_9450a2d5","line":32,"updated":"2014-10-23 13:06:44.000000000","message":"active_plugins and options are not needed any more.","commit_id":"8580f892346a25424c7dd5750ae763998391d9f0"},{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"7905a9bcf8d2a8c08091b7896a10ea10032b17d1","unresolved":false,"context_lines":[{"line_number":29,"context_line":"import sqlalchemy as sa"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":14,"id":"9aa7fdbe_2fef6eea","line":32,"in_reply_to":"9aa7fdbe_9450a2d5","updated":"2014-10-25 19:28:17.000000000","message":"+1","commit_id":"8580f892346a25424c7dd5750ae763998391d9f0"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"2c433108f3dfc06afa358e2053bb71eafbe0ea07","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                            nullable\u003dFalse, server_default\u003dsa.sql.false()))"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    op.drop_column(\u0027ml2_network_segments\u0027, \u0027provider_segment\u0027)"}],"source_content_type":"text/x-python","patch_set":14,"id":"9aa7fdbe_f4564ecd","line":39,"updated":"2014-10-23 13:06:44.000000000","message":"the same","commit_id":"8580f892346a25424c7dd5750ae763998391d9f0"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"11fa38b61a25af6ea381e9c69a38b255bd5ee070","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a930d6b_483d792a","line":1,"updated":"2015-01-27 08:26:18.000000000","message":"2015","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"85b99abadb2b15c4ee4e0b971de234daf6f3d1ad","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":15,"id":"fa81d914_cd485dcf","line":1,"in_reply_to":"1a930d6b_483d792a","updated":"2015-01-27 19:00:07.000000000","message":"Done","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"11fa38b61a25af6ea381e9c69a38b255bd5ee070","unresolved":false,"context_lines":[{"line_number":29,"context_line":"import sqlalchemy as sa"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a930d6b_c831695b","line":32,"updated":"2015-01-27 08:26:18.000000000","message":"Should be just upgrade() no arguments.","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"85b99abadb2b15c4ee4e0b971de234daf6f3d1ad","unresolved":false,"context_lines":[{"line_number":29,"context_line":"import sqlalchemy as sa"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"}],"source_content_type":"text/x-python","patch_set":15,"id":"fa81d914_ed4521b4","line":32,"in_reply_to":"1a930d6b_c831695b","updated":"2015-01-27 19:00:07.000000000","message":"Done","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"11fa38b61a25af6ea381e9c69a38b255bd5ee070","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                            nullable\u003dFalse, server_default\u003dsa.sql.false()))"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    op.drop_column(\u0027ml2_network_segments\u0027, \u0027provider_segment\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a930d6b_0838d13b","line":39,"updated":"2015-01-27 08:26:18.000000000","message":"the same","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"85b99abadb2b15c4ee4e0b971de234daf6f3d1ad","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                            nullable\u003dFalse, server_default\u003dsa.sql.false()))"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    op.drop_column(\u0027ml2_network_segments\u0027, \u0027provider_segment\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"fa81d914_0d1275b4","line":39,"in_reply_to":"1a930d6b_0838d13b","updated":"2015-01-27 19:00:07.000000000","message":"Done","commit_id":"a8c559e1d05c8924ad439c83faa1bb1ea0aeb3a9"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a4224cbdb9f8065953e97d3710c1443cc64c4fda","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"},{"line_number":36,"context_line":"                            nullable\u003dFalse, server_default\u003dsa.sql.false()))"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def downgrade():"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_c187360e","line":36,"updated":"2015-01-28 03:35:37.000000000","message":"this means that the value of this column might be inappropriate for upgraded database, right?\n\ni have not been convinced that this is useful feature as the attribute is not reliable.  it\u0027s why i suggested to make this tri-state (true, false, unknown) on bp review.","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"ec883e95910407e4cbfc140e31536a8960039e67","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    op.add_column(\u0027ml2_network_segments\u0027,"},{"line_number":35,"context_line":"                  sa.Column(\u0027provider_segment\u0027, sa.Boolean(),"},{"line_number":36,"context_line":"                            nullable\u003dFalse, server_default\u003dsa.sql.false()))"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def downgrade():"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_9ff3809d","line":36,"in_reply_to":"fa81d914_c187360e","updated":"2015-01-29 16:23:37.000000000","message":"I don\u0027t think unknown will be a useful state here, after this fix everything will be either true or false. Since everything already appears as false in ML2, how will adding a third state fix it?","commit_id":"295b6688dd333198a3e60628a13bc44a48853758"}],"neutron/plugins/ml2/db.py":[{"author":{"_account_id":6698,"name":"Robert Pothier","email":"robpothier35@gmail.com","username":"rpothier"},"change_message_id":"fc0bfade83033e741812fbc72c0b41c4863cf345","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            provider_segment\u003dprovider_segment"},{"line_number":45,"context_line":"        )"},{"line_number":46,"context_line":"        session.add(record)"},{"line_number":47,"context_line":"    LOG.info(_(\"Added segment %(id)s of type %(network_type)s for network\""},{"line_number":48,"context_line":"               \" %(network_id)s\"),"},{"line_number":49,"context_line":"             {\u0027id\u0027: record.id,"},{"line_number":50,"context_line":"              \u0027network_type\u0027: record.network_type,"}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_f22294a1","line":47,"updated":"2014-08-22 12:44:14.000000000","message":"If you have to make a new patch, can you add the provider_segment in the debug message?","commit_id":"fc9765c66c0c54bd31ad6983f2000108c352bb47"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"167bf95d95f0700ec0be04bd3abfe3f19ed7a3f2","unresolved":false,"context_lines":[{"line_number":98,"context_line":"        if record:"},{"line_number":99,"context_line":"            return _make_segment_dict(record)"},{"line_number":100,"context_line":"        else:"},{"line_number":101,"context_line":"            LOG.debug(\"No dynamic segment %s found for \""},{"line_number":102,"context_line":"                      \"Network:%(network_id)s, \""},{"line_number":103,"context_line":"                      \"Physical network:%(physnet)s, \""},{"line_number":104,"context_line":"                      \"segmentation_id:%(segmentation_id)s\","}],"source_content_type":"text/x-python","patch_set":12,"id":"fa98f980_b0c0712b","line":101,"updated":"2014-09-02 13:22:47.000000000","message":"Just noticed this. Outside of changeset, but you may want to address or create a bug for this.\n\nRemove the %s here? Otherwise use %(segmentation_id)s and remove from end of message.","commit_id":"5973a0694c149d9e9081384f43b14ef72a0e8187"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"ef5bda55e272d40c53a18ed81647489dd8cd734c","unresolved":false,"context_lines":[{"line_number":98,"context_line":"        if record:"},{"line_number":99,"context_line":"            return _make_segment_dict(record)"},{"line_number":100,"context_line":"        else:"},{"line_number":101,"context_line":"            LOG.debug(\"No dynamic segment %s found for \""},{"line_number":102,"context_line":"                      \"Network:%(network_id)s, \""},{"line_number":103,"context_line":"                      \"Physical network:%(physnet)s, \""},{"line_number":104,"context_line":"                      \"segmentation_id:%(segmentation_id)s\","}],"source_content_type":"text/x-python","patch_set":12,"id":"fa98f980_3c253aab","line":101,"in_reply_to":"fa98f980_b0c0712b","updated":"2014-09-02 14:38:58.000000000","message":"Done","commit_id":"5973a0694c149d9e9081384f43b14ef72a0e8187"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"dea0fed10a7e62b08bc4015013fb7cb3cb872c05","unresolved":false,"context_lines":[{"line_number":98,"context_line":"        if record:"},{"line_number":99,"context_line":"            return _make_segment_dict(record)"},{"line_number":100,"context_line":"        else:"},{"line_number":101,"context_line":"            LOG.debug(\"No dynamic segment found for \""},{"line_number":102,"context_line":"                      \"Network:%(network_id)s, \""},{"line_number":103,"context_line":"                      \"Physical network:%(physnet)s, \""},{"line_number":104,"context_line":"                      \"segmentation_id:%(segmentation_id)s\","}],"source_content_type":"text/x-python","patch_set":14,"id":"9aa7fdbe_d3bced08","line":101,"updated":"2014-10-24 05:09:44.000000000","message":"this fix ought to be a separate patch i guess.","commit_id":"8580f892346a25424c7dd5750ae763998391d9f0"}],"neutron/plugins/ml2/managers.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"321699fc506ce87c9f43b1b1dbf8cb3cc01d8ec3","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"    def create_network_segments(self, context, network, tenant_id):"},{"line_number":151,"context_line":"        \"\"\"Call type drivers to create network segments.\"\"\""},{"line_number":152,"context_line":"        segments \u003d self._process_provider_create(network)"},{"line_number":153,"context_line":"        session \u003d context.session"},{"line_number":154,"context_line":"        with session.begin(subtransactions\u003dTrue):"},{"line_number":155,"context_line":"            network_id \u003d network[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"1abeadc6_be158be6","line":152,"updated":"2014-08-20 21:07:23.000000000","message":"Nit: I think this method would be easier to read if this variable was named \u0027provider_segments\u0027. No big deal though.","commit_id":"1afcaed6c092411c5a1f60b09621e0a292d72c62"},{"author":{"_account_id":8792,"name":"Manish Godara","email":"manishg@yahoo-inc.com","username":"manishg"},"change_message_id":"c621ba43e13abd27a25669e27f9825cb74421bf4","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        if value is attributes.ATTR_NOT_SPECIFIED:"},{"line_number":120,"context_line":"            value \u003d None"},{"line_number":121,"context_line":"        return value"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    def _extend_network_dict_provider(self, context, network):"},{"line_number":124,"context_line":"        id \u003d network[\u0027id\u0027]"},{"line_number":125,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa81d914_6a0cac95","line":122,"updated":"2015-01-27 23:29:30.000000000","message":"Can we please fix this now?  It was suggested in Part1 of this series [1] but wasn\u0027t changed (and got merged).  It\u0027s called from plugin and I think should not have the leading underscore.  It will make it cleaner. \n\n[1] https://review.openstack.org/#/c/114666/7/neutron/plugins/ml2/managers.py (suggested by Akihiro)","commit_id":"4124bbce8141a1d42e1acd91bd37f2b4ecf7390a"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"e978bc91ea8b170e22762e635098ec46ab093d5d","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        if value is attributes.ATTR_NOT_SPECIFIED:"},{"line_number":120,"context_line":"            value \u003d None"},{"line_number":121,"context_line":"        return value"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    def _extend_network_dict_provider(self, context, network):"},{"line_number":124,"context_line":"        id \u003d network[\u0027id\u0027]"},{"line_number":125,"context_line":"        segments \u003d db.get_network_segments(context.session, id)"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa81d914_a5f895e6","line":122,"in_reply_to":"fa81d914_6a0cac95","updated":"2015-01-27 23:46:49.000000000","message":"Done","commit_id":"4124bbce8141a1d42e1acd91bd37f2b4ecf7390a"}],"neutron/plugins/ml2/models.py":[{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"08cd6b37110f72d91b6ddee093635615d120be3e","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    segmentation_id \u003d sa.Column(sa.Integer)"},{"line_number":42,"context_line":"    is_dynamic \u003d sa.Column(sa.Boolean, default\u003dFalse, nullable\u003dFalse,"},{"line_number":43,"context_line":"                           server_default\u003dsa.sql.false())"},{"line_number":44,"context_line":"    provider_segment \u003d sa.Column(sa.Boolean, default\u003dFalse,"},{"line_number":45,"context_line":"                                 server_default\u003dsa.sql.false())"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_16da6378","line":44,"updated":"2014-09-01 09:10:03.000000000","message":"There is nullable\u003dFalse in migration which misses here","commit_id":"998df0b39f99c0a50f25f36e1ebf4017ea0bc4be"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"c3c588a2aa0a8572e72c3e37fae4be1546c8680a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    segmentation_id \u003d sa.Column(sa.Integer)"},{"line_number":42,"context_line":"    is_dynamic \u003d sa.Column(sa.Boolean, default\u003dFalse, nullable\u003dFalse,"},{"line_number":43,"context_line":"                           server_default\u003dsa.sql.false())"},{"line_number":44,"context_line":"    provider_segment \u003d sa.Column(sa.Boolean, default\u003dFalse,"},{"line_number":45,"context_line":"                                 server_default\u003dsa.sql.false())"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_18db66ee","line":44,"in_reply_to":"fa98f980_16da6378","updated":"2014-09-01 14:00:07.000000000","message":"Done","commit_id":"998df0b39f99c0a50f25f36e1ebf4017ea0bc4be"}],"neutron/tests/unit/ml2/db/test_ml2_db.py":[{"author":{"_account_id":6694,"name":"rcurran","email":"rcurran@cisco.com","username":"rcurran"},"change_message_id":"69344c99fabc3ad3b3a744d34d5d29fdc79cd652","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                                                    host\u003dhost))"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def _create_segments(self, segments, is_seg_dynamic\u003dFalse,"},{"line_number":57,"context_line":"                         is_seg_provider\u003dFalse):"},{"line_number":58,"context_line":"        network_id \u003d \u0027foo-network-id\u0027"},{"line_number":59,"context_line":"        self._setup_neutron_network(network_id)"},{"line_number":60,"context_line":"        for segment in segments:"}],"source_content_type":"text/x-python","patch_set":16,"id":"fa81d914_b36e2a95","line":57,"updated":"2015-01-27 19:39:44.000000000","message":"is_seg_provider is never set to True, are the changes in this test file just to get the code to work and not really testing? (this change is being tested by the updates to test_ml2_plugin,py)\nI was just wondering if you ever considered adding the \u0027provider_segment\u0027 setting in the calling test methods and not in this internal method, similar to all the other \"segment\" settings.\nex - test_network_segments_for_provider_network(self):","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"d972df7da5a65e415a38d129e43cf239682d5b6a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                                                    host\u003dhost))"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def _create_segments(self, segments, is_seg_dynamic\u003dFalse,"},{"line_number":57,"context_line":"                         is_seg_provider\u003dFalse):"},{"line_number":58,"context_line":"        network_id \u003d \u0027foo-network-id\u0027"},{"line_number":59,"context_line":"        self._setup_neutron_network(network_id)"},{"line_number":60,"context_line":"        for segment in segments:"}],"source_content_type":"text/x-python","patch_set":16,"id":"fa81d914_e7a9b525","line":57,"in_reply_to":"fa81d914_b36e2a95","updated":"2015-01-27 23:08:14.000000000","message":"good point, i modified the test to pass in the boolean.","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"}],"neutron/tests/unit/ml2/test_ml2_plugin.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"556dee94b1bd911d43bdab6c25829698455c9326","unresolved":false,"context_lines":[{"line_number":437,"context_line":"        self.assertEqual(\u0027vlan\u0027, network[pnet.NETWORK_TYPE])"},{"line_number":438,"context_line":"        self.assertEqual(\u0027physnet1\u0027, network[pnet.PHYSICAL_NETWORK])"},{"line_number":439,"context_line":"        self.assertTrue(network[driver_api.PROVIDER_SEGMENT])"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"    def test_create_network_provider(self):"},{"line_number":442,"context_line":"        data \u003d {\u0027network\u0027: {\u0027name\u0027: \u0027net1\u0027,"},{"line_number":443,"context_line":"                            pnet.NETWORK_TYPE: \u0027vlan\u0027,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1abeadc6_2de00ecc","line":440,"updated":"2014-08-23 21:04:48.000000000","message":"It is better to add a test to check PROVIDER_SEGMENT is False for tenant network.","commit_id":"9e9809f05148f23bb28c7ae525c249454c4bfaf2"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"dadff9f5c0350cc9f8cceeb0cd8b88a36b98be98","unresolved":false,"context_lines":[{"line_number":621,"context_line":"        network \u003d self.driver.create_network(self.context, data)"},{"line_number":622,"context_line":"        self.assertEqual(\u0027vlan\u0027, network[pnet.NETWORK_TYPE])"},{"line_number":623,"context_line":"        self.assertEqual(\u0027physnet1\u0027, network[pnet.PHYSICAL_NETWORK])"},{"line_number":624,"context_line":"        self.assertTrue(network[driver_api.PROVIDER_SEGMENT])"},{"line_number":625,"context_line":""},{"line_number":626,"context_line":"    def test_create_network_tenant_provider_false(self):"},{"line_number":627,"context_line":"        data \u003d {\u0027network\u0027: {\u0027name\u0027: \u0027net1\u0027,"}],"source_content_type":"text/x-python","patch_set":16,"id":"fa81d914_67f3050b","line":624,"updated":"2015-01-27 22:38:46.000000000","message":"what\u0027s the motivation for exposing this data via the api and not just the db? Also I\u0027m kinda confused what the motivation for adding this new table with this value being set in it. What is it used for?","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"},{"author":{"_account_id":107,"name":"Arvind Somya","email":"arvind.somya@gmail.com","username":"asomya"},"change_message_id":"d972df7da5a65e415a38d129e43cf239682d5b6a","unresolved":false,"context_lines":[{"line_number":621,"context_line":"        network \u003d self.driver.create_network(self.context, data)"},{"line_number":622,"context_line":"        self.assertEqual(\u0027vlan\u0027, network[pnet.NETWORK_TYPE])"},{"line_number":623,"context_line":"        self.assertEqual(\u0027physnet1\u0027, network[pnet.PHYSICAL_NETWORK])"},{"line_number":624,"context_line":"        self.assertTrue(network[driver_api.PROVIDER_SEGMENT])"},{"line_number":625,"context_line":""},{"line_number":626,"context_line":"    def test_create_network_tenant_provider_false(self):"},{"line_number":627,"context_line":"        data \u003d {\u0027network\u0027: {\u0027name\u0027: \u0027net1\u0027,"}],"source_content_type":"text/x-python","patch_set":16,"id":"fa81d914_675a2585","line":624,"in_reply_to":"fa81d914_67f3050b","updated":"2015-01-27 23:08:14.000000000","message":"This information needs to be visible to the mechanism driver, currently this information is lost as soon as a segment is processed by the ML2 plugin and the type drivers. The mechanism drivers have no way of knowing the difference presently, we do pass segment dictionaries across the drivers using the API, this would be a clean way of passing this information as well without having the mechanism drivers look inside the segment database.\n\nThe column is being added to the existing ml2_network_segments table, not a new table.\n\nSee comment reply in commit message for the use case.","commit_id":"78c2b73c7a8b8cdd0f6b0bceb54e8d5b7e792bde"}]}
