- use generic test template
- remove autospec in power test as we don't use actual libvirt
module to test. The libvirt-python module is fully mocked.
Change-Id: Ied36a8afb818422c643edca8a2feeec977b53551
* Fix the default interfaces in the devstack plugin
* Do not default to netboot with a whole disk image
* Add missing stestr dependency, removed unused dependencies
Change-Id: I88fe1eb17acb27f18a3093367a29b5f5049d74af
Increase tox minversion to 3.9.0 to be compatible with inline
comments [1]
Move some test requirements to tox.ini
Remove lower-constraints environment from tox.ini
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17
Change-Id: Ida88627aace41c4f445a108d22e5eed12247a127
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.
Change-Id: Iffb6019b339ca5412bb6957274b7d12233bc7db7
We need to list all dependencies in lower-constraints.
Also updating requirements.txt to reflect new minimum versions.
Change-Id: Id643629701d3749927c2915b9ea1bbf7170df32c
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I62321c13697db75c6cfc2176a9a89b6cb50413d6
With this patch we drop ostestr to use stestr directly to avoid
current and future incompatibilities that can break the test
process, e.g. [1]
Also some minor changes:
- following recent changes to global requirements [2],
we update sphinx requirements locally
- removing py35 in favor of generic py3 test
- updating upper-constraints link to use opendev.org
[1] https://bugs.launchpad.net/os-testr/+bug/1827834
[2] If558f184c959e4b63b56dec3ca1571d1034cfe5c
Change-Id: I9328fa7e68e1e03a20182e728840075bea7c5ac6
os-testr>=1.0 uses stestr as test runner instead of testrepository.
This patch adds appropriate config and git ignore options for stestr.
Change-Id: I3aefd97312bb9e5985e601dd192913247046d6e4
bring ironic_staging_drivers pep8 checks in line with main ironic:
- update hacking version to the one from g-r
- add import order checks, with the same style
- enable same additional checks from hacking
Only two small violations found, so better to update now while it's
easy.
Change-Id: I12459a1ffdb122f50ce25230e310412f18717ef5
This patch is removing python-libvirt from test-requirements.txt and
mocking that library for the tests.
Closes-Bug: #1616906
Change-Id: Id067476c58bf9ddedd6cfc5fe80303f7d949cb9e
Libvirt has its own API. It allows to connect to different hypervisors
like xen, vmware, virtualbox, qemu, full list can be found at
https://libvirt.org/drivers.html.
It supports different type of transports like ssh, tcp, unix sockets.
This patch introduces new type of power and management drivers,
which use libvirt-python library to connect to hypervisor.
Change-Id: I2df214aab95c2f5d2505f5ad4ef9f3a542e44c6a
Depends-On: I12211db38a3fdb3b2d733e5769f2c052c32c4a75
Closes-Bug: #1523880
This patch is importing the Wake-On-Lan (WOL) driver and its documentation
from ironic to ironic-staging-driver.
Since we can't have duplicated entry points in setuptools we had to
rename the driver names as following:
pxe_wol -> pxe_wol_iscsi
agent_wol -> pxe_wol_agent
fake_wol -> fake_wol_fake
This patch is using the "<boot>_<power>_<deploy>" template to name the
drivers consistently.
Change-Id: I2b051494fdba7bf6ca30d8f7bb406511bf7d4d76