summaryrefslogtreecommitdiffstats
path: root/docs/files/pkgtool.rst
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-08-28 09:04:28 +0800
committerLianhao Lu <lianhao.lu@intel.com>2018-08-28 09:04:28 +0800
commitb324d00999025be25a2839ddaff8ef89b14d9378 (patch)
treeb5cb839286a5ae9b387513c00f92c41a3035f966 /docs/files/pkgtool.rst
parent68ffdde696d28821551b2b26f5862d4b00f6a692 (diff)
pkgtools: Update doc for certification and signing
Change-Id: I0e46165933e8c871c5be1df6e6e9d1f01fafa1b0 Issue-ID: VNFSDK-310 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'docs/files/pkgtool.rst')
-rw-r--r--docs/files/pkgtool.rst22
1 files changed, 16 insertions, 6 deletions
diff --git a/docs/files/pkgtool.rst b/docs/files/pkgtool.rst
index 34bf020..efd3cce 100644
--- a/docs/files/pkgtool.rst
+++ b/docs/files/pkgtool.rst
@@ -47,15 +47,25 @@ Use VNF SDK package tools
Usage
* Create CSAR by specifying a directory
- vnfsdk csar-create -d DESTINATION [--manifest MANIFEST] [--history HISTORY]
- [--tests TESTS] [--licenses LICENSES] source entry
+
+ vnfsdk [-v] csar-create [-h] -d DESTINATION [--manifest MANIFEST] [--history HISTORY]
+ [--tests TESTS] [--licenses LICENSES] [--licenses LICENSES] [--digest {SHA256,SHA512}]
+ [--certificate CERTIFICATE] [--privkey PRIVKEY] source entry
+
+ e.g. $ vnfsdk csar-create -d /tmp/helloworld.csar --manifest helloworld.mf --history ChangeLog.txt
+ --tests Tests --licenses Licenses --certificate test.crt --privkey test.key --digest SHA256
+ ./hello-world/ helloworld.yaml
* Extract CSAR content
- vnfsdk csar-open -d DESTINATION source
+
+ vnfsdk -v csar-open [-h] -d DESTINATION [--no-verify-cert] source
+
+ e.g. $ vnfsdk csar-open -d /tmp/helloworld --no-verify-cert /tmp/helloworld.csar
* Validate CSAR content
- vnfsdk csar-validate source
+ vnfsdk -v csar-validate [-h] source
+
+ e.g. $ vnfsdk csar-validate /tmp/helloworld.csar
-All commands have -h switch which displays help and description of all
-parameters.
+All commands have -h switch which displays help and description of all parameters.