aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-06-21checked code logic for UC2-vim001 recovery time measurementGerard Damm3-81/+110
JIRA: AUTO-38 Leveraging new OpenStack SDK release 0.14, tested existing code for UC2/vif-001 (simulated VM failure), to verify that generic code for recovery time measurement works. Entered test code in placeholders for this test case: challenge start (suspend a VM), challenge stop (resume, although this was done outside (from Horizon), to simulate an ONAP-controlled recovery), test code (periodic status check, stop when VM is active again). Time was measured correctly, output files (.csv) were created successfully. This will allow to close Jira ticket 38. Next steps will be to interface with ONAP, to obtain VNF info (especially the ID of the corresponding OpenStack VMs), and perform the same measurement, which this time will be an actual recovery time, provided DCAE data collection, Policy and CLAMP have the proper configuration. Change-Id: I7320f7570c119d2b59d1ed6ca787ba975ad04a44 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
2018-03-27UC2 update with Openstack SDK interface and common test logicGerard Damm4-76/+237
JIRA: AUTO-13 1) Openstack SDK usage for VM suspend/resume actions, using clouds.yaml, tested on hpe16 pod 2) common test logic (creation of test execution instances, measurement of recovery time, calling of per-use case indexed functions, saving results to CSV files) Change-Id: If84d2a0e44618d476a028d4ac4a2897da9cd5532 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
2018-03-21Merge "Testcases for Edge cloud Environment check"Tina Tsou3-0/+244
2018-03-21Testcases for Edge cloud Environment checkMohan Kumar3-0/+244
This testcases only specific to OpenStack. JIRA: AUTO-31 Change-Id: I283ffcfef97320765e7a5d76898aecd1077bf12e Signed-off-by: Mohankumar Navaneethan <mnavaneethan@mvista.com>
2018-03-20structures for definition code (Tests and Challenges)Gerard Damm5-67/+580
JIRA: AUTO-13 Created structures for configuring various test definition scripts and challenge definition scripts in corresponding classes (something like libraries of functions, with an index ID to pick the applicable function). This will be useful to leverage Python clients to OpenStack and Kubernetes, or even for HTTP-level APIs for ONAP. It may be more flexible than the list of CLI/API commands initially planned (however, the list structures are still there, and might be used by the scripts). Additionally, there are some test snippets for Openstack Python SDK (work in progress). Also, there is a clouds.yaml file, for this interface. Change-Id: Ida1ff118fcbfe8715679492feb8fe0df2da62b45 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
2018-03-14UC02: added execution controls and global variablesGerard Damm7-40/+463
JIRA: Auto-13 removed trailing spaces in all files Change-Id: I3eea80f7bc5dd0a018b5a3845d5071a6389a9477 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
2018-03-13Modify repo structureHarry Huang5-25/+0
JIRA: - Work in progress Change-Id: I196753efd2da33cee5cc4afe932bbb2e07ca24d8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-03-13Modify repo structureHarry Huang28-0/+3224
JIRA: - 1. keep modules in lib directory instead of auto Change-Id: Ie4c51b28554575bafbaa89c5f57309a786b903e0 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>