build/
 dist/
 ocomp.egg-info/
+.pydevproject
 .project
 .settings
 .classpath
 
     public void testStreamToString() throws IOException {
         InputStream stubInputStream = IOUtils.toInputStream("Test stream", "UTF-8");
         String out = processRunner.streamToString(stubInputStream);
-        Assert.assertEquals("Test stream\n", out);
+        Assert.assertEquals("Test stream", out.trim());
     }
 
 }
 
 description: |
   ONAP TOSCA VNF validation using ONAP CLI and Open Command Platform (OCOMP)
 
-  This command runs in 4 mode:
+  This command runs in 5 mode:
   1. setup:    Create requires Vendor, Service Subscription and VNF cloud in ONAP
   2. standup:  From the given VSP csar, VNF csar and NS csar, it creates VF Model, NS Model and NS service
   3. cleanup:  Remove those entries provided in onap-objects parameter
-  4. validate: Run setup -> standup -> cleanup
+  4. provision:Run setup -> standup
+  5. validate: Run setup -> standup -> cleanup
 
   On every execution, it reports the ONAP managed object's ids in result onap-objects attribute. so
   if requires, these attribute value could be passed in input parameter onap-objects on subsequent
 
   e. Verify these details once by typing 'set'
 
-  e. Exit from the interactive console by typing 'exit'
+  f. Exit from the interactive console by typing 'exit'
 
   2. Setup SDC consumer
     oclip --product onap-dublin --profile onap-dublin sdc-consumer-create --consumer-name ocomp
     is_optional: true
     default_value: {}
   - name: mode
-    description: setup or standup or cleanup
+    description: setup or standup or cleanup or provision or validate
     type: string
     short_option: Y
     long_option: mode
     is_optional: true
-    default_value: validate
+    default_value: checkup
   - name: vnf-name
     description: VNF Name
     type: string
 
                         '\ncleanup - Remove the ONAP objects which are either created during \nsetup and standup phase or provided by the user in result-json file ' \
                                    '\nCAUTION: If required, do not provide the existing ONAP object ids \nin result-json while doing the cleanup, to avoid them getting deleted.'\
                         '\ncheckup - Check the deployment weather OCOMP is working properly or not' \
+                        '\nprovision - Run thru setup -> standup' \
                         '\nvalidate -  run thru setup -> standup -> cleanup modes for end to end vnf validation',
-                                   choices=('setup', 'standup', 'cleanup', 'checkup', 'validate'))
+                                   choices=('setup', 'standup', 'cleanup', 'checkup', 'provision', 'validate'))
 
     args = parser.parse_args()
     print (args)
         elif mode == 'checkup':
             onap.ocomp.product = 'open-cli'
             onap.ocomp.run(command='schema-list', params={'product': 'open-cli'})
+        elif mode == 'provision':
+           _setup()
+           _standup()
         elif mode == 'validate':
            _setup()
            _standup()
 
 # limitations under the License.
 
 open_cli_schema_version: 1.0
-name: vfc-nslcm-create1
+name: vfc-nslcm-create
 description: vfc nslcm create ns
 
 info: