)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"53d37103817966a4312e1058ff83ffd33418b880","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2014-08-07 19:04:34 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding template attribute for Nuage plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"subnet create and router create commands now gives the ability"},{"line_number":10,"context_line":"to the user to create subnets and routers via neutron cli with"},{"line_number":11,"context_line":"additional attributes nuage_subnet_template and nuage_router_template"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_64ed41f0","line":8,"updated":"2014-08-08 07:24:16.000000000","message":"Based on the bug please add following as header instead:\n\n\"Adding template attribute missing for subnet and router create in Nuage plugin\"","commit_id":"7b4c59101bbfde3b469b3208fc78577940c4a470"},{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"6a8cc2e392239c200d9fbb6b8dabde23bf3207f2","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to the user to create subnets and routers via neutron cli with"},{"line_number":11,"context_line":"additional attributes nuage_subnet_template and nuage_router_template"},{"line_number":12,"context_line":"respectively. The instantiated subnet and router inherits the properties"},{"line_number":13,"context_line":"of the template that was mentioned in the additinal parameters."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ib73313e840cb35ede89df858baa536aab883efa2"},{"line_number":16,"context_line":"Closes-Bug: #1353112"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"baada198_e7fbf0bc","line":13,"updated":"2014-08-09 03:08:21.000000000","message":"additional","commit_id":"9060940c87874434d8a65b8e2210b7b069cbbe92"}],"neutron/plugins/nuage/extensions/nuage_router.py":[{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"8139c2087f8830da83e8a588e2fac41141a38bb1","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                \u0027allow_put\u0027: False,"},{"line_number":44,"context_line":"                \u0027is_visible\u0027: True,"},{"line_number":45,"context_line":"                \u0027default\u0027: None,"},{"line_number":46,"context_line":"                \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None}"},{"line_number":47,"context_line":"        },"},{"line_number":48,"context_line":"    },"},{"line_number":49,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_a753526b","line":46,"updated":"2014-08-17 17:13:30.000000000","message":"why uuid, and why not string? Neutron is not managing this uuid, right?","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"679ca2ce456d2501a038f26ddbc8f7f17604ab20","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                \u0027allow_put\u0027: False,"},{"line_number":44,"context_line":"                \u0027is_visible\u0027: True,"},{"line_number":45,"context_line":"                \u0027default\u0027: None,"},{"line_number":46,"context_line":"                \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None}"},{"line_number":47,"context_line":"        },"},{"line_number":48,"context_line":"    },"},{"line_number":49,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_95bbd771","line":46,"in_reply_to":"1abeadc6_a753526b","updated":"2014-08-19 17:35:29.000000000","message":"This is the uuid of the template (subnet or router) created by the user on the VSD. This user is aware of the template ID ( uuid ) which he creates on the VSD.","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"}],"neutron/plugins/nuage/extensions/nuage_subnet.py":[{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"8139c2087f8830da83e8a588e2fac41141a38bb1","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                \u0027allow_put\u0027: False,"},{"line_number":30,"context_line":"                \u0027is_visible\u0027: True,"},{"line_number":31,"context_line":"                \u0027default\u0027: None,"},{"line_number":32,"context_line":"                \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None}"},{"line_number":33,"context_line":"        },"},{"line_number":34,"context_line":"    },"},{"line_number":35,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_c7504e61","line":32,"updated":"2014-08-17 17:13:30.000000000","message":"why uuid, and why not string? Neutron is not managing this uuid, right?","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"679ca2ce456d2501a038f26ddbc8f7f17604ab20","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                \u0027allow_put\u0027: False,"},{"line_number":30,"context_line":"                \u0027is_visible\u0027: True,"},{"line_number":31,"context_line":"                \u0027default\u0027: None,"},{"line_number":32,"context_line":"                \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None}"},{"line_number":33,"context_line":"        },"},{"line_number":34,"context_line":"    },"},{"line_number":35,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_303131ed","line":32,"in_reply_to":"1abeadc6_c7504e61","updated":"2014-08-19 17:35:29.000000000","message":"Same reply as for the nuage_router_template","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"}],"neutron/plugins/nuage/plugin.py":[{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"53d37103817966a4312e1058ff83ffd33418b880","unresolved":false,"context_lines":[{"line_number":607,"context_line":"                \u0027net\u0027: net,"},{"line_number":608,"context_line":"                \u0027netpart_id\u0027: netpart_id,"},{"line_number":609,"context_line":"                \u0027l2dom_tmplt_id\u0027: None"},{"line_number":610,"context_line":"            }"},{"line_number":611,"context_line":"            nuage_subnet \u003d self.nuageclient.create_subnet(neutron_subnet,"},{"line_number":612,"context_line":"                                                          params)"},{"line_number":613,"context_line":"            self.nuageclient.delete_domain_subnet(nuage_subn_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_e40b11d3","line":610,"updated":"2014-08-08 07:24:16.000000000","message":"Cant we assume that if l2dom_tmplt_id key is not present in params dict than it will be None? Why to pass None here?","commit_id":"7b4c59101bbfde3b469b3208fc78577940c4a470"},{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"8139c2087f8830da83e8a588e2fac41141a38bb1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"1abeadc6_e74d4ac6","updated":"2014-08-17 17:13:30.000000000","message":"no changes are required for the router template? where is it being used?","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"679ca2ce456d2501a038f26ddbc8f7f17604ab20","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"1abeadc6_35184384","in_reply_to":"1abeadc6_e74d4ac6","updated":"2014-08-19 17:35:29.000000000","message":"From the method create_router() the all the parameters are passed to the back end for processing. The parameters will include the nudge_router_template uuid parameter if the user provides it in the neutron cli. Hence there is no change in the create_router  method of plugin.py.\nIf the parameter is provided in the neutron cli, the router is created with the properties of the default template.","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"}],"neutron/tests/unit/nuage/test_nuage_plugin.py":[{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"53d37103817966a4312e1058ff83ffd33418b880","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                          (\u0027external_gateway_info\u0027, None)]"},{"line_number":272,"context_line":"        with self.router(name\u003d\u0027router1\u0027, admin_state_up\u003dTrue,"},{"line_number":273,"context_line":"                         tenant_id\u003dtenant_id,"},{"line_number":274,"context_line":"                         uage_router_template\u003duuidutils.generate_uuid()) as r:"},{"line_number":275,"context_line":"            for k, v in expected_value:"},{"line_number":276,"context_line":"                self.assertEqual(r[\u0027router\u0027][k], v)"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_846335aa","line":274,"updated":"2014-08-08 07:24:16.000000000","message":"\"nuage_router_template\" ?","commit_id":"7b4c59101bbfde3b469b3208fc78577940c4a470"},{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"6a8cc2e392239c200d9fbb6b8dabde23bf3207f2","unresolved":false,"context_lines":[{"line_number":234,"context_line":"            self._create_subnet(self.fmt,"},{"line_number":235,"context_line":"                        network[\u0027network\u0027][\u0027id\u0027],"},{"line_number":236,"context_line":"                        \u002710.0.0.0/24\u0027,"},{"line_number":237,"context_line":"                        nuage_subnet_template\u003duuidutils.generate_uuid())"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"class TestNuagePluginPortBinding(NuagePluginV2TestCase,"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_a71c9815","line":237,"updated":"2014-08-09 03:08:21.000000000","message":"why are there no asserts here?","commit_id":"9060940c87874434d8a65b8e2210b7b069cbbe92"},{"author":{"_account_id":490,"name":"Sumit Naiksatam","email":"sumitnaiksatam@gmail.com","username":"snaiksat"},"change_message_id":"6a8cc2e392239c200d9fbb6b8dabde23bf3207f2","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                         tenant_id\u003dtenant_id,"},{"line_number":272,"context_line":"                         nuage_router_template\u003duuidutils.generate_uuid()) as r:"},{"line_number":273,"context_line":"            for k, v in expected_value:"},{"line_number":274,"context_line":"                self.assertEqual(r[\u0027router\u0027][k], v)"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"class TestNuageExtrarouteTestCase(NuagePluginV2TestCase,"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_e71210fd","line":274,"updated":"2014-08-09 03:08:21.000000000","message":"so the convention is to assert(expected_value, return_value)","commit_id":"9060940c87874434d8a65b8e2210b7b069cbbe92"},{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"ab4cc4cdeeb1efcd280a1ebba91b08ce453c1104","unresolved":false,"context_lines":[{"line_number":299,"context_line":"        router_req \u003d self.new_create_request(\u0027routers\u0027, data, \u0027json\u0027)"},{"line_number":300,"context_line":"        router_res \u003d router_req.get_response(self.ext_api)"},{"line_number":301,"context_line":"        self.assertEqual(exc.HTTPCreated.code, router_res.status_int)"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"class TestNuageExtrarouteTestCase(NuagePluginV2TestCase,"},{"line_number":305,"context_line":"                                  extraroute_test.ExtraRouteDBIntTestCase):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_b12280b7","line":302,"updated":"2014-08-14 21:00:07.000000000","message":"Move this test case under TestNuageL3NatTestCase. \nInherit TestNuageRouterExtTestCase instead of NuagePluginV2TestCase for all router related tests. (TestNuageL3NatTestCase, TestNuageExtrarouteTestCase)","commit_id":"83dbc8f6f9e2c0053c9ca681a69fd44e1f006908"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"49445203ed873baca1878cbef49cc502288c414d","unresolved":false,"context_lines":[{"line_number":288,"context_line":"    def setUp(self):"},{"line_number":289,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":290,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":291,"context_line":"                                            ext_mgr\u003dext_mgr)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"    def test_router_create_with_nuage_rtr_template(self):"},{"line_number":294,"context_line":"        nuage_rtr_template \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":14,"id":"7ac7a964_cc201a4c","line":291,"updated":"2014-08-15 18:30:39.000000000","message":"Is this under-indented, or just Gerrit not displaying correctly?","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"679ca2ce456d2501a038f26ddbc8f7f17604ab20","unresolved":false,"context_lines":[{"line_number":288,"context_line":"    def setUp(self):"},{"line_number":289,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":290,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":291,"context_line":"                                            ext_mgr\u003dext_mgr)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"    def test_router_create_with_nuage_rtr_template(self):"},{"line_number":294,"context_line":"        nuage_rtr_template \u003d uuidutils.generate_uuid()"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_301a116f","line":291,"in_reply_to":"7ac7a964_cc201a4c","updated":"2014-08-19 17:35:29.000000000","message":"indentation seems to be fine..","commit_id":"7b9b9e3033b9ac8c9aa0b31f032a3166cda41204"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"da5452b476b88b487929eeca61dc1e5bf9f5ad76","unresolved":false,"context_lines":[{"line_number":287,"context_line":"class TestNuageRouterExtTestCase(NuagePluginV2TestCase):"},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"    def setUp(self):"},{"line_number":290,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":291,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":292,"context_line":"                                                      ext_mgr\u003dext_mgr)"},{"line_number":293,"context_line":"        self.ext_api \u003d test_extensions.setup_extensions_middleware(ext_mgr)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_84a88221","line":290,"updated":"2014-08-20 22:21:12.000000000","message":"This setup code needs to either mock the l3.RESOURCE_ATTRIBUTE_MAP or clone it and then replace it on cleanup so it doesn\u0027t interfere with normal L3 tests that also depend on l3.RESOURCE_ATTRIBUTE_MAP.","commit_id":"c1df7b2ccdf98fbfc24c3df8b1ee018e91a977bb"},{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"659e7841f8522d7416e41a3691c9ba9ef3d458a5","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":291,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":292,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":293,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_0dec89f2","line":293,"updated":"2014-08-21 07:59:36.000000000","message":"Why not simply deepcopy the whole dictionary?","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"b56058751465b73d31b13c4025a87f2894b649a7","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":291,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":292,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":293,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_04e0db94","line":293,"in_reply_to":"1abeadc6_0dec89f2","updated":"2014-08-21 12:59:39.000000000","message":"Good idea Ronak","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"9bda398143a21cbf973fbd3d341938b05004ea33","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":291,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":292,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":293,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_22c21d34","line":293,"in_reply_to":"1abeadc6_0dec89f2","updated":"2014-08-21 18:00:47.000000000","message":"shallow copy is not good enough in this case, but copy.deepcopy does not seem to work, since it causes test failures.","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"7d8b10e4a6dd1c808626402fc6d9464bfcaa2576","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":291,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":292,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":293,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_d821564e","line":293,"in_reply_to":"1abeadc6_22c21d34","updated":"2014-08-21 18:53:22.000000000","message":"I figured this while referring to existing code in neutron. Please see comments in neutron/tests/unit/test_db_plugin.py.","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":7962,"name":"Ronak Shah","email":"ronak.malav.shah@gmail.com","username":"ronak"},"change_message_id":"659e7841f8522d7416e41a3691c9ba9ef3d458a5","unresolved":false,"context_lines":[{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"},{"line_number":297,"context_line":"        self.ext_api \u003d test_extensions.setup_extensions_middleware(ext_mgr)"},{"line_number":298,"context_line":"        self.addCleanup(self.restore_l3_attribute_map)"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def restore_l3_attribute_map(self):"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_2dbce5db","line":297,"updated":"2014-08-21 07:59:36.000000000","message":"What is the use of this?","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"9bda398143a21cbf973fbd3d341938b05004ea33","unresolved":false,"context_lines":[{"line_number":294,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":295,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":296,"context_line":"                                                      ext_mgr\u003dext_mgr)"},{"line_number":297,"context_line":"        self.ext_api \u003d test_extensions.setup_extensions_middleware(ext_mgr)"},{"line_number":298,"context_line":"        self.addCleanup(self.restore_l3_attribute_map)"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def restore_l3_attribute_map(self):"}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_e27d851d","line":297,"in_reply_to":"1abeadc6_2dbce5db","updated":"2014-08-21 18:00:47.000000000","message":"Used for router_req.get_response()","commit_id":"f1fb6e41ccf76b527c14c3582fb9b9e92c928f11"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"814ad35f17f830cee578d40c5e3200fbc665004c","unresolved":false,"context_lines":[{"line_number":291,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":292,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":293,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":294,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":295,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":296,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":297,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_2bc7ff65","line":294,"updated":"2014-08-25 12:15:42.000000000","message":"Following up on comments from patch set 18, IMHO there should be a note stating why copy() is being used over deepcopy(). Ideally, we should investigate why failures occur using deepcopy(), in case there is a actual problem with the code being masked by copy().","commit_id":"489c0990998d43670146db586d61ddfd7a79abdc"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"65d995f93937135ebea279c3ec73f7e6e49ce535","unresolved":false,"context_lines":[{"line_number":291,"context_line":"        self._l3_attribute_map_bk \u003d {}"},{"line_number":292,"context_line":"        for item in l3.RESOURCE_ATTRIBUTE_MAP:"},{"line_number":293,"context_line":"            self._l3_attribute_map_bk[item] \u003d ("},{"line_number":294,"context_line":"                l3.RESOURCE_ATTRIBUTE_MAP[item].copy())"},{"line_number":295,"context_line":"        ext_mgr \u003d NuageRouterTestExtensionManager()"},{"line_number":296,"context_line":"        super(TestNuageRouterExtTestCase, self).setUp(plugin\u003d_plugin_name,"},{"line_number":297,"context_line":"                                                      ext_mgr\u003dext_mgr)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_57c0507c","line":294,"in_reply_to":"1abeadc6_2bc7ff65","updated":"2014-08-25 17:44:37.000000000","message":"I will code with copy.deepcopy() and run the required tests to make sure the code behaves as expected. If it does, I will commit a new patch with \ndeepcopy() instead. Thanks.","commit_id":"489c0990998d43670146db586d61ddfd7a79abdc"}]}
