Commit Graph

27 Commits

Author SHA1 Message Date
Maxim Babushkin d2514e6993 Add docker containers support
A support for the containers is required for the current releases of
OpenStack.
Add the ability to 'start', 'terminate' and 'restart' the containers.

Change-Id: Ib2beebcfa7017a9b2bb8f16dea49beef6db79d43
2018-08-06 13:31:38 +03:00
Ilya Shakhat b8e4a30385 Update documentation and examples
Change-Id: Ia6943edb541ab80e8dc7c6f878179e36caeaf5dc
2017-11-03 11:40:32 +01:00
Anton Studenov 3954065549 Allow usage of multiple power drivers at once
* Deprecated power_management parameter.
* Added power_managements to configuration.
* Removed power_management variable from NodeCollection
  and Service.
* Added PowerManager class that controls running of
  power drivers.
* Updated docs.

Change-Id: Idabcb1fb907022f0d556667cbf3c36326f526a08
2017-01-25 12:58:36 +03:00
Anton Studenov 0ff915cc04 Update configuration
driver arguments were moved to separate 'args' field in cloud_config

Change-Id: If8100b19b56a127b448052e9a8ece5677e9f8ce5
2016-10-10 17:08:43 +03:00
Ilya Shakhat 1012048515 Rename and fix network-management commands in NodesCollection
Both network-management methods are renamed:
 disable_network -> disconnect
 enable_network -> connect

In Human API following commands are now available:
 * disconnect <name> network on [random|one|single|<fqdn>] node[s]
   [with <service> service]
 * connect <name> network on [random|one|single|<fqdn>] node[s]
   [with <service> service]
Also keyword 'service' is made mandatory while referencing to service.

Change-Id: I98eb842c39f7a1d08bcab185cd22e24523a1d7c6
2016-10-04 16:04:28 +03:00
Jenkins be1f12b597 Merge "Specify which key to use to access the cloud" 2016-09-09 16:06:19 +00:00
Jenkins b4bf87b49a Merge "Fix Fuel key distribution script" 2016-09-09 15:59:07 +00:00
Ilya Shakhat 657abafbdd Fix Fuel key distribution script
Couple of things:
 * ssh-copy-id refuses to copy keys over the hop when the destination
   is already reachable via its own (different) key
 * accept Fuel host and user as parameters

Change-Id: I9557021c20dbfeeb97059179ccd1bd1879663076
2016-09-09 15:41:37 +03:00
Ilya Shakhat 3d4ad90a2c Specify which key to use to access the cloud
Extend cloud management configuration with private_key_file.

Change-Id: I3f690848fe5b35e245efc454bf4b1f51b61a5e8a
2016-09-08 23:07:37 +03:00
Yaroslav Lobankov f4e712600f Adding unit tests for libvirt driver
Also, the patch fixes some mistakes in the docs.

Change-Id: I16ce625fb0c66fc74534b10ec89831eb9516ea16
2016-09-08 20:09:25 +03:00
Yaroslav Lobankov af9c6f1f40 Examples cleanup
1. The auth section and the region_name option are not used anywhere and
   they were removed from all examples.
2. Now all examples are up to date with the new code in the library.

Change-Id: I2b8594046cf217085e73caf7626ae0ab0ae74d97
2016-09-06 13:02:26 +03:00
Ilya Shakhat b5e0993e4f Rename os-failures into os-faults
New name "os-faults" better corresponds to the mission of the
library - providing a unified way for fault injection in OpenStack.

Change-Id: I4eff3936f303f35e3b67dec59a39682944bdae25
2016-09-04 15:59:16 +03:00
Yaroslav Lobankov 0b9824726a Adding threads to IPMI driver
This patch adds threads to poweroff/poweron/reset methods to increase
the velocity of IPMI nodes management. The common code with the libvirt
driver was moved to a separate module utils.py.

Change-Id: Ic6e65079636cef6f32b13876fe3fb56ee302c6e9
2016-09-02 10:27:30 +00:00
Jenkins 096744ac7d Merge "Service discovering" 2016-08-31 13:28:40 +00:00
Alexey Zaytsev 693844be7b Service discovering
Support for next services was added: mysql, rabbitmq, nova-api,
glance-api. Each service contains a list of nodes.

Change-Id: Ief402887a0a95b0397892ac72d52e884c475d0da
2016-08-31 15:53:39 +03:00
Yaroslav Lobankov 186424edfc Adding threds to libvirt driver
This patch adds threds to poweroff/poweron/reset methods
to increase the velocity of VMs management.

Change-Id: I03c821d44810cfa76468f1a371b8e46f0ba03311
2016-08-31 13:19:49 +03:00
Anton Studenov e1f57a21ce Add IPMI driver
Change-Id: I850974c707842683d660d9fd820c1cca98d4a21b
2016-08-25 16:19:43 +03:00
Yaroslav Lobankov 5941f0b117 Adding a simple libvirt driver
This patch adds a simple libvirt driver that provides an interface
with three simple actions: power off, power on and reset VM.

Change-Id: I5fae0f6791a16a23da1585f65b14cfc63e047949
2016-08-24 14:39:15 +00:00
Ilya Shakhat 0c28d9d52c Docs cleanup 2016-08-15 16:12:53 +03:00
Ilya Shakhat 0b75c8308d Add sample DevStack driver 2016-08-15 13:28:01 +03:00
Ilya Shakhat 5e47aa4f02 Document use cases in readme file 2016-08-15 12:35:36 +03:00
Ilya Shakhat b847c0c52d Add simple network management module 2016-08-15 11:54:09 +03:00
Ilya Shakhat e62eec828a Cleanup code and more logging 2016-08-12 17:39:56 +03:00
Ilya Shakhat a84b555d85 Enable logging 2016-08-12 15:58:12 +03:00
Ilya Shakhat 219d11853e Added get_nodes by fqdn 2016-08-10 17:21:12 +03:00
Ilya Shakhat 1b113d4983 Document API 2016-08-10 16:32:19 +03:00
Ilya Shakhat 84fcd1c8e6 Added ky distribution script 2016-08-10 15:56:18 +03:00