From b324d00999025be25a2839ddaff8ef89b14d9378 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Tue, 28 Aug 2018 09:04:28 +0800 Subject: pkgtools: Update doc for certification and signing Change-Id: I0e46165933e8c871c5be1df6e6e9d1f01fafa1b0 Issue-ID: VNFSDK-310 Signed-off-by: Lianhao Lu --- docs/files/pkgtool.rst | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'docs/files') 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. -- cgit 1.2.3-korg