From 039ac41531956a733ed96f7c715ed072e724e0df Mon Sep 17 00:00:00 2001 From: Anand B Jyoti Date: Wed, 4 Oct 2017 08:26:56 +0530 Subject: Docs: Enhance the userguide with CLI command reference JIRA: SAMPLEVNF-84 Update the documents with CLI command reference and Resolve the jenkins build warnings. Change-Id: I2bf22507758e1a13b648cc40d86495581fe0d981 Signed-off-by: Anand B Jyoti --- .../user/userguide/06-How_to_use_REST_api.rst | 175 ++++--- docs/testing/user/userguide/07-Config_files.rst | 84 ++-- .../user/userguide/08-CLI_Commands_Reference.rst | 531 +++++++++++++++++++++ docs/testing/user/userguide/index.rst | 1 + 4 files changed, 675 insertions(+), 116 deletions(-) create mode 100644 docs/testing/user/userguide/08-CLI_Commands_Reference.rst diff --git a/docs/testing/user/userguide/06-How_to_use_REST_api.rst b/docs/testing/user/userguide/06-How_to_use_REST_api.rst index c2c8836e..53726464 100644 --- a/docs/testing/user/userguide/06-How_to_use_REST_api.rst +++ b/docs/testing/user/userguide/06-How_to_use_REST_api.rst @@ -91,68 +91,67 @@ for your VNF. URI definition for different VNF’s =================================== -:: -URI REST Method Arguments Description +URI REST Method Arguments Description =========================================================================================================================== -/vnf GET None Displays top level methods available - -/vnf/config GET None Displays the current config set - POST pci_white_list: Command success/failure - num_worker(o): - vnf_type(o): - pkt_type (o): - num_lb(o): - sw_lb(o): - sock_in(o): - hyperthread(o) : - -/vnf/config/arp GET None Displays ARP/ND info - POST action: Command success/failure - ipv4/ipv6:
- portid: <> - macaddr: <> for add - -/vnf/config/link GET None - POST link_id:<> Command success/failure - state: <1/0> - -/vnf/config/link/ GET None - POST Command success/failure - ipv4/ipv6:
- depth: <> - -/vnf/config/route GET None Displays gateway route entries - POST portid: <> Adds route entries for default gateway - nhipv4/nhipv6: - depth: <> - type:"net/host" - -/vnf/config/rules(vFW/vACL only) GET None Displays the methods /load/clear -/vnf/config/rules/load GET None Displays if file was loaded - PUT