)]}'
{"releasenotes/notes/infra-mgmt-driver-deprecation-from-api-3a4420ddfec4267c.yaml":[{"author":{"_account_id":16237,"name":"venkatamahesh","email":"venkatamaheshkotha@gmail.com","username":"venkatamahesh"},"change_message_id":"5d674f429e8c5f7098cda2ea6b2c15d2e8da81e5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - Deriving infra_driver and mgmt_drvier from VNFD API is deprecated and will"},{"line_number":4,"context_line":"    be removeed in Ocata."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa7ab95a_eab829eb","line":4,"range":{"start_line":4,"start_character":7,"end_line":4,"end_character":15},"updated":"2016-08-31 09:31:55.000000000","message":"removed","commit_id":"0756aaee53dfbcdef5e2b11905bcb056073f6708"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"ace225034e384c3ca7da09b6440498808065856b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - Deriving infra_driver and mgmt_drvier from VNFD API is deprecated and will"},{"line_number":4,"context_line":"    be removeed in Ocata."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa7ab95a_aa80e18c","line":4,"range":{"start_line":4,"start_character":7,"end_line":4,"end_character":15},"in_reply_to":"fa7ab95a_eab829eb","updated":"2016-08-31 09:40:51.000000000","message":"Done","commit_id":"0756aaee53dfbcdef5e2b11905bcb056073f6708"}],"tacker/db/vm/vm_db.py":[{"author":{"_account_id":16237,"name":"venkatamahesh","email":"venkatamaheshkotha@gmail.com","username":"venkatamahesh"},"change_message_id":"5d674f429e8c5f7098cda2ea6b2c15d2e8da81e5","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            LOG.warning(_(\"Deriving infra_driver and mgmt_driver from VNFD\""},{"line_number":234,"context_line":"                          \" API is deprecated. infra_driver will be \""},{"line_number":235,"context_line":"                          \"automatically derived from target vim type.\""},{"line_number":236,"context_line":"                          \"mgmt_driver will be derived from TOSCA template\""},{"line_number":237,"context_line":"                          \" values.\"))"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        if (not attributes.is_attr_set(infra_driver)):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa7ab95a_6af7b98c","line":236,"range":{"start_line":236,"start_character":27,"end_line":236,"end_character":28},"updated":"2016-08-31 09:31:55.000000000","message":"Add a bit space before mgmt","commit_id":"0756aaee53dfbcdef5e2b11905bcb056073f6708"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"ace225034e384c3ca7da09b6440498808065856b","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            LOG.warning(_(\"Deriving infra_driver and mgmt_driver from VNFD\""},{"line_number":234,"context_line":"                          \" API is deprecated. infra_driver will be \""},{"line_number":235,"context_line":"                          \"automatically derived from target vim type.\""},{"line_number":236,"context_line":"                          \"mgmt_driver will be derived from TOSCA template\""},{"line_number":237,"context_line":"                          \" values.\"))"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        if (not attributes.is_attr_set(infra_driver)):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa7ab95a_6a76d9d9","line":236,"range":{"start_line":236,"start_character":27,"end_line":236,"end_character":28},"in_reply_to":"fa7ab95a_6af7b98c","updated":"2016-08-31 09:40:51.000000000","message":"Done","commit_id":"0756aaee53dfbcdef5e2b11905bcb056073f6708"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"dcce7b42428d5fc111e65f1e7c33298856057540","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":233,"context_line":"            LOG.warning(_(\"Deriving infra_driver and mgmt_driver from VNFD\""},{"line_number":234,"context_line":"                          \" API is deprecated. infra_driver will be \""},{"line_number":235,"context_line":"                          \"automatically derived from target vim type.\""},{"line_number":236,"context_line":"                          \" mgmt_driver will be derived from TOSCA template\""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa7ab95a_ba08302f","line":233,"range":{"start_line":233,"start_character":12,"end_line":233,"end_character":23},"updated":"2016-08-31 10:09:57.000000000","message":"Instead of warning log, explicitly use methods that are specific to report deprecation like in [1].\n\n[1] https://github.com/openstack/tacker/blob/master/tacker/vm/plugin.py#L146","commit_id":"9132265e0154f492bcc947efd7048bb6041fc114"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"25d2184eaa06f08f1c6702cb6506e4c228432ad5","unresolved":false,"context_lines":[{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated. \""},{"line_number":236,"context_line":"                \"infra_driver will be automatically derived from target vim \""},{"line_number":237,"context_line":"                \"type. mgmt_driver will be derived from TOSCA template\""},{"line_number":238,"context_line":"                \" values.\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        if (not attributes.is_attr_set(infra_driver)):"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa7ab95a_da0d773f","line":237,"range":{"start_line":237,"start_character":23,"end_line":237,"end_character":34},"updated":"2016-09-02 02:16:01.000000000","message":"tell when this support will be removed.","commit_id":"ce1c65c1595fa43e173b9a010a1bdc1ddd3dd034"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"25d2184eaa06f08f1c6702cb6506e4c228432ad5","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                \"type. mgmt_driver will be derived from TOSCA template\""},{"line_number":238,"context_line":"                \" values.\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        if (not attributes.is_attr_set(infra_driver)):"},{"line_number":241,"context_line":"            LOG.debug(_(\u0027hosting vnf driver unspecified\u0027))"},{"line_number":242,"context_line":"            raise vnfm.InfraDriverNotSpecified()"},{"line_number":243,"context_line":"        if (not attributes.is_attr_set(mgmt_driver)):"},{"line_number":244,"context_line":"            LOG.debug(_(\u0027mgmt driver unspecified\u0027))"},{"line_number":245,"context_line":"            raise vnfm.MGMTDriverNotSpecified()"},{"line_number":246,"context_line":"        if (not attributes.is_attr_set(service_types)):"},{"line_number":247,"context_line":"            LOG.debug(_(\u0027service types unspecified\u0027))"},{"line_number":248,"context_line":"            raise vnfm.ServiceTypesNotSpecified()"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa7ab95a_7a1e2b71","line":245,"range":{"start_line":240,"start_character":0,"end_line":245,"end_character":47},"updated":"2016-09-02 02:16:01.000000000","message":"remove these","commit_id":"ce1c65c1595fa43e173b9a010a1bdc1ddd3dd034"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"68092be3666c6623dafb1d1b3d887e9ffd0d2862","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                \"type. mgmt_driver will be derived from TOSCA template\""},{"line_number":238,"context_line":"                \" values.\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        if (not attributes.is_attr_set(infra_driver)):"},{"line_number":241,"context_line":"            LOG.debug(_(\u0027hosting vnf driver unspecified\u0027))"},{"line_number":242,"context_line":"            raise vnfm.InfraDriverNotSpecified()"},{"line_number":243,"context_line":"        if (not attributes.is_attr_set(mgmt_driver)):"},{"line_number":244,"context_line":"            LOG.debug(_(\u0027mgmt driver unspecified\u0027))"},{"line_number":245,"context_line":"            raise vnfm.MGMTDriverNotSpecified()"},{"line_number":246,"context_line":"        if (not attributes.is_attr_set(service_types)):"},{"line_number":247,"context_line":"            LOG.debug(_(\u0027service types unspecified\u0027))"},{"line_number":248,"context_line":"            raise vnfm.ServiceTypesNotSpecified()"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a89bdaa_aaab4ad5","line":245,"range":{"start_line":240,"start_character":0,"end_line":245,"end_character":47},"in_reply_to":"fa7ab95a_7a1e2b71","updated":"2016-09-06 06:40:47.000000000","message":"Removed \u0027no infra_driver\u0027 exception. Removing \u0027no mgmt_driver\u0027 exception fails the unit test [1]. Hence not removed.\n\n[1]. https://github.com/openstack/tacker/blob/master/tacker/tests/unit/vm/test_plugin.py#L181","commit_id":"ce1c65c1595fa43e173b9a010a1bdc1ddd3dd034"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"7a5ef10b31a838a23763386d2b1b78e5c63e2754","unresolved":false,"context_lines":[{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""},{"line_number":237,"context_line":"                \" derived from target vim type. mgmt_driver will be derived \""},{"line_number":238,"context_line":"                \"from TOSCA template values.\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        if (not attributes.is_attr_set(service_types)):"},{"line_number":241,"context_line":"            LOG.debug(_(\u0027service types unspecified\u0027))"},{"line_number":242,"context_line":"            raise vnfm.ServiceTypesNotSpecified()"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a89bdaa_e9e8ff7e","line":239,"range":{"start_line":239,"start_character":0,"end_line":239,"end_character":0},"updated":"2016-09-06 07:46:28.000000000","message":"it seems currently, infra driver must be passed by client. so we have to retain infra_driver exception.","commit_id":"691aa79104f7b5b6b687be8504cd536045aed693"},{"author":{"_account_id":12455,"name":"bharaththiruveedula","email":"bharath_ves@hotmail.com","username":"bharaththiruveedula"},"change_message_id":"319b48aa4f42b3c5e443af470ee7ee963eb6e2a0","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        mgmt_driver \u003d vnfd.get(\u0027mgmt_driver\u0027)"},{"line_number":231,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated and\""},{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_ff78962d","line":233,"range":{"start_line":233,"start_character":11,"end_line":233,"end_character":58},"updated":"2016-09-06 14:03:47.000000000","message":"Giving deprecation warning and raising exception for missed values doesn\u0027t makes sense to end user I believe. \n\nqq: can\u0027t we reuse \u0027infra_driver\u0027 and \u0027mgmt_driver\u0027 variables instead of checking again.","commit_id":"0c023dd4d3c19d33c76804ec0e642dc728ad066c"},{"author":{"_account_id":12455,"name":"bharaththiruveedula","email":"bharath_ves@hotmail.com","username":"bharaththiruveedula"},"change_message_id":"7d616cb10de2cce989d3d8945fb69ecd1952e107","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        mgmt_driver \u003d vnfd.get(\u0027mgmt_driver\u0027)"},{"line_number":231,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated and\""},{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_b5454f18","line":233,"range":{"start_line":233,"start_character":11,"end_line":233,"end_character":58},"in_reply_to":"9a89bdaa_f2c60d48","updated":"2016-09-06 14:29:11.000000000","message":"@gongysh, Yup makes sense.","commit_id":"0c023dd4d3c19d33c76804ec0e642dc728ad066c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"34348a6fff1acd07dc4d8258c1963cd1a1c52256","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        mgmt_driver \u003d vnfd.get(\u0027mgmt_driver\u0027)"},{"line_number":231,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated and\""},{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_55586c8a","line":233,"range":{"start_line":233,"start_character":11,"end_line":233,"end_character":58},"in_reply_to":"9a89bdaa_f2c60d48","updated":"2016-09-07 01:38:30.000000000","message":"Let me clear some confusion here:\n\nFirst, these two attributes stayed way too long in the project and it needs to be removed at the earliest. For users using Tacker directly using APIs this has created enough confusion.  \n\nAt the same time, we cannot offered to do a v2 just for these two attributes. That is a bigger effort that we can\u0027t afford at this time. For now, I\u0027d suggest we just deprecate, silently ignore these attributes going forward and use vim-id for infra_driver detail.\n\nSripriya is pushing a following a follow-on patchset to take care of that change. So please mark this as \"Partial-Bug\".","commit_id":"0c023dd4d3c19d33c76804ec0e642dc728ad066c"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"d52fc1d46ebe8c43908256e025e3aed733edfe27","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        mgmt_driver \u003d vnfd.get(\u0027mgmt_driver\u0027)"},{"line_number":231,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated and\""},{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_f2c60d48","line":233,"range":{"start_line":233,"start_character":11,"end_line":233,"end_character":58},"in_reply_to":"9a89bdaa_ff78962d","updated":"2016-09-06 14:19:15.000000000","message":"In the first place, I don\u0027t think we should deprecate it in this API version.\n\nAnd I think we should upgrade API version and remove these driver passing via API attributes.","commit_id":"0c023dd4d3c19d33c76804ec0e642dc728ad066c"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"7b31923a24275964a4faa2aa12089926f2a16fdf","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        mgmt_driver \u003d vnfd.get(\u0027mgmt_driver\u0027)"},{"line_number":231,"context_line":"        service_types \u003d vnfd.get(\u0027service_types\u0027)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        if \u0027infra_driver\u0027 in vnfd or \u0027mgmt_driver\u0027 in vnfd:"},{"line_number":234,"context_line":"            versionutils.report_deprecated_feature(LOG, \"Deriving \""},{"line_number":235,"context_line":"                \"infra_driver and mgmt_driver from VNFD API is deprecated and\""},{"line_number":236,"context_line":"                \" will be removed in Ocata. infra_driver will be automatically\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_31a3f3b3","line":233,"range":{"start_line":233,"start_character":11,"end_line":233,"end_character":58},"in_reply_to":"9a89bdaa_ff78962d","updated":"2016-09-07 04:47:58.000000000","message":"checking again to be sure that the values are coming from API.","commit_id":"0c023dd4d3c19d33c76804ec0e642dc728ad066c"}]}
