From 8883ceff56413298341feb5ca8d26c93037dea77 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 1 Mar 2018 15:30:25 +0530 Subject: Update profiling arguments doc Issue-ID: CLI-95 Change-Id: I05f56a047b3f732d840b3c685b7606ef06dc1e95 Signed-off-by: Kanagaraj Manickam k00365106 --- docs/user_guide.rst | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'docs/user_guide.rst') diff --git a/docs/user_guide.rst b/docs/user_guide.rst index a4203959..6f761756 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -41,9 +41,36 @@ typing **use ** Run *onap [-v|--version]* to see the CLI and available product version details -Set the parameter values ------------------------- -Use the directive 'set' for setting the values for parameters and 'unset' for reseting the values. +Profiling arguments +------------------- +In interactive mode, user can use profiles for for “set arguments value once and use it ever”. + +Please follow the steps given below for setting profiles: + +1. Open the ONAP CLI interactive console + +2. Create the profile, say ‘test:aai’ by running ‘profile test:aai’ +There is no limit in number of profiles. OCLIP will create a profile if not exist already, +otherwise on typing 'profile' on the console, corresponding profiles will be effective. +So you can switch across profiles by using this directive 'profile'. + +3. For example, to add the credentials, Run following steps: +a. set host-url= +b. set host-username=AAI +c. set host-pasword=AAI +d. Type 'set' to print all these arguments stored so far. + +NOTE: Profiles are not limited to set only credentials, you can set any frequently using +common arguments, which are listed in command help. + +4. You can override these stored arguments by providing them as arguments directly while +running the CLI. + +5. Profile information is persisted, so when you disconnect and connect again the CLI console, +you can start use the same profile again. + +NOTE: Use the directive 'set' for setting the values for parameters and 'unset' for reseting + the values. Help ---- -- cgit 1.2.3-korg