tacker/tacker/tests/etc/samples/etsi/nfv
Sameer d3cc82139e Fetch an on-boarded VNF package with HTTP_RANGE
The GET method fetches the content of a VNF package identified by
the VNF package identifier allocated by the NFVO.

The 'HTTP_RANGE' header is inspected for a valid value.
If it is present and valid, then the package content within
the range is fetched.If not present the entire content is
fetched

A 'size' column has been added to vnf_packages db table.
When the VNF package content is uploaded, the size of the
csar zip is persisted in this newly added 'size' column of
vnf_packages db table.

When VNF_Package content is fetched for the first time, its size is
retrieved from glance store and the size column in vnf packages table
is populated with this value. For subsequent fetch calls the size of
csar file content is retrieved from 'size' column in vnf_packages
table.

A lot of the content fetching code has been reused from
glance/api/v2/image_data.py ResponseSerializer class
download function

Blueprint: bp/enhance-vnf-package-support-part1

Change-Id: Ib49ef8b1e81ca4a4b7e3ac4a0836c111ce7da4a3
2020-04-25 07:39:06 +00:00
..
common Add functional tests for vnflcm APIs 2020-04-23 09:24:34 +00:00
sample_vnfpkg_no_meta_single_vnfd Fetch an on-boarded VNF package with HTTP_RANGE 2020-04-25 07:39:06 +00:00
user_data_common/Definitions Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_basehot_invalid Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_non_dict/UserData Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_normal Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_userdata_invalid_hot_param Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_userdata_invalid_script Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_userdata_none Support LCM operation with user data 2020-04-24 11:37:45 +09:00
user_data_sample_userdata_timeout Support LCM operation with user data 2020-04-24 11:37:45 +09:00
vnflcm1 Add functional tests for vnflcm APIs 2020-04-23 09:24:34 +00:00
vnflcm2 Add functional tests for vnflcm APIs 2020-04-23 09:24:34 +00:00
vnflcm3 Add functional tests for vnflcm APIs 2020-04-23 09:24:34 +00:00
vnfpkgm1 Support attribute filtering for GET /vnf_packages API 2020-04-23 10:17:45 +00:00
vnfpkgm2 Support attribute filtering for GET /vnf_packages API 2020-04-23 10:17:45 +00:00