Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I2e546f4a3b56bfb331207034c285323728a3b774
Issue-ID: VNFSDK-326
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Implement test for vnf requirement R-35851: The VNF Package MUST include
VNF topology that describes basic network and application connectivity
internal and external to the VNF including Link type, KPIs, Bandwidth,
latency, jitter, QoS (if applicable) for each interface.
For now, we only check the existence of CP or VL, because Link type,
bandwidth are already foced by ONAP DM. For other KPIs, current onap DM
doesn't define yet.
Change-Id: I6ad78edfcbd96ef748e1dbe5f0674b6e4e537e06
Issue-ID: VNFSDK-314
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Implement test for vnf requirement R-26881: The VNF provider MUST
provide the binaries and images needed to instantiate the VNF (VNF and
VNFC images).
Change-Id: Idce2e598e98365b87ad0491975adbb0f76b38604
Issue-ID: VNFSDK-313
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Implement test for vnf requirement R-04298: The VNF provider MUST
provide their testing scripts to support testing.
Change-Id: I16e5b7f01fbf33983846a3f82895e5c78fe65948
Issue-ID: VNFSDK-312
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Implement test for vnf requirement R-77707: provider MUST include a
Manifest File that contains a list of all the components in the VNF
package.
Change-Id: Ief3f8af2cce20d003007147f106ba9c72bcde292
Issue-ID: VNFSDK-317
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Implemented the internal code framework to add test cases to check vnf
requirements. Use command line parameter '--test-reqs' with the list of
vnf requirment IDs to invoke 'vnfsdk csar-validate'.
Also implement test case for R-66070: csar manifest metadata
Change-Id: I385e515f3e87f1e89fb7baf9ec3e0560f44541cd
Issue-ID: VNFSDK-316
Issue-ID: VNFSDK-174
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Shouldn't allow the user to set digest or certificate if manifest is
not set.
Change-Id: Iccb9f038106d52039f75ce80af1cce3858d1fba5
Issue-ID: VNFSDK-311
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added the support of certificate and signing based on SOL-004.
Change-Id: I864f298edbcd85a9da2126d369a5b98d7950d590
Issue-ID: VNFSDK-144
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added the supporting functions for sign and verify using certificate.
Change-Id: Ic84e773d60c248963e63909cbdae3edd99bd5293
Issue-ID: VNFSDK-144
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Based on the community feedback, drop the aria validation backend
because it has been retired. Now we use opnfv-toscaparser as the
validation backend because it's used by various projects in ONAP and is
recommended by ONAP modeling sub-committee.
Issue-ID: VNFSDK-292
Change-Id: Iab65185b3303cad78a01ac930ce9e2760c5d4eb4
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added the code logic to validate HPA for opnfv tosca parser. Also
corrected some hpa validation schema errors introduced by the previous
patch.
Change-Id: Icd61d34d7915aa965ec32adfc3c0f1a117dd6f3e
Issue-ID: VNFSDK-194
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added the declarative schema for hpa validation. This is the ground
layering work for hpa validation.
Change-Id: I2ff30489e191ecf187711e1025f6e3faee9946c3
Issue-ID: VNFSDK-194
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
The previous verbose logging switch '-v' doesn't work as we expected.
Change the code to follow python conventions to make it work.
Issue-ID: VNFSDK-297
Change-Id: Ia0c41b5067d9c28acccabc4137797310052fce5e
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Change-Id: Ic670ee5dd768e46c6d2398d036f9e8bb5f428475
Issue-ID: VNFSDK-292
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Change-Id: If91dc29c40e074737baed39805aba43458911952
Issue-ID: VNFSDK-294
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Previously, we assume all the yaml files in the csar package are located
under definition directory. This is not always true according to
SOL-004. We need to change the way how we call aria to validate the vnfd
content within the csar pacakge.
Also added the unit test for vnfsdk_pkgtools/validator.
Issue-ID: VNFSDK-231
Change-Id: Ia112b21b3bbf64ab980dd4e98aab0e87131f28e0
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Support to compute file digest and save it to manifest file. Also extend
the manifest file module to be able to write content into temporary
file.
Change-Id: If1f3f42799eb527bdeac418d1a40aa203641f628
Issue-ID: VNFSDK-174
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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>
|
|
We need to adjust the python module structure meet the pypi
requirements. This has been tested on test pypi
https://test.pypi.org/project/vnfsdk.
1. move 3 directories cli/ validator/ packager/ into vnfsdk_pkgtools. so
now the python module for vnfsdk pkgtools would be "vnfsdk_pkgtool.*"
2. Added missing README.rst, LICENSE.txt according to pypi requirement.
3. Added new version mechanism accroding onap community suggestions.
4. Other clean sweep job like dos2unix.
Change-Id: If90df33673bff045d85d67c29a1d0ab44d0c8858
Issue-ID: VNFSDK-143
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
1. Added the support of manifest file, change history file, test directory,
license directory.
2. Added the support of including empty directories in the final csar
package.
Change-Id: I639110b2e92c91ec9c6bf5c505a60bb1d3b63599
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Issue-Id: VNFSDK-52
|
|
Added unit tests with tox configuration
Change-Id: I99a5107689c0df198cdc22e6272176b8c4747896
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
Issue-id: VNFSDK-60
|