Commit Graph

5 Commits

Author SHA1 Message Date
abregman
9fbfe5c321 Add tobiko-fault command
* tobiko-fault allows you to run different faults on different
  nodes in your environment.
* If os-faults configuration not present, tobiko-fault will generate
  it.

Change-Id: I428aebcbcdc3c9997a0c839e6a18564433e68ba8
2019-03-20 14:14:33 +02:00
abregman
3b72d757d6 Add Tobiko run command
Add basic structure file for supporting Tobiko run command.

The command will be used for generating configuration and run
the tests.

Change-Id: I046b3a85e2ad3d73f983d2be0c804ee863d56d9c
2019-01-25 10:38:15 +02:00
abregman
b0c1da528f Add support for faults
Added:

* Faults manager - a compnent for managing faults (load them,
connect os-faults to cloud, exdcute faults, etc.).

* Faults for test_floatingip test class

Also, modified test_floatingip tests to run faults
if faults manager set up properly (loaded configuration file,
managed to connect the nodes of the cloud, etc.).

Change-Id: I1dd48bc9a7cc385a46d9b3b2382000581a614b42
2019-01-08 12:46:12 +02:00
abregman
1d40d26c04 Add method to Ansible manager to run playbooks
This will allow us to support resources creation by using
Ansible playbooks.

Also, updated the floatinip playbook to include tasks for removing
an istnace. As opposed to Heat, where we can just specify the stack
name to remove it, to remove Ansible resources we need
to specify their names (since there is no bundling of resources).

Also, updated pipfile with Ansible requirement and removed walk
assert since there is no need to test it, it doesn't tells us
anything about Tobiko funcionaility.

Change-Id: I7581818934fca635ddb9b037ecee7ceae7a02010
2018-12-13 00:16:16 +02:00
abregman
2ca7e378ce Add Ansible manager
Ansible manager will be used for creating resources based
on playbooks written with Ansible.

Right now, modified tobiko-list to list playbooks
included in Tobiko.

Also added a pipfile for quick development setup.

Change-Id: Ief626dd26b173e2de1941f173d301405ff0c9f14
2018-12-10 16:34:41 +02:00