)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"785e766b6f919494e6ec5bcd6b31c122680e971c","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Manjeet Singh Bhatia \u003cmanjeet.s.bhatia@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-06-07 22:25:45 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"WIP QoS driver for ODL"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch set is intended to track work for writing QoS driver"},{"line_number":10,"context_line":"to integrate openstack neutron api for qos with ODL. Its is not"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7aa08908_a3b3ec96","line":7,"range":{"start_line":7,"start_character":19,"end_line":7,"end_character":22},"updated":"2016-06-08 20:11:34.000000000","message":"It will be helpful to add ODL yang model, southbound implementation gerrits here for reference.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7aa08908_5211fb5c","line":14,"updated":"2016-06-09 17:35:38.000000000","message":"Please add implements tag","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b8e0b35be80a191bc28d191aec6a9ec962fdfa8d","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This patch set is intended to track work for writing QoS driver"},{"line_number":10,"context_line":"to integrate openstack neutron api for qos with ODL. Unit test"},{"line_number":11,"context_line":"for logging operation into journal have been added and more"},{"line_number":12,"context_line":"tests will be added in furthur revision or subsequent patches"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Implements: blueprint qos-driver"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3aaa91ec_1272dae5","line":12,"updated":"2016-06-21 22:24:16.000000000","message":"On the patch to be merged, this kind of TODO list should be eliminated.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"QoS driver for ODL"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"QoS v2 driver for ODL"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Implements: blueprint qos-driver"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"1a6eadb0_6c64e8e4","line":9,"range":{"start_line":9,"start_character":4,"end_line":9,"end_character":6},"updated":"2016-12-14 06:54:51.000000000","message":"Please put the keyword, v2, into the subject line.","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"70630e7c954cccfc87aa5a7a2a4bb46c67cd1c51","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"QoS V2 driver for ODL"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"QoS v2 driver for ODL"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Implements: blueprint qos-driver"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":49,"id":"fa31d9ce_d0dcf448","line":9,"updated":"2017-02-09 21:43:23.000000000","message":"Can you please mention that functional test and tempest will come with another follow up patch?","commit_id":"4933269294ba8713f6de2c60c3a2b30b5f571758"}],"networking_odl/common/constants.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7aa08908_928883c8","updated":"2016-06-09 17:35:38.000000000","message":"Before updating this, can you please close other patch?\n\nhttps://review.openstack.org/#/c/318978/","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"ddd00b9f3efd26d99898ad9e902ee6590a77443e","unresolved":false,"context_lines":[{"line_number":19,"context_line":"ODL_SUBNETS \u003d \u0027subnets\u0027"},{"line_number":20,"context_line":"ODL_PORT \u003d \u0027port\u0027"},{"line_number":21,"context_line":"ODL_PORTS \u003d \u0027ports\u0027"},{"line_number":22,"context_line":"ODL_QOS_POLICY \u003d \u0027policy\u0027"},{"line_number":23,"context_line":"ODL_QOS_POLICIES \u003d \u0027policies\u0027"},{"line_number":24,"context_line":"ODL_SG \u003d \u0027security_group\u0027"},{"line_number":25,"context_line":"ODL_SGS \u003d \u0027security_groups\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_030be0d6","line":22,"updated":"2016-06-08 20:07:48.000000000","message":"you will likely do a bulk update, so would you be using policy or policies?","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b8baec9f3739dbad1485d7e82d12f6822e4e923c","unresolved":false,"context_lines":[{"line_number":19,"context_line":"ODL_SUBNETS \u003d \u0027subnets\u0027"},{"line_number":20,"context_line":"ODL_PORT \u003d \u0027port\u0027"},{"line_number":21,"context_line":"ODL_PORTS \u003d \u0027ports\u0027"},{"line_number":22,"context_line":"ODL_QOS_POLICY \u003d \u0027policy\u0027"},{"line_number":23,"context_line":"ODL_QOS_POLICIES \u003d \u0027policies\u0027"},{"line_number":24,"context_line":"ODL_SG \u003d \u0027security_group\u0027"},{"line_number":25,"context_line":"ODL_SGS \u003d \u0027security_groups\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_c9e1f92b","line":22,"in_reply_to":"7aa08908_030be0d6","updated":"2016-06-08 20:41:27.000000000","message":"this is naming is consistent to resources in neutron I guess so thats the reason i used policy here","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"ddd00b9f3efd26d99898ad9e902ee6590a77443e","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ODL_PORT \u003d \u0027port\u0027"},{"line_number":21,"context_line":"ODL_PORTS \u003d \u0027ports\u0027"},{"line_number":22,"context_line":"ODL_QOS_POLICY \u003d \u0027policy\u0027"},{"line_number":23,"context_line":"ODL_QOS_POLICIES \u003d \u0027policies\u0027"},{"line_number":24,"context_line":"ODL_SG \u003d \u0027security_group\u0027"},{"line_number":25,"context_line":"ODL_SGS \u003d \u0027security_groups\u0027"},{"line_number":26,"context_line":"ODL_SG_RULE \u003d \u0027security_group_rule\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_8394f08a","line":23,"updated":"2016-06-08 20:07:48.000000000","message":"Better name would be qos_policies\n\nODL Yang model should define policy CREATE/UPDATE/DELETE\n\n/restconf/config/neutron:neutron/policies - something like\n\n{\n    \"qos_policies\": {\n        \"qos_policy\" : [\n            {\n                        \"policy_id\" : \"id\"\n                        \"policy_name\" : \"name\",\n                        \"description\" : \"description\"\n                        \"bw_limit_rule\" : [{\"rule_id\":\"id\", \"max_kbps\":\"20480\", \"max_burst_kbps\":\"40960\"}, ...]\n            },...]\n     }\n}\n\nalso, policy bindings to ports and networks should be updated in the yang models.\n\n/restconf/config/neutron:neutron/ports,networks or the binding should be part of the qos_policies yang model itself, e.g.\n\nextending the json defined above.\n{\n    \"qos_policies\": {\n        \"qos_policy\" : [\n             {\n                        \"policy_id\" : \"id\"\n                        ... same as above\n                        \"port_bindings\": [\"port_id1\", \"port_id2\"],\n                        \"network_bindings\": [\"network_id1\", \"network_id2\"]\n}","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ODL_PORT \u003d \u0027port\u0027"},{"line_number":21,"context_line":"ODL_PORTS \u003d \u0027ports\u0027"},{"line_number":22,"context_line":"ODL_QOS_POLICY \u003d \u0027policy\u0027"},{"line_number":23,"context_line":"ODL_QOS_POLICIES \u003d \u0027policies\u0027"},{"line_number":24,"context_line":"ODL_SG \u003d \u0027security_group\u0027"},{"line_number":25,"context_line":"ODL_SGS \u003d \u0027security_groups\u0027"},{"line_number":26,"context_line":"ODL_SG_RULE \u003d \u0027security_group_rule\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_925d234b","line":23,"in_reply_to":"7aa08908_093dc18e","updated":"2016-06-09 17:35:38.000000000","message":"Basic princible is to resemble neutron API.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b8baec9f3739dbad1485d7e82d12f6822e4e923c","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ODL_PORT \u003d \u0027port\u0027"},{"line_number":21,"context_line":"ODL_PORTS \u003d \u0027ports\u0027"},{"line_number":22,"context_line":"ODL_QOS_POLICY \u003d \u0027policy\u0027"},{"line_number":23,"context_line":"ODL_QOS_POLICIES \u003d \u0027policies\u0027"},{"line_number":24,"context_line":"ODL_SG \u003d \u0027security_group\u0027"},{"line_number":25,"context_line":"ODL_SGS \u003d \u0027security_groups\u0027"},{"line_number":26,"context_line":"ODL_SG_RULE \u003d \u0027security_group_rule\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_093dc18e","line":23,"in_reply_to":"7aa08908_8394f08a","updated":"2016-06-08 20:41:27.000000000","message":"it can be changed later on. Ill leave upto odl community how they define all the resource whether they all are consistent to openstack neutron\u0027s resource or not.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"33c1ac7b7da1dd3cb0fc164ab643fb2de8af7a8a","unresolved":false,"context_lines":[{"line_number":70,"context_line":"COMPLETED \u003d \u0027completed\u0027"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"# dict to store url prefixes"},{"line_number":73,"context_line":"PREFIXES \u003d {\u0027policy\u0027: \u0027qos\u0027}"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_fa25585c","line":73,"range":{"start_line":73,"start_character":12,"end_line":73,"end_character":20},"updated":"2016-12-21 23:30:53.000000000","message":"ODL_QOS_POLICY","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d65732877b66eff18aef3ea4ef435670bb656a6d","unresolved":false,"context_lines":[{"line_number":70,"context_line":"COMPLETED \u003d \u0027completed\u0027"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"# dict to store url prefixes"},{"line_number":73,"context_line":"PREFIXES \u003d {\u0027policy\u0027: \u0027qos\u0027}"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_ba303009","line":73,"range":{"start_line":73,"start_character":12,"end_line":73,"end_character":20},"in_reply_to":"da4df55a_fa25585c","updated":"2016-12-21 23:41:45.000000000","message":"Done","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"}],"networking_odl/common/utils.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        error.reraise_cause()"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"def _make_plural(object_type):"},{"line_number":64,"context_line":"    if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":65,"context_line":"        return neutronify(object_type[:-1] + \u0027ies\u0027)"},{"line_number":66,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_bb0fdc2c","line":63,"range":{"start_line":63,"start_character":4,"end_line":63,"end_character":5},"updated":"2017-02-07 01:03:22.000000000","message":"_ means private method. But this method is called by other modules.","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        return neutronify(object_type + \u0027s\u0027)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"def neutronify(name):"},{"line_number":71,"context_line":"    \"\"\"Adjust the resource name for use with Neutron\u0027s API\"\"\""},{"line_number":72,"context_line":"    return name.replace(\u0027_\u0027, \u0027-\u0027)"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_fb19647a","line":70,"range":{"start_line":70,"start_character":4,"end_line":70,"end_character":14},"updated":"2017-02-07 01:03:22.000000000","message":"Now this method isn\u0027t called by other modules. Let\u0027s make this private.","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        error.reraise_cause()"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"def _make_plural(object_type):"},{"line_number":64,"context_line":"    if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":65,"context_line":"        return neutronify(object_type[:-1] + \u0027ies\u0027)"},{"line_number":66,"context_line":"    else:"},{"line_number":67,"context_line":"        return neutronify(object_type + \u0027s\u0027)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"def neutronify(name):"},{"line_number":71,"context_line":"    \"\"\"Adjust the resource name for use with Neutron\u0027s API\"\"\""},{"line_number":72,"context_line":"    return name.replace(\u0027_\u0027, \u0027-\u0027)"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_1b2710b7","line":72,"range":{"start_line":63,"start_character":0,"end_line":72,"end_character":33},"updated":"2017-02-07 01:03:22.000000000","message":"Can we consolidate these two methods into single one?","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"0b2c6cecb3fac473f61d181cd48a9ff2ef9a6d2e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        error.reraise_cause()"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"def _make_plural(object_type):"},{"line_number":64,"context_line":"    if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":65,"context_line":"        return neutronify(object_type[:-1] + \u0027ies\u0027)"},{"line_number":66,"context_line":"    else:"},{"line_number":67,"context_line":"        return neutronify(object_type + \u0027s\u0027)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"def neutronify(name):"},{"line_number":71,"context_line":"    \"\"\"Adjust the resource name for use with Neutron\u0027s API\"\"\""},{"line_number":72,"context_line":"    return name.replace(\u0027_\u0027, \u0027-\u0027)"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_ae6773b5","line":72,"range":{"start_line":63,"start_character":0,"end_line":72,"end_character":33},"in_reply_to":"1a430d35_1b2710b7","updated":"2017-02-07 19:56:37.000000000","message":"i\u0027ll keep it for now to avoid the breakages will leave a note to do it in separate patch. because it should make sure no breakage happens.","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"}],"networking_odl/journal/dependency_validations.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"cf28bbd155dd033fe845716416ff38a4bca797b3","unresolved":false,"context_lines":[{"line_number":253,"context_line":"    odl_const.ODL_FLOATINGIP: validate_floatingip_operation,"},{"line_number":254,"context_line":"    odl_const.ODL_SG: validate_security_group_operation,"},{"line_number":255,"context_line":"    odl_const.ODL_SG_RULE: validate_security_group_rule_operation,"},{"line_number":256,"context_line":"    odl_const.ODL_QOS_POLICY: validate_quality_of_service_operation,"},{"line_number":257,"context_line":"}"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"dada55a8_273184ed","line":256,"updated":"2016-07-23 02:38:14.000000000","message":"please use register_validator.","commit_id":"5a58fea056dc437905e90ba22486e77120579419"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"51432144c8a108de88240e86a2ef4ae6e70c212d","unresolved":false,"context_lines":[{"line_number":253,"context_line":"    odl_const.ODL_FLOATINGIP: validate_floatingip_operation,"},{"line_number":254,"context_line":"    odl_const.ODL_SG: validate_security_group_operation,"},{"line_number":255,"context_line":"    odl_const.ODL_SG_RULE: validate_security_group_rule_operation,"},{"line_number":256,"context_line":"    odl_const.ODL_QOS_POLICY: validate_quality_of_service_operation,"},{"line_number":257,"context_line":"}"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"bacf61ea_d9685bbd","line":256,"in_reply_to":"dada55a8_273184ed","updated":"2016-07-28 06:41:23.000000000","message":"Done","commit_id":"5a58fea056dc437905e90ba22486e77120579419"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":221,"context_line":"def validate_quality_of_service_operation(session, row):"},{"line_number":222,"context_line":"    \"\"\"Validate QoS operations based on dependencies.\"\"\""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"    # TODO(manjeets) figure out dependencies and add validations"},{"line_number":225,"context_line":"    # and return true or false  accordingly."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"    return True"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a95cdbc_5f919998","line":224,"range":{"start_line":224,"start_character":6,"end_line":224,"end_character":20},"updated":"2016-10-06 02:51:43.000000000","message":"Please implement this.","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":194,"context_line":"    return True"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"def validate_quality_of_service_operation(session, row):"},{"line_number":198,"context_line":"    \"\"\"Validate QoS operations based on dependencies.\"\"\""},{"line_number":199,"context_line":"    if row.operation \u003d\u003d odl_const.ODL_UPDATE:"},{"line_number":200,"context_line":"        # Check for pending or processing policy operations"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_d4c7da93","line":197,"range":{"start_line":197,"start_character":4,"end_line":197,"end_character":56},"updated":"2016-12-15 23:57:18.000000000","message":"Please address the comment on the before patchset.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            return False"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    return True"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"def validate_security_group_operation(session, row):"},{"line_number":219,"context_line":"    \"\"\"Validate security_group operation based on dependencies."}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_f4c21684","line":216,"updated":"2016-12-15 23:57:18.000000000","message":"This isn\u0027t enough.\nThere is a dependency between networks and ports.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            return False"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    return True"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"def validate_security_group_operation(session, row):"},{"line_number":219,"context_line":"    \"\"\"Validate security_group operation based on dependencies."}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_3f2aa790","line":216,"in_reply_to":"1a6eadb0_f4c21684","updated":"2016-12-16 00:57:42.000000000","message":"adding a todo for now, as the process of figuring out dependency b/w ports and qospolicy is bit convoluted. we\ncan do that separately for simplicity","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"dd027a3f60a0f813353c2ed9e81ed53fcf4f9092","unresolved":false,"context_lines":[{"line_number":194,"context_line":"    return True"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"def validate_quality_of_service_operation(session, row):"},{"line_number":198,"context_line":"    \"\"\"Validate QoS operations based on dependencies.\"\"\""},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    # TODO(manjeets) Add more dependencies for network and"}],"source_content_type":"text/x-python","patch_set":38,"id":"da4df55a_7d3bbe9c","line":197,"updated":"2016-12-24 17:34:58.000000000","message":"See comments on the previous patch.\nThere are dependencyies between ports and networks.","commit_id":"6434b4222030fc89b35ccf25785ac70e63d4d294"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b3cbd52e39d41feba3082aa75728d3c50cddbf0a","unresolved":false,"context_lines":[{"line_number":194,"context_line":"    return True"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"def validate_quality_of_service_operation(session, row):"},{"line_number":198,"context_line":"    \"\"\"Validate QoS operations based on dependencies.\"\"\""},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    # TODO(manjeets) Add more dependencies for network and"}],"source_content_type":"text/x-python","patch_set":38,"id":"da4df55a_f3919e9a","line":197,"in_reply_to":"da4df55a_7d3bbe9c","updated":"2016-12-25 06:06:40.000000000","message":"i think it was discussed and if you see the comments below I\u0027ve stated that in todo. to be figured out and done, can you explain a case ? port create, network create and policy create should be independent always, only update of policies when associated ports and network are going to be affected there should be dependency, but before that there should be a way. only way i see at the moment is check all rows in pending state from journal those have resource type equal to port or network and operation is create or update and there is a policy id in row data that matches policy we are updating, then return false ?\n\nis that sound okay ? i can add it quickly.","commit_id":"6434b4222030fc89b35ccf25785ac70e63d4d294"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ea58e981a2ba544c92801b2333a0ee8d5b6a7059","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    gateway_id \u003d row.data.get(\u0027gateway_id\u0027)"},{"line_number":127,"context_line":"    if gateway_id is not None:"},{"line_number":128,"context_line":"        object_ids.append(gateway_id)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"def _generate_qos_deps(row):"},{"line_number":132,"context_line":"    session \u003d db_api.get_session()"}],"source_content_type":"text/x-python","patch_set":54,"id":"fa31d9ce_c4e90fe8","line":129,"updated":"2017-02-14 00:55:50.000000000","message":"return object_ids is missing.","commit_id":"04af6ee10a3026ef04114549c6e36c4e6c83b90c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4b70dd9b4e6510bc4c45911d73db68f931faf8a9","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    return object_ids"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def _generate_qos_deps(row):"},{"line_number":134,"context_line":"    session \u003d db_api.get_session()"},{"line_number":135,"context_line":"    resources \u003d [odl_const.ODL_PORT, odl_const.ODL_NETWORK]"},{"line_number":136,"context_line":"    object_ids \u003d []"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_f0dc0d75","line":133,"updated":"2017-02-14 03:20:31.000000000","message":"isn\u0027t this the other way around?\nie. networks and ports might reference the qos policy, thus referential integrity should be checked by _generate_port_deps etc, not vice versa.","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"87de5b96fcaeaf30d1639245da43d58d29fc761c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    return object_ids"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def _generate_qos_deps(row):"},{"line_number":134,"context_line":"    session \u003d db_api.get_session()"},{"line_number":135,"context_line":"    resources \u003d [odl_const.ODL_PORT, odl_const.ODL_NETWORK]"},{"line_number":136,"context_line":"    object_ids \u003d []"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_0b4df2c3","line":133,"in_reply_to":"fa31d9ce_f0dc0d75","updated":"2017-02-14 04:08:43.000000000","message":"Yes, you\u0027re right.\nManjeet, can you please add TODO comment as the former patches?","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7ac01ca75f2c24833431cb14d675fc2947855503","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    qos_policy_id \u003d row.data.get(\u0027qos_policy_id\u0027)"},{"line_number":90,"context_line":"    if qos_policy_id is not None:"},{"line_number":91,"context_line":"        object_ids.append(qos_policy_id)"},{"line_number":92,"context_line":"    return object_ids"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"def _generate_router_deps(row):"}],"source_content_type":"text/x-python","patch_set":58,"id":"fa31d9ce_5addc8de","line":92,"updated":"2017-02-14 23:26:40.000000000","message":"i guess you need \"_generate_network_deps\" as well.","commit_id":"78d186ca0822ab0ab4d84a2d9bf610b63fec728c"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d9f925a7ad6cc68d12ddb731b33a10e23e111817","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    qos_policy_id \u003d row.data.get(\u0027qos_policy_id\u0027)"},{"line_number":90,"context_line":"    if qos_policy_id is not None:"},{"line_number":91,"context_line":"        object_ids.append(qos_policy_id)"},{"line_number":92,"context_line":"    return object_ids"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"def _generate_router_deps(row):"}],"source_content_type":"text/x-python","patch_set":58,"id":"fa31d9ce_b546d54c","line":92,"in_reply_to":"fa31d9ce_5addc8de","updated":"2017-02-14 23:35:56.000000000","message":"Done","commit_id":"78d186ca0822ab0ab4d84a2d9bf610b63fec728c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"34775e26c5ab26a0b86a61c7f06f4f575877b65a","unresolved":false,"context_lines":[{"line_number":178,"context_line":"    return object_ids"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"_CREATE_OR_UPDATE_DEP_GENERATOR \u003d {"},{"line_number":182,"context_line":"    odl_const.ODL_SUBNET: _generate_subnet_deps,"},{"line_number":183,"context_line":"    odl_const.ODL_PORT: _generate_port_deps,"},{"line_number":184,"context_line":"    odl_const.ODL_ROUTER: _generate_router_deps,"}],"source_content_type":"text/x-python","patch_set":59,"id":"fa31d9ce_10db2f50","line":181,"updated":"2017-02-15 00:37:51.000000000","message":"i prefer to have network here as it\u0027s a core resource.","commit_id":"98931ecdd29fc9f107a2c6740d721ae49b166d3e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"983631520e56194297ad016e7d7dfd35cca13380","unresolved":false,"context_lines":[{"line_number":178,"context_line":"    return object_ids"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"_CREATE_OR_UPDATE_DEP_GENERATOR \u003d {"},{"line_number":182,"context_line":"    odl_const.ODL_SUBNET: _generate_subnet_deps,"},{"line_number":183,"context_line":"    odl_const.ODL_PORT: _generate_port_deps,"},{"line_number":184,"context_line":"    odl_const.ODL_ROUTER: _generate_router_deps,"}],"source_content_type":"text/x-python","patch_set":59,"id":"fa31d9ce_2b58c155","line":181,"in_reply_to":"fa31d9ce_10db2f50","updated":"2017-02-15 03:41:00.000000000","message":"Done","commit_id":"98931ecdd29fc9f107a2c6740d721ae49b166d3e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"34775e26c5ab26a0b86a61c7f06f4f575877b65a","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    odl_const.ODL_SFC_FLOW_CLASSIFIER: (odl_const.ODL_SFC_PORT_CHAIN,),"},{"line_number":207,"context_line":"    odl_const.ODL_SFC_PORT_PAIR: (odl_const.ODL_SFC_PORT_PAIR_GROUP,),"},{"line_number":208,"context_line":"    odl_const.ODL_SFC_PORT_PAIR_GROUP: (odl_const.ODL_SFC_PORT_CHAIN,),"},{"line_number":209,"context_line":"    odl_const.ODL_L2GATEWAY: (odl_const.ODL_L2GATEWAY_CONNECTION),"},{"line_number":210,"context_line":"    odl_const.ODL_QOS_POLICY: (odl_const.ODL_PORT, odl_const.ODL_NETWORK),"},{"line_number":211,"context_line":"}"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":59,"id":"fa31d9ce_b0d6e3ee","line":209,"range":{"start_line":209,"start_character":0,"end_line":209,"end_character":66},"updated":"2017-02-15 00:37:51.000000000","message":"rebase botch?","commit_id":"98931ecdd29fc9f107a2c6740d721ae49b166d3e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"983631520e56194297ad016e7d7dfd35cca13380","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    odl_const.ODL_SFC_FLOW_CLASSIFIER: (odl_const.ODL_SFC_PORT_CHAIN,),"},{"line_number":207,"context_line":"    odl_const.ODL_SFC_PORT_PAIR: (odl_const.ODL_SFC_PORT_PAIR_GROUP,),"},{"line_number":208,"context_line":"    odl_const.ODL_SFC_PORT_PAIR_GROUP: (odl_const.ODL_SFC_PORT_CHAIN,),"},{"line_number":209,"context_line":"    odl_const.ODL_L2GATEWAY: (odl_const.ODL_L2GATEWAY_CONNECTION),"},{"line_number":210,"context_line":"    odl_const.ODL_QOS_POLICY: (odl_const.ODL_PORT, odl_const.ODL_NETWORK),"},{"line_number":211,"context_line":"}"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":59,"id":"fa31d9ce_8b37edfd","line":209,"range":{"start_line":209,"start_character":0,"end_line":209,"end_character":66},"in_reply_to":"fa31d9ce_b0d6e3ee","updated":"2017-02-15 03:41:00.000000000","message":"thanks to gerrit and you,of course didn\u0027t notice that.","commit_id":"98931ecdd29fc9f107a2c6740d721ae49b166d3e"}],"networking_odl/journal/journal.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":131,"context_line":"            method \u003d \u0027post\u0027"},{"line_number":132,"context_line":"            urlpath \u003d url_object"},{"line_number":133,"context_line":"            to_send \u003d data"},{"line_number":134,"context_line":"        elif row.operation \u003d\u003d odl_const.ODL_UPDATE:"},{"line_number":135,"context_line":"            method \u003d \u0027put\u0027"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_eca478ba","line":132,"range":{"start_line":132,"start_character":22,"end_line":132,"end_character":32},"updated":"2016-12-14 06:54:51.000000000","message":"Only the difference is to convert singular form into plural form.\nPlease introduce such conversion table and general +\u0027s\u0027 logic as default.","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1dd404471dbf7b5cab6fe7f0e5748841cfd3e080","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":131,"context_line":"            method \u003d \u0027post\u0027"},{"line_number":132,"context_line":"            urlpath \u003d url_object"},{"line_number":133,"context_line":"            to_send \u003d data"},{"line_number":134,"context_line":"        elif row.operation \u003d\u003d odl_const.ODL_UPDATE:"},{"line_number":135,"context_line":"            method \u003d \u0027put\u0027"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_a9f889c4","line":132,"range":{"start_line":132,"start_character":22,"end_line":132,"end_character":32},"in_reply_to":"1a6eadb0_eca478ba","updated":"2016-12-14 19:52:18.000000000","message":"data is other difference _json_data will make dict using {object_type: data} but in qos policy nb is not consistent, it accepts qos/policies/id in request url but data expectation \nis {policy: data} that\u0027s why I\u0027ve added it, I can still look better to try wrapping this in old one","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":133,"context_line":"        url_object \u003d self._make_plural(row.object_type)"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if row.data.get(\u0027url_prefix\u0027, None):"},{"line_number":136,"context_line":"            url_object \u003d row.data[\u0027url_prefix\u0027] + \u0027/\u0027 + url_object"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":139,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_f494d68b","line":136,"range":{"start_line":135,"start_character":0,"end_line":136,"end_character":66},"updated":"2016-12-15 23:57:18.000000000","message":"the correspondence from object_type to path_prefix is static.\nplease introduce helper function like _path_prefix().\n\nNeutron uses path_prefix instead of url_prefix. so please use path_prefix for consistency.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":133,"context_line":"        url_object \u003d self._make_plural(row.object_type)"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if row.data.get(\u0027url_prefix\u0027, None):"},{"line_number":136,"context_line":"            url_object \u003d row.data[\u0027url_prefix\u0027] + \u0027/\u0027 + url_object"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":139,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_bfb87776","line":136,"range":{"start_line":135,"start_character":0,"end_line":136,"end_character":66},"in_reply_to":"1a6eadb0_f494d68b","updated":"2016-12-16 00:57:42.000000000","message":"If we do that way we need to maintain a dictionary in constants, for object_type to prefix mapping. for which, I would have to revisit all the resources\nrequests formats, because some request don\u0027t have prefixes, is there any documentation that explain all the resources which are functional with odl and what those request looks like, then adding such dictionary for static mapping would be little easy and less error prone. this method Has its own cause any other driver just need to add url_prefix in their data and it can be popped here before sending data to odl","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"bc0b1c5c0776ae0c15d384594ceb8aeccff3119c","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def _make_plural(self, object_type):"},{"line_number":125,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":126,"context_line":"            return (object_type[:-1] + \u0027ies\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":127,"context_line":"        else:"},{"line_number":128,"context_line":"            return (object_type + \u0027s\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":129,"context_line":""}],"source_content_type":"text/x-python","patch_set":34,"id":"1a6eadb0_21255b08","line":126,"range":{"start_line":126,"start_character":46,"end_line":126,"end_character":63},"updated":"2016-12-21 13:57:24.000000000","message":"You should call utils.neutronify instead of doing the replace yourself.\n\nThe reason for this method is to gather this logic in one place instead of copying it all over.","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"426bf2c09e9416f11e4c7c6b1fc72a22518ed685","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def _make_plural(self, object_type):"},{"line_number":125,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":126,"context_line":"            return (object_type[:-1] + \u0027ies\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":127,"context_line":"        else:"},{"line_number":128,"context_line":"            return (object_type + \u0027s\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":129,"context_line":""}],"source_content_type":"text/x-python","patch_set":34,"id":"fa48f94a_b5784a91","line":126,"range":{"start_line":126,"start_character":46,"end_line":126,"end_character":63},"in_reply_to":"1a6eadb0_21255b08","updated":"2016-12-21 17:38:34.000000000","message":"Done","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"bc0b1c5c0776ae0c15d384594ceb8aeccff3119c","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":126,"context_line":"            return (object_type[:-1] + \u0027ies\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":127,"context_line":"        else:"},{"line_number":128,"context_line":"            return (object_type + \u0027s\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def _json_data(self, row):"},{"line_number":131,"context_line":"        data \u003d copy.deepcopy(row.data)"}],"source_content_type":"text/x-python","patch_set":34,"id":"1a6eadb0_611bd3ca","line":128,"range":{"start_line":128,"start_character":39,"end_line":128,"end_character":56},"updated":"2016-12-21 13:57:24.000000000","message":"Same here","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"426bf2c09e9416f11e4c7c6b1fc72a22518ed685","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":126,"context_line":"            return (object_type[:-1] + \u0027ies\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":127,"context_line":"        else:"},{"line_number":128,"context_line":"            return (object_type + \u0027s\u0027).replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def _json_data(self, row):"},{"line_number":131,"context_line":"        data \u003d copy.deepcopy(row.data)"}],"source_content_type":"text/x-python","patch_set":34,"id":"fa48f94a_d56dcecd","line":128,"range":{"start_line":128,"start_character":39,"end_line":128,"end_character":56},"in_reply_to":"1a6eadb0_611bd3ca","updated":"2016-12-21 17:38:34.000000000","message":"Done","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                                      self.set_sync_event)"},{"line_number":123,"context_line":"        self._timer.start()"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    def _make_plural(self, object_type):"},{"line_number":126,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":127,"context_line":"            return utils.neutronify(object_type[:-1] + \u0027ies\u0027)"},{"line_number":128,"context_line":"        else:"},{"line_number":129,"context_line":"            return utils.neutronify(object_type + \u0027s\u0027)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    def _json_data(self, row):"},{"line_number":132,"context_line":"        data \u003d copy.deepcopy(row.data)"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_f8024a0a","line":129,"range":{"start_line":125,"start_character":0,"end_line":129,"end_character":54},"updated":"2017-02-07 01:03:22.000000000","message":"This is duplicated with the one in utils.py","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"0b2c6cecb3fac473f61d181cd48a9ff2ef9a6d2e","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                                      self.set_sync_event)"},{"line_number":123,"context_line":"        self._timer.start()"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    def _make_plural(self, object_type):"},{"line_number":126,"context_line":"        if object_type[-1:] \u003d\u003d \u0027y\u0027:"},{"line_number":127,"context_line":"            return utils.neutronify(object_type[:-1] + \u0027ies\u0027)"},{"line_number":128,"context_line":"        else:"},{"line_number":129,"context_line":"            return utils.neutronify(object_type + \u0027s\u0027)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    def _json_data(self, row):"},{"line_number":132,"context_line":"        data \u003d copy.deepcopy(row.data)"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_ee0b3bd4","line":129,"range":{"start_line":125,"start_character":0,"end_line":129,"end_character":54},"in_reply_to":"1a430d35_f8024a0a","updated":"2017-02-07 19:56:37.000000000","message":"Done","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"70630e7c954cccfc87aa5a7a2a4bb46c67cd1c51","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        url_object \u003d utils.make_plural(row.object_type)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        prefix \u003d odl_const.PREFIXES.get(row.object_type, None)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"        if prefix is not None:"},{"line_number":133,"context_line":"            url_object \u003d prefix + \u0027/\u0027 + url_object"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":136,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":49,"id":"fa31d9ce_10a3ec9f","line":133,"range":{"start_line":128,"start_character":0,"end_line":133,"end_character":50},"updated":"2017-02-09 21:43:23.000000000","message":"There is no point to split this logic.\nWe can have single method to convert object_type -\u003e final url_object.","commit_id":"4933269294ba8713f6de2c60c3a2b30b5f571758"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"93cf022a7db3aa8c89294c9c39fdf353b5e71561","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        prefix \u003d odl_const.PREFIXES.get(row.object_type, None)"},{"line_number":129,"context_line":"        url_object \u003d utils.make_plural(row.object_type, prefix)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":132,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa31d9ce_1f6db732","line":129,"range":{"start_line":128,"start_character":0,"end_line":129,"end_character":63},"updated":"2017-02-10 00:59:20.000000000","message":"please consolidate line 128 into make_plural.\nNow the functionality is more than making plural, please rename make_plural to proper one.","commit_id":"bf6f0e452402f72e11da5418ebbc55edb2500336"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1c93b2f57028e00fab59989b124f666a12edf904","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        prefix \u003d odl_const.PREFIXES.get(row.object_type, None)"},{"line_number":129,"context_line":"        url_object \u003d utils.make_plural(row.object_type, prefix)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":132,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa31d9ce_51c1e37f","line":129,"range":{"start_line":128,"start_character":0,"end_line":129,"end_character":63},"in_reply_to":"fa31d9ce_1f6db732","updated":"2017-02-10 01:13:50.000000000","message":"I actually did that on purpose it was easy to do here and we can easily control the changes related to prefixes if any occurs later. and since odl_const is already imported here it is easy to here.\n\nBut I feel naming should not be make_plural now, will fix it in next patch","commit_id":"bf6f0e452402f72e11da5418ebbc55edb2500336"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d951a50cadce71b20c4c7500520ae2b1e1a30223","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        prefix \u003d odl_const.PREFIXES.get(row.object_type, None)"},{"line_number":129,"context_line":"        url_object \u003d utils.make_plural(row.object_type, prefix)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":132,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa31d9ce_c36e7795","line":129,"range":{"start_line":128,"start_character":0,"end_line":129,"end_character":63},"in_reply_to":"fa31d9ce_3cf34275","updated":"2017-02-13 16:47:14.000000000","message":"Done","commit_id":"bf6f0e452402f72e11da5418ebbc55edb2500336"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"4c95fd88349924a5029fdc8e31ea673686bee709","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        prefix \u003d odl_const.PREFIXES.get(row.object_type, None)"},{"line_number":129,"context_line":"        url_object \u003d utils.make_plural(row.object_type, prefix)"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":132,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa31d9ce_3cf34275","line":129,"range":{"start_line":128,"start_character":0,"end_line":129,"end_character":63},"in_reply_to":"fa31d9ce_51c1e37f","updated":"2017-02-10 17:12:43.000000000","message":"I don\u0027t see the advantage. The conversion logic isn\u0027t specific to this module, journal, but common to other places.","commit_id":"bf6f0e452402f72e11da5418ebbc55edb2500336"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4b70dd9b4e6510bc4c45911d73db68f931faf8a9","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        url_object \u003d utils.make_url_object(row.object_type)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":131,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_90a91193","line":128,"range":{"start_line":128,"start_character":27,"end_line":128,"end_character":42},"updated":"2017-02-14 03:20:31.000000000","message":"i guess make_url_object stuff should be a separate patch.","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"2b99b755c7b6da83c0c09ad3db9564d7c19e1075","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def _json_data(self, row):"},{"line_number":126,"context_line":"        data \u003d copy.deepcopy(row.data)"},{"line_number":127,"context_line":"        filters.filter_for_odl(row.object_type, row.operation, data)"},{"line_number":128,"context_line":"        url_object \u003d utils.make_url_object(row.object_type)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        if row.operation \u003d\u003d odl_const.ODL_CREATE:"},{"line_number":131,"context_line":"            method \u003d \u0027post\u0027"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_27a569a1","line":128,"range":{"start_line":128,"start_character":27,"end_line":128,"end_character":42},"in_reply_to":"fa31d9ce_90a91193","updated":"2017-02-14 16:56:42.000000000","message":"ideally yes but i feel it is too late now to do this, atm the both are supported, i\u0027ll completely remove neutronify in a separate patch","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"}],"networking_odl/qos/qos_driver.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"75e2d536e96e9d85f25c14c69529250328613e0b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_d699d820","line":1,"updated":"2016-06-17 21:43:46.000000000","message":"the head of three lines of lisence(year copyright holder naem, all rights reverved and blank line) are missing.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3f02b7d412f2d4f3a175c8d7d20ff7e5493f4390","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b1fff6a9","line":1,"in_reply_to":"7aa08908_d699d820","updated":"2016-06-17 21:58:25.000000000","message":"fix in next revision","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"6d4cac53473bc9ba55f96f45f561a32a44ad956c","unresolved":false,"context_lines":[{"line_number":9,"context_line":"#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":10,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"from networking_odl.common import constants as odl_const"},{"line_number":15,"context_line":"from networking_odl.journal import cleanup"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a9d85d2_4dd81a54","line":12,"updated":"2016-06-21 00:56:25.000000000","message":"should this file be named qos_driver_v2.py and use qos_driver.py for v1 driver?","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"75e2d536e96e9d85f25c14c69529250328613e0b","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        # which will be used here and are already used in"},{"line_number":38,"context_line":"        # mech_driver_v2 to a common utility file so that drivers"},{"line_number":39,"context_line":"        # in future can use it"},{"line_number":40,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":41,"context_line":"        self._start_maintenance_thread()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def _start_maintenance_thread(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_f6621415","line":40,"updated":"2016-06-17 21:43:46.000000000","message":"For journaling, dependency validator code is necessary.\nsee dependency_validations.py","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3f02b7d412f2d4f3a175c8d7d20ff7e5493f4390","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        # which will be used here and are already used in"},{"line_number":38,"context_line":"        # mech_driver_v2 to a common utility file so that drivers"},{"line_number":39,"context_line":"        # in future can use it"},{"line_number":40,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":41,"context_line":"        self._start_maintenance_thread()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def _start_maintenance_thread(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_3122e654","line":40,"in_reply_to":"7aa08908_f6621415","updated":"2016-06-17 21:58:25.000000000","message":"thank you !! I will check that.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"6d4cac53473bc9ba55f96f45f561a32a44ad956c","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        return \"QoS notification driver\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":63,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":64,"context_line":"        journal.record(context.session, odl_const.ODL_QOS_POLICY,"},{"line_number":65,"context_line":"                       data[\u0027id\u0027], odl_const.ODL_CREATE, data)"},{"line_number":66,"context_line":"        self.journal.set_sync_event()"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a9d85d2_4d313aa2","line":63,"range":{"start_line":63,"start_character":8,"end_line":63,"end_character":12},"updated":"2016-06-21 00:56:25.000000000","message":"LOG.debug(\"Create QoS Policy JSON: %s\", str(data)) would be a good idea.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b8e0b35be80a191bc28d191aec6a9ec962fdfa8d","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        return \"QoS notification driver\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":63,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":64,"context_line":"        journal.record(context.session, odl_const.ODL_QOS_POLICY,"},{"line_number":65,"context_line":"                       data[\u0027id\u0027], odl_const.ODL_CREATE, data)"},{"line_number":66,"context_line":"        self.journal.set_sync_event()"}],"source_content_type":"text/x-python","patch_set":7,"id":"3aaa91ec_72251ec1","line":63,"range":{"start_line":63,"start_character":8,"end_line":63,"end_character":12},"in_reply_to":"5a9d85d2_4d313aa2","updated":"2016-06-21 22:24:16.000000000","message":"In this case, @log_helpers.log_method_call can be used.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"6d4cac53473bc9ba55f96f45f561a32a44ad956c","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        self.journal.set_sync_event()"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    def update_policy(self, context, qos_policy):"},{"line_number":69,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":70,"context_line":"        journal.record(context.session, odl_const.ODL_QOS_POLICY,"},{"line_number":71,"context_line":"                       data[\u0027id\u0027], odl_const.ODL_UPDATE, data)"},{"line_number":72,"context_line":"        self.journal.set_sync_event()"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a9d85d2_ad26de65","line":69,"range":{"start_line":69,"start_character":8,"end_line":69,"end_character":12},"updated":"2016-06-21 00:56:25.000000000","message":"ditto","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"6d4cac53473bc9ba55f96f45f561a32a44ad956c","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        self.journal.set_sync_event()"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def delete_policy(self, context, qos_policy):"},{"line_number":75,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":76,"context_line":"        journal.record(context.session, odl_const.ODL_QOS_POLICY,"},{"line_number":77,"context_line":"                       data[\u0027id\u0027], odl_const.ODL_DELETE, data)"},{"line_number":78,"context_line":"        self.journal.set_sync_event()"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a9d85d2_8d2b2230","line":75,"range":{"start_line":75,"start_character":8,"end_line":75,"end_character":12},"updated":"2016-06-21 00:56:25.000000000","message":"ditto","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ba8a3036ad97111e4f1a5a33c61af8b832db61c5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":8,"id":"dada55a8_c75191da","line":1,"updated":"2016-07-22 21:01:20.000000000","message":"year and name are missing.","commit_id":"a68219b617186cc1e1644b0169c0b96ea81f5e67"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ba8a3036ad97111e4f1a5a33c61af8b832db61c5","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":54,"context_line":"            cleanup_obj.cleanup_processing_rows)"},{"line_number":55,"context_line":"        self._maintenance_thread.register_operation(full_sync.full_sync)"},{"line_number":56,"context_line":"        self._maintenance_thread.start()"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def get_description(self):"},{"line_number":59,"context_line":"        \"\"\"Returns string description of driver\"\"\""}],"source_content_type":"text/x-python","patch_set":8,"id":"dada55a8_c716b1f0","line":56,"updated":"2016-07-22 21:01:20.000000000","message":"we don\u0027t need to create maintenance thread.\nWe can safely assume v2 ml2 driver already spawned it.","commit_id":"a68219b617186cc1e1644b0169c0b96ea81f5e67"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d5f1f03944702c66a9082ed5afb0733a201b48bf","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":54,"context_line":"            cleanup_obj.cleanup_processing_rows)"},{"line_number":55,"context_line":"        self._maintenance_thread.register_operation(full_sync.full_sync)"},{"line_number":56,"context_line":"        self._maintenance_thread.start()"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def get_description(self):"},{"line_number":59,"context_line":"        \"\"\"Returns string description of driver\"\"\""}],"source_content_type":"text/x-python","patch_set":8,"id":"dada55a8_d8f8504c","line":56,"in_reply_to":"dada55a8_c716b1f0","updated":"2016-07-22 21:51:39.000000000","message":"did you mean remove it entirely from here or just the start of thread at last line of this function ?","commit_id":"a68219b617186cc1e1644b0169c0b96ea81f5e67"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"cf28bbd155dd033fe845716416ff38a4bca797b3","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":39,"context_line":"        self._start_maintenance_thread()"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def _start_maintenance_thread(self):"},{"line_number":42,"context_line":"        # start the maintenance thread and register all the maintenance"},{"line_number":43,"context_line":"        # operations :"},{"line_number":44,"context_line":"        cleanup_obj \u003d cleanup.JournalCleanup()"},{"line_number":45,"context_line":"        self._maintenance_thread \u003d maintenance.MaintenanceThread()"},{"line_number":46,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":47,"context_line":"            cleanup_obj.delete_completed_rows)"},{"line_number":48,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":49,"context_line":"            cleanup_obj.cleanup_processing_rows)"},{"line_number":50,"context_line":"        self._maintenance_thread.register_operation(full_sync.full_sync)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def get_description(self):"},{"line_number":53,"context_line":"        \"\"\"Returns string description of driver\"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"dada55a8_c756a805","line":50,"range":{"start_line":41,"start_character":0,"end_line":50,"end_character":72},"updated":"2016-07-23 02:38:14.000000000","message":"This isn\u0027t necessary.","commit_id":"5a58fea056dc437905e90ba22486e77120579419"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"51432144c8a108de88240e86a2ef4ae6e70c212d","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":39,"context_line":"        self._start_maintenance_thread()"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def _start_maintenance_thread(self):"},{"line_number":42,"context_line":"        # start the maintenance thread and register all the maintenance"},{"line_number":43,"context_line":"        # operations :"},{"line_number":44,"context_line":"        cleanup_obj \u003d cleanup.JournalCleanup()"},{"line_number":45,"context_line":"        self._maintenance_thread \u003d maintenance.MaintenanceThread()"},{"line_number":46,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":47,"context_line":"            cleanup_obj.delete_completed_rows)"},{"line_number":48,"context_line":"        self._maintenance_thread.register_operation("},{"line_number":49,"context_line":"            cleanup_obj.cleanup_processing_rows)"},{"line_number":50,"context_line":"        self._maintenance_thread.register_operation(full_sync.full_sync)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def get_description(self):"},{"line_number":53,"context_line":"        \"\"\"Returns string description of driver\"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"bacf61ea_196313de","line":50,"range":{"start_line":41,"start_character":0,"end_line":50,"end_character":72},"in_reply_to":"dada55a8_c756a805","updated":"2016-07-28 06:41:23.000000000","message":"Done","commit_id":"5a58fea056dc437905e90ba22486e77120579419"}],"networking_odl/qos/qos_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"491de4237c60cbb46361d3f8ed7e7a6695f12f8f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bab6814e_4660b6a5","updated":"2016-05-19 23:38:08.000000000","message":"__init__.py is necessary","commit_id":"6dd1d0b02a103222d4b4262715d88ae18ec11a73"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"491de4237c60cbb46361d3f8ed7e7a6695f12f8f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_c674a669","line":1,"updated":"2016-05-19 23:38:08.000000000","message":"It seems like the line of year, copyright holder missing","commit_id":"6dd1d0b02a103222d4b4262715d88ae18ec11a73"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"491de4237c60cbb46361d3f8ed7e7a6695f12f8f","unresolved":false,"context_lines":[{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class OpenDaylightQosDriver(qos_driver.QoSPluginBase):"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_462ef643","line":26,"updated":"2016-05-19 23:38:08.000000000","message":"No. this is totally wrong direction.\nthe driver for qosplugin needs to be implemented.\nNot, yet another QoS Plugin.","commit_id":"6dd1d0b02a103222d4b4262715d88ae18ec11a73"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7aa08908_b202df09","updated":"2016-06-09 17:35:38.000000000","message":"_v2 isn\u0027t needed because we don\u0027t have qos v1 driver.\nJust drop _v2.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from networking_odl.common import constants as odl_const"},{"line_number":17,"context_line":"from networking_odl.journal import journal"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from oslo_log import log as logging"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_8d122457","line":19,"updated":"2016-06-09 17:35:38.000000000","message":"Please correct import order.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"ddd00b9f3efd26d99898ad9e902ee6590a77443e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class OpenDaylightQosDriver(qos_base.QosServiceNotificationDriverBase):"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_5002d30a","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":27},"updated":"2016-06-08 20:07:48.000000000","message":"More appropriate name would be ODLRestNotificationDriver, file name should be changed appropriately as well to something like odl_rest_notification_driver.py, since we are not writing a new plugin driver rather goal is to abuse the agent notification driver to use REST instead of RPC.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class OpenDaylightQosDriver(qos_base.QosServiceNotificationDriverBase):"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_8d95048a","line":24,"in_reply_to":"7aa08908_09d94157","updated":"2016-06-09 17:35:38.000000000","message":"Hmm, I\u0027d like the consistency with other ODL driver naming.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b8baec9f3739dbad1485d7e82d12f6822e4e923c","unresolved":false,"context_lines":[{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class OpenDaylightQosDriver(qos_base.QosServiceNotificationDriverBase):"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_09d94157","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":27},"in_reply_to":"7aa08908_5002d30a","updated":"2016-06-08 20:41:27.000000000","message":"agreed for classname but for file name qos/qos_notification_driver would be more consistent\n\nodl_rest_notification_driver.py looks way more generic like a common driver for all multiple resources where as it is just for qos","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    def initialize(self):"},{"line_number":33,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":34,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":35,"context_line":"        # TODO(Manjeet) figure out all method required for"},{"line_number":36,"context_line":"        # initialization and call them here. Also move functions"},{"line_number":37,"context_line":"        # which will be used here and are already used in"},{"line_number":38,"context_line":"        # mech_driver_v2 to a common utility file so that drivers"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_2d13300f","line":35,"updated":"2016-06-09 17:35:38.000000000","message":"The comment should be above the line 34.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def get_description(self):"},{"line_number":43,"context_line":"        \"\"\"Returns string description of plugin\"\"\""},{"line_number":44,"context_line":"        return \"QoS Service Plugin for ports and networks\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":47,"context_line":"        data \u003d qos_policy.to_dict()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_cdc70c63","line":44,"updated":"2016-06-09 17:35:38.000000000","message":"The description should include a keyword of opendaylight.\nThis isn\u0027t plugin, but driver.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":21217,"name":"Mohammed Zaheeruddin Malick","email":"mohammedz.malick@gmail.com","username":"mzmalick"},"change_message_id":"ddd00b9f3efd26d99898ad9e902ee6590a77443e","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":47,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":48,"context_line":"        journal.record(context._session, odl_const.ODL_QOS_POLICY,"},{"line_number":49,"context_line":"                       qos_policy.id, odl_const.ODL_CREATE, data)"},{"line_number":50,"context_line":"        self.journal.set_sync_event()"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_43b688f9","line":48,"range":{"start_line":48,"start_character":51,"end_line":48,"end_character":65},"updated":"2016-06-08 20:07:48.000000000","message":"ODL Restconf interface should support create/update/delete for this to work.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b8baec9f3739dbad1485d7e82d12f6822e4e923c","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":47,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":48,"context_line":"        journal.record(context._session, odl_const.ODL_QOS_POLICY,"},{"line_number":49,"context_line":"                       qos_policy.id, odl_const.ODL_CREATE, data)"},{"line_number":50,"context_line":"        self.journal.set_sync_event()"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_69af257d","line":48,"range":{"start_line":48,"start_character":51,"end_line":48,"end_character":65},"in_reply_to":"7aa08908_43b688f9","updated":"2016-06-08 20:41:27.000000000","message":"do you mean it should be consistent to resource name in yang model ?","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"e03761a9613a6148c7e3bda3a81ca0d6bbc7b4d8","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        self.journal.set_sync_event()"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def delete_policy(self, context, qos_policy):"},{"line_number":59,"context_line":"        data \u003d qos_policy.to_dict()"},{"line_number":60,"context_line":"        journal.record(context._session, odl_const.ODL_QOS_POLICY,"},{"line_number":61,"context_line":"                       qos_policy.id, odl_const.ODL_DELETE, data)"},{"line_number":62,"context_line":"        self.journal.set_sync_event()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_8da22499","line":59,"updated":"2016-06-09 17:35:38.000000000","message":"Delete doens\u0027t need data. only uuid for policy.","commit_id":"89b4bcd6b230edcc4c1b980967faf038afac8d13"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    def __init__(self):"},{"line_number":35,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":36,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":37,"context_line":"        if hasattr(dependency_validations,"},{"line_number":38,"context_line":"                   \u0027validate_quality_of_service_operation\u0027):"},{"line_number":39,"context_line":"            dependency_validations.register_validator("},{"line_number":40,"context_line":"                odl_const.ODL_QOS_POLICY,"},{"line_number":41,"context_line":"                getattr(dependency_validations,"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a95cdbc_bf853d5a","line":38,"range":{"start_line":37,"start_character":11,"end_line":38,"end_character":60},"updated":"2016-10-06 02:51:43.000000000","message":"this check is not needed as the patch was already merged.","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":40,"context_line":"        cfg.CONF.register_opts(odl_conf.odl_opts, \"ml2_odl\")"},{"line_number":41,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":42,"context_line":"        if hasattr(dependency_validations,"},{"line_number":43,"context_line":"                   \u0027validate_quality_of_service_operation\u0027):"},{"line_number":44,"context_line":"            dependency_validations.register_validator("},{"line_number":45,"context_line":"                odl_const.ODL_QOS_POLICIES,"},{"line_number":46,"context_line":"                getattr(dependency_validations,"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_0ca61410","line":43,"range":{"start_line":42,"start_character":0,"end_line":43,"end_character":60},"updated":"2016-12-14 06:54:51.000000000","message":"where is the point to put validation function in dependency_validations?","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1dd404471dbf7b5cab6fe7f0e5748841cfd3e080","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":40,"context_line":"        cfg.CONF.register_opts(odl_conf.odl_opts, \"ml2_odl\")"},{"line_number":41,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":42,"context_line":"        if hasattr(dependency_validations,"},{"line_number":43,"context_line":"                   \u0027validate_quality_of_service_operation\u0027):"},{"line_number":44,"context_line":"            dependency_validations.register_validator("},{"line_number":45,"context_line":"                odl_const.ODL_QOS_POLICIES,"},{"line_number":46,"context_line":"                getattr(dependency_validations,"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_293399ac","line":43,"range":{"start_line":42,"start_character":0,"end_line":43,"end_character":60},"in_reply_to":"1a6eadb0_0ca61410","updated":"2016-12-14 19:52:18.000000000","message":"line below register_validator. do you mean adding this function to Validation_Map right ?","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        data \u003d self.convert_rules_format(qos_policy.to_dict())"},{"line_number":77,"context_line":"        qos_policy \u003d {odl_const.ODL_POLICY: data}"},{"line_number":78,"context_line":"        journal.record(context, context,"},{"line_number":79,"context_line":"                       odl_const.ODL_QOS_POLICIES, data[\u0027id\u0027],"},{"line_number":80,"context_line":"                       odl_const.ODL_CREATE, qos_policy)"},{"line_number":81,"context_line":"        self.journal.set_sync_event()"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_6c914852","line":79,"range":{"start_line":79,"start_character":48,"end_line":79,"end_character":49},"updated":"2016-12-14 06:54:51.000000000","message":"Pass singular form similar to ml2.","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1dd404471dbf7b5cab6fe7f0e5748841cfd3e080","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        data \u003d self.convert_rules_format(qos_policy.to_dict())"},{"line_number":77,"context_line":"        qos_policy \u003d {odl_const.ODL_POLICY: data}"},{"line_number":78,"context_line":"        journal.record(context, context,"},{"line_number":79,"context_line":"                       odl_const.ODL_QOS_POLICIES, data[\u0027id\u0027],"},{"line_number":80,"context_line":"                       odl_const.ODL_CREATE, qos_policy)"},{"line_number":81,"context_line":"        self.journal.set_sync_event()"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_49db754f","line":79,"range":{"start_line":79,"start_character":48,"end_line":79,"end_character":49},"in_reply_to":"1a6eadb0_6c914852","updated":"2016-12-14 19:52:18.000000000","message":"i tried that that but because of nb does not expect data dict with object_type key so i came up this logic","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":39,"context_line":"        cfg.CONF.register_opts(odl_conf.odl_opts, \"ml2_odl\")"},{"line_number":40,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":41,"context_line":"        if hasattr(dependency_validations,"},{"line_number":42,"context_line":"                   \u0027validate_quality_of_service_operation\u0027):"},{"line_number":43,"context_line":"            dependency_validations.register_validator("},{"line_number":44,"context_line":"                odl_const.ODL_QOS_POLICY,"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_b4433e12","line":41,"range":{"start_line":41,"start_character":11,"end_line":41,"end_character":42},"updated":"2016-12-15 23:57:18.000000000","message":"Please address the comment in the previous patchset.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"},{"line_number":39,"context_line":"        cfg.CONF.register_opts(odl_conf.odl_opts, \"ml2_odl\")"},{"line_number":40,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":41,"context_line":"        if hasattr(dependency_validations,"},{"line_number":42,"context_line":"                   \u0027validate_quality_of_service_operation\u0027):"},{"line_number":43,"context_line":"            dependency_validations.register_validator("},{"line_number":44,"context_line":"                odl_const.ODL_QOS_POLICY,"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_3fa54746","line":41,"range":{"start_line":41,"start_character":11,"end_line":41,"end_character":42},"in_reply_to":"1a6eadb0_b4433e12","updated":"2016-12-16 00:57:42.000000000","message":"Done","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"33c1ac7b7da1dd3cb0fc164ab643fb2de8af7a8a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    def get_description(self):"},{"line_number":42,"context_line":"        \"\"\"Returns string description of driver\"\"\""},{"line_number":43,"context_line":"        return \"QoS notification driver\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    @log_helpers.log_method_call"},{"line_number":46,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":47,"context_line":"        data \u003d qos_utils.convert_rules_format(qos_policy.to_dict())"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_9ac1ac31","line":44,"updated":"2016-12-21 23:30:53.000000000","message":"For now those code is compromised with the limitation of qos driver interface. (precommit is missing)\nSo please add a comment as TODO fix it and update this driver.","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d65732877b66eff18aef3ea4ef435670bb656a6d","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    def get_description(self):"},{"line_number":42,"context_line":"        \"\"\"Returns string description of driver\"\"\""},{"line_number":43,"context_line":"        return \"QoS notification driver\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    @log_helpers.log_method_call"},{"line_number":46,"context_line":"    def create_policy(self, context, qos_policy):"},{"line_number":47,"context_line":"        data \u003d qos_utils.convert_rules_format(qos_policy.to_dict())"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_3a0c4042","line":44,"in_reply_to":"da4df55a_9ac1ac31","updated":"2016-12-21 23:41:45.000000000","message":"Done","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4b70dd9b4e6510bc4c45911d73db68f931faf8a9","unresolved":false,"context_lines":[{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"class OpenDaylightQosDriver(qos_base.QosServiceNotificationDriverBase):"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_703e5d8d","line":28,"range":{"start_line":28,"start_character":37,"end_line":28,"end_character":69},"updated":"2017-02-14 03:20:31.000000000","message":"it\u0027s better to use the new driver api.","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"2b99b755c7b6da83c0c09ad3db9564d7c19e1075","unresolved":false,"context_lines":[{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"class OpenDaylightQosDriver(qos_base.QosServiceNotificationDriverBase):"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    \"\"\"OpenDaylight QOS Driver"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_a79cf9c0","line":28,"range":{"start_line":28,"start_character":37,"end_line":28,"end_character":69},"in_reply_to":"fa31d9ce_703e5d8d","updated":"2017-02-14 16:56:42.000000000","message":"precommit calls are also comming that patch is in progress in neutron, once that is done, I\u0027ll switch it to new one.","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4b70dd9b4e6510bc4c45911d73db68f931faf8a9","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def get_description(self):"},{"line_number":42,"context_line":"        \"\"\"Returns string description of driver\"\"\""},{"line_number":43,"context_line":"        return \"QoS notification driver\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":46,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_30686587","line":43,"range":{"start_line":43,"start_character":16,"end_line":43,"end_character":39},"updated":"2017-02-14 03:20:31.000000000","message":"better to say \"odl\"","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"2b99b755c7b6da83c0c09ad3db9564d7c19e1075","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def get_description(self):"},{"line_number":42,"context_line":"        \"\"\"Returns string description of driver\"\"\""},{"line_number":43,"context_line":"        return \"QoS notification driver\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":46,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_c7a1edf9","line":43,"range":{"start_line":43,"start_character":16,"end_line":43,"end_character":39},"in_reply_to":"fa31d9ce_30686587","updated":"2017-02-14 16:56:42.000000000","message":"Done","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"}],"networking_odl/qos/qos_utils.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# qos data in qos_utils for code reuse."},{"line_number":29,"context_line":"def convert_rules_format(data):"},{"line_number":30,"context_line":"    policy \u003d copy.deepcopy(data)"},{"line_number":31,"context_line":"    policy[\u0027url_prefix\u0027] \u003d \u0027qos\u0027"},{"line_number":32,"context_line":"    policy.pop(\u0027tenant_id\u0027, None)"},{"line_number":33,"context_line":"    policy.pop(\u0027rules\u0027, None)"},{"line_number":34,"context_line":"    for rule in data.get(\u0027rules\u0027, []):"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_34500ed4","line":31,"range":{"start_line":31,"start_character":2,"end_line":31,"end_character":32},"updated":"2016-12-15 23:57:18.000000000","message":"Please don\u0027t add attributes which shouldn\u0027t be sent to ODL.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# qos data in qos_utils for code reuse."},{"line_number":29,"context_line":"def convert_rules_format(data):"},{"line_number":30,"context_line":"    policy \u003d copy.deepcopy(data)"},{"line_number":31,"context_line":"    policy[\u0027url_prefix\u0027] \u003d \u0027qos\u0027"},{"line_number":32,"context_line":"    policy.pop(\u0027tenant_id\u0027, None)"},{"line_number":33,"context_line":"    policy.pop(\u0027rules\u0027, None)"},{"line_number":34,"context_line":"    for rule in data.get(\u0027rules\u0027, []):"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_bf6f97fa","line":31,"range":{"start_line":31,"start_character":2,"end_line":31,"end_character":32},"in_reply_to":"1a6eadb0_34500ed4","updated":"2016-12-16 00:57:42.000000000","message":"we can pop it before we send to odl ?","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# qos data in qos_utils for code reuse."},{"line_number":29,"context_line":"def convert_rules_format(data):"},{"line_number":30,"context_line":"    policy \u003d copy.deepcopy(data)"},{"line_number":31,"context_line":"    policy.pop(\u0027tenant_id\u0027, None)"},{"line_number":32,"context_line":"    policy.pop(\u0027rules\u0027, None)"},{"line_number":33,"context_line":"    for rule in data.get(\u0027rules\u0027, []):"},{"line_number":34,"context_line":"        rule_type \u003d rule[\u0027type\u0027] + \u0027_rules\u0027"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_dbbae822","line":31,"range":{"start_line":31,"start_character":26,"end_line":31,"end_character":32},"updated":"2017-02-07 01:03:22.000000000","message":"Is this a bug fix?\nDon\u0027t we have to do with project_id?","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"0b2c6cecb3fac473f61d181cd48a9ff2ef9a6d2e","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# qos data in qos_utils for code reuse."},{"line_number":29,"context_line":"def convert_rules_format(data):"},{"line_number":30,"context_line":"    policy \u003d copy.deepcopy(data)"},{"line_number":31,"context_line":"    policy.pop(\u0027tenant_id\u0027, None)"},{"line_number":32,"context_line":"    policy.pop(\u0027rules\u0027, None)"},{"line_number":33,"context_line":"    for rule in data.get(\u0027rules\u0027, []):"},{"line_number":34,"context_line":"        rule_type \u003d rule[\u0027type\u0027] + \u0027_rules\u0027"}],"source_content_type":"text/x-python","patch_set":47,"id":"1a430d35_2ee0e3f9","line":31,"range":{"start_line":31,"start_character":26,"end_line":31,"end_character":32},"in_reply_to":"1a430d35_dbbae822","updated":"2017-02-07 19:56:37.000000000","message":"tenant_id is still there, not sure if ODL NB is ready to accept that. I added None to avoid issue.","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"}],"networking_odl/tests/functional/test_qos_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"33c1ac7b7da1dd3cb0fc164ab643fb2de8af7a8a","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class QoSDriverTest(base_v2.OpenDaylightConfigBase,"},{"line_number":24,"context_line":"                    test_manager.TestQosDriversManager):"},{"line_number":25,"context_line":"    def setUp(self):"},{"line_number":26,"context_line":"        super(QoSDriverTest, self).setUp()"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def test_notification_driver(self):"},{"line_number":29,"context_line":"        self.assertEqual(cfg.CONF.qos.notification_drivers, \u0027odl-qos-v2\u0027)"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_baed9090","line":26,"range":{"start_line":25,"start_character":0,"end_line":26,"end_character":42},"updated":"2016-12-21 23:30:53.000000000","message":"no need to override this method.","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d65732877b66eff18aef3ea4ef435670bb656a6d","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class QoSDriverTest(base_v2.OpenDaylightConfigBase,"},{"line_number":24,"context_line":"                    test_manager.TestQosDriversManager):"},{"line_number":25,"context_line":"    def setUp(self):"},{"line_number":26,"context_line":"        super(QoSDriverTest, self).setUp()"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def test_notification_driver(self):"},{"line_number":29,"context_line":"        self.assertEqual(cfg.CONF.qos.notification_drivers, \u0027odl-qos-v2\u0027)"}],"source_content_type":"text/x-python","patch_set":36,"id":"da4df55a_fd563205","line":26,"range":{"start_line":25,"start_character":0,"end_line":26,"end_character":42},"in_reply_to":"da4df55a_baed9090","updated":"2016-12-21 23:41:45.000000000","message":"Done","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"97729c216ec12e74fa95ced94bb75f251770ff2b","unresolved":false,"context_lines":[{"line_number":23,"context_line":"nodl_qos_driver \u003d \u0027odl_qos_v2\u0027"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class QoSDriverTest(base_v2.OpenDaylightConfigBase,"},{"line_number":27,"context_line":"                    test_manager.TestQosDriversManager):"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":37,"id":"da4df55a_d3879610","line":26,"range":{"start_line":26,"start_character":6,"end_line":26,"end_character":19},"updated":"2016-12-22 07:28:30.000000000","message":"Functional test should check against live ODL that the change (create/update/delete) happened on ODL as well.\nAlso you should test both V1 and V2 drivers.\n\nYou can take a look at the other functional tests to see how its done.","commit_id":"68e5a9d6956e9eace5ce0ce8e5f9891c31276578"}],"networking_odl/tests/unit/common/test_utils.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4b70dd9b4e6510bc4c45911d73db68f931faf8a9","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        self.assertEqual(\u0027qos/policies\u0027, url_object)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def test_make_url_object_without_prefix(self):"},{"line_number":37,"context_line":"        self.assertEqual(\u0027networks\u0027, utils.make_url_object(\u0027network\u0027))"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class TestGetAddressesByName(base.DietTestCase):"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_9024b160","line":37,"updated":"2017-02-14 03:20:31.000000000","message":"better to cover -/_ conversion","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"2b99b755c7b6da83c0c09ad3db9564d7c19e1075","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        self.assertEqual(\u0027qos/policies\u0027, url_object)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def test_make_url_object_without_prefix(self):"},{"line_number":37,"context_line":"        self.assertEqual(\u0027networks\u0027, utils.make_url_object(\u0027network\u0027))"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class TestGetAddressesByName(base.DietTestCase):"}],"source_content_type":"text/x-python","patch_set":55,"id":"fa31d9ce_273c89c7","line":37,"in_reply_to":"fa31d9ce_9024b160","updated":"2017-02-14 16:56:42.000000000","message":"done","commit_id":"74c90975bf6cefe5f4c19d6b4d899d572d62d1f1"}],"networking_odl/tests/unit/journal/test_dependency_validations.py":[{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"8bf6ee5fc4125b030b81937148de70e10b5deb0a","unresolved":false,"context_lines":[{"line_number":258,"context_line":""},{"line_number":259,"context_line":"def get_data(res_type):"},{"line_number":260,"context_line":"    if res_type \u003d\u003d const.ODL_NETWORK:"},{"line_number":261,"context_line":"        return {\u0027id\u0027: \u0027NET_ID\u0027}"},{"line_number":262,"context_line":"    elif res_type \u003d\u003d const.ODL_L2GATEWAY:"},{"line_number":263,"context_line":"        return {\u0027id\u0027: \u0027l2gw_id\u0027}"},{"line_number":264,"context_line":"    elif res_type \u003d\u003d const.ODL_L2GATEWAY_CONNECTION:"}],"source_content_type":"text/x-python","patch_set":59,"id":"fa31d9ce_701f0b08","line":261,"range":{"start_line":261,"start_character":15,"end_line":261,"end_character":31},"updated":"2017-02-15 00:30:06.000000000","message":"This should be a dict actually likewise all other resources data are, so far we have\u0027nt encountered a problem because network operation did not have dependency but I\u0027ve encountered one while adding dependency for qos","commit_id":"98931ecdd29fc9f107a2c6740d721ae49b166d3e"}],"networking_odl/tests/unit/qos/test_qos_driver.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"75e2d536e96e9d85f25c14c69529250328613e0b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_d64ef894","line":1,"updated":"2016-06-17 21:43:46.000000000","message":"Incomplete license notice.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3f02b7d412f2d4f3a175c8d7d20ff7e5493f4390","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_d109e2de","line":1,"in_reply_to":"7aa08908_d64ef894","updated":"2016-06-17 21:58:25.000000000","message":"will fix in next revision.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"75e2d536e96e9d85f25c14c69529250328613e0b","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from neutron.db import api as neutron_db_api"},{"line_number":21,"context_line":"from neutron.plugins.ml2 import config as config"},{"line_number":22,"context_line":"from neutron.tests.unit.plugins.ml2 import test_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase):"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_1645206e","line":22,"updated":"2016-06-17 21:43:46.000000000","message":"Please fix import order.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3f02b7d412f2d4f3a175c8d7d20ff7e5493f4390","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from neutron.db import api as neutron_db_api"},{"line_number":21,"context_line":"from neutron.plugins.ml2 import config as config"},{"line_number":22,"context_line":"from neutron.tests.unit.plugins.ml2 import test_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase):"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_313dc68e","line":22,"in_reply_to":"7aa08908_1645206e","updated":"2016-06-17 21:58:25.000000000","message":"they are in alphabetical order otherwise pep8 would have complained.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"d5a0420ff97a6dac4c12fa04c940790566a19eb6","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from neutron.db import api as neutron_db_api"},{"line_number":21,"context_line":"from neutron.plugins.ml2 import config as config"},{"line_number":22,"context_line":"from neutron.tests.unit.plugins.ml2 import test_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase):"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a9d85d2_a23584f8","line":22,"in_reply_to":"7aa08908_313dc68e","updated":"2016-06-19 15:23:48.000000000","message":"third-party import should be before.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"75e2d536e96e9d85f25c14c69529250328613e0b","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from neutron.tests.unit.plugins.ml2 import test_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase):"},{"line_number":26,"context_line":"    def setUp(self):"},{"line_number":27,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":28,"context_line":"        config.cfg.CONF.set_override(\u0027extension_drivers\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b62b6c94","line":25,"updated":"2016-06-17 21:43:46.000000000","message":"Is there any reason to split this class from OpdndaylightQosDriverTestCase?","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3f02b7d412f2d4f3a175c8d7d20ff7e5493f4390","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from neutron.tests.unit.plugins.ml2 import test_plugin"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase):"},{"line_number":26,"context_line":"    def setUp(self):"},{"line_number":27,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":28,"context_line":"        config.cfg.CONF.set_override(\u0027extension_drivers\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b1b53633","line":25,"in_reply_to":"7aa08908_b62b6c94","updated":"2016-06-17 21:58:25.000000000","message":"yes I wanted to add a config tests later\nnot sure whether i should add a test for checking qos params for conf in networking-odl or not. \n \nTo avoid gate failure when extension is not loaded I thought it will be good to add those. but i guess api tests in neutron are already doing that. Ill confirm that and modify this.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"ba8a3036ad97111e4f1a5a33c61af8b832db61c5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":2,"context_line":"#    not use this file except in compliance with the License. You may obtain"},{"line_number":3,"context_line":"#    a copy of the License at"},{"line_number":4,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":8,"id":"dada55a8_076289ad","line":1,"updated":"2016-07-22 21:01:20.000000000","message":"year and name are missing.","commit_id":"a68219b617186cc1e1644b0169c0b96ea81f5e67"}],"networking_odl/tests/unit/qos/test_qos_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    def setUp(self):"},{"line_number":29,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":30,"context_line":"        config.cfg.CONF.set_override(\u0027extension_drivers\u0027,"},{"line_number":31,"context_line":"                                     [\u0027port_security\u0027, \u0027qos\u0027], \u0027ml2\u0027)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class OpendaylightQosDriverTestCase(OpenDaylightConfigBase):"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a95cdbc_ff5b45f4","line":31,"range":{"start_line":31,"start_character":38,"end_line":31,"end_character":53},"updated":"2016-10-06 02:51:43.000000000","message":"why is this needed?","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"317bc070cb633e0ede53322d4af70707491dc9f0","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    def setUp(self):"},{"line_number":29,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":30,"context_line":"        config.cfg.CONF.set_override(\u0027extension_drivers\u0027,"},{"line_number":31,"context_line":"                                     [\u0027port_security\u0027, \u0027qos\u0027], \u0027ml2\u0027)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class OpendaylightQosDriverTestCase(OpenDaylightConfigBase):"}],"source_content_type":"text/x-python","patch_set":16,"id":"fa6399be_829f8c4f","line":31,"range":{"start_line":31,"start_character":38,"end_line":31,"end_character":53},"in_reply_to":"1a95cdbc_ff5b45f4","updated":"2016-10-19 20:49:52.000000000","message":"I added this because it was default, did not want to override this just with qos","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class OpendaylightQosDriverTestCase(OpenDaylightConfigBase):"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def setUp(self):"},{"line_number":37,"context_line":"        super(OpendaylightQosDriverTestCase, self).setUp()"},{"line_number":38,"context_line":"        self.db_session \u003d neutron_db_api.get_session()"},{"line_number":39,"context_line":"        self.qos_driver \u003d qos_driver.OpenDaylightQosDriver()"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a95cdbc_df41290d","line":36,"range":{"start_line":36,"start_character":8,"end_line":36,"end_character":15},"updated":"2016-10-06 02:51:43.000000000","message":"Need to mock odl client.\nuse OpenDaylightRestClientFixture","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.thread \u003d journal.OpendaylightJournalThread()"},{"line_number":43,"context_line":"        self.addCleanup(self._db_cleanup)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def _db_cleanup(self):"},{"line_number":46,"context_line":"        rows \u003d db.get_all_db_rows(self.db_session)"},{"line_number":47,"context_line":"        for row in rows:"},{"line_number":48,"context_line":"            db.delete_row(self.db_session, row\u003drow)"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a95cdbc_7fe3b533","line":45,"range":{"start_line":45,"start_character":9,"end_line":45,"end_character":25},"updated":"2016-10-06 02:51:43.000000000","message":"use ODLBaseDbTestCase.\nMaybe it makes sense to convert ODLBaseDbTestCase into fixture.","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":30,"context_line":"cfg.CONF.import_group(\u0027ml2_odl\u0027, \u0027networking_odl.common.config\u0027)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase,"},{"line_number":34,"context_line":"                             test_base_db.ODLBaseDbTestCase):"},{"line_number":35,"context_line":"    def setUp(self):"},{"line_number":36,"context_line":"        self.useFixture(base.OpenDaylightRestClientFixture())"},{"line_number":37,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":38,"context_line":"        cfg.CONF.set_override(\u0027extension_drivers\u0027,"},{"line_number":39,"context_line":"                              [\u0027port_security\u0027, \u0027qos\u0027], \u0027ml2\u0027)"},{"line_number":40,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":41,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":42,"context_line":"        self.mock_mt_thread \u003d mock.patch.object("},{"line_number":43,"context_line":"            maintenance.MaintenanceThread, \u0027start\u0027).start()"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def _set_config(self, url\u003d\u0027http://127.0.0.1:9999\u0027, username\u003d\u0027someuser\u0027,"},{"line_number":46,"context_line":"                    password\u003d\u0027somepass\u0027):"},{"line_number":47,"context_line":"        cfg.CONF.set_override(\u0027url\u0027, url, \u0027ml2_odl\u0027)"},{"line_number":48,"context_line":"        cfg.CONF.set_override(\u0027username\u0027, username, \u0027ml2_odl\u0027)"},{"line_number":49,"context_line":"        cfg.CONF.set_override(\u0027password\u0027, password, \u0027ml2_odl\u0027)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class OpendaylightQosDriverTestCase(OpenDaylightConfigBase):"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_4c7d6c1b","line":49,"range":{"start_line":33,"start_character":0,"end_line":49,"end_character":62},"updated":"2016-12-14 06:54:51.000000000","message":"don\u0027t duplicate code.\nfactor out it into a common file.","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1dd404471dbf7b5cab6fe7f0e5748841cfd3e080","unresolved":false,"context_lines":[{"line_number":30,"context_line":"cfg.CONF.import_group(\u0027ml2_odl\u0027, \u0027networking_odl.common.config\u0027)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class OpenDaylightConfigBase(test_plugin.Ml2PluginV2TestCase,"},{"line_number":34,"context_line":"                             test_base_db.ODLBaseDbTestCase):"},{"line_number":35,"context_line":"    def setUp(self):"},{"line_number":36,"context_line":"        self.useFixture(base.OpenDaylightRestClientFixture())"},{"line_number":37,"context_line":"        super(OpenDaylightConfigBase, self).setUp()"},{"line_number":38,"context_line":"        cfg.CONF.set_override(\u0027extension_drivers\u0027,"},{"line_number":39,"context_line":"                              [\u0027port_security\u0027, \u0027qos\u0027], \u0027ml2\u0027)"},{"line_number":40,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":41,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":42,"context_line":"        self.mock_mt_thread \u003d mock.patch.object("},{"line_number":43,"context_line":"            maintenance.MaintenanceThread, \u0027start\u0027).start()"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def _set_config(self, url\u003d\u0027http://127.0.0.1:9999\u0027, username\u003d\u0027someuser\u0027,"},{"line_number":46,"context_line":"                    password\u003d\u0027somepass\u0027):"},{"line_number":47,"context_line":"        cfg.CONF.set_override(\u0027url\u0027, url, \u0027ml2_odl\u0027)"},{"line_number":48,"context_line":"        cfg.CONF.set_override(\u0027username\u0027, username, \u0027ml2_odl\u0027)"},{"line_number":49,"context_line":"        cfg.CONF.set_override(\u0027password\u0027, password, \u0027ml2_odl\u0027)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"class OpendaylightQosDriverTestCase(OpenDaylightConfigBase):"}],"source_content_type":"text/x-python","patch_set":24,"id":"1a6eadb0_a976c9d4","line":49,"range":{"start_line":33,"start_character":0,"end_line":49,"end_character":62},"in_reply_to":"1a6eadb0_4c7d6c1b","updated":"2016-12-14 19:52:18.000000000","message":"I thought of adding TODO for refactor but lets do refactor first","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":34,"context_line":"        self.thread \u003d journal.OpendaylightJournalThread()"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _get_mock_qos_context(self):"},{"line_number":37,"context_line":"        current \u003d {\u0027tenant_id\u0027: \u0027tenant_id\u0027}"},{"line_number":38,"context_line":"        qos_context \u003d mock.Mock(current\u003dcurrent)"},{"line_number":39,"context_line":"        qos_context.session \u003d self.db_session"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_54d66a28","line":36,"range":{"start_line":36,"start_character":9,"end_line":36,"end_character":29},"updated":"2016-12-15 23:57:18.000000000","message":"There is no qos driver context defined.","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":34,"context_line":"        self.thread \u003d journal.OpendaylightJournalThread()"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _get_mock_qos_context(self):"},{"line_number":37,"context_line":"        current \u003d {\u0027tenant_id\u0027: \u0027tenant_id\u0027}"},{"line_number":38,"context_line":"        qos_context \u003d mock.Mock(current\u003dcurrent)"},{"line_number":39,"context_line":"        qos_context.session \u003d self.db_session"}],"source_content_type":"text/x-python","patch_set":28,"id":"1a6eadb0_9f43bb6b","line":36,"range":{"start_line":36,"start_character":9,"end_line":36,"end_character":29},"in_reply_to":"1a6eadb0_54d66a28","updated":"2016-12-16 00:57:42.000000000","message":"it is just context what driver get from neutron i\u0027ll rename it to context","commit_id":"5232281359b1d5f00633103cd56a9fc2ae19ff6e"}],"releasenotes/notes/qos-driver-v2-4c869a6f0b8e3a4d.yaml":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c3ff3ea5b9ea7aaad8a212ab04390e51c9b478cc","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  - A new version of QoS driver that integrate OpenStack"},{"line_number":6,"context_line":"    neutron QoS API with OpenDaylight backend. This driver"},{"line_number":7,"context_line":"    uses journaling mechanism unlike v1 driver, which will"},{"line_number":8,"context_line":"    first log the operation in journal table before execution. "}],"source_content_type":"text/x-yaml","patch_set":24,"id":"1a6eadb0_2c9d9059","line":8,"range":{"start_line":8,"start_character":62,"end_line":8,"end_character":63},"updated":"2016-12-14 06:54:51.000000000","message":"nit. trailing white space.","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"1dd404471dbf7b5cab6fe7f0e5748841cfd3e080","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  - A new version of QoS driver that integrate OpenStack"},{"line_number":6,"context_line":"    neutron QoS API with OpenDaylight backend. This driver"},{"line_number":7,"context_line":"    uses journaling mechanism unlike v1 driver, which will"},{"line_number":8,"context_line":"    first log the operation in journal table before execution. "}],"source_content_type":"text/x-yaml","patch_set":24,"id":"1a6eadb0_69475177","line":8,"range":{"start_line":8,"start_character":62,"end_line":8,"end_character":63},"in_reply_to":"1a6eadb0_2c9d9059","updated":"2016-12-14 19:52:18.000000000","message":"Done","commit_id":"a9b6d080cfb4cd7457083eca67858fb3295fae8d"}],"setup.cfg":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b8e0b35be80a191bc28d191aec6a9ec962fdfa8d","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    network-topology \u003d networking_odl.ml2.network_topology:NetworkTopologyManager"},{"line_number":62,"context_line":"    legacy-port-binding \u003d networking_odl.ml2.legacy_port_binding:LegacyPortBindingManager"},{"line_number":63,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":64,"context_line":"    odl-qos \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"[build_sphinx]"},{"line_number":67,"context_line":"all_files \u003d 1"}],"source_content_type":"text/x-ttcn-cfg","patch_set":7,"id":"3aaa91ec_d24e9295","line":64,"updated":"2016-06-21 22:24:16.000000000","message":"needs to be updated.","commit_id":"fa78b0de47a16d45831ae9c6355e1ac775420c69"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"fb11d632f3271bfc0a2a38e708143123147ad600","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":63,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":64,"context_line":"    odl-qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"},{"line_number":67,"context_line":"networking_odl.ml2.port_binding_controllers \u003d"}],"source_content_type":"text/x-ttcn-cfg","patch_set":16,"id":"1a95cdbc_3f920da0","line":64,"range":{"start_line":64,"start_character":4,"end_line":64,"end_character":65},"updated":"2016-10-06 02:51:43.000000000","message":"conflicting with line 73","commit_id":"6ca9581ea466dd993855770698ff6fd2a9ebcc7a"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"81f11f51b60b105bc48c8a1d18d3ee5e295c1d47","unresolved":false,"context_lines":[{"line_number":60,"context_line":"neutron.service_plugins \u003d"},{"line_number":61,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":63,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":64,"context_line":"    odl-qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"},{"line_number":67,"context_line":"networking_odl.ml2.port_binding_controllers \u003d"}],"source_content_type":"text/x-ttcn-cfg","patch_set":28,"id":"1a6eadb0_74c0c650","side":"PARENT","line":64,"range":{"start_line":63,"start_character":0,"end_line":64,"end_character":65},"updated":"2016-12-15 23:57:18.000000000","message":"Why do we need to delete this line?","commit_id":"773504bb5b7d7feadfce49a0bedc1496ed73c3c0"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"84727ac6a2f3f61a2ef19bfc24e77677353eb4e2","unresolved":false,"context_lines":[{"line_number":60,"context_line":"neutron.service_plugins \u003d"},{"line_number":61,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":63,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":64,"context_line":"    odl-qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"},{"line_number":67,"context_line":"networking_odl.ml2.port_binding_controllers \u003d"}],"source_content_type":"text/x-ttcn-cfg","patch_set":28,"id":"1a6eadb0_bf46b778","side":"PARENT","line":64,"range":{"start_line":63,"start_character":0,"end_line":64,"end_character":65},"in_reply_to":"1a6eadb0_74c0c650","updated":"2016-12-16 00:57:42.000000000","message":"Done","commit_id":"773504bb5b7d7feadfce49a0bedc1496ed73c3c0"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"9f9d1a3c3de57cab78ed8891017e2492640f6bca","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.sfc_driver_v1:OpenDaylightSFCDriverV1"},{"line_number":75,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":76,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":77,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":78,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"[build_sphinx]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":32,"id":"da4df55a_810598c3","line":77,"range":{"start_line":77,"start_character":0,"end_line":77,"end_character":33},"updated":"2016-12-22 17:49:03.000000000","message":"I think use of two same variables was the issue L63 and L77\n\nI believe that was the issue it should fall under only one variable.","commit_id":"e986771e3da3d340eec04038c1417fc5ae85457b"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3b7ccb2d6777899f8cf745091bf1eed405d2894c","unresolved":false,"context_lines":[{"line_number":60,"context_line":"neutron.service_plugins \u003d"},{"line_number":61,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":63,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":64,"context_line":"    odl-qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"},{"line_number":67,"context_line":"networking_odl.ml2.port_binding_controllers \u003d"}],"source_content_type":"text/x-ttcn-cfg","patch_set":34,"id":"1a6eadb0_7a2f1f3e","side":"PARENT","line":64,"range":{"start_line":63,"start_character":0,"end_line":64,"end_character":65},"updated":"2016-12-20 19:31:12.000000000","message":"we cannot have neutron.qos.notification_drivers twice in setup.cfg otherwise py35 check will complain","commit_id":"773504bb5b7d7feadfce49a0bedc1496ed73c3c0"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"bc0b1c5c0776ae0c15d384594ceb8aeccff3119c","unresolved":false,"context_lines":[{"line_number":73,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"}],"source_content_type":"text/x-ttcn-cfg","patch_set":34,"id":"1a6eadb0_940bcbd5","line":76,"range":{"start_line":76,"start_character":4,"end_line":76,"end_character":14},"updated":"2016-12-21 13:57:24.000000000","message":"Shouldn\u0027t you keep the V1 driver until it\u0027s removed?","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"426bf2c09e9416f11e4c7c6b1fc72a22518ed685","unresolved":false,"context_lines":[{"line_number":73,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"}],"source_content_type":"text/x-ttcn-cfg","patch_set":34,"id":"fa48f94a_3537fae4","line":76,"range":{"start_line":76,"start_character":4,"end_line":76,"end_character":14},"in_reply_to":"1a6eadb0_940bcbd5","updated":"2016-12-21 17:38:34.000000000","message":"we can add instructions to setup that, py35 gives me error if i keep both because neutron parameter to set notification driver is same neutron.qos.notification_drivers","commit_id":"0ebc756892129f1d2e4e3314be98f6a3d3b47170"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"33c1ac7b7da1dd3cb0fc164ab643fb2de8af7a8a","unresolved":false,"context_lines":[{"line_number":73,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_3a02803f","line":76,"range":{"start_line":76,"start_character":11,"end_line":76,"end_character":12},"updated":"2016-12-21 23:30:53.000000000","message":"use \u0027_\u0027 (underscore) for consistency.","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d65732877b66eff18aef3ea4ef435670bb656a6d","unresolved":false,"context_lines":[{"line_number":73,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_bd73cab3","line":76,"range":{"start_line":76,"start_character":11,"end_line":76,"end_character":12},"in_reply_to":"da4df55a_3a02803f","updated":"2016-12-21 23:41:45.000000000","message":"Done","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"33c1ac7b7da1dd3cb0fc164ab643fb2de8af7a8a","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"},{"line_number":80,"context_line":"build-dir \u003d doc/build"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_7a1a4819","line":77,"updated":"2016-12-21 23:30:53.000000000","message":"v1 driver should be kept.\nWhat error are you seeing?","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"48954d283d659fdda4a167f550753518970845cd","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"},{"line_number":80,"context_line":"build-dir \u003d doc/build"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_da67b423","line":77,"in_reply_to":"da4df55a_7a1a4819","updated":"2016-12-21 23:34:21.000000000","message":"py35 complains for having neutron.qos.notification_drivers twice in this, so i removed one","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"535957d1d5e42383df2d9db857d9c1322512b3cb","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"},{"line_number":80,"context_line":"build-dir \u003d doc/build"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_d3bebfd3","line":77,"in_reply_to":"da4df55a_d39f9fb2","updated":"2016-12-22 01:16:29.000000000","message":"To be honest, it\u0027s hardly believable.\n\nI suppose you\u0027re doing something wrong.\n\nthere are similar lines.\ne.. line 66-68 and simil","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"3aaf259126ee0901fb5c3322999ddd16395f2155","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl-qos-v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"[build_sphinx]"},{"line_number":79,"context_line":"all_files \u003d 1"},{"line_number":80,"context_line":"build-dir \u003d doc/build"}],"source_content_type":"text/x-ttcn-cfg","patch_set":36,"id":"da4df55a_d39f9fb2","line":77,"in_reply_to":"da4df55a_da67b423","updated":"2016-12-22 01:11:02.000000000","message":"can you please share the error log?","commit_id":"a70bbe569eb68c065324b0f5eb727caed1cef112"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"d446fe06705859feb1a9d2c78f2dd7be378c5529","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    odl \u003d networking_odl.sfc.sfc_driver_v1:OpenDaylightSFCDriverV1"},{"line_number":73,"context_line":"networking_sfc.flowclassifier.drivers \u003d"},{"line_number":74,"context_line":"    odl \u003d networking_odl.sfc.flowclassifier.sfc_flowclassifier_v1:OpenDaylightSFCFlowClassifierDriverV1"},{"line_number":75,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":76,"context_line":"    odl_qos \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":77,"context_line":"    odl_qos_v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"[build_sphinx]"}],"source_content_type":"text/x-ttcn-cfg","patch_set":47,"id":"1a430d35_bbd99c85","line":76,"range":{"start_line":75,"start_character":0,"end_line":76,"end_character":68},"updated":"2017-02-07 01:03:22.000000000","message":"Let\u0027s avoid unnecessary code churn. Please keep this at line 63.","commit_id":"d72a3f20d2d74e99cc7f306a4def791fff544ac6"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7ac01ca75f2c24833431cb14d675fc2947855503","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":61,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":63,"context_line":"    odl_qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":64,"context_line":"    odl_qos_v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"}],"source_content_type":"text/x-ttcn-cfg","patch_set":58,"id":"fa31d9ce_da9618ef","line":63,"range":{"start_line":63,"start_character":4,"end_line":63,"end_character":11},"updated":"2017-02-14 23:26:40.000000000","message":"why to change the \"v1\" driver?","commit_id":"78d186ca0822ab0ab4d84a2d9bf610b63fec728c"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d9f925a7ad6cc68d12ddb731b33a10e23e111817","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    odl-router \u003d networking_odl.l3.l3_odl:OpenDaylightL3RouterPlugin"},{"line_number":61,"context_line":"    odl-router_v2 \u003d networking_odl.l3.l3_odl_v2:OpenDaylightL3RouterPlugin"},{"line_number":62,"context_line":"neutron.qos.notification_drivers \u003d"},{"line_number":63,"context_line":"    odl_qos \u003d networking_odl.qos.qos_driver:OpenDaylightQosDriver"},{"line_number":64,"context_line":"    odl_qos_v2 \u003d networking_odl.qos.qos_driver_v2:OpenDaylightQosDriver"},{"line_number":65,"context_line":"neutron.db.alembic_migrations \u003d"},{"line_number":66,"context_line":"    networking-odl \u003d networking_odl.db.migration:alembic_migrations"}],"source_content_type":"text/x-ttcn-cfg","patch_set":58,"id":"fa31d9ce_1a3990f2","line":63,"range":{"start_line":63,"start_character":4,"end_line":63,"end_character":11},"in_reply_to":"fa31d9ce_da9618ef","updated":"2017-02-14 23:35:56.000000000","message":"just using _ on both, but a good catch need to update docs as well, restoring it back to - will do these changes along with docs","commit_id":"78d186ca0822ab0ab4d84a2d9bf610b63fec728c"}]}
