Added pre-commit configs to match what is used in other Ironic
projects and adjusted tox to utilize it for any checks. Removed the
separate codespell job since that will be included in the default pep8.
Change-Id: Idaad2ab953e23d7780a0a49407889e85650c94cd
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.
Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.
[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html
Change-Id: I22dcf3683b6141b794dd9d9c6e95002f18787043
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors.
Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.
Change-Id: I6f4c20d0797d3ed9bf0571c52daa7d200e3c4948
The api_doc_dir option and the autodoc_index_modules option were both
deprecated in pbr 4.2.
The required options for the sphinxcontrib-apidoc extension are already
defined in doc/source/conf.py .
Change-Id: I4b7c99886b4bd5ad7b7268ce9d89a2755f37ab59
Add documentation for the device configuration capabilities.
The driver plug-in interface and the `netconf-openconfig`
reference driver implementation.
Story: 2009961
Task: 45994
Change-Id: I465b310b5e30904a484e4056446ea19778157544
Add the initial part of a device driver using Netconf and
OpenConfig models. Implements network create/delete/update
and port create/delete/update.
Also bump paramiko lower-constrain to 2.3.2, see:
https://github.com/paramiko/paramiko/issues/1108
Story: 2009961
Task: 44996
Depends-On: https://review.opendev.org//837105
Change-Id: Ifc89923d7f6bbfba25feb2218b80fea9e27b9c4a
Add a device management driver interface using stevedore
for dynamic loading. The base driver includes two classes
BaseDeviceDriver and BaseDeviceClient.
Updete the ML2 mech plug-in to call the device driver port/
network plugging methods for create/update/delete actions.
When a device is present/found for a port validations for
physical_network, driver bond_mode support etc is performed
prior to calling the device driver plugging method.
If no device is present/found for a port the driver will
bind the port.
Story: 2009961
Task: 44995
Change-Id: I151788d049f9807bae0659167999723380e5c725
We have updated the yoga testing runtime to keep the
py36 testing.
- https://review.opendev.org/c/openstack/governance/+/820195
Unit tests job template is also updated to keep python
3.6 as a voting job. So with the py3.6 and py3.9 testing as voting
job template, we are keeping python 3.6, 3.7, 3.8, and 3.9 as
tested versions in the Yoga cycle.
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286
This commit re-add the python 3.6/3.7 versions in setup.cfg classifier.
Change-Id: I1e8e1c5b9daf17be3cb607eac113b0de1585d7c8
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ie7fd8e7769e2b9baf78a9bf5a69b7cce04c8c48e
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: Ia0401a8df5a34af7cb1df1f8ae0dd8dc236477e1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use sphinx-build, switch to apidoc for API building
Change-Id: If1fc722a1ebaa8334642f1b632147bc939dfa3cc
With the coming Neutron Notification support the
ironic client will be used to send events. Since
the client will be used in different places it
makes sense to move the code out of the agent
so that it can be shared.
Related Story: 1304673
Change-Id: Ie615691f95165c21e7064ae3eb48bfb6b5c454fa
This patch adds a service which will populate neutron with information
about each Ironic node's NIC to physnet mappings. This is required to
fully support port binding when using routed networks.
Related-Bug: #1658964
Change-Id: I34f288b07833cbe8f5593e521263034def911faf
* Adds devstack quickstart guide.
* Adds install documentation how to enable baremetal mechanism
driver in neutron.
* Makes the warnings to be treated as errors during docs build.
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: Ie33be20bc7d5de577a48f95f6e8032286c4f6253
This patch adds baremetal ML2 driver which performs fake port binding
of 'baremetal' port in 'flat' network.
Change-Id: Ia91dcd8c0760b8bde09469cec81ac5c5c4bb4972
Closes-Bug: #1599836