From d0ec40f6ac2a5b5e253b262baba58676216d9544 Mon Sep 17 00:00:00 2001 From: Kanagaraj M Date: Thu, 29 Aug 2019 18:07:57 +0530 Subject: Revert the command name change Issue-ID: CLI-166 Change-Id: Ie933c02c74b02420745870716e756299020a849f Signed-off-by: Kanagaraj Manickam k00365106 --- .../integration/src/main/resources/script/vnf-tosca-provision.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'products/onap-dublin/features/integration/src/main/resources/script') diff --git a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py index 6dc7310e..40f00a77 100644 --- a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py +++ b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py @@ -619,8 +619,9 @@ if __name__ == '__main__': '\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) @@ -713,6 +714,9 @@ if __name__ == '__main__': 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() -- cgit 1.2.3-korg