This change adds tests to the ironic tempest plugin to cover the
API changes made for the physical network awareness feature in
I7023a1d6618608c867c31396fa677d3016ca493e.
Change-Id: I8b30764d797f2f8b45c2ae46ce559e74e0281a49
Partial-Bug: #1666009
Add following tests:
Create new node with specified longest name of resource class.
Update existing node with specified resource class.
Show resource class field of specified node.
List nodes of specified resource class only.
Get detailed nodes list of specified resource class only.
Try to create a node with too long resource class name.
Try to update a node with too long resource class name.
Try to create a node with resource class using older api version.
Try to update a node with resource class using older api version.
Try to list nodes with resource class using older api version.
Closes-Bug: #1668605
Change-Id: If412a2aeab2ab457f04067cf296cac80b4378482
Test for the following actions were added:
* getting driver's properties
* getting driver's RAID logical disk properties
Change-Id: I395bc4f512a731ab4bfe8ac6a2d850816696400f
This patch adds the REST APIs for the virtual network interface API in
order to abstract the task of assigning logical network interfaces to
physical network interfaces.
Since Newton Ironic provides an interface for pluggable network
implementations. Different network implementations may want to handle
how logical to physical network interface assignment happens. To do this
the new API calls into new functions on the network implementation
loaded for the specified node.
This is part 3 of 3, and adds the node vif subcontroller to expose the
/nodes/<ident>/vifs REST API endpoint. API version is bumped to 1.28.
Co-Authored-By: Vasyl Saienko (vsaienko@mirantis.com)
Change-Id: I70f1166a15a26f392734e21d6bc30a03da4e5486
Partial-Bug: #1582188
Fix parameter descriptions in docstrings for
set_node_provision_state and set_node_raid_config methods.
Change-Id: I457b234e8d5b77da6e0be46fa62c135d2e9bb840
New param was introduced to request method by [0]
It leads to broken jobs, because ironic redefines this method.
Replace arguments by *args, **kwargs to do not depend on signature.
Reference:
[0] 4408c4a5fe
Change-Id: I09ada4fc12b58aaa9df4bb248a866999c681d822
Closes-Bug: #1586299
This adds support for testing Ironic API microversions, specified
as an additional 'X-OpenStack-Ironic-API-Version' header. This change
also adds tests for Ironic API /v1/nodes/(node_ident)/states/*
endpoint for microversions that were changing state machine.
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: Ibf0c73aa6795aaa52e945fd6baa821de20a599e7
rest_client expected_success() method expect read_code
must be int and states the same in doc string .
Tempest is converting that to error instead of false pass.
Details: I3f4c58bdbb172805514831103927d3464d65d7f3
Change-Id: Ic4b0af5701df99621e3abb693644c4824c92dc4c
By using Tempest External Plugin, Tempest tests no longer
need to live in Tempest tree.
This patch set migrates Tempest tests from Tempest tree to Ironic.
Change-Id: Ic52806987dae9f9df561ebd662f12c3445d0e2af
Make use of the Tempest plugin interface.
This patch set creates some directories and files for
Tempest plugin interface which are generated by
tempest-plugin-cookiecutter(See [1] and [2]),
which uses ironic_tempest_plugin as new top folder for all Tempest tests,
and also makes possible to import config values from Tempest and use them.
Copying Ironic tests in Tempest to Ironic tree and removing
existing Ironic tests in Tempest will be done after merging this
patch set.
[1]: https://github.com/openstack/tempest-plugin-cookiecutter
[2]: http://docs.openstack.org/developer/tempest/plugin.html
Change-Id: I6a26b1d1fcf088d5218b92e13911c48708af4ec8