commit fdbdbd6478083a84771d4396928cbea89edc737f Author: Koichi Edagawa Date: Mon Aug 17 19:46:32 2020 +0900 Support of version 2.4.1 on Query VNF VNFM returns a "200 OK" response that includes "vnfPkgId" in the payload body. Implements: blueprint support-etsi-nfv-specs Spec: https://specs.openstack.org/openstack/tacker-specs/specs/victoria/enhancement_enhance-vnf-lcm-api-support.html Change-Id: I944be2390735f4993c56c7630b1de82536d11847 (cherry picked from commit 7439b4e0da8d49bc6a84a7e3e3b02b23f23f523c) diff --git a/api-ref/source/v1/vnflcm.inc b/api-ref/source/v1/vnflcm.inc index 0c2c2d4..5a57b31 100644 --- a/api-ref/source/v1/vnflcm.inc +++ b/api-ref/source/v1/vnflcm.inc @@ -311,6 +311,7 @@ Response Parameters - vnfProductName: vnf_instance_vnf_product_name - vnfSoftwareVersion: vnf_instance_vnf_software_version - vnfdVersion: vnf_instance_vnfd_version + - vnfPkgId: vnf_instance_vnf_pkg_id - vimConnectionInfo: vnf_instance_vim_connection_info - id: vim_connection_info_id - vimId: vim_connection_info_vim_id diff --git a/tacker/api/vnflcm/v1/controller.py b/tacker/api/vnflcm/v1/controller.py index 8b907b7..a622e5f 100644 --- a/tacker/api/vnflcm/v1/controller.py +++ b/tacker/api/vnflcm/v1/controller.py @@ -199,7 +199,6 @@ class VnfLcmController(wsgi.Controller): def show(self, request, id): context = request.environ['tacker.context'] context.can(vnf_lcm_policies.VNFLCM % 'show') - vnf_instance = self._get_vnf_instance(context, id) return self._view_builder.show(vnf_instance)