Update profiling arguments doc 91/33591/1
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 1 Mar 2018 10:00:25 +0000 (15:30 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 1 Mar 2018 10:00:25 +0000 (15:30 +0530)
Issue-ID: CLI-95

Change-Id: I05f56a047b3f732d840b3c685b7606ef06dc1e95
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
docs/user_guide.rst

index a420395..6f76175 100644 (file)
@@ -41,9 +41,36 @@ typing **use <product-version>**
 
 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=<aai-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
 ----