aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
AgeCommit message (Collapse)AuthorFilesLines
2019-11-29Added both python 2/3 unit test in toxLianhao Lu1-2/+1
Change-Id: I97cd872fa2b67b07d459a0f5c1dd1e4aa634f876 Issue-ID: VNFSDK-532 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-11-01Added python3 supportLianhao Lu1-3/+1
Change-Id: I7a09d11cc6506e91327d96e06a9d1001c9567380 Issue-ID: VNFSDK-419 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-30Test for vnf requirement R-35851Lianhao Lu1-0/+1
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>
2018-08-30Test for vnf requirement R-26881Lianhao Lu1-0/+1
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>
2018-08-30Test for vnf requirement R-04298Lianhao Lu1-0/+1
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>
2018-08-30Test for vnf requirement R-77707Lianhao Lu1-0/+1
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>
2018-08-29framework for checking vnf requirementLianhao Lu1-1/+4
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>
2018-08-23pkgtools: remove aria validation backendLianhao Lu1-3/+0
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>
2018-08-09Ground work for hpa validationLianhao Lu1-0/+1
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>
2018-08-02Added new opnfv-toscaparser validation backendsLianhao Lu1-1/+2
Change-Id: Ic670ee5dd768e46c6d2398d036f9e8bb5f428475 Issue-ID: VNFSDK-292 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-02Make aria dependency optionalLianhao Lu1-1/+3
Since cloudify has announced the retirement of aria, we need to add opnfv-toscaparser as our default backend. However, since they have conflicting dependencies, we need to make aria dependency optional. Change-Id: I22bb5f7411162828226d4290fd00dfd91d49efa3 Issue-ID: VNFSDK-292 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-03-22Adjusted for pypi supportLianhao Lu1-97/+93
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>
2017-09-01Decouple aria parserLianhao Lu1-2/+7
Use stevedore to make the aria parser as a plugin of the vnfsdk package tool. Currently, the aria parser is still the default parser but 3rd party developer can add other plugins as a parser to validate the csar packages. Change-Id: I4a1a1c5e65103fb93fa8aebf3d683781f4888ea4 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Issue-Id: VNFSDK-60
2017-08-18Unified dependency requirement into single fileLianhao Lu1-5/+27
Use the requirements.txt as the single file to include all the dependencies. This is to unblock the jenkins verify job failure. Change-Id: If68b61826bfe8d32d08e59d9b67a8791cc878833 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Issue-Id: VNFSDK-69
2017-08-12Merge "Update the namespace for onap"Gao Weitao1-1/+1
2017-08-02Update the namespace for onapDave Chen1-1/+1
Issue-ID: VNFSDK-62 Change-Id: I1e5296a23bf58820fabb326cf8379fe439243118 Signed-off-by: Dave Chen <wei.d.chen@intel.com>
2017-08-01Remove unused packages out of dependencyLianhao Lu1-5/+0
No need to put packages which is not directly used or already a part of python standard library in the dependency list. Change-Id: I1b1e81beaa5af30404e4f2862e5b2e7d51c5b9b1 Issue-ID: VNFSDK-61 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2017-08-01Resolve the upstream aria dependency issuesLianhao Lu1-5/+3
The upstream arai has been accepted into apache foundation and the pacakge name and interface name have been changed. Here we adopt these upstream changes accordingly. Also we drop conflicting package dependency requirements which are already included in the upstream aria. Change-Id: I9befbe695cc6edc93029f15bbcee3bfe37099d40 Issue-ID: VNFSDK-61 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2017-01-29Add CSAR shared library with CLI toolKrzysztof Frukacz1-0/+77
Initial commit. Shared CSAR Python library with CLI tool Change-Id: I121982cec5c839a47068907a1c4c2b379109a882 Issue-ID: VNFSDK-2 Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>