)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"f62e0c283af2827a7644fb03bfe2f8bbadc98cc1","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Template for ModelMigrationTest for external repos"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds tempate for ModelMigrationTest which should be"},{"line_number":10,"context_line":"implemented in all driver/plugin repositoties that were split"},{"line_number":11,"context_line":"out from Neutron."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-bug:#1470678"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"fa1b9901_b5436cae","line":10,"updated":"2015-08-21 01:13:53.000000000","message":"nit: repositoties -\u003e repositories","commit_id":"b351efe509a209d41be1d49c3d753e41477d8e92"}],"doc/source/devref/template_model_sync_test.rst":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"d9f24c8df4ef3179cbc4e2030ae10ffe3ffe8a21","unresolved":false,"context_lines":[{"line_number":53,"context_line":"content: ::"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":" from neutron.db.migration.models import head"},{"line_number":56,"context_line":" from networking_foo import models  # noqa"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":" def get_metadata():"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa1b9901_15bc636b","line":56,"updated":"2015-08-17 14:47:00.000000000","message":"Consider adding a comment saying \"Alternatively, import separate modules here if the models are not in one models.py file\"","commit_id":"a9329a09ef12cf619e840d0bf090daa7d12d9670"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"692064a73bff4a9abea218e6c77cfb1bbab78696","unresolved":false,"context_lines":[{"line_number":53,"context_line":"content: ::"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":" from neutron.db.migration.models import head"},{"line_number":56,"context_line":" from networking_foo import models  # noqa"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":" def get_metadata():"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa1b9901_b988e923","line":56,"in_reply_to":"fa1b9901_15bc636b","updated":"2015-08-18 10:31:35.000000000","message":"Done","commit_id":"a9329a09ef12cf619e840d0bf090daa7d12d9670"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"d9f24c8df4ef3179cbc4e2030ae10ffe3ffe8a21","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":" from networking_foo.db.models import head"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":" EXTERNAL_TABLES \u003d external.DRIVER_FOO_TABLES"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":""},{"line_number":81,"context_line":" class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa1b9901_95b0738d","line":78,"updated":"2015-08-17 14:47:00.000000000","message":"I think DRIVER_FOO_TABLES needs more clarification, or give a example of external.py content.","commit_id":"a9329a09ef12cf619e840d0bf090daa7d12d9670"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"692064a73bff4a9abea218e6c77cfb1bbab78696","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":" from networking_foo.db.models import head"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":" EXTERNAL_TABLES \u003d external.DRIVER_FOO_TABLES"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":""},{"line_number":81,"context_line":" class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa1b9901_4b6bf01e","line":78,"in_reply_to":"fa1b9901_95b0738d","updated":"2015-08-18 10:31:35.000000000","message":"Done","commit_id":"a9329a09ef12cf619e840d0bf090daa7d12d9670"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8a540f2c393ee74821e924d2980b67108e0f912b","unresolved":false,"context_lines":[{"line_number":65,"context_line":"2. Implement the test module"},{"line_number":66,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In test is used external.py from Neutron. This file contains lists of table"},{"line_number":69,"context_line":"names, which were moved out of Neutron: ::"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":" VPNAAS_TABLES \u003d [...]"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_621e0e65","line":68,"updated":"2015-08-18 13:25:42.000000000","message":"\"In test is used\"  -\u003e  \"The test uses\"","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"1a6e23b61e4416ddfe188fb9c2344882b263ca42","unresolved":false,"context_lines":[{"line_number":65,"context_line":"2. Implement the test module"},{"line_number":66,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In test is used external.py from Neutron. This file contains lists of table"},{"line_number":69,"context_line":"names, which were moved out of Neutron: ::"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":" VPNAAS_TABLES \u003d [...]"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_28a237af","line":68,"in_reply_to":"fa1b9901_621e0e65","updated":"2015-08-18 13:58:09.000000000","message":"Done","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8a540f2c393ee74821e924d2980b67108e0f912b","unresolved":false,"context_lines":[{"line_number":75,"context_line":" FWAAS_TABLES \u003d [...]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" # Arista ML2 driver Models moved to openstack/networking-arista"},{"line_number":78,"context_line":" DRIVER_ARISTA_TABLES \u003d [...]"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":" # Models moved to openstack/networking-cisco"},{"line_number":81,"context_line":" DRIVER_CISCO_TABLES \u003d [...]"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_a23bc6d0","line":78,"updated":"2015-08-18 13:25:42.000000000","message":"DRIVER  -\u003e  REPO","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"1a6e23b61e4416ddfe188fb9c2344882b263ca42","unresolved":false,"context_lines":[{"line_number":75,"context_line":" FWAAS_TABLES \u003d [...]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" # Arista ML2 driver Models moved to openstack/networking-arista"},{"line_number":78,"context_line":" DRIVER_ARISTA_TABLES \u003d [...]"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":" # Models moved to openstack/networking-cisco"},{"line_number":81,"context_line":" DRIVER_CISCO_TABLES \u003d [...]"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_88c4a35f","line":78,"in_reply_to":"fa1b9901_a23bc6d0","updated":"2015-08-18 13:58:09.000000000","message":"Done","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8a540f2c393ee74821e924d2980b67108e0f912b","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":" from networking_foo.db.models import head"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":" EXTERNAL_TABLES \u003d external.DRIVER_FOO_TABLES + ... + external.FWAAS_TABLES"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":""},{"line_number":104,"context_line":" class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_62636edd","line":101,"updated":"2015-08-18 13:25:42.000000000","message":"This is a bit unclear I think. Here the user is expected to list all FOO tables except their own FOO? Perhaps it is better to move line 136 here as a comment.\n\nIs the following equivalent?\n\n  # Exclude tables that are not related to this repo\n  EXTERNAL_TABLES \u003d set(external.TABLES) - set(external.REPO_FOO_TABLES)","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"1a6e23b61e4416ddfe188fb9c2344882b263ca42","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":" from networking_foo.db.models import head"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":" EXTERNAL_TABLES \u003d external.DRIVER_FOO_TABLES + ... + external.FWAAS_TABLES"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":""},{"line_number":104,"context_line":" class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa1b9901_68c90f78","line":101,"in_reply_to":"fa1b9901_62636edd","updated":"2015-08-18 13:58:09.000000000","message":"Yes, thanks!","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"f62e0c283af2827a7644fb03bfe2f8bbadc98cc1","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":" # Arista ML2 driver Models moved to openstack/networking-arista"},{"line_number":78,"context_line":" REPO_ARISTA_TABLES \u003d [...]"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":" # Models moved to openstack/networking-cisco"},{"line_number":81,"context_line":" REPO_CISCO_TABLES \u003d [...]"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa1b9901_b5ecccbb","line":79,"updated":"2015-08-21 01:13:53.000000000","message":"So currently all the vendor repo tables are clubbed under DRIVER_TABLES. Is this patch supposed to address this?","commit_id":"b351efe509a209d41be1d49c3d753e41477d8e92"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a09690b10442e3dbf3ace81ab1bf2eff5e720532","unresolved":false,"context_lines":[{"line_number":95,"context_line":" from neutron.db.migration import cli as migration"},{"line_number":96,"context_line":" from neutron.tests.common import base"},{"line_number":97,"context_line":" from neutron.tests.functional.db import test_migrations"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":" from networking_foo.db.models import head"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":" # EXTERNAL_TABLES should contain all names of tables that are not related to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_bcb574ed","line":98,"updated":"2015-08-21 14:25:36.000000000","message":"Add this import here:\n\n from networking_foo.db.migration.alembic_migrations import env","commit_id":"7c50e062add1d2cd1b49a5a2b9bf50ffe07726b0"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"a4d413b6cb30e23c3fa37145354f0d575bd372fc","unresolved":false,"context_lines":[{"line_number":95,"context_line":" from neutron.db.migration import cli as migration"},{"line_number":96,"context_line":" from neutron.tests.common import base"},{"line_number":97,"context_line":" from neutron.tests.functional.db import test_migrations"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":" from networking_foo.db.models import head"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":" # EXTERNAL_TABLES should contain all names of tables that are not related to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_3c008401","line":98,"in_reply_to":"fa1b9901_bcb574ed","updated":"2015-08-21 14:33:12.000000000","message":"Done","commit_id":"7c50e062add1d2cd1b49a5a2b9bf50ffe07726b0"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a09690b10442e3dbf3ace81ab1bf2eff5e720532","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"   def include_object(self, object_, name, type_, reflected, compare_to):"},{"line_number":119,"context_line":"       # If table with alembic head version is named differently from “alembic”"},{"line_number":120,"context_line":"       # then \"name \u003d\u003d \u0027alembic_repo\u0027\" should be added here for expunction."},{"line_number":121,"context_line":"       if type_ \u003d\u003d \u0027table\u0027 and (name \u003d\u003d \u0027alembic\u0027 or name \u003d\u003d \u0027alembic_repo\u0027 or"},{"line_number":122,"context_line":"                                name in EXTERNAL_TABLES):"},{"line_number":123,"context_line":"           return False"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_5c7f7814","line":120,"updated":"2015-08-21 14:25:36.000000000","message":"The comment above is not really needed if we change the check below to:\n\n        if type_ \u003d\u003d \u0027table\u0027 and (name \u003d\u003d \u0027alembic\u0027 or\n                                 name \u003d\u003d env.VERSION_TABLE or\n                                 name in EXTERNAL_TABLES):","commit_id":"7c50e062add1d2cd1b49a5a2b9bf50ffe07726b0"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"a4d413b6cb30e23c3fa37145354f0d575bd372fc","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"   def include_object(self, object_, name, type_, reflected, compare_to):"},{"line_number":119,"context_line":"       # If table with alembic head version is named differently from “alembic”"},{"line_number":120,"context_line":"       # then \"name \u003d\u003d \u0027alembic_repo\u0027\" should be added here for expunction."},{"line_number":121,"context_line":"       if type_ \u003d\u003d \u0027table\u0027 and (name \u003d\u003d \u0027alembic\u0027 or name \u003d\u003d \u0027alembic_repo\u0027 or"},{"line_number":122,"context_line":"                                name in EXTERNAL_TABLES):"},{"line_number":123,"context_line":"           return False"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_1c058012","line":120,"in_reply_to":"fa1b9901_5c7f7814","updated":"2015-08-21 14:33:12.000000000","message":"Very good suggestion, thank you!","commit_id":"7c50e062add1d2cd1b49a5a2b9bf50ffe07726b0"}],"neutron/db/migration/alembic_migrations/external.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8a540f2c393ee74821e924d2980b67108e0f912b","unresolved":false,"context_lines":[{"line_number":25,"context_line":"FWAAS_TABLES \u003d [\u0027firewall_rules\u0027, \u0027firewalls\u0027, \u0027firewall_policies\u0027]"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Arista ML2 driver Models moved to openstack/networking-arista"},{"line_number":28,"context_line":"DRIVER_ARISTA_TABLES \u003d ["},{"line_number":29,"context_line":"    \u0027arista_provisioned_nets\u0027,"},{"line_number":30,"context_line":"    \u0027arista_provisioned_vms\u0027,"},{"line_number":31,"context_line":"    \u0027arista_provisioned_tenants\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_f07e6bad","line":28,"updated":"2015-08-18 13:25:42.000000000","message":"I think REPO instead of DRIVER is more accurate.","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"1a6e23b61e4416ddfe188fb9c2344882b263ca42","unresolved":false,"context_lines":[{"line_number":25,"context_line":"FWAAS_TABLES \u003d [\u0027firewall_rules\u0027, \u0027firewalls\u0027, \u0027firewall_policies\u0027]"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Arista ML2 driver Models moved to openstack/networking-arista"},{"line_number":28,"context_line":"DRIVER_ARISTA_TABLES \u003d ["},{"line_number":29,"context_line":"    \u0027arista_provisioned_nets\u0027,"},{"line_number":30,"context_line":"    \u0027arista_provisioned_vms\u0027,"},{"line_number":31,"context_line":"    \u0027arista_provisioned_tenants\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_e8abdf87","line":28,"in_reply_to":"fa1b9901_f07e6bad","updated":"2015-08-18 13:58:09.000000000","message":"Done","commit_id":"23891fb5fc11e34fbb7256d70cc4af0f1aa7581c"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8b57debdd25c93580d70b4dc5c39a3fc4f2feda6","unresolved":false,"context_lines":[{"line_number":81,"context_line":"]"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"TABLES \u003d (FWAAS_TABLES + LBAAS_TABLES + VPNAAS_TABLES + REPO_ARISTA_TABLES"},{"line_number":84,"context_line":"          + REPO_CISCO_TABLES + REPO_VMWARE_TABLES)"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa1b9901_4c4bf887","line":84,"updated":"2015-08-18 16:06:22.000000000","message":"Nit: I would put these on separate lines to make updates/merges easier:\n\nTABLES \u003d (\n    FWAAS_TABLES + LBAAS_TABLES + VPNAAS_TABLES +\n    REPO_ARISTA_TABLES +\n    REPO_CISCO_TABLES +\n    REPO_VMWARE_TABLES\n)","commit_id":"d2bf52537d725629a42f27a4354c2a38b7789612"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"ebfdeb5730ef29ec450ba356840da79a01a436b7","unresolved":false,"context_lines":[{"line_number":81,"context_line":"]"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"TABLES \u003d (FWAAS_TABLES + LBAAS_TABLES + VPNAAS_TABLES + REPO_ARISTA_TABLES"},{"line_number":84,"context_line":"          + REPO_CISCO_TABLES + REPO_VMWARE_TABLES)"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa1b9901_f53068ea","line":84,"in_reply_to":"fa1b9901_4c4bf887","updated":"2015-08-19 10:54:30.000000000","message":"Done","commit_id":"d2bf52537d725629a42f27a4354c2a38b7789612"}]}
