Initial commit. Moved previous robot test to robot-systest/deprecated. Added basic tests.
Change-Id: I2457a8e66da3df639e4f9e7d4aa91045494055c6
Signed-off-by: romeromonser <garomero@indra.es>
diff --git a/robot-systest/testsuite/api/TS01__Vim_Account.robot b/robot-systest/testsuite/api/TS01__Vim_Account.robot
deleted file mode 100644
index be04c3f..0000000
--- a/robot-systest/testsuite/api/TS01__Vim_Account.robot
+++ /dev/null
@@ -1,54 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-aug-2019 : Improvement to the code, robot framework initial seed code.
-##
-
-
-*** Settings ***
-Documentation Test Suite to create and delete vim account
-Library Collections
-Library RequestsLibrary
-Library OperatingSystem
-Resource ../../lib/api/common.robot
-Resource ../../lib/api/vim_lib.robot
-Resource ../../resource/api/common.robot
-Variables ../../resource/api/variables.py
-
-Suite Setup Get Auth Token
-Suite Teardown Delete All Sessions
-
-
-*** Variables ***
-${vim_id} ${EMPTY}
-
-
-*** Test Cases ***
-Create Vim Account
- [Tags] comprehensive api_vim_test
- [Template] Create Vim
- ${vim name} ${account type} ${auth url} ${user} ${password} ${tenant} ${description}
-
-
-Delete Vim Account
- [Tags] comprehensive api_vim_test
- [Template] Delete Vim
- ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS008__Test_SDNC.robot b/robot-systest/testsuite/cli/TS008__Test_SDNC.robot
deleted file mode 100644
index 3b2b21a..0000000
--- a/robot-systest/testsuite/cli/TS008__Test_SDNC.robot
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-
-*** Settings ***
-Documentation Test suiet to create/delete sdnc account via osmclient
-Library OperatingSystem
-Library Collections
-Resource ../../lib/cli/sdnc_account_lib.robot
-
-
-*** Test Cases ***
-Create SDNC Account Test
- [Tags] sdnc
-
- Create SDNC Account
-
-
-Get SDNC Accounts List Test
- [Tags] sdnc
-
- Get SDNC List
-
-
-Delete SDNC Account Test
- [Tags] sdnc
-
- Delete SDNC Account
diff --git a/robot-systest/testsuite/cli/TS009__Feature_6283_Network_Slicing_Test.robot b/robot-systest/testsuite/cli/TS009__Feature_6283_Network_Slicing_Test.robot
deleted file mode 100644
index fa8c44a..0000000
--- a/robot-systest/testsuite/cli/TS009__Feature_6283_Network_Slicing_Test.robot
+++ /dev/null
@@ -1,117 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 08-nov-2019 : network slicing test library
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest basic nestwork service
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Resource ../../lib/cli/network_slicing_lib.robot
-Library ../../lib/custom_lib.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-${vnfd_id}
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-${nst_id}
-@{nsi_list}
-${vnfdPckg} slice_hackfest_vnfd.tar.gz
-${nsdPckg} slice_hackfest_nsd.tar.gz
-${nstPckg} slice_hackfest_nst.yaml
-${vnfdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/slice_hackfest_vnfd.tar.gz
-${nsdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/slice_hackfest_nsd.tar.gz
-${nstftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/slice_hackfest_nst.yaml
-${nst_config} '{netslice-vld: [{name: mgmtnet, vim-network-name: mgmt}]}'
-
-
-*** Test Cases ***
-Create Slice Hackfest VNF Descriptor
- [Tags] slice_hackfest comprehensive
- [Documentation] Create Slice Hackfest VNF Descriptor Test
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/cli/slice/' ${vnfdftpPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../resource/cli/slice${/}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Slice Hackfest NS Descriptor
- [Tags] slice_hackfest comprehensive
- [Documentation] Create Slice Hackfest NS Descriptor Test
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/cli/slice/' ${nsdftpPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../resource/cli/slice${/}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Create Slice Hackfest Network Slice Template
- [Tags] slice_hackfest comprehensive
- [Documentation] Create Slice Hackfest Network Slice Template Test
-
-# set suite variable ${nst_id}
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/cli/slice/' ${nstftpPath}
- ${nst_id}= Create NST '${CURDIR}${/}../../resource/cli/slice${/}${nstPckg}'
- Set Suite Variable ${nst_id}
-
-
-Instanciate Network Slice
- [Tags] slice_hackfest comprehensive
- [Documentation] Instantiate Network Slice Test
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Slice Instance ${vim_name} ${nst_id} ${nst_config}
-
-
-Terminate Network Slice Instance
- [Tags] slice_hackfest comprehensive
- [Documentation] Terminate Network Slice Instance Test
-
- :FOR ${nsi} IN @{nsi_list}
- \ Delete Network Slice Instance ${nsi}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: delete NST, NSD and VNFD
-
- Delete NST ${nst_id}
-
-# :FOR ${nsi} IN @{nsi_list}
-# \ Delete Network Slice Instance ${nsi}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS010__OSM_Platform_Resiliency_and_Recovery_Test.robot b/robot-systest/testsuite/cli/TS010__OSM_Platform_Resiliency_and_Recovery_Test.robot
deleted file mode 100644
index 2475e74..0000000
--- a/robot-systest/testsuite/cli/TS010__OSM_Platform_Resiliency_and_Recovery_Test.robot
+++ /dev/null
@@ -1,62 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 08-nov-2019 : network slicing test library
-##
-
-
-*** Settings ***
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/osm_platform_resiliancy_recovery_lib.robot
-Library ../../lib/custom_lib.py
-
-
-*** Variables ***
-${max_wait_time} 5min
-${pol_time} 30sec
-@{components} osm_keystone.1 osm_lcm.1 osm_light-ui.1 osm_mon.1 osm_mongo.1 osm_nbi.1 osm_pol.1 osm_prometheus.1 osm_ro.1 osm_kafka.1 osm_zookeeper.1 osm_mysql.1
-
-
-*** Test Cases ***
-Feature 1413 - OSM platform resiliency to single component failure
- [Tags] platform resiliency
- [Documentation] OSM platform resiliency test
-
- ${name}= Get Random Item From List ${components}
- Check If OSM Working
- WAIT UNTIL KEYWORD SUCCEEDS 2x 30sec Check All Service Are Running
- Kill Docker Container ${name}
- WAIT UNTIL KEYWORD SUCCEEDS ${max_wait_time} ${pol_time} Check All Service Are Running
- Check If OSM Working
-
-
-Feature 1412 - OSM platform recovery after major failure
- [Tags] platform recovery
- [Documentation] OSM platform recovery
-
- Check If OSM Working
- WAIT UNTIL KEYWORD SUCCEEDS 2x 30sec Check All Service Are Running
- :FOR ${component} IN @{components}
- \ Kill Docker Container ${component}
- WAIT UNTIL KEYWORD SUCCEEDS ${max_wait_time} ${pol_time} Check All Service Are Running
- Check If OSM Working
diff --git a/robot-systest/testsuite/cli/TS011__Feature_1415_RBAC_For_Platform_Test.robot b/robot-systest/testsuite/cli/TS011__Feature_1415_RBAC_For_Platform_Test.robot
deleted file mode 100644
index c8e44e1..0000000
--- a/robot-systest/testsuite/cli/TS011__Feature_1415_RBAC_For_Platform_Test.robot
+++ /dev/null
@@ -1,106 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 21-nov-2019
-##
-
-*** Settings ***
-Documentation Test RBAC for platform using CRUD operations over users, projects and roles
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/rbac_lib.robot
-
-#Suite Setup Configure NBI For RBAC
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-${success_return_code} 0
-# Test data for Users Operations test
-${user_id} ${EMPTY}
-&{update_field1} --set-project=admin,system_admin,project_admin #project,role1,role2...
-&{update_field2} --add-project-role=admin,project_user #project,role1,role2...
-&{update_field3} --add-project-role=service,account_manager #project,role1,role2...
-@{update_user} ${update_field1} ${update_field2} ${update_field3}
-# Test data for Project Operations test
-${project_id} ${EMPTY}
-# Test data for Role Operations test
-${role_id} ${EMPTY}
-${role_to_add} "vims: true"
-
-
-*** Test Cases ***
-Test User Operations
- [Documentation] Test RBAC using CRUD operation over users
- [Tags] rabc rabc_users comprehensive
-
- ${user-name}= Generate Random String 8 [NUMBERS]
- ${user-name}= Catenate SEPARATOR= user_ ${user-name}
- set global variable ${user-name}
- ${user-password}= Generate Random String 8 [NUMBERS]
- set global variable ${user-password}
- ${user_id}= Create User ${user-name} ${user-password}
- List User And Check For The Created User ${user-name}
- Get User Info By Name ${user-name}
- Get User Info By ID ${user_id}
- Update User And Verify Info ${user-name} @{update_user}
- Login With User And Perform Operation ${user-name} ${user-password} admin
- Delete User And Check ${user-name}
-
-
-Test Project Operatios
- [Documentation] Test RBAC using CRUD operation over projects
- [Tags] rabc rabc_projects comprehensive
-
- ${project-name}= Generate Random String 8 [NUMBERS]
- ${project-name}= Catenate SEPARATOR= project_ ${project-name}
- set global variable ${project-name}
- ${project_id}= Create Project ${project-name}
- List Project And Verify ${project-name}
- Get Project Info By Name ${project-name}
- Get Project Info By ID ${project_id}
- ${new-project-name}= Generate Random String 8 [NUMBERS]
- ${new-project-name}= Catenate SEPARATOR= project_ ${new-project-name}
- set global variable ${new-project-name}
- Update Project Name And Verify ${project-name} ${new-project-name}
- Delete Project And Verify ${new-project-name}
-
-
-Test Role Operations
- [Documentation] Test RBAC using CRUD operation over roles
- [Tags] rabc rabc_roles comprehensive
-
- ${role-name}= Generate Random String 8 [NUMBERS]
- ${role-name}= Catenate SEPARATOR= project_ ${role-name}
- set global variable ${role-name}
- ${role_id}= Create Role ${role-name}
- List Roles And Verify ${role-name}
- Get Role Info By Name ${role-name}
- Get Role Info By ID ${role_id}
- Add Role And Verify ${role-name} ${role_to_add}
- Delete Role And Verify ${role-name}
-
-
-*** Keywords ***
-Test Cleanup
- Delete User ${user-name}
- Delete Project ${project-name}
- Delete Project ${new-project-name}
- Delete Role ${role-name}
\ No newline at end of file
diff --git a/robot-systest/testsuite/cli/TS012__Feature_7181_Allow_Instantiation_Parameters_in_CloudInit.robot b/robot-systest/testsuite/cli/TS012__Feature_7181_Allow_Instantiation_Parameters_in_CloudInit.robot
deleted file mode 100644
index 68f98fa..0000000
--- a/robot-systest/testsuite/cli/TS012__Feature_7181_Allow_Instantiation_Parameters_in_CloudInit.robot
+++ /dev/null
@@ -1,87 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 TATA ELXSI
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Author: Ragavi D (ragavi.d@tataelxsi.co.in)
-
-*** Settings ***
-Documentation Test Suite to create hackfest basic nestwork service
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/ubuntu-cloudinit_ns_data.py
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id} ${EMPTY}
-@{nsd_ids}
-@{ns_ids}
-${ns_config} '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ], additionalParamsForVnf: [ { member-vnf-index: "1", additionalParams: { password: "PASSWORD" } } ] }'
-
-*** Test Cases ***
-Create Ubuntu CloudInit VNF Descriptor
- [Tags] comprehensive ubuntu-cloudinit_ns
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-Create Ubuntu CloudInit NS Descriptor
- [Tags] comprehensive ubuntu-cloudinit_ns
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] comprehensive ubuntu-cloudinit_ns
- : FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name} ${ns_config}
-
-Delete NS Instance Test
- [Tags] comprehensive ubuntu-cloudinit_ns
- : FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-Delete NS Descriptor Test
- [Tags] comprehensive ubuntu-cloudinit_ns
- : FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-Delete VNF Descriptor Test
- [Tags] comprehensive ubuntu-cloudinit_ns
- : FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
- : FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
- : FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
- : FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
- # :FOR ${vim_id} IN @{vim}
- # Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS013__Feature_1415_RBAC_Visibility_Of_Packages_And_Instances.robot b/robot-systest/testsuite/cli/TS013__Feature_1415_RBAC_Visibility_Of_Packages_And_Instances.robot
deleted file mode 100644
index 4302951..0000000
--- a/robot-systest/testsuite/cli/TS013__Feature_1415_RBAC_Visibility_Of_Packages_And_Instances.robot
+++ /dev/null
@@ -1,144 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 18-Dec-2019
-##
-
-*** Settings ***
-Documentation Test RBAC for platform - Visibility of packages and instances test
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/rbac_lib.robot
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-
-Suite Setup Prerequisite For Test
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-${success_return_code} 0
-
-@{vim}
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-${vnfdPckg} hackfest_basic_vnf.tar.gz
-${nsdPckg} hackfest_basic_ns.tar.gz
-${vnfdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_vnf.tar.gz
-${nsdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_ns.tar.gz
-
-# Test data for Users Operations test
-${user_id} ${EMPTY}
-
-# Test data for Project Operations test
-${project_id} ${EMPTY}
-
-
-*** Test Cases ***
-Create VIM Account For New User
- [Documentation] Test to create VIM account for newly created user
- [Tags] rabc rabc_vim comprehensive nbi
-
- Wait Until Keyword Succeeds 2x 30sec VIM Setup To Launch Network Services
-
-
-Create VNF Descriptor For New User
- [Documentation] Test to create vnfd for new user
- [Tags] rabc rabc_vnfd comprehensive nbi
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/cli/rbac/' ${vnfdftpPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../resource/cli/rbac${/}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create NS Descriptor For New User
- [Documentation] Test to create nsd for new user
- [Tags] rabc rabc_nsd comprehensive nbi
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/cli/rbac/' ${nsdftpPath}
- ${nsd_id}= Create VNFD '${CURDIR}${/}../../resource/cli/rbac${/}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Instanciate Network Service For New User
- [Documentation] Launch network services for new user
- [Tags] rabc rabc_ns comprehensive nbi
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] rabc rabc_ns comprehensive nbi
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] rabc rabc_nsd comprehensive nbi
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] rabc rabc_vnfd comprehensive nbi
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Prerequisite For Test
- ${user-name}= Generate Random String 8 [NUMBERS]
- ${user-name}= Catenate SEPARATOR= user_ ${user-name}
- set global variable ${user-name}
- ${user-password}= Generate Random String 8 [NUMBERS]
- set global variable ${user-password}
- ${user_id}= Create User ${user-name} ${user-password}
-
- ${project-name}= Generate Random String 8 [NUMBERS]
- ${project-name}= Catenate SEPARATOR= project_ ${project-name}
- set global variable ${project-name}
- ${project_id}= Create Project ${project-name}
-
- &{update_field1}= Create Dictionary --add-project-role=admin,project_user
- &{update_field2}= Create Dictionary --add-project-role=${project-name},account_manager
- @{update_user}= Create List ${update_field1} ${update_field2}
- Update User And Verify Info ${user-name} @{update_user}
- Login With User And Perform Operation ${user-name} ${user-password} ${project-name}
-
-
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
-
- Logout and Login With Admin
-
- Delete User ${user-name}
- Delete Project ${project-name}
diff --git a/robot-systest/testsuite/cli/TS014__Feature_7921_MongoDB_Filesystem_Test.robot b/robot-systest/testsuite/cli/TS014__Feature_7921_MongoDB_Filesystem_Test.robot
deleted file mode 100644
index 3070d41..0000000
--- a/robot-systest/testsuite/cli/TS014__Feature_7921_MongoDB_Filesystem_Test.robot
+++ /dev/null
@@ -1,124 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 18-Dec-2019
-##
-
-*** Settings ***
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-
-Suite Setup Prerequisite For Test
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-${success_return_code} 0
-
-@{vim}
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-${vnfdPckg} hackfest_basic_vnf.tar.gz
-${nsdPckg} hackfest_basic_ns.tar.gz
-${vnfdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_vnf.tar.gz
-${nsdftpPath} https://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_ns.tar.gz
-
-
-*** Test Cases ***
-Create VNF Descriptor Test
- [Tags] comprehensive feature7921
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/' ${vnfdftpPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../resource${/}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create NS Descriptor Test
- [Tags] comprehensive feature7921
-
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../resource/' ${nsdftpPath}
- ${nsd_id}= Create VNFD '${CURDIR}${/}../../resource${/}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Instanciate Network Service Test
- [Tags] comprehensive feature7921
- [Setup] Wait Until Keyword Succeeds 2x 30sec VIM Setup To Launch Network Services
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] comprehensive feature7921
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] comprehensive feature7921
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] comprehensive feature7921
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Prerequisite For Test
- [Documentation] Update docker service to use mongodb as file system
-
- Update NBI Service
- Update LCM Service
-
-
-Update NBI Service
- ${rc} ${stdout}= Run and Return RC and Output docker service update osm_nbi --force --env-add OSMNBI_STORAGE_DRIVER=mongo --env-add OSMNBI_STORAGE_PATH=/app/storage --env-add OSMNBI_STORAGE_COLLECTION=files --env-add OSMNBI_STORAGE_URI=mongodb://mongo:27017
- Should Be Equal As Integers ${rc} ${success_return_code}
- Sleep 30s Wait for NBI service to be update
-
-
-Update LCM Service
- ${rc} ${stdout}= Run and Return RC and Output docker service update osm_lcm --force --env-add OSMLCM_STORAGE_DRIVER=mongo --env-add OSMLCM_STORAGE_PATH=/app/storage --env-add OSMLCM_STORAGE_COLLECTION=files --env-add OSMLCM_STORAGE_URI=mongodb://mongo:27017
- Should Be Equal As Integers ${rc} ${success_return_code}
- Sleep 30s Wait for LCM service to be update
-
-
-Test Cleanup
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
-
- ${rc} ${stdout}= Run and Return RC and Output docker service rollback osm_nbi
- Should Be Equal As Integers ${rc} ${success_return_code}
- ${rc} ${stdout}= Run and Return RC and Output docker service rollback osm_lcm
- Should Be Equal As Integers ${rc} ${success_return_code}
diff --git a/robot-systest/testsuite/cli/TS015__Feature_8047_OSMClient_Package_Creation_And_Validation.robot b/robot-systest/testsuite/cli/TS015__Feature_8047_OSMClient_Package_Creation_And_Validation.robot
deleted file mode 100644
index e717c10..0000000
--- a/robot-systest/testsuite/cli/TS015__Feature_8047_OSMClient_Package_Creation_And_Validation.robot
+++ /dev/null
@@ -1,84 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 18-Dec-2019
-##
-
-*** Settings ***
-Documentation Test Suite to test OSMClient Package Createtion and Validation Tool
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/osm_package_tools_lib.robot
-
-Suite Setup Prerequisite For Test
-Suite Teardown Test Cleanup
-
-
-*** Variables ***
-${success_return_code} 0
-${base_dir} ${EXECDIR}
-${pkg_dir} ${CURDIR}${/}../../resource/cli/packages
-${ns_pkg} vEPC
-${vnf_pkg} vEPC
-
-
-*** Test Cases ***
-Test OSM NS Package Create
- [Tags] comprehensive feature8047
- Create OSM NS Package ${ns_pkg}
-
-
-Test OSM VNF Package Create
- [Tags] comprehensive feature8047
- Create OSM VNF Package ${vnf_pkg}
-
-
-Test OSM NS Package Validate
- [Tags] comprehensive feature8047
- Validate OSM NS Package ${ns_pkg}
-
-
-Test OSM VNF Package Validate
- [Tags] comprehensive feature8047
- Validate OSM VNF Package ${vnf_pkg}
-
-
-Test OSM VNF Package Build
- [Tags] comprehensive feature8047
- Build OSM VNF Package ${vnf_pkg}
-
-
-Test OSM NS Package Build
- [Tags] comprehensive feature8047
- Build OSM NS Package ${ns_pkg}
-
-
-*** Keywords ***
-Prerequisite For Test
- Create Directory ${pkg_dir}
- ${rc} ${stdout}= Run and Return RC and Output cd ${pkg_dir}
- Should Be Equal As Integers ${rc} ${success_return_code}
-
-
-Test Cleanup
- ${rc} ${stdout}= Run and Return RC and Output cd ${base_dir}
- Should Be Equal As Integers ${rc} ${success_return_code}
-
- Remove Directory ${pkg_dir} recursive=${TRUE}
\ No newline at end of file
diff --git a/robot-systest/testsuite/cli/TS016__Manual_VNF_VDU_Scaling_Test.robot b/robot-systest/testsuite/cli/TS016__Manual_VNF_VDU_Scaling_Test.robot
deleted file mode 100644
index 3f7bce8..0000000
--- a/robot-systest/testsuite/cli/TS016__Manual_VNF_VDU_Scaling_Test.robot
+++ /dev/null
@@ -1,129 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 27-Nov-19
-##
-
-*** Settings ***
-Documentation Test Suite to test manual scale-in/out cirros VNF and NS using osm-client
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-# VNFD Details
-@{vnfd_ids}
-${vnfdPckgPath} /descriptor-packages/vnfd/cirros_vnf
-${vnfdPckg} /build/cirros_vnf.tar.gz
-
-# NSD Details
-@{nsd_ids}
-${nsdPckgPath} /descriptor-packages/nsd/cirros_ns
-${nsdPckg} /build/cirros_ns.tar.gz
-${scaling_group} scaling_cirros_vnf
-${vnf_member_index} 1
-
-@{ns_ids}
-
-
-*** Test Cases ***
-Create VNF Descriptor Test
- [Documentation] Build and onboard cirros VNF package with scaling parameter
- [Tags] comprehensive manual_scaling
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create NS Descriptor Test
- [Documentation] Build and onboard cirros NS package with scaling parameter
- [Tags] comprehensive manual_scaling
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch cirros ns with scaling parameter
- [Tags] comprehensive manual_scaling
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Perform VNF/VDU Scaling-out Operation Over Launched NS Test
- [Documentation] scale-out cirros ns
- [Tags] comprehensive manual_scaling
- :FOR ${ns} IN @{ns_ids}
- \ Perform VNF Scale-out Operation ${ns} ${vnf_member_index} ${scaling_group}
-
-
-Perform VNF/VDU Scaling-in Operation Over Launched NS Test
- [Documentation] scale-in cirros ns
- [Tags] comprehensive manual_scaling
- :FOR ${ns} IN @{ns_ids}
- \ Perform VNF Scale-in Operation ${ns} ${vnf_member_index} ${scaling_group}
-
-
-Delete NS Instance Test
- [Tags] comprehensive manual_scaling
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] comprehensive manual_scaling
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] comprehensive manual_scaling
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS017__Feature_7326_Disable_Port_Security_at_Network_level.robot b/robot-systest/testsuite/cli/TS017__Feature_7326_Disable_Port_Security_at_Network_level.robot
deleted file mode 100644
index 562dc15..0000000
--- a/robot-systest/testsuite/cli/TS017__Feature_7326_Disable_Port_Security_at_Network_level.robot
+++ /dev/null
@@ -1,122 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2020 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# Author: Mrityunjay Yadav <MY00514913@techmahindra.com>, Jayant Madavi
-##
-
-
-*** Settings ***
-Documentation Test Suite to test disable network port security NS
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/disable_port_security_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create VNF Descriptor
- [Tags] disable_port_security comprehensive
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create NS Descriptor
- [Tags] disable_port_security comprehensive
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] disable_port_security comprehensive
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Verify Port Security
- [Tags] disable_port_security comprehensive
-
- :FOR ${ns} IN @{ns_ids}
- \ Check For Network Port Security ${ns}
-
-
-Delete NS Instance Test
- [Tags] disable_port_security comprehensive
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] disable_port_security comprehensive
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] disable_port_security comprehensive
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Check For Network Port Security
- [Arguments] ${ns_name}
- ${rc} ${network_id}= Run and Return RC and Output openstack network list | grep ${ns_name} | awk '{print $2}'
- Log ${network_id}
- ${rc} ${stdout}= Run and Return RC and Output openstack network show ${network_id} -f json | jq '.port_security_enabled'
- Log ${stdout}
- Should Be Equal As Strings ${stdout} true
-
-
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS01__Test_VNF.robot b/robot-systest/testsuite/cli/TS01__Test_VNF.robot
deleted file mode 100644
index 84e1f92..0000000
--- a/robot-systest/testsuite/cli/TS01__Test_VNF.robot
+++ /dev/null
@@ -1,107 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to test basic cirros VNF and NS using osm-client
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/test_vnf_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create VNF Descriptor Test
- [Tags] sanity smoke
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create NS Descriptor Test
- [Tags] sanity smoke
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] sanity
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] sanity
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] sanity smoke
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] sanity smoke
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS02__Test_Vim.robot b/robot-systest/testsuite/cli/TS02__Test_Vim.robot
deleted file mode 100644
index 18f2a50..0000000
--- a/robot-systest/testsuite/cli/TS02__Test_Vim.robot
+++ /dev/null
@@ -1,49 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-aug-2019 : Improvement to the code, robot framework initial seed code.
-##
-
-
-*** Settings ***
-Documentation Test suiet to create/delete vim account via osmclient
-Library OperatingSystem
-Library Collections
-Resource ../../lib/cli/vim_account_lib.robot
-
-
-*** Test Cases ***
-Create Vim Account Test
- [Tags] smoke vim
-
- Create Vim Account
-
-
-Get Vim Accounts List Test
- [Tags] vim
-
- Get Vim List
-
-
-Delete Vim Account Test
- [Tags] smoke vim
-
- Delete Vim Account
diff --git a/robot-systest/testsuite/cli/TS03__Hackfest_Basic_NS.robot b/robot-systest/testsuite/cli/TS03__Hackfest_Basic_NS.robot
deleted file mode 100644
index 40492f7..0000000
--- a/robot-systest/testsuite/cli/TS03__Hackfest_Basic_NS.robot
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest basic nestwork service
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/hackfest_basic_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create Hackfest Basic VNF Descriptor
- [Tags] comprehensive hackfest_basic_ns
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Hackfest Basic NS Descriptor
- [Tags] comprehensive hackfest_basic_ns
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] comprehensive hackfest_basic_ns
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] comprehensive hackfest_basic_ns
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] comprehensive hackfest_basic_ns
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] comprehensive hackfest_basic_ns
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS04__Hackfest_Simplecharm_NS.robot b/robot-systest/testsuite/cli/TS04__Hackfest_Simplecharm_NS.robot
deleted file mode 100644
index 2a22478..0000000
--- a/robot-systest/testsuite/cli/TS04__Hackfest_Simplecharm_NS.robot
+++ /dev/null
@@ -1,113 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest simplecharm ns
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/hackfest_simplecharm_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-${vnfdftpPath} https://osm-download.etsi.org/ftp/osm-6.0-six/7th-hackfest/packages/hackfest_simplecharm_vnf.tar.gz
-${nsdftpPath} https://osm-download.etsi.org/ftp/osm-6.0-six/7th-hackfest/packages/hackfest_simplecharm_ns.tar.gz
-
-
-*** Test Cases ***
-Create Hackfest Simple Charm VNF Descriptor
- [Tags] hackfest_simplecharm comprehensive
-
- #Build VNF Descriptor ${vnfdPckgPath}
- #Workarround for charm build issue
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../..${vnfdPckgPath}${/}build/' ${vnfdftpPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Hackfest Simple Charm NS Descriptor
- [Tags] hackfest_simplecharm comprehensive
-
- #Build NS Descriptor ${nsdPckgPath}
- ${rc} ${stdout}= Run and Return RC and Output wget -P '${CURDIR}${/}../../..${nsdPckgPath}${/}build/' ${nsdftpPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] hackfest_simplecharm comprehensive
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] comprehensive hackfest_simplecharm
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] hackfest_simplecharm comprehensive
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] hackfest_simplecharm comprehensive
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS05__Hackfest_Multivdu_NS.robot b/robot-systest/testsuite/cli/TS05__Hackfest_Multivdu_NS.robot
deleted file mode 100644
index e3cc440..0000000
--- a/robot-systest/testsuite/cli/TS05__Hackfest_Multivdu_NS.robot
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest multivdu ns
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/hackfest_multivdu_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create Hackfest Multivdu VNF Descriptor
- [Tags] comprehensive hackfest_multivdu
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Hackfest Multivdu NS Descriptor
- [Tags] comprehensive hackfest_multivdu
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] comprehensive hackfest_multivdu
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] comprehensive hackfest_multivdu
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] comprehensive hackfest_multivdu
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] comprehensive hackfest_multivdu
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS06__Hackfest_Cloudinit_NS.robot b/robot-systest/testsuite/cli/TS06__Hackfest_Cloudinit_NS.robot
deleted file mode 100644
index 87bf22f..0000000
--- a/robot-systest/testsuite/cli/TS06__Hackfest_Cloudinit_NS.robot
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest cloudinit ns
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/hackfest_cloudinit_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create Hackfest Cloudinit VNF Descriptor
- [Tags] comprehensive hackfest_cloudinit
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Hackfest Cloudinit NS Descriptor
- [Tags] comprehensive hackfest_cloudinit
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] comprehensive hackfest_cloudinit
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] comprehensive hackfest_cloudinit
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] comprehensive hackfest_cloudinit
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] comprehensive hackfest_cloudinit
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/TS07__Hackfest_EPA_NS.robot b/robot-systest/testsuite/cli/TS07__Hackfest_EPA_NS.robot
deleted file mode 100644
index 5316598..0000000
--- a/robot-systest/testsuite/cli/TS07__Hackfest_EPA_NS.robot
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com : 06-aug-2019
-##
-
-
-*** Settings ***
-Documentation Test Suite to create hackfest epa ns
-Library OperatingSystem
-Library String
-Library Collections
-Resource ../../lib/cli/vnfd_lib.robot
-Resource ../../lib/cli/nsd_lib.robot
-Resource ../../lib/cli/ns_lib.robot
-Resource ../../lib/cli/vim_account_lib.robot
-Library ../../lib/custom_lib.py
-Variables ../../resource/cli/hackfest_epa_ns_data.py
-
-Suite Teardown Run Keyword And Ignore Error Test Cleanup
-
-
-*** Variables ***
-@{vnfd_ids}
-${nsd_id}
-@{nsd_ids}
-@{ns_ids}
-
-
-*** Test Cases ***
-Create Hackfest EPA VNF Descriptor
- [Tags] hackfest_epa
-
- Build VNF Descriptor ${vnfdPckgPath}
- ${vnfd_id}= Create VNFD '${CURDIR}${/}../../..${vnfdPckgPath}${vnfdPckg}'
- Append To List ${vnfd_ids} ${vnfd_id}
-
-
-Create Hackfest EPA NS Descriptor
- [Tags] hackfest_epa
-
- Build NS Descriptor ${nsdPckgPath}
- ${nsd_id}= Create NSD '${CURDIR}${/}../../..${nsdPckgPath}${nsdPckg}'
- Append To List ${nsd_ids} ${nsd_id}
-
-
-Network Service Instance Test
- [Documentation] Launch and terminate network services
- [Tags] hackfest_epa
-
- :FOR ${vim_name} IN @{vim}
- \ Launch Network Services and Return ${vim_name}
-
-
-Delete NS Instance Test
- [Tags] hackfest_epa
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
-
-Delete NS Descriptor Test
- [Tags] hackfest_epa
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
-
-Delete VNF Descriptor Test
- [Tags] hackfest_epa
-
- :FOR ${vnfd_id} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd_id}
-
-
-*** Keywords ***
-Test Cleanup
- [Documentation] Test Suit Cleanup: Deliting Descriptor, instance and vim
-
- :FOR ${ns} IN @{ns_ids}
- \ Delete NS ${ns}
-
- :FOR ${nsd} IN @{nsd_ids}
- \ Delete NSD ${nsd}
-
- :FOR ${vnfd} IN @{vnfd_ids}
- \ Delete VNFD ${vnfd}
-
-# :FOR ${vim_id} IN @{vim}
-# \ Delete Vim Account ${vim_id}
diff --git a/robot-systest/testsuite/cli/__init__.robot b/robot-systest/testsuite/cli/__init__.robot
deleted file mode 100644
index 2d959da..0000000
--- a/robot-systest/testsuite/cli/__init__.robot
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-*** Settings ***
-Library OperatingSystem
-Library String
-Library Collections
-Library ../../lib/custom_lib.py
-Resource ../../lib/cli/vim_account_lib.robot
-
-Suite Setup Wait Until Keyword Succeeds 2x 30sec VIM Setup To Launch Network Services
-Suite Teardown Run Keyword And Ignore Error Suite Cleanup
-
-
-*** Variables ***
-@{vim}
-
-
-*** Keywords ***
-Suite Cleanup
- :FOR ${vim_id} IN @{vim}
- \ Force Delete Vim Account ${vim_id}
\ No newline at end of file
diff --git a/robot-systest/testsuite/client_library/TS01__OSMClient_Library_Test.robot b/robot-systest/testsuite/client_library/TS01__OSMClient_Library_Test.robot
deleted file mode 100644
index 88d8b5c..0000000
--- a/robot-systest/testsuite/client_library/TS01__OSMClient_Library_Test.robot
+++ /dev/null
@@ -1,82 +0,0 @@
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-
-*** Settings ***
-Documentation Test suite to test osmclient python library
-Library OperatingSystem
-
-Suite Setup Setup OSM Client
-
-
-*** Variables ***
-${name} helloworld-os
-${user} robottest
-${password} fred
-${authurl} https://169.254.169.245/
-${type} openstack
-${desc} a test vim
-${tenant} robottest
-
-
-*** Test Cases ***
-Get VIM Account List Test
- [Tags] comprehensive osmclient_lib
- [Documentation] Using python's osmclient library to get vim account list
-
- ${vim_list}= osmclient.get_vim_list
- log to console ${vim_list}
- log ${vim_list}
-
-
-Get VNF Descriptor List Test
- [Tags] comprehensive osmclient_lib
- [Documentation] Using python's osmclient library to get vnfd list
-
- ${vnfd_list}= osmclient.get_vnfd_list
- log to console ${vnfd_list}
- log ${vnfd_list}
-
-
-Get NS Descriptor List Test
- [Tags] comprehensive osmclient_lib
- [Documentation] Using python's osmclient library to get nsd list
-
- ${nsd_list}= osmclient.get_nsd_list
- log to console ${nsd_list}
- log ${nsd_list}
-
-
-Create Vim Account Test
- [Tags] comprehensive osmclient_lib
- [Documentation] Using python's osmclient library to create vim account
- [Template] osmclient.create_vim_account
- ${name} ${type} ${user} ${password} ${authurl} ${tenant} ${desc}
-
-
-Delete Vim Account Test
- [Tags] comprehensive osmclient_lib
- [Documentation] Using python's osmclient library to delete vim account
- osmclient.delete_vim_account ${name}
-
-
-*** Keywords ***
-Setup OSM Client
- evaluate sys.path.append('${CURDIR}${/}../../lib/client_lib') modules=sys
- ${host}= Get Environment Variable OSM_HOSTNAME 127.0.0.1
- Import Library client_lib.ClientLib host=${host} WITH NAME osmclient
diff --git a/robot-systest/testsuite/gui/TS01__Test_GUI_Login.robot b/robot-systest/testsuite/gui/TS01__Test_GUI_Login.robot
deleted file mode 100644
index 4f20a18..0000000
--- a/robot-systest/testsuite/gui/TS01__Test_GUI_Login.robot
+++ /dev/null
@@ -1,41 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##
-# Copyright 2019 Tech Mahindra Limited
-#
-# All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-## Change log:
-# 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com
-##
-
-
-*** Settings ***
-Documentation Suite description
-Library SeleniumLibrary
-Library OperatingSystem
-Resource ../../lib/gui/login_gui.robot
-
-
-*** Test Cases ***
-Valid Login
- [Tags] comprehensive gui_login_test
- [Setup] Set Server URL
- Open Browser To Login Page
- Enter Credentials admin admin
- Submit Credentials
- Home Page Should Be Open
- [Teardown] Close Browser
diff --git a/robot-systest/testsuite/hackfest_basic.robot b/robot-systest/testsuite/hackfest_basic.robot
new file mode 100644
index 0000000..7e5d331
--- /dev/null
+++ b/robot-systest/testsuite/hackfest_basic.robot
@@ -0,0 +1,103 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+*** Settings ***
+Library OperatingSystem
+Library String
+Library Collections
+Library Process
+Library SSHLibrary
+
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/nsd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/connectivity_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot
+
+Variables %{ROBOT_DEVOPS_FOLDER}/resources/hackfest_basic_ns_data.py
+
+Suite Teardown Run Keyword And Ignore Error Test Cleanup
+
+
+*** Variables ***
+${ns_id} ${EMPTY}
+${username} ubuntu
+${password} ${EMPTY}
+${vnf_member_index} 1
+${vnf_ip_addr} ${EMPTY}
+${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] }
+# ${ns_config} ${EMPTY}
+
+*** Test Cases ***
+Create Hackfest Basic VNF Descriptor
+ [Tags] hackfest_basic
+
+ Create VNFD '%{PACKAGES_FOLDER}/${vnfd_pkg}'
+
+
+Create Hackfest Basic NS Descriptor
+ [Tags] hackfest_basic
+
+ Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}'
+
+Network Service Instance Test
+ [Tags] hackfest_basic
+
+ ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey}
+ Set Suite Variable ${ns_id} ${id}
+
+
+Get Vnf Ip Address
+ [Tags] hackfest_basic
+
+ ${ip_addr} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index}
+ log ${ip_addr}
+ Set Suite Variable ${vnf_ip_addr} ${ip_addr}
+
+Test Ping
+ [Tags] hackfest_basic
+ Test Connectivity ${vnf_ip_addr}
+
+Test SSH Access
+ [Tags] hackfest_basic
+ Sleep 30s Waiting ssh daemon to be up
+ Test SSH Connection ${vnf_ip_addr} ${username} ${password} ${privatekey}
+
+Delete NS Instance Test
+ [Tags] hackfest_basic cleanup
+
+ Delete NS ${ns_name}
+
+
+Delete NS Descriptor Test
+ [Tags] hackfest_basic cleanup
+
+ Delete NSD ${nsd_name}
+
+
+Delete VNF Descriptor Test
+ [Tags] hackfest_basic cleanup
+
+ Delete VNFD ${vnfd_name}
+
+
+*** Keywords ***
+Test Cleanup
+ [Documentation] Test Suit Cleanup: Deleting Descriptor, instance and vim
+
+ Run Keyword If Test Failed Delete NS ${ns_name}
+
+ Run Keyword If Test Failed Delete NSD ${nsd_name}
+
+ Run Keyword If Test Failed Delete VNFD ${vnfd_name}
+
+
diff --git a/robot-systest/testsuite/hackfest_cloudinit.robot b/robot-systest/testsuite/hackfest_cloudinit.robot
new file mode 100644
index 0000000..fff6975
--- /dev/null
+++ b/robot-systest/testsuite/hackfest_cloudinit.robot
@@ -0,0 +1,110 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+*** Settings ***
+Library OperatingSystem
+Library String
+Library Collections
+Library Process
+Library SSHLibrary
+
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/nsd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/connectivity_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot
+
+Variables %{ROBOT_DEVOPS_FOLDER}/resources/hackfest_cloudinit_ns_data.py
+
+Suite Teardown Run Keyword And Ignore Error Test Cleanup
+
+
+*** Variables ***
+${ns_id} ${EMPTY}
+${username} ubuntu
+${password} ${EMPTY}
+${vnf_member_index} 1
+${vnf_ip_addr} ${EMPTY}
+${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] }
+# ${ns_config} ${EMPTY}
+
+*** Test Cases ***
+Create Hackfest Cloudinit VNF Descriptor
+ [Tags] hackfest_cloudinit
+
+ Create VNFD '%{PACKAGES_FOLDER}/${vnfd_pkg}'
+
+
+Create Hackfest Cloudinit NS Descriptor
+ [Tags] hackfest_cloudinit
+
+ Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}'
+
+
+Network Service Instance Test
+ [Tags] hackfest_cloudinit
+
+ ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey}
+ Set Suite Variable ${ns_id} ${id}
+
+
+Get Vnf Ip Address
+ [Tags] hackfest_cloudinit
+
+ ${ip_addr} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index}
+ log ${ip_addr}
+ Set Suite Variable ${vnf_ip_addr} ${ip_addr}
+
+
+Test SSH Access
+ [Tags] hackfest_cloudinit
+
+ Sleep 30s Waiting ssh daemon to be up
+ Test SSH Connection ${vnf_ip_addr} ${username} ${password} ${privatekey}
+
+
+Check Remote File Injected Via Cloud-init
+ [Tags] hackfest_cloudinit
+
+ ${stdout}= Execute Remote Command Check Rc Return Output ${vnf_ip_addr} ${username} ${password} ${privatekey} sudo cat /root/helloworld.txt
+ log ${stdout}
+
+
+Delete NS Instance Test
+ [Tags] hackfest_cloudinit cleanup
+
+ Delete NS ${ns_name}
+
+
+Delete NS Descriptor Test
+ [Tags] hackfest_cloudinit cleanup
+
+ Delete NSD ${nsd_name}
+
+
+Delete VNF Descriptor Test
+ [Tags] hackfest_cloudinit cleanup
+
+ Delete VNFD ${vnfd_name}
+
+
+*** Keywords ***
+Test Cleanup
+ [Documentation] Test Suit Cleanup: Deleting Descriptor, instance and vim
+
+ Run Keyword If Test Failed Delete NS ${ns_name}
+
+ Run Keyword If Test Failed Delete NSD ${nsd_name}
+
+ Run Keyword If Test Failed Delete VNFD ${vnfd_name}
+
+
diff --git a/robot-systest/testsuite/hackfest_multivdu.robot b/robot-systest/testsuite/hackfest_multivdu.robot
new file mode 100644
index 0000000..508d11f
--- /dev/null
+++ b/robot-systest/testsuite/hackfest_multivdu.robot
@@ -0,0 +1,105 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+*** Settings ***
+Library OperatingSystem
+Library String
+Library Collections
+Library Process
+Library SSHLibrary
+
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/nsd_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/connectivity_lib.robot
+Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot
+
+Variables %{ROBOT_DEVOPS_FOLDER}/resources/hackfest_multivdu_ns_data.py
+
+Suite Teardown Run Keyword And Ignore Error Test Cleanup
+
+
+*** Variables ***
+${ns_id} ${EMPTY}
+${username} osm
+${password} osm4u
+${vnf_member_index} 1
+${vnf_ip_addr} ${EMPTY}
+${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] }
+# ${ns_config} ${EMPTY}
+
+*** Test Cases ***
+Create Hackfest multivdu VNF Descriptor
+ [Tags] hackfest_multivdu
+
+ Create VNFD '%{PACKAGES_FOLDER}/${vnfd_pkg}'
+
+
+Create Hackfest Multivdu NS Descriptor
+ [Tags] hackfest_multivdu
+
+ Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}'
+
+Network Service Instance Test
+ [Tags] hackfest_multivdu
+
+ ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${publickey}
+ Run Keyword If "${status}" == "FAIL" Set Global Variable ${publickey} ${EMPTY}
+ ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey}
+ Set Suite Variable ${ns_id} ${id}
+
+
+Get Vnf Ip Address
+ [Tags] hackfest_multivdu
+
+ ${ip_addr} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index}
+ log ${ip_addr}
+ Set Suite Variable ${vnf_ip_addr} ${ip_addr}
+
+Test Ping
+ [Tags] hackfest_multivdu
+ Test Connectivity ${vnf_ip_addr}
+
+Test SSH Access
+ [Tags] hackfest_multivdu
+ Sleep 30s Waiting ssh daemon to be up
+ ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${privatekey}
+ Run Keyword If "${status}" == "FAIL" Set Global Variable ${privatekey} ${EMPTY}
+ Test SSH Connection ${vnf_ip_addr} ${username} ${password} ${privatekey}
+
+Delete NS Instance Test
+ [Tags] hackfest_multivdu cleanup
+
+ Delete NS ${ns_name}
+
+
+Delete NS Descriptor Test
+ [Tags] hackfest_multivdu cleanup
+
+ Delete NSD ${nsd_name}
+
+
+Delete VNF Descriptor Test
+ [Tags] hackfest_multivdu cleanup
+
+ Delete VNFD ${vnfd_name}
+
+
+*** Keywords ***
+Test Cleanup
+ [Documentation] Test Suit Cleanup: Deleting Descriptor, instance and vim
+
+ Run Keyword If Test Failed Delete NS ${ns_name}
+
+ Run Keyword If Test Failed Delete NSD ${nsd_name}
+
+ Run Keyword If Test Failed Delete VNFD ${vnfd_name}