Support of file digest in manifest file 63/38363/1
authorLianhao Lu <lianhao.lu@intel.com>
Sat, 24 Mar 2018 14:36:08 +0000 (22:36 +0800)
committerLianhao Lu <lianhao.lu@intel.com>
Mon, 26 Mar 2018 05:37:13 +0000 (13:37 +0800)
commit432bca4baa6d704301b0c6e24026018212ecc368
treec63856b57c3ef65fd4ebb5304cc437e4aa0cc895
parenteebc0c50203156aafbbb3cf79469f1701c7f8f7f
Support of file digest in manifest file

Per sol-004, section 4.3.2, the csar manifest file should include the
digest of individual files contained in the package. This patch lays the
foundation of that support.

- Added content check of manifest file
- Added support of generating local file digest in manifest file

Change-Id: If575012d319e6f6aa0e2259e7405d8a2b6f8f338
Issue-ID: VNFSDK-174
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
requirements.txt
tests/cli/__init__.py [deleted file]
tests/packager/__init__.py [deleted file]
tests/packager/test_manifest.py [new file with mode: 0644]
tests/packager/test_utils.py [new file with mode: 0644]
vnfsdk_pkgtools/packager/manifest.py [new file with mode: 0644]
vnfsdk_pkgtools/packager/utils.py [moved from tests/__init__.py with 54% similarity]