| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This commit updates the mailmap file and changes my alias
in a few places within old comments.
Change-Id: Ica0e184109d794b8e129d567b5606d7fe84ff384
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We do not setup logging at the beginning of the unit test runs,
which can cause oslo_log complaining about no handler for logging,
depending on the import order:
No handlers could be found for logger
"ironic.drivers.modules.deploy_utils"
This change adds logging in the unit tests __init__ module.
Change-Id: I455c139a689aa8146ca1d985ef6900e73cef6558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces a new module ironic.drivers.hardware_types
with AbstractHardwareType class. It also updates driver_factory
code to support loading hardware types and creating dynamic drivers.
Interfaces validation code extended to cover hardware types.
This change also introduces the FakeHardware class for testing.
It is special-cased to bypass compatibility validation completely.
No hardware types are loaded on conductor start up yet, as hardware
types still do not participate in the hash ring. Thus, nodes with
hardware types cannot still be created via HTTP API.
Change-Id: If8e3342baf818a9e37aa82b43aec71898d48c29b
Partial-Bug: #1524745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a register hook to the objects base class that allows us to
late-import objects classes into ironic.objects. This is useful to allow
object classes to depend on other objects.
For example, this will allow us to do the Port.node_uuid munging that we
currently do in the API layer, in the objects layer instead.
This is completely taken from Nova, much thanks to comstud and dansmith
and whoever else worked on that.
Change-Id: Ic655e7af533497bda5e8e72d3bd90c27394681a7
|
|
|
|
|
|
|
| |
In unittests __init__ translation function is still being added to
builtins, this is not required anymore as it is not being installed.
Change-Id: I19da395b72622a6db348f5a6dd569c7747eaa40d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow up patch to fix the issues from the patch:
Prepare for functional testing
commit f350d87af82ba8e33c19fb03eeb67625027838db
Fix comment in tests/unit/__init__.py
Changed name of base test class from 'FunctionalTest' to 'BaseApiTest'
Change-Id: I26c093826047ac604c613fd975c6d512d2c156af
|
|
Prepare for functional testing by creating two new directories:
* ironic/tests/unit
* ironic/tests/functional
Move all files currently in ironic/tests/* to ironic/tests/unit/
Update imports from 'ironic.tests.YYY' to 'ironic.tests.unit.YYY'
Fix any PEP8 issues due to longer lines
Partial-Bug: #1491670
Change-Id: I1166f20adf8c84b2042b62e348926502a4851e08
|