aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cmd_sample.rst
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-07 13:42:21 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-07 13:43:19 +0530
commit72b2125162663aadbbaa4156ecbd91a51390a73a (patch)
treedbc45c3e353b6343fd61055c2b0428e634c12f32 /docs/cmd_sample.rst
parente6ea0028f6bd0d51b0b1c7c9a2fead7d202e6e98 (diff)
Add cli samples into document
Issue-Id: CLI-57 Change-Id: Id3153b70ae8a8bb815f9d2efb9cfe1878a78ec78 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'docs/cmd_sample.rst')
-rw-r--r--docs/cmd_sample.rst259
1 files changed, 258 insertions, 1 deletions
diff --git a/docs/cmd_sample.rst b/docs/cmd_sample.rst
index aa3400eb..246bcbfd 100644
--- a/docs/cmd_sample.rst
+++ b/docs/cmd_sample.rst
@@ -1365,4 +1365,261 @@ output::
|name |ID |description |
+----------+----------------------------------+--------------------------+
|test-vsp |2DEB6CB4B082415BB7A697C9CD1273BA |vendor software product |
- +----------+----------------------------------+--------------------------+ \ No newline at end of file
+ +----------+----------------------------------+--------------------------+
+
+cli-1.0
+========
+
+schema-validate
+----------------
+
+input::
+
+ -l /tmp/hello-world.yaml
+
+output::
+
+ +--------+--------+
+ |sl-no |error |
+ +--------+--------+
+ | | |
+ +--------+--------+
+
+
+ schema-refresh
+----------------
+
+output::
+
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |sl-no |command |product-version |schema |version |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |1 |vfmodule-create |onap-1.1 |vfmodule-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |2 |schema-validate |cli-1.0 |schema-validate.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |3 |schema-refresh |cli-1.0 |schema-refresh.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |4 |cloud-list |onap-1.1 |cloud-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |5 |sdnc-list |onap-1.1 |sdnc-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |6 |sdnc-register |onap-1.1 |sdnc-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |7 |sdnc-unregister |onap-1.1 |sdnc-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |8 |vnfm-show |onap-1.1 |vnfm-show-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |9 |vnfm-unregister |onap-1.1 |vnfm-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |10 |vnfm-register |onap-1.1 |vnfm-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |11 |vnfm-list |onap-1.1 |vnfm-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |12 |vim-register |onap-1.1 |vim-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |13 |vim-unregister |onap-1.1 |vim-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |14 |vim-list |onap-1.1 |vim-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |15 |ems-list |onap-1.1 |ems-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |16 |ems-register |onap-1.1 |ems-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |17 |ems-show |onap-1.1 |ems-show-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |18 |cloud-delete |onap-1.1 |cloud-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |19 |ems-unregister |onap-1.1 |ems-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |20 |subscription-list |onap-1.0 |subscription-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |21 |subscription-create |onap-1.0 |subscription-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |22 |subscription-list |onap-1.1 |subscription-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |23 |subscription-create |onap-1.1 |subscription-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |24 |subscription-delete |onap-1.1 |subscription-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |25 |customer-show |onap-1.0 |customer-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |26 |customer-show |onap-1.1 |customer-show-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |27 |customer-list |onap-1.0 |customer-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |28 |customer-delete |onap-1.0 |customer-delete-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |29 |customer-create |onap-1.0 |customer-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |30 |customer-create |onap-1.1 |customer-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |31 |customer-delete |onap-1.1 |customer-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |32 |customer-list |onap-1.1 |customer-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |33 |vf-list |onap-1.1 |vf-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |34 |service-list |onap-1.1 |service-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |35 |vf-show |onap-1.1 |vf-show-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |36 |tenant-create |onap-1.1 |tenant-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |37 |tenant-list |onap-1.1 |tenant-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |38 |tenant-delete |onap-1.1 |tenant-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |39 |service-type-create |onap-1.0 |service-type-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |40 |service-type-list |onap-1.1 |service-type-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |41 |service-type-create |onap-1.1 |service-type-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |42 |service-type-delete |onap-1.0 |service-type-delete-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |43 |service-type-list |onap-1.0 |service-type-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |44 |service-type-delete |onap-1.1 |service-type-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |45 |cloud-create |onap-1.1 |cloud-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |46 |cloud-list |onap-1.0 |cloud-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |47 |microservice-delete |onap-1.1 |microservice-delete-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |48 |microservice-list |onap-1.1 |microservice-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |49 |microservice-show |onap-1.1 |microservice-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |50 |microservice-create |onap-1.1 |microservice-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |51 |hello-world |sample-1.0 |hello-world.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |52 |hello-world-http |sample-1.0 |hello-world-http.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |53 |vlm-checkin |onap-1.1 |vlm-checkin-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |54 |license-group-create |onap-1.0 |license-group-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |55 |vlm-key-group-create |onap-1.1 |vlm-key-group-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |56 |vlm-aggreement-list |onap-1.1 |vlm-aggreement-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |57 |vlm-key-group-list |onap-1.1 |vlm-key-group-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |58 |vlm-create |onap-1.1 |vlm-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |59 |vlm-entitlement-pool-create |onap-1.1 |vlm-entitlement-pool-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |60 |ep-show |onap-1.0 |license-entitlement-pool-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |61 |license-model-create |onap-1.0 |license-model-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |62 |license-group-show |onap-1.0 |license-group-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |63 |vsp-upload |onap-1.0 |vsp-upload-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |64 |vsp-package |onap-1.1 |vsp-package-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |65 |vsp-submit |onap-1.1 |vsp-submit-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |66 |vsp-checkout |onap-1.1 |vsp-checkout-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |67 |vsp-create |onap-1.0 |vsp-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |68 |vsp-list |onap-1.0 |vsp-list-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |69 |vsp-show |onap-1.1 |vsp-show-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |70 |vsp-show |onap-1.0 |vsp-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |71 |vsp-submit |onap-1.0 |vsp-submit-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |72 |vsp-create |onap-1.1 |vsp-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |73 |vsp-add-artifact |onap-1.1 |vsp-add-artifact-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |74 |vsp-revert |onap-1.1 |vsp-revert-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |75 |vsp-checkin |onap-1.0 |vsp-checkin-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |76 |vsp-checkout |onap-1.1 |vsp-checkout-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |77 |vsp-validate |onap-1.1 |vsp-validate-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |78 |vsp-list |onap-1.1 |vsp-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |79 |vsp-checkin |onap-1.1 |vsp-checkin-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |80 |service-model-checkin |onap-1.1 |service-model-checkin-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |81 |service-model-distribute |onap-1.1 |service-model-distribute-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |82 |service-model-list |onap-1.1 |service-model-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |83 |service-model-certify-start |onap-1.1 |service-model-certify-start-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |84 |service-model-add-vf |onap-1.1 |service-model-add-vf-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |85 |service-model-certify-request |onap-1.1 |service-model-certify-request-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |86 |service-model-revert |onap-1.1 |service-model-checkout-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |87 |service-model-checkout |onap-1.1 |service-model-revert-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |88 |service-model-certify-complete |onap-1.1 |service-model-certify-complete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |89 |service2vf-model-list |onap-1.1 |service2vf-model-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |90 |service-model-create |onap-1.1 |service-model-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |91 |service-model-approve |onap-1.1 |service-model-approve-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |92 |vf-model-create |onap-1.1 |vf-model-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |93 |vf-model-checkin |onap-1.1 |vf-model-checkin-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |94 |vlm-revert |onap-1.1 |vlm-revert-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |95 |vlm-feature-group-create |onap-1.1 |vlm-feature-group-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |96 |vlm-submit |onap-1.1 |vlm-submit-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |97 |license-model-show |onap-1.0 |license-model-show-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |98 |vf-model-certify-start |onap-1.1 |vf-model-certify-start-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |99 |vf-model-list |onap-1.1 |vf-model-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |100 |vlm-entitlement-pool-list |onap-1.1 |vlm-entitlement-pool-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |101 |vlm-feature-group-list |onap-1.1 |vlm-feature-group-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |102 |vlm-checkout |onap-1.1 |vlm-checkout-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |103 |vlm-list |onap-1.1 |vlm-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |104 |vlm-aggreement-create |onap-1.1 |vlm-aggreement-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |105 |vf-model-certify-request |onap-1.1 |vf-model-certify-request-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |106 |ep-create |onap-1.0 |license-entitlement-pool-create-schema.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |107 |vf2vfmodule-model-list |onap-1.1 |vf2vfmodule-model-list-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |108 |vf-model-certify-complete |onap-1.1 |vf-model-certify-complete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |109 |service-delete |onap-1.1 |service-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |110 |vfmodule-delete |onap-1.1 |vf-module-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |111 |vfmodule-create |onap-1.1 |vfmodule-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |112 |service-create |onap-1.1 |service-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |113 |vf-delete |onap-1.1 |vf-delete-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+ |114 |vf-create |onap-1.1 |vf-create-schema-1.1.yaml |1.0 |
+ +--------+--------------------------------+------------------+------------------------------------------------+----------+
+