From: Kanagaraj Manickam k00365106 Date: Tue, 13 Mar 2018 06:25:31 +0000 (+0530) Subject: DOC: Profile managment for specific service X-Git-Tag: v2.0.2~300 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F35383%2F1;p=cli.git DOC: Profile managment for specific service Issue-ID: CLI-93 Change-Id: Iba65c52e338924423974272025b961edb96c9c9e Signed-off-by: Kanagaraj Manickam k00365106 --- diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 7b2d0544..519364dc 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -49,7 +49,7 @@ Please follow the steps given below for setting profiles: 1. Open the CLI interactive console -2. Create the profile, say ‘test:aai’ by running ‘profile test:aai’ +2. Create the profile, say ‘onap-deployment-1’ by running ‘profile onap-deployment-1’ 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'. @@ -67,6 +67,16 @@ 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. +NOTE: For setting service specific parameters, use in the form of :=. +For example, following setting will be used only for aai service: + +a. set aai:host-url= + +b. set aai:host-username=AAI + +c. set aai:host-pasword=AAI + + 4. You can override these stored arguments by providing them as arguments directly while running the CLI. @@ -75,6 +85,9 @@ 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. +In Beijing release, new default profile named as 'onap-beijing' is delivered with all default ONAP service +credentials. so user could use this profile to avoid setting the credentials every time. + Help ---- *oclip [-h|--help]*