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>
(cherry picked from commit dffc2bee5650b10831f3792b162b6ea73a4624ae)
|
|
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>
(cherry picked from commit a5ff1317e4b3be39aaaec22716b438c6c12c5652)
|
|
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>
|