)]}'
{"networking_sfc/db/migration/alembic_migrations/versions/newton/expand/53ed5bec6cff_add_sfc_graph_api_resource.py":[{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"faf74a3940aebf78422c23d37a295c93df3c155e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 Futurewei. All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa6399be_24d1fe57","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"updated":"2016-10-20 09:15:25.000000000","message":"Super nit! Should be 2016 followed by correct company details","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"82c49f590e564f4b899c6630ae735c6fbecaf9f2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 Futurewei. All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_f9b497d2","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"in_reply_to":"fa6399be_24d1fe57","updated":"2016-10-20 18:29:39.000000000","message":"Oh! I guess the neutron-db-manage autogenerate script got the header from sfc_db.py automatically. Thanks.","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"}],"networking_sfc/db/migration/alembic_migrations/versions/pike/expand/53ed5bec6cff_add_service_graph_api_resource.py":[{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"aab8858a6623517092b1bce71cc46225c2cb91dc","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 Intel Corporation.  All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":25,"id":"7f287b81_7ea304b3","line":1,"updated":"2017-08-31 14:38:06.000000000","message":"Shoudl not be in pike/ anymore :) queens time","commit_id":"7c466ba9501d62c185355b1d0ec223b014426e94"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"48a66d1db546bb2cdc8dc4fc4f9a9d9485d1bc29","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 Intel Corporation.  All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":25,"id":"ff5d4b2f_e5f2ad9a","line":1,"in_reply_to":"7f287b81_7ea304b3","updated":"2017-09-19 12:53:32.000000000","message":"Done","commit_id":"7c466ba9501d62c185355b1d0ec223b014426e94"}],"networking_sfc/db/sfc_db.py":[{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        primary_key\u003dTrue, nullable\u003dFalse)"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"class SFCGraph(model_base.BASEV2, model_base.HasId, model_base.HasProject):"},{"line_number":203,"context_line":"    \"\"\"Represents a Neutron Service Function Chain Graph.\"\"\""},{"line_number":204,"context_line":"    __tablename__ \u003d \u0027sfc_graphs\u0027"},{"line_number":205,"context_line":"    name \u003d sa.Column(sa.String(db_const.NAME_FIELD_SIZE))"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_57e7efe3","line":202,"updated":"2017-02-10 17:40:34.000000000","message":"Existing SFC elements do not use a SFC prefix (internally), but as the real name \"SFC graph\" tends to always include the prefix (I am sure there was a discussion about it already before, but cannot find it right now)","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":199,"context_line":"        primary_key\u003dTrue, nullable\u003dFalse)"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"class SFCGraph(model_base.BASEV2, model_base.HasId, model_base.HasProject):"},{"line_number":203,"context_line":"    \"\"\"Represents a Neutron Service Function Chain Graph.\"\"\""},{"line_number":204,"context_line":"    __tablename__ \u003d \u0027sfc_graphs\u0027"},{"line_number":205,"context_line":"    name \u003d sa.Column(sa.String(db_const.NAME_FIELD_SIZE))"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_9272557b","line":202,"in_reply_to":"fa31d9ce_57e7efe3","updated":"2017-02-10 18:05:58.000000000","message":"PortChainGraph?\nChainGraph?\nServiceFunctionChain? (as by IETF it can be presented as a graph) -\u003e actually this is the name in https://review.openstack.org/#/c/308453/3/images/sfc-model.png,unified","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    @log_helpers.log_method_call"},{"line_number":695,"context_line":"    def get_sfc_graphs(self, context, filters\u003dNone, fields\u003dNone, sorts\u003dNone,"},{"line_number":696,"context_line":"                       limit\u003dNone, marker\u003dNone, page_reverse\u003dFalse):"},{"line_number":697,"context_line":"        \"\"\"Create a SFC Graph.\"\"\""},{"line_number":698,"context_line":"        pass"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_1c059ec1","line":697,"updated":"2017-02-10 17:40:34.000000000","message":"Copy/paste effect (same for other calls) :) but this is fixed in the graph db/plugin patch","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    @log_helpers.log_method_call"},{"line_number":695,"context_line":"    def get_sfc_graphs(self, context, filters\u003dNone, fields\u003dNone, sorts\u003dNone,"},{"line_number":696,"context_line":"                       limit\u003dNone, marker\u003dNone, page_reverse\u003dFalse):"},{"line_number":697,"context_line":"        \"\"\"Create a SFC Graph.\"\"\""},{"line_number":698,"context_line":"        pass"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_122ca549","line":697,"in_reply_to":"fa31d9ce_1c059ec1","updated":"2017-02-10 18:05:58.000000000","message":"Oh, will fix.","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":11313,"name":"Louis Fourie","email":"fouriehl70@gmail.com","username":"lfourie"},"change_message_id":"de7c47f4f6366e6fd5a6d1996a580aa9096fe97a","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    def get_service_graphs(self, context, filters\u003dNone,"},{"line_number":695,"context_line":"                           fields\u003dNone, sorts\u003dNone, limit\u003dNone,"},{"line_number":696,"context_line":"                           marker\u003dNone, page_reverse\u003dFalse):"},{"line_number":697,"context_line":"        \"\"\"Create a Service Graph.\"\"\""},{"line_number":698,"context_line":"        pass"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":14,"id":"bff0334d_3cfd5c3a","line":697,"range":{"start_line":697,"start_character":11,"end_line":697,"end_character":33},"updated":"2017-04-05 23:12:44.000000000","message":"Get Service Graphs","commit_id":"16706209d9a4c413ccd41332a78367b45461c6a2"},{"author":{"_account_id":11313,"name":"Louis Fourie","email":"fouriehl70@gmail.com","username":"lfourie"},"change_message_id":"de7c47f4f6366e6fd5a6d1996a580aa9096fe97a","unresolved":false,"context_lines":[{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    @log_helpers.log_method_call"},{"line_number":701,"context_line":"    def get_service_graph(self, context, id, fields\u003dNone):"},{"line_number":702,"context_line":"        \"\"\"Create a Service Graph.\"\"\""},{"line_number":703,"context_line":"        pass"},{"line_number":704,"context_line":""},{"line_number":705,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":14,"id":"bff0334d_1ce1789b","line":702,"range":{"start_line":702,"start_character":11,"end_line":702,"end_character":17},"updated":"2017-04-05 23:12:44.000000000","message":"Get","commit_id":"16706209d9a4c413ccd41332a78367b45461c6a2"},{"author":{"_account_id":11313,"name":"Louis Fourie","email":"fouriehl70@gmail.com","username":"lfourie"},"change_message_id":"de7c47f4f6366e6fd5a6d1996a580aa9096fe97a","unresolved":false,"context_lines":[{"line_number":704,"context_line":""},{"line_number":705,"context_line":"    @log_helpers.log_method_call"},{"line_number":706,"context_line":"    def delete_service_graph(self, context, id):"},{"line_number":707,"context_line":"        \"\"\"Create a Service Graph.\"\"\""},{"line_number":708,"context_line":"        pass"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":14,"id":"bff0334d_bce96c81","line":707,"range":{"start_line":707,"start_character":11,"end_line":707,"end_character":18},"updated":"2017-04-05 23:12:44.000000000","message":"Delete","commit_id":"16706209d9a4c413ccd41332a78367b45461c6a2"},{"author":{"_account_id":11313,"name":"Louis Fourie","email":"fouriehl70@gmail.com","username":"lfourie"},"change_message_id":"de7c47f4f6366e6fd5a6d1996a580aa9096fe97a","unresolved":false,"context_lines":[{"line_number":709,"context_line":""},{"line_number":710,"context_line":"    @log_helpers.log_method_call"},{"line_number":711,"context_line":"    def update_service_graph(self, context, id, service_graph):"},{"line_number":712,"context_line":"        \"\"\"Create a Service Graph.\"\"\""},{"line_number":713,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":14,"id":"bff0334d_9ceea886","line":712,"range":{"start_line":712,"start_character":12,"end_line":712,"end_character":17},"updated":"2017-04-05 23:12:44.000000000","message":"Update","commit_id":"16706209d9a4c413ccd41332a78367b45461c6a2"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"6381c0c2a6eb83a24f33997668a2904b8a006431","unresolved":false,"context_lines":[{"line_number":694,"context_line":"    def get_service_graphs(self, context, filters\u003dNone,"},{"line_number":695,"context_line":"                           fields\u003dNone, sorts\u003dNone, limit\u003dNone,"},{"line_number":696,"context_line":"                           marker\u003dNone, page_reverse\u003dFalse):"},{"line_number":697,"context_line":"        \"\"\"Create a Service Graph.\"\"\""},{"line_number":698,"context_line":"        pass"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"    @log_helpers.log_method_call"}],"source_content_type":"text/x-python","patch_set":17,"id":"7ffa3b31_e8634ab0","line":697,"range":{"start_line":697,"start_character":11,"end_line":697,"end_character":33},"updated":"2017-04-19 11:48:05.000000000","message":"Here and same below","commit_id":"af5276400abf11c469050268e04876d6a95328f3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"76118909dcb6777634184d7cd7f1051f280fd044","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"class GraphChainAssoc(model_base.BASEV2):"},{"line_number":187,"context_line":"    \"\"\"Relation table between Service Graphs and src+dst Port Chains.\"\"\""},{"line_number":188,"context_line":"    __tablename__ \u003d \u0027service_graph_chain_associations\u0027"},{"line_number":189,"context_line":"    service_graph_id \u003d sa.Column("},{"line_number":190,"context_line":"        sa.String(UUID_LEN),"},{"line_number":191,"context_line":"        sa.ForeignKey(\u0027service_graphs.id\u0027, ondelete\u003d\u0027CASCADE\u0027),"}],"source_content_type":"text/x-python","patch_set":22,"id":"bf091321_76af7394","line":188,"range":{"start_line":188,"start_character":21,"end_line":188,"end_character":53},"updated":"2017-06-08 13:48:18.000000000","message":"sfc_ prefix missing","commit_id":"c2c578b211a80049946e05e4b3e28f7963f97e97"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"76118909dcb6777634184d7cd7f1051f280fd044","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"class ServiceGraph(model_base.BASEV2, model_base.HasId, model_base.HasProject):"},{"line_number":204,"context_line":"    \"\"\"Represents a Neutron Service Function Chain Graph.\"\"\""},{"line_number":205,"context_line":"    __tablename__ \u003d \u0027service_graphs\u0027"},{"line_number":206,"context_line":"    name \u003d sa.Column(sa.String(db_const.NAME_FIELD_SIZE))"},{"line_number":207,"context_line":"    description \u003d sa.Column(sa.String(db_const.DESCRIPTION_FIELD_SIZE))"},{"line_number":208,"context_line":"    graph_chain_associations \u003d orm.relationship("}],"source_content_type":"text/x-python","patch_set":22,"id":"bf091321_56946f44","line":205,"range":{"start_line":205,"start_character":21,"end_line":205,"end_character":35},"updated":"2017-06-08 13:48:18.000000000","message":"sfc_ prefix missing","commit_id":"c2c578b211a80049946e05e4b3e28f7963f97e97"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"0363ac2e7bb3a8d96f9aaa8ddde5c9e0ba399c74","unresolved":false,"context_lines":[{"line_number":215,"context_line":"class SfcDbPlugin("},{"line_number":216,"context_line":"    ext_sfc.SfcPluginBase,"},{"line_number":217,"context_line":"    common_db_mixin.CommonDbMixin,"},{"line_number":218,"context_line":"    ext_sg.ServiceGraphPluginBase"},{"line_number":219,"context_line":"):"},{"line_number":220,"context_line":"    \"\"\"Mixin class to add port chain to db_plugin_base_v2.\"\"\""},{"line_number":221,"context_line":""}],"source_content_type":"text/x-python","patch_set":29,"id":"7f515b1d_1b04e816","line":218,"range":{"start_line":218,"start_character":11,"end_line":218,"end_character":33},"updated":"2017-09-23 19:07:25.000000000","message":"Removed ServiceGraphDbMixin as it is not necessary to achieve the extension split.","commit_id":"5cda9c30cab54127971ee69aae3b685058f38a0f"}],"networking_sfc/extensions/servicegraph.py":[{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"9204a9f520f61a2fdb9aacb172bf701130470478","unresolved":false,"context_lines":[{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @classmethod"},{"line_number":179,"context_line":"    def get_resources(cls):"},{"line_number":180,"context_line":"        \"\"\"Returns Ext Resources.\"\"\""},{"line_number":181,"context_line":"        plugin \u003d directory.get_plugin(\u0027sfc\u0027)"},{"line_number":182,"context_line":"        collection_name \u003d SERVICE_GRAPHS.replace(\u0027_\u0027, \u0027-\u0027)"},{"line_number":183,"context_line":"        params \u003d RESOURCE_ATTRIBUTE_MAP.get(SERVICE_GRAPHS, dict())"}],"source_content_type":"text/x-python","patch_set":27,"id":"7f515b1d_a57131e3","line":180,"updated":"2017-09-23 10:41:43.000000000","message":"This fixes the issues I was having after splitting the extension.","commit_id":"612b60f163fafb306aea7e53a33d62a445e765e8"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"33f15754280eee012bf1ea3987ffdee4a719ea99","unresolved":false,"context_lines":[{"line_number":182,"context_line":"        return resource_helper.build_resource_info("},{"line_number":183,"context_line":"            plural_mappings,"},{"line_number":184,"context_line":"            RESOURCE_ATTRIBUTE_MAP,"},{"line_number":185,"context_line":"            ext_sfc.SFC_EXT,"},{"line_number":186,"context_line":"            register_quota\u003dTrue)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    def get_extended_resources(self, version):"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f515b1d_806983bf","line":185,"range":{"start_line":185,"start_character":12,"end_line":185,"end_character":27},"updated":"2017-09-23 12:18:11.000000000","message":"Reverted back to get_resources of PS26, only the highlighted part (which I changed in relation to PS26) is required. Regarding the failure of the extension tests of PS27, a similar change had to been made. It seems that this is how it finds what plugin will actually implement the methods... and so the original SFC extension has to be used here, so it can find the sfc plugin (able to then implement the graph methods).","commit_id":"09f12a8f88d1724ff7c6f8aedb594d3dc45ec47c"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"0363ac2e7bb3a8d96f9aaa8ddde5c9e0ba399c74","unresolved":false,"context_lines":[{"line_number":36,"context_line":"cfg.CONF.import_opt(\u0027api_extensions_path\u0027, \u0027neutron.common.config\u0027)"},{"line_number":37,"context_line":"neutron_ext.append_api_extensions_path(sfc_extensions.__path__)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"SG_EXT \u003d \"service_graph\""},{"line_number":40,"context_line":"SG_PREFIX \u003d ext_sfc.SFC_PREFIX"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"SERVICE_GRAPH \u003d \u0027service_graph\u0027"}],"source_content_type":"text/x-python","patch_set":29,"id":"7f515b1d_7b0d1c3d","line":39,"range":{"start_line":39,"start_character":10,"end_line":39,"end_character":23},"updated":"2017-09-23 19:07:25.000000000","message":"Renamed extension alias for consistency with flow_classifier.","commit_id":"5cda9c30cab54127971ee69aae3b685058f38a0f"}],"networking_sfc/extensions/sfc.py":[{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":195,"context_line":"            for val in port_chains[key]:"},{"line_number":196,"context_line":"                if not uuidutils.is_uuid_like(val):"},{"line_number":197,"context_line":"                    raise InvalidPortChainUUID("},{"line_number":198,"context_line":"                        error_message\u003d\u0027UUID of destination Port-Chain \u0027"},{"line_number":199,"context_line":"                                      \u0027is invalid: %s.\u0027 % key)"},{"line_number":200,"context_line":"        else:"},{"line_number":201,"context_line":"            raise InvalidPortChainUUID("}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_37a0bbf4","line":198,"range":{"start_line":198,"start_character":63,"end_line":198,"end_character":64},"updated":"2017-02-10 17:40:34.000000000","message":"Other messages use \"Port Chain\"","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":195,"context_line":"            for val in port_chains[key]:"},{"line_number":196,"context_line":"                if not uuidutils.is_uuid_like(val):"},{"line_number":197,"context_line":"                    raise InvalidPortChainUUID("},{"line_number":198,"context_line":"                        error_message\u003d\u0027UUID of destination Port-Chain \u0027"},{"line_number":199,"context_line":"                                      \u0027is invalid: %s.\u0027 % key)"},{"line_number":200,"context_line":"        else:"},{"line_number":201,"context_line":"            raise InvalidPortChainUUID("}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_92e7b511","line":198,"range":{"start_line":198,"start_character":63,"end_line":198,"end_character":64},"in_reply_to":"fa31d9ce_37a0bbf4","updated":"2017-02-10 18:05:58.000000000","message":"Consistency, great!","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                                      \u0027is invalid: %s.\u0027 % key)"},{"line_number":200,"context_line":"        else:"},{"line_number":201,"context_line":"            raise InvalidPortChainUUID("},{"line_number":202,"context_line":"                error_message\u003d\u0027UUID of source Port-Chain\u0027"},{"line_number":203,"context_line":"                              \u0027is invalid: %s.\u0027 % key)"},{"line_number":204,"context_line":"    return port_chains"},{"line_number":205,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_77aa33d6","line":202,"range":{"start_line":202,"start_character":50,"end_line":202,"end_character":51},"updated":"2017-02-10 17:40:34.000000000","message":"Same here","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                                      \u0027is invalid: %s.\u0027 % key)"},{"line_number":200,"context_line":"        else:"},{"line_number":201,"context_line":"            raise InvalidPortChainUUID("},{"line_number":202,"context_line":"                error_message\u003d\u0027UUID of source Port-Chain\u0027"},{"line_number":203,"context_line":"                              \u0027is invalid: %s.\u0027 % key)"},{"line_number":204,"context_line":"    return port_chains"},{"line_number":205,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_b2cbd971","line":202,"range":{"start_line":202,"start_character":50,"end_line":202,"end_character":51},"in_reply_to":"fa31d9ce_77aa33d6","updated":"2017-02-10 18:05:58.000000000","message":"Ack","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":538,"context_line":"    def create_sfc_graph(self, context, sfc_graph):"},{"line_number":539,"context_line":"        pass"},{"line_number":540,"context_line":""},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"    @abstractmethod"},{"line_number":543,"context_line":"    def update_sfc_graph(self, context, id, sfc_graph):"},{"line_number":544,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_bc8652b7","line":541,"updated":"2017-02-10 17:40:34.000000000","message":"nit: blank line (got an E303 lint warning)","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":538,"context_line":"    def create_sfc_graph(self, context, sfc_graph):"},{"line_number":539,"context_line":"        pass"},{"line_number":540,"context_line":""},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"    @abstractmethod"},{"line_number":543,"context_line":"    def update_sfc_graph(self, context, id, sfc_graph):"},{"line_number":544,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_12ee658b","line":541,"in_reply_to":"fa31d9ce_bc8652b7","updated":"2017-02-10 18:05:58.000000000","message":"Will fix.","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":7776,"name":"Paul Carver","email":"pcarver@att.com","username":"pcarver"},"change_message_id":"d5c7ec492384c00bf3832e4c8bbdb3c1f747b0ee","unresolved":false,"context_lines":[{"line_number":197,"context_line":"    return parameters if parameters else DEFAULT_PPG_PARAMETERS"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"def normalize_service_graph(port_chains):"},{"line_number":201,"context_line":"    port_chains \u003d lib_converters.convert_none_to_empty_dict(port_chains)"},{"line_number":202,"context_line":"    for key in port_chains:"},{"line_number":203,"context_line":"        if uuidutils.is_uuid_like(key):"}],"source_content_type":"text/x-python","patch_set":15,"id":"bff0334d_099c1c5b","line":200,"updated":"2017-04-10 13:14:03.000000000","message":"As part of moving the API definition to neutron-lib we have an issue where we can\u0027t allow a circular dependency of neutron-lib on networking-sfc, so any required converters will also need to be moved into neutron-lib.\n\nThe question is, does this converter have to be SFC specific or can we make this generic?\n\nThis appears to be a combination of a converter and a validator. Am I understanding the intent correctly?\n\nIt seems that all the conversion is happening on line 201 using a neutron-lib converter. Then additionally a validation is being done. The logic of the validation appears to be \"every key-value pair in the port chain must be a pair of UUIDs\"\n\nDo we need to have the SFC specific exceptions? Or can I implement this in neutron-lib as a generic validation of a dictionary of UUID-UUID key-value pairs?","commit_id":"dc38d66018990cfdbd88281b75305d6a9203db1d"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"44ad7bdcaaaace54d8fa3a920b58b991a299299a","unresolved":false,"context_lines":[{"line_number":197,"context_line":"    return parameters if parameters else DEFAULT_PPG_PARAMETERS"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"def normalize_service_graph(port_chains):"},{"line_number":201,"context_line":"    port_chains \u003d lib_converters.convert_none_to_empty_dict(port_chains)"},{"line_number":202,"context_line":"    for key in port_chains:"},{"line_number":203,"context_line":"        if uuidutils.is_uuid_like(key):"}],"source_content_type":"text/x-python","patch_set":15,"id":"bff0334d_fe6aa87e","line":200,"in_reply_to":"bff0334d_099c1c5b","updated":"2017-04-11 10:04:06.000000000","message":"Maybe we can, I\u0027m not sure.. I noticed that one of my exceptions actually doesn\u0027t say what the resource was, so I\u0027ll fix that. About the validation itself, the graph is a dictionary of UUID:[UUIDs] and if possible I\u0027d say let\u0027s move all these validators there.","commit_id":"dc38d66018990cfdbd88281b75305d6a9203db1d"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"631cf86e946fd4fac31f46403f5c21225b7abc3b","unresolved":false,"context_lines":[{"line_number":197,"context_line":"    return parameters if parameters else DEFAULT_PPG_PARAMETERS"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"def normalize_service_graph(port_chains):"},{"line_number":201,"context_line":"    port_chains \u003d lib_converters.convert_none_to_empty_dict(port_chains)"},{"line_number":202,"context_line":"    for key in port_chains:"},{"line_number":203,"context_line":"        if uuidutils.is_uuid_like(key):"}],"source_content_type":"text/x-python","patch_set":15,"id":"bff0334d_9e903c4c","line":200,"in_reply_to":"bff0334d_fe6aa87e","updated":"2017-04-11 10:09:09.000000000","message":"OK the exception is receiving the message from the code. So at the very least I will make the invalid UUID exception generic. I\u0027m not sure what neutron-lib currently provides, but whatever it does we don\u0027t need to reimplement.","commit_id":"dc38d66018990cfdbd88281b75305d6a9203db1d"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"4bd94844b69b250b6c97f20dea383bb135f3c9e8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 Futurewei. All rights reserved."},{"line_number":2,"context_line":"# Copyright 2017 Intel Corporation.  All rights reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":5,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":24,"id":"7f287b81_a048f4cb","line":2,"range":{"start_line":2,"start_character":56,"end_line":2,"end_character":57},"updated":"2017-08-23 15:56:21.000000000","message":".","commit_id":"a2bc6ab2b295c5d5b53ea0ac96dba7afbfc25561"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"aab8858a6623517092b1bce71cc46225c2cb91dc","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 Futurewei. All rights reserved."},{"line_number":2,"context_line":"# Copyright 2017 Intel Corporation."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":25,"id":"7f287b81_7e08a490","line":1,"updated":"2017-08-31 14:38:06.000000000","message":"Maybe keep this patchset as W-1, the graph API change should be moved to a new extension?","commit_id":"7c466ba9501d62c185355b1d0ec223b014426e94"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"48a66d1db546bb2cdc8dc4fc4f9a9d9485d1bc29","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 Futurewei. All rights reserved."},{"line_number":2,"context_line":"# Copyright 2017 Intel Corporation."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":25,"id":"ff5d4b2f_a51395b8","line":1,"in_reply_to":"7f287b81_7e08a490","updated":"2017-09-19 12:53:32.000000000","message":"It should.. I will investigate how to do this.","commit_id":"7c466ba9501d62c185355b1d0ec223b014426e94"}],"networking_sfc/services/sfc/driver_manager.py":[{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"faf74a3940aebf78422c23d37a295c93df3c155e","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def delete_port_pair_group_postcommit(self, context):"},{"line_number":149,"context_line":"        self._call_drivers(\"delete_port_pair_group_postcommit\", context)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def create_sfc_graph_precommit(self, context):"},{"line_number":152,"context_line":"        self._call_drivers(\"create_sfc_graph_precommit\", context)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def create_sfc_graph_postcommit(self, context):"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa6399be_a4deee6a","line":151,"range":{"start_line":151,"start_character":15,"end_line":151,"end_character":18},"updated":"2016-10-20 09:15:25.000000000","message":"How about using \u0027portchain\u0027 instead of \u0027sfc\u0027 to be consistent with the existing nomenclature?","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"e5e59f086c6a41280447cf046de1110ea8166a74","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def delete_port_pair_group_postcommit(self, context):"},{"line_number":149,"context_line":"        self._call_drivers(\"delete_port_pair_group_postcommit\", context)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def create_sfc_graph_precommit(self, context):"},{"line_number":152,"context_line":"        self._call_drivers(\"create_sfc_graph_precommit\", context)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def create_sfc_graph_postcommit(self, context):"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_a7f2e898","line":151,"range":{"start_line":151,"start_character":15,"end_line":151,"end_character":18},"in_reply_to":"da6895a0_59e583a6","updated":"2016-10-21 05:22:53.000000000","message":"No problem, I am not objecting the current proposed name but  to me it might create confusion going forward. Anyways go with what sounds reasonable to all of us ;)","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"6f3e7611ef34c3505aa240be0affd6d9b7df1e5f","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def delete_port_pair_group_postcommit(self, context):"},{"line_number":149,"context_line":"        self._call_drivers(\"delete_port_pair_group_postcommit\", context)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def create_sfc_graph_precommit(self, context):"},{"line_number":152,"context_line":"        self._call_drivers(\"create_sfc_graph_precommit\", context)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def create_sfc_graph_postcommit(self, context):"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_9bed2f8e","line":151,"range":{"start_line":151,"start_character":15,"end_line":151,"end_character":18},"in_reply_to":"da6895a0_a7f2e898","updated":"2016-10-21 14:18:46.000000000","message":"Right. By the way, an intro to SFC Graph can be read in RFC 7665 section 2.1: https://tools.ietf.org/html/rfc7665. It shouldn\u0027t be confused with ETSI\u0027s VNFFG.","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"82c49f590e564f4b899c6630ae735c6fbecaf9f2","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    def delete_port_pair_group_postcommit(self, context):"},{"line_number":149,"context_line":"        self._call_drivers(\"delete_port_pair_group_postcommit\", context)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def create_sfc_graph_precommit(self, context):"},{"line_number":152,"context_line":"        self._call_drivers(\"create_sfc_graph_precommit\", context)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def create_sfc_graph_postcommit(self, context):"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_59e583a6","line":151,"range":{"start_line":151,"start_character":15,"end_line":151,"end_character":18},"in_reply_to":"fa6399be_a4deee6a","updated":"2016-10-20 18:29:39.000000000","message":"My original intent was to call the new resource simply service_function_chain, since that is the name in IETF SFC. IETF SFCs can branch so they can exist as graphs. I then added the \"graph\" word to make it very clear that this is a graph of non-branching chains (port chains). I\u0027m not saying no to your suggestion but, at least for now, I\u0027ll keep this nomenclature to better match with the presentation at the summit.","commit_id":"4d724f59f18b3f283745f012eb2821cbae38a16c"}],"networking_sfc/tests/tempest_plugin/tests/api/test_sfc_extensions.py":[{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"7fabd45d8dbcf25f84af6c8fc206a9f2eeb6e123","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        Create SFC Graph"},{"line_number":43,"context_line":"        Update SFC Graph"},{"line_number":44,"context_line":"        Delete SFC Graph"},{"line_number":45,"context_line":"        Show SFC Graphs"},{"line_number":46,"context_line":"    \"\"\""},{"line_number":47,"context_line":"    @decorators.idempotent_id(\u00271b84cf01-9c09-4ce7-bc72-b15e39076469\u0027)"},{"line_number":48,"context_line":"    def test_create_port_pair_different_ingress_egress(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_775f9372","line":45,"updated":"2017-02-10 17:40:34.000000000","message":"Extra \u0027s\u0027 for show\nport pair groups has the same typo","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"},{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"d6e1cdcb5a69f35ea12a790f1296232ef8e2f61f","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        Create SFC Graph"},{"line_number":43,"context_line":"        Update SFC Graph"},{"line_number":44,"context_line":"        Delete SFC Graph"},{"line_number":45,"context_line":"        Show SFC Graphs"},{"line_number":46,"context_line":"    \"\"\""},{"line_number":47,"context_line":"    @decorators.idempotent_id(\u00271b84cf01-9c09-4ce7-bc72-b15e39076469\u0027)"},{"line_number":48,"context_line":"    def test_create_port_pair_different_ingress_egress(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa31d9ce_72a40157","line":45,"in_reply_to":"fa31d9ce_775f9372","updated":"2017-02-10 18:05:58.000000000","message":"Will fix. Will correct the ppg too.","commit_id":"7eb66b841488ffbb76a8315e4ef55aac573dc1a3"}],"networking_sfc/tests/unit/extensions/test_servicegraph.py":[{"author":{"_account_id":9396,"name":"igordcard","email":"igordcard@gmail.com","username":"igordcard"},"change_message_id":"33f15754280eee012bf1ea3987ffdee4a719ea99","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        super(ServiceGraphExtensionTestCase, self).setUp()"},{"line_number":44,"context_line":"        self._setUpExtension("},{"line_number":45,"context_line":"            \u0027networking_sfc.extensions.servicegraph.ServiceGraphPluginBase\u0027,"},{"line_number":46,"context_line":"            sfc_ext.SFC_EXT,"},{"line_number":47,"context_line":"            sg_ext.RESOURCE_ATTRIBUTE_MAP,"},{"line_number":48,"context_line":"            sg_ext.Servicegraph,"},{"line_number":49,"context_line":"            sg_ext.SG_PREFIX[1:],"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f515b1d_606687f0","line":46,"range":{"start_line":46,"start_character":12,"end_line":46,"end_character":27},"updated":"2017-09-23 12:18:11.000000000","message":"The respective change in the extension test file.","commit_id":"09f12a8f88d1724ff7c6f8aedb594d3dc45ec47c"}]}
