Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
|
|
This testcases only specific to OpenStack.
JIRA: AUTO-31
Change-Id: I283ffcfef97320765e7a5d76898aecd1077bf12e
Signed-off-by: Mohankumar Navaneethan <mnavaneethan@mvista.com>
|
|
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>
|
|
JIRA: Auto-13
removed trailing spaces in all files
Change-Id: I3eea80f7bc5dd0a018b5a3845d5071a6389a9477
Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
|
|
JIRA: -
1. keep modules in lib directory instead of auto
Change-Id: Ie4c51b28554575bafbaa89c5f57309a786b903e0
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|