)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"7002ecac8f40ee10c8e44237a88e3dc287af860c","unresolved":false,"context_lines":[{"line_number":10,"context_line":"RoutingPeers (remote peers to which exchange routes) and"},{"line_number":11,"context_line":"RoutingInstances, which can be seen as interchange policies: whether to"},{"line_number":12,"context_line":"advertise, if so: which networks to advertise, and whether to discover."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Agent scheduling functionality has been added as well: by default, a"},{"line_number":15,"context_line":"routing peer is scheduled to first available agent who asks for routes,"},{"line_number":16,"context_line":"more or less like the L3 agent works."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_b9f4b788","line":13,"updated":"2014-08-09 18:23:04.000000000","message":"When the commit message contains \"... functionality has been added as well...\", it\u0027s time to split up the patch ;-)\n\n2,300 lines is a bit much, and from the looks of it this patch is intended to only grow.\n\nWe have a \"sickness\" in Neutron of huge, hard to review patches and I think that this patch could more or less easily be split up to patches according to concrete bits of functionality.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"b985b8475d7cff9bdec9129a49a5e3d7cd36ba50","unresolved":false,"context_lines":[{"line_number":10,"context_line":"RoutingPeers (remote peers to which exchange routes) and"},{"line_number":11,"context_line":"RoutingInstances, which can be seen as interchange policies: whether to"},{"line_number":12,"context_line":"advertise, if so: which networks to advertise, and whether to discover."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Agent scheduling functionality has been added as well: by default, a"},{"line_number":15,"context_line":"routing peer is scheduled to first available agent who asks for routes,"},{"line_number":16,"context_line":"more or less like the L3 agent works."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_6b2877ee","line":13,"in_reply_to":"baada198_b9f4b788","updated":"2014-08-11 06:49:34.000000000","message":"You are right.\n\nThe rational part of my brain was telling me to do so... but the lazy one (the one who commands) ignored it systematically.\n\nI\u0027ll do it. Thanks!","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"88f405706fdf00dae26f2f14cd19c046ae85d392","unresolved":false,"context_lines":[{"line_number":33,"context_line":"(Not developed yet) At the same time, agent returns back the discovered"},{"line_number":34,"context_line":"routes and Dynamic Routing Plugin is responsible to save it into"},{"line_number":35,"context_line":"\u0027extraroutes\u0027 table of the network\u0027s routers."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Change-Id: If55b5940c16c6fdd55cc15567b430b027b59a50b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_25e4190d","line":36,"updated":"2014-08-08 13:46:06.000000000","message":"Please reference the blueprint in the commit message.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"etc/dr_agent.ini":[{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","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"}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_981ff159","line":3,"updated":"2014-08-01 16:26:29.000000000","message":"Currently a dummy file. The local_as bgp number and the driver (ryu by default) will be informed here","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"etc/neutron.conf":[{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","unresolved":false,"context_lines":[{"line_number":151,"context_line":"# Driver to use for scheduling a loadbalancer pool to an lbaas agent"},{"line_number":152,"context_line":"# loadbalancer_pool_scheduler_driver \u003d neutron.services.loadbalancer.agent_scheduler.ChanceScheduler"},{"line_number":153,"context_line":"# Driver to use for scheduling routing entities to a dynamic routing agent"},{"line_number":154,"context_line":"# dynamic_routing_scheduler_driver \u003d neutron.scheduler.dr_agent_scheduler.DynamicRoutingHAScheduler"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"# Allow auto scheduling networks to DHCP agent. It will schedule non-hosted"},{"line_number":157,"context_line":"# networks to first DHCP agent which sends get_active_networks message to"}],"source_content_type":"text/plain","patch_set":1,"id":"baada198_387265b0","line":154,"updated":"2014-08-01 16:26:29.000000000","message":"Called HA because by default all the routing peers will be associated to any agent that request for routes.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"neutron/agent/dr_agent.py":[{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","unresolved":false,"context_lines":[{"line_number":35,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"class DRAgentPluginApi(n_rpc.RpcProxy):"},{"line_number":39,"context_line":"    \"\"\"Agent side of the Dynamic Routing rpc API.\"\"\""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    BASE_RPC_API_VERSION \u003d \u00271.0\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_389985d0","line":38,"updated":"2014-08-01 16:26:29.000000000","message":"Calls preformed from the agent to the neutron API. I think that it won\u0027t be more calls added here, although the \u0027sync_dyscovernetworks\u0027 is not implemented yet.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class DRAgent(manager.Manager):"},{"line_number":71,"context_line":"    \"\"\"Manager for Dynamic Routing. \"\"\""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    OPTS \u003d []"},{"line_number":74,"context_line":"    RPC_API_VERSION \u003d \u00271.1\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_d8a969de","line":71,"updated":"2014-08-01 16:26:29.000000000","message":"Next week we will provide implementation here.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"neutron/api/rpc/agentnotifiers/dr_rpc_agent_api.py":[{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","unresolved":false,"context_lines":[{"line_number":19,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class DynamicRoutingAgentNotifyAPI(n_rpc.RpcProxy):"},{"line_number":23,"context_line":"    \"\"\"API for plugin to notify DR agent\"\"\""},{"line_number":24,"context_line":"    BASE_RPC_API_VERSION \u003d \u00271.0\u0027"},{"line_number":25,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_385c25f0","line":22,"updated":"2014-08-01 16:26:29.000000000","message":"Calls performed from the Neutron API to the agent. Not sure if add the \u0027add_network\u0027 and \u0027remove_network\u0027 here: what we actually send to the agent are the subnets, and adding a network will need to be implemented in the core part of Neutron (when user adds a subnet). I don\u0027t know if I want to be so intrusive.\n\nThe periodic task executed from the agent will ask for that networks, so the calls here are not mandatory.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"88f405706fdf00dae26f2f14cd19c046ae85d392","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def _notification_host(self, context, method, payload, host):"},{"line_number":31,"context_line":"        \"\"\"Notify the agent that is hosting the peer.\"\"\""},{"line_number":32,"context_line":"        LOG.debug(_(\u0027Nofity agent at %(host)s the message \u0027"},{"line_number":33,"context_line":"                    \u0027%(method)s\u0027), {\u0027host\u0027: host,"},{"line_number":34,"context_line":"                                    \u0027method\u0027: method})"},{"line_number":35,"context_line":"        self.cast("}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_05aab583","line":32,"updated":"2014-08-08 13:46:06.000000000","message":"Don\u0027t translate debug logs. This comment applies through this review.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"neutron/common/topics.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"170b83bbb1354435f6f49425b6532b5a41230eae","unresolved":false,"context_lines":[{"line_number":31,"context_line":"FIREWALL_PLUGIN \u003d \u0027q-firewall-plugin\u0027"},{"line_number":32,"context_line":"METERING_PLUGIN \u003d \u0027q-metering-plugin\u0027"},{"line_number":33,"context_line":"LOADBALANCER_PLUGIN \u003d \u0027n-lbaas-plugin\u0027"},{"line_number":34,"context_line":"DRAGENT \u003d \u0027q-dr-plugin\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"L3_AGENT \u003d \u0027l3_agent\u0027"},{"line_number":37,"context_line":"DHCP_AGENT \u003d \u0027dhcp_agent\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_9ac8a276","line":34,"updated":"2014-08-04 02:43:47.000000000","message":"this is confusing with DR_AGENT below.\nwhy not DRAGENT_PLUGIN?","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"9e61c7f78e396a27b38bf5c6d94559de0b83c889","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"class NeutronDbPluginV2(neutron_plugin_base_v2.NeutronPluginBaseV2,"},{"line_number":55,"context_line":"                        common_db_mixin.CommonDbMixin):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    \"\"\"V2 Neutron plugin interface implementation using SQLAlchemy models."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    Whenever a non-read call happens the plugin will call an event handler"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_f8fc6db8","line":56,"updated":"2014-08-01 16:26:29.000000000","message":"uhm... sorry for that :)","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}],"neutron/db/dr_db.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"170b83bbb1354435f6f49425b6532b5a41230eae","unresolved":false,"context_lines":[{"line_number":63,"context_line":"                            base_db.NeutronDbPluginV2):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def create_routingpeer(self, context, routingpeer):"},{"line_number":66,"context_line":"        LOG.debug(_(\"create_routingpeer() called\"))"},{"line_number":67,"context_line":"        rp \u003d routingpeer[\u0027routingpeer\u0027]"},{"line_number":68,"context_line":"        try:"},{"line_number":69,"context_line":"            rp \u003d self._get_routingpeer_by_peer("}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_1a2f323f","line":66,"updated":"2014-08-04 02:43:47.000000000","message":"do not localize debug logs.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2011 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":3,"id":"7ac7a964_a405e7c3","line":1,"updated":"2014-08-14 16:38:09.000000000","message":"2011?","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":10,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":11,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":12,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":"import sqlalchemy as sa"},{"line_number":15,"context_line":"from sqlalchemy.orm import exc"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_8469cb8d","line":13,"updated":"2014-08-14 16:38:09.000000000","message":"usual style is to put a newline here","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":39,"context_line":"                            base_db.NeutronDbPluginV2):"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def create_routingpeer(self, context, routingpeer):"},{"line_number":42,"context_line":"        LOG.debug(\"create_routingpeer() called\")"},{"line_number":43,"context_line":"        rp \u003d routingpeer[\u0027routingpeer\u0027]"},{"line_number":44,"context_line":"        try:"},{"line_number":45,"context_line":"            rp \u003d self._get_routingpeer_by_peer("}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_04605b31","line":42,"updated":"2014-08-14 16:38:09.000000000","message":"please consider using neutron.common.log.log decorator\nfor these \"foo is called\" debug logs.","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            res[\u0027id\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":58,"context_line":"            routingpeer_db \u003d RoutingPeer(**res)"},{"line_number":59,"context_line":"            context.session.add(routingpeer_db)"},{"line_number":60,"context_line":"            context.session.flush()"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        return self._make_routingpeer_dict(routingpeer_db)"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_e4d19fce","line":60,"updated":"2014-08-14 16:38:09.000000000","message":"is this flush necessary?","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":68,"context_line":"                                    filters\u003dfilters,"},{"line_number":69,"context_line":"                                    fields\u003dfields)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    def get_routingpeer(self, context, id, fields\u003dNone):"},{"line_number":72,"context_line":"        LOG.debug(\"get_routingpeer() called\")"},{"line_number":73,"context_line":"        routingpeer \u003d self._get_routingpeer(context, id)"},{"line_number":74,"context_line":"        return self._make_routingpeer_dict(routingpeer, fields)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_44ffb334","line":71,"range":{"start_line":71,"start_character":39,"end_line":71,"end_character":41},"updated":"2014-08-14 16:38:09.000000000","message":"please avoid shadowing","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    def _make_routingpeer_dict(self, routingpeer, fields\u003dNone):"},{"line_number":104,"context_line":"        attr \u003d dr.RESOURCE_ATTRIBUTE_MAP.get(\u0027routingpeers\u0027)"},{"line_number":105,"context_line":"        res \u003d dict((k, routingpeer[k]) for k in attr)"},{"line_number":106,"context_line":"        return res"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_247717d6","line":106,"range":{"start_line":106,"start_character":15,"end_line":106,"end_character":18},"updated":"2014-08-14 16:38:09.000000000","message":"self._fields(res, fields) ?","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"2285fbd0af5a82164f8a196e72b349e43d1cffb6","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    \"\"\"Represents a routing peer.\"\"\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    peer \u003d sa.Column(sa.String(64))"},{"line_number":36,"context_line":"    remote_as \u003d sa.Column(sa.Integer)"},{"line_number":37,"context_line":"    password \u003d sa.Column(sa.String(255))"},{"line_number":38,"context_line":"    sa.UniqueConstraint(\u0027peer\u0027)"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_f84a2e26","line":36,"updated":"2014-08-18 13:48:00.000000000","message":"In migration there is nullable\u003dFalse on  \u0027peer\u0027 and \u0027remote_as\u0027 columns. Add this here or remove in migration.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"2285fbd0af5a82164f8a196e72b349e43d1cffb6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    peer \u003d sa.Column(sa.String(64))"},{"line_number":36,"context_line":"    remote_as \u003d sa.Column(sa.Integer)"},{"line_number":37,"context_line":"    password \u003d sa.Column(sa.String(255))"},{"line_number":38,"context_line":"    sa.UniqueConstraint(\u0027peer\u0027)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"class DynamicRoutingDbMixin(dr.DynamicRoutingPluginBase,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_18f60ad8","line":38,"updated":"2014-08-18 13:48:00.000000000","message":"This is incorrect. Use unique\u003dTrue on \u0027peer\u0027 column or table-args.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"6a1f7634b5cb5c851ca7474ddaebd4185f149689","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    peer \u003d sa.Column(sa.String(64), nullable\u003dFalse, unique\u003dTrue)"},{"line_number":36,"context_line":"    remote_as \u003d sa.Column(sa.Integer, nullable\u003dFalse)"},{"line_number":37,"context_line":"    password \u003d sa.Column(sa.String(255))"},{"line_number":38,"context_line":"    sa.UniqueConstraint(\u0027peer\u0027)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"class DynamicRoutingDbMixin(dr.DynamicRoutingPluginBase,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_fa99416f","line":38,"updated":"2014-08-18 14:38:31.000000000","message":"Line 38 is not necessary.","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"},{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"248175d090d6d1fb78f8b3c90b2866f9e313e6ac","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    peer \u003d sa.Column(sa.String(64), nullable\u003dFalse, unique\u003dTrue)"},{"line_number":36,"context_line":"    remote_as \u003d sa.Column(sa.Integer, nullable\u003dFalse)"},{"line_number":37,"context_line":"    password \u003d sa.Column(sa.String(255))"},{"line_number":38,"context_line":"    sa.UniqueConstraint(\u0027peer\u0027)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"class DynamicRoutingDbMixin(dr.DynamicRoutingPluginBase,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_1abc3d69","line":38,"in_reply_to":"1abeadc6_fa99416f","updated":"2014-08-18 14:44:25.000000000","message":"Damn... I forgot to remove it...","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"},{"author":{"_account_id":2888,"name":"Mathieu Rohon","email":"mathieu.rohon@gmail.com","username":"mathieu-rohon"},"change_message_id":"0150f4865ce1d6d28dc3cdd0c01279434e02b5ca","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class DynamicRoutingDbMixin(dr.DynamicRoutingPluginBase,"},{"line_number":41,"context_line":"                            base_db.NeutronDbPluginV2):"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    @log.log"},{"line_number":44,"context_line":"    def create_routingpeer(self, context, routingpeer):"},{"line_number":45,"context_line":"        rp \u003d routingpeer[\u0027routingpeer\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"1abeadc6_8f938d4e","line":42,"updated":"2014-08-19 08:41:22.000000000","message":"shouldn\u0027t you inherit from CommonDBMixin as other dbMixin do (https://github.com/openstack/neutron/blob/master/neutron/db/vpn/vpn_db.py#L161)","commit_id":"569cac05df636bcdee42703db33689049e091671"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"f3a7174483b4dd48db6590931a0ae40c6b5d54fa","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    def create_routingpeer(self, context, routingpeer):"},{"line_number":45,"context_line":"        rp \u003d routingpeer[\u0027routingpeer\u0027]"},{"line_number":46,"context_line":"        try:"},{"line_number":47,"context_line":"            rp \u003d self._get_routingpeer_by_peer("},{"line_number":48,"context_line":"                 context, routingpeer[\u0027routingpeer\u0027][\u0027peer\u0027])"},{"line_number":49,"context_line":"            raise dr.PeerExists(peer\u003droutingpeer[\u0027routingpeer\u0027][\u0027peer\u0027])"},{"line_number":50,"context_line":"        except dr.RoutingPeerNotFound:"}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_3089ec26","line":47,"updated":"2014-08-19 14:28:32.000000000","message":"nit: I think this assignment is unnecessary - if _get_routingpeer_by_peer returns value we raise exception where we don\u0027t use it and otherwise rp \u003d routingpeer[\u0027routingpeer\u0027] is used","commit_id":"8600653581055eca4acd98db332010440c78f06e"}],"neutron/db/migration/alembic_migrations/versions/15be73214821_add_dynamic_routing_model_data.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        sa.Column(\u0027remote_as\u0027, sa.Integer, nullable\u003dFalse),"},{"line_number":47,"context_line":"        sa.Column(\u0027tenant_id\u0027, sa.String(length\u003d255), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.PrimaryKeyConstraint(\u0027id\u0027),"},{"line_number":49,"context_line":"        sa.UniqueConstraint(\u0027peer\u0027),"},{"line_number":50,"context_line":"    )"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_642f4fa2","line":49,"updated":"2014-08-14 16:38:09.000000000","message":"why unique?\ndr_db.py counterpart doesn\u0027t seem to have this constraint.","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"2285fbd0af5a82164f8a196e72b349e43d1cffb6","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        sa.Column(\u0027password\u0027, sa.String(length\u003d255), nullable\u003dTrue),"},{"line_number":45,"context_line":"        sa.Column(\u0027peer\u0027, sa.String(length\u003d64), nullable\u003dFalse),"},{"line_number":46,"context_line":"        sa.Column(\u0027remote_as\u0027, sa.Integer, nullable\u003dFalse),"},{"line_number":47,"context_line":"        sa.Column(\u0027tenant_id\u0027, sa.String(length\u003d255), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.PrimaryKeyConstraint(\u0027id\u0027),"},{"line_number":49,"context_line":"        sa.UniqueConstraint(\u0027peer\u0027),"},{"line_number":50,"context_line":"    )"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_d8e2d202","line":47,"updated":"2014-08-18 13:48:00.000000000","message":"tenant_id has nullable\u003dTrue in model.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"f04f31025ce67b49f6877d5daa54abbb7cc30054","unresolved":false,"context_lines":[{"line_number":26,"context_line":"down_revision \u003d \u00274eba2f05c2f4\u0027"},{"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":"migration_for_plugins \u003d [\u0027*\u0027]"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"from alembic import op"},{"line_number":32,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_a6815d91","line":29,"updated":"2014-08-19 03:52:47.000000000","message":"Remove.","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"f04f31025ce67b49f6877d5daa54abbb7cc30054","unresolved":false,"context_lines":[{"line_number":31,"context_line":"from alembic import op"},{"line_number":32,"context_line":"import sqlalchemy as sa"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from neutron.db import migration"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_c67e59ae","line":34,"updated":"2014-08-19 03:52:47.000000000","message":"Remove.","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"f04f31025ce67b49f6877d5daa54abbb7cc30054","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":38,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":39,"context_line":"        return"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    op.create_table("},{"line_number":42,"context_line":"        \u0027routingpeers\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_26454d70","line":39,"updated":"2014-08-19 03:52:47.000000000","message":"Remove the above two lines.","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"f04f31025ce67b49f6877d5daa54abbb7cc30054","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":54,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":55,"context_line":"        return"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    op.drop_table(\u0027routingpeers\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_665e6547","line":55,"updated":"2014-08-19 03:52:47.000000000","message":"Remove the above two lines.","commit_id":"78b3e890eff7fecb56702b93eb36b98725ca378d"}],"neutron/extensions/dynamic_routing.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_24e71714","line":1,"updated":"2014-08-14 16:38:09.000000000","message":"2013?","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author Jaume Devesa, Midokura SARL, devvesa@gmail.com"},{"line_number":17,"context_line":"import abc"},{"line_number":18,"context_line":"import six"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_a4d32737","line":16,"updated":"2014-08-14 16:38:09.000000000","message":"a new line here","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        pass"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    @abc.abstractmethod"},{"line_number":132,"context_line":"    def get_routingpeer(self, context, id, fields\u003dNone):"},{"line_number":133,"context_line":"        pass"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_44925358","line":132,"range":{"start_line":132,"start_character":39,"end_line":132,"end_character":41},"updated":"2014-08-14 16:38:09.000000000","message":"please avoid shadowing python built-in \"id\".","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        pass"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    @abc.abstractmethod"},{"line_number":140,"context_line":"    def delete_routingpeer(self, context, id):"},{"line_number":141,"context_line":"        pass"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_c48d8333","line":140,"range":{"start_line":140,"start_character":42,"end_line":140,"end_character":44},"updated":"2014-08-14 16:38:09.000000000","message":"ditto","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":141,"context_line":"        pass"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @abc.abstractmethod"},{"line_number":144,"context_line":"    def update_routingpeer(self, context, id, routingpeer):"},{"line_number":145,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_247c7720","line":144,"range":{"start_line":144,"start_character":42,"end_line":144,"end_character":44},"updated":"2014-08-14 16:38:09.000000000","message":"ditto","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"f3a7174483b4dd48db6590931a0ae40c6b5d54fa","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        \u0027peer\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":39,"context_line":"                 \u0027validate\u0027: {\u0027type:ip_address\u0027: None},"},{"line_number":40,"context_line":"                 \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":41,"context_line":"                 \u0027required_by_policy\u0027: False,"},{"line_number":42,"context_line":"                 \u0027enforce_policy\u0027: False},"},{"line_number":43,"context_line":"        \u0027remote_as\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":44,"context_line":"                      \u0027validate\u0027: {\u0027type:range\u0027: (0, 65535)},"}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_b0897ccc","line":41,"updated":"2014-08-19 14:28:32.000000000","message":"nit: if \u0027required_by_policy\u0027 isn\u0027t specified doesn\u0027t it work the same as \u0027required_by_policy\u0027 : False ? any particular reason to be explicit ?","commit_id":"8600653581055eca4acd98db332010440c78f06e"}],"neutron/services/dynamic_routing/plugin.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5f590d1102920b3a4534531b8c22c4541217ff3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2011 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":3,"id":"7ac7a964_a4dde716","line":1,"updated":"2014-08-14 16:38:09.000000000","message":"2011?","commit_id":"8c58092da2d38cb15bbd4b9534ddf99697286253"}],"neutron/tests/unit/test_dynamicrouting_plugin.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d96e2fc0b974b8bea06cd91bc65b2aefeb04d59e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    supported_extension_aliases \u003d [\"dynamic_routing\"]"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def get_plugin_description(self):"},{"line_number":48,"context_line":"        return (\"Dynamic Routing Service Plugin test class that only   \""},{"line_number":49,"context_line":"                \"exposes dynamic routing functionality, without agents,\""},{"line_number":50,"context_line":"                \"nor schedulers.\")"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_e2aa81d3","line":48,"updated":"2014-08-18 12:58:09.000000000","message":"nit: extra spaces at end of string.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d96e2fc0b974b8bea06cd91bc65b2aefeb04d59e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        with self.routingpeer(peer\u003dpeer, remote_as\u003dremote_as,"},{"line_number":94,"context_line":"                              tenant_id\u003dtenant_id) as routingpeer:"},{"line_number":95,"context_line":"            for k, v in expected_value:"},{"line_number":96,"context_line":"                self.assertEqual(routingpeer[\u0027routingpeer\u0027][k], v)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    def test_routingpeer_list(self):"},{"line_number":99,"context_line":"        with contextlib.nested(self.routingpeer(\u0027123.23.23.12\u0027),"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_02ddbd70","line":96,"updated":"2014-08-18 12:58:09.000000000","message":"Will all the asserts in file, the expected value should be first.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"f3a7174483b4dd48db6590931a0ae40c6b5d54fa","unresolved":false,"context_lines":[{"line_number":21,"context_line":"from neutron.openstack.common import uuidutils"},{"line_number":22,"context_line":"from neutron.tests.unit import test_db_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from webob import exc"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"_uuid \u003d uuidutils.generate_uuid"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_7310ce01","line":24,"updated":"2014-08-19 14:28:32.000000000","message":"nit: webob is 3rd party lib\n http://docs.openstack.org/developer/hacking/#import-order-template","commit_id":"8600653581055eca4acd98db332010440c78f06e"}],"neutron/tests/unit/test_extension_dynamic_routing.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d96e2fc0b974b8bea06cd91bc65b2aefeb04d59e","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        res \u003d self.api.get("},{"line_number":73,"context_line":"            _get_path(\u0027routingpeers/{0}\u0027.format(routingpeer_id),"},{"line_number":74,"context_line":"                      fmt\u003dself.fmt))"},{"line_number":75,"context_line":"        self.assertEqual(res.status_int, exc.HTTPOk.code)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        instance.get_routingpeer.assert_called_with("},{"line_number":78,"context_line":"            mock.ANY, unicode(routingpeer_id), fields\u003dmock.ANY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_e25d21eb","line":75,"updated":"2014-08-18 12:58:09.000000000","message":"expected first. Here, and a few other places.","commit_id":"01ea10e1b36208e3ba159f031c31f1345b67e4c3"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"f3a7174483b4dd48db6590931a0ae40c6b5d54fa","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import copy"},{"line_number":16,"context_line":"import mock"},{"line_number":17,"context_line":"from webob import exc"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from neutron.extensions import dynamic_routing"},{"line_number":20,"context_line":"from neutron.openstack.common import uuidutils"}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_365f24e7","line":17,"updated":"2014-08-19 14:28:32.000000000","message":"nit: there should be empty line after import mock\n http://docs.openstack.org/developer/hacking/#import-order-template","commit_id":"8600653581055eca4acd98db332010440c78f06e"}],"neutron/tests/unit/test_extension_firewall.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"170b83bbb1354435f6f49425b6532b5a41230eae","unresolved":false,"context_lines":[{"line_number":151,"context_line":"                            self.serialize(data),"},{"line_number":152,"context_line":"                            content_type\u003d\u0027application/%s\u0027 % self.fmt)"},{"line_number":153,"context_line":"        instance.create_firewall_rule.assert_called_with("},{"line_number":154,"context_line":"            mock.ANY, firewall_rule\u003d{\u0027firewall_rule\u0027: expected_call_args})"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"        self.assertEqual(res.status_int, exc.HTTPCreated.code)"},{"line_number":157,"context_line":"        res \u003d self.deserialize(res)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_5aaa8a84","line":154,"updated":"2014-08-04 02:43:47.000000000","message":"changes in this module seem unrelated.","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"},{"author":{"_account_id":7505,"name":"Jaume Devesa","email":"devvesa@gmail.com","username":"devesa"},"change_message_id":"b985b8475d7cff9bdec9129a49a5e3d7cd36ba50","unresolved":false,"context_lines":[{"line_number":151,"context_line":"                            self.serialize(data),"},{"line_number":152,"context_line":"                            content_type\u003d\u0027application/%s\u0027 % self.fmt)"},{"line_number":153,"context_line":"        instance.create_firewall_rule.assert_called_with("},{"line_number":154,"context_line":"            mock.ANY, firewall_rule\u003d{\u0027firewall_rule\u0027: expected_call_args})"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"        self.assertEqual(res.status_int, exc.HTTPCreated.code)"},{"line_number":157,"context_line":"        res \u003d self.deserialize(res)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_dca3f298","line":154,"in_reply_to":"baada198_5aaa8a84","updated":"2014-08-11 06:49:34.000000000","message":"They are... thanks!","commit_id":"f644ffe244e685bd78e1ed69c347c558cb677e4a"}]}
