Commit graph

29 commits

Author SHA1 Message Date
Takashi Kajinami
49f3f6ccd7 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

[1] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: I58171831cacca8467e183f2d2899338aabe2800c
2025-06-26 02:15:57 +00:00
Doug Goldstein
b66252c50a
add pre-commit and adjust tox to utilize it
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
2025-04-11 11:39:00 -05:00
Doug Goldstein
64490b6730
fix spelling mistakes
Change-Id: I37d7d254b3d2f9fda247d305173a586cde51f4ae
2025-04-11 11:33:58 -05:00
Takashi Kajinami
09850a4210 Remove Python 3.8 support
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
2024-10-24 21:00:42 +09:00
Riccardo Pittau
0bf02fbbba Update to match latest development cycle
Update python supported versions
Update tox versions and options

Change-Id: I2ce084407b325761bc4a0f3d7598efabcd467286
2024-07-02 10:52:32 +02:00
cid
252c4a6d55 Fix codespell reported errors
Fix and ignore spelling errors raised by codespell

Change-Id: If03feafb4613167d70ddee51a268ad26df8ac550
2024-05-25 06:39:48 +01:00
Sharpz7
7d35a1cb02 [codespell] Adding Tox Target for Codespell
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
2024-02-16 23:55:58 +00:00
Takashi Kajinami
71dc057208 Remove deprecated pbr options
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
2023-12-20 02:44:57 +00:00
Harald Jensås
1d4de452b8 Doc - network device configuration capabilities
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
2022-08-15 11:48:40 +02:00
Harald Jensås
3b99ee3bc7 Add netconf-openconfig device driver
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
2022-08-11 20:37:16 +02:00
Harald Jensås
30b6008c17 Device management driver iface
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
2022-08-09 15:06:51 +02:00
Zuul
db835bce56 Merge "The Python 3.6 and Python 3.7 Support has been dropped since zed" 2022-06-10 12:16:20 +00:00
leiyashuai
b3e01b4bae The Python 3.6 and Python 3.7 Support has been dropped since zed
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Iebb6cd871496ddd2d885714b476f3d8885f5001c
2022-06-04 14:25:46 +08:00
likui
f2bdac65b9 Remove babel.cfg
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.

Change-Id: I317d5cb0280bc8a23f5c1c3cbe10117eee5001b4
2022-06-01 22:50:29 +08:00
Riccardo Pittau
33aa1033ab Re-add python 3.6/3.7 in classifier
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
2021-12-14 09:36:56 +01:00
Ghanshyam Mann
0fb52ac99d Updating yoga tested python versions in classifier
Yoga testing runtime has been updated with py38 and py39
as voting and removed the py36 testing. Unit tests update are
handled by the job template change in openstack-zuul-job and you
can see the updated jobs running in gate.

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/818609

this commit updates the tested py versions in setup.cfg classifier.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I1bad51e3c89e861c82193220d85eda793191d899
2021-11-24 20:17:27 -06:00
YuehuiLei
0fb7388e5f setup.cfg: Replace dashes with underscores
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
2021-05-04 16:08:33 +08:00
Sean McGinnis
2c63eaa3fe
Add py38 package metadata
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>
2020-04-24 08:22:37 -05:00
Andreas Jaeger
d6bc685ce0 Cleanup py27 support
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
2020-04-05 20:29:22 +02:00
Iury Gregory Melo Ferreira
d6cb9c299b Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Networking Baremetal is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I7f08a871ba82081f6164f84f05f50eb61cfd7541
2019-11-21 14:17:51 +01:00
Kaifeng Wang
10e069a1db Update Python 3 test runtimes for Train
One of train goals to have consistent python3 jobs.

https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ie8a6abd19e44c5381a6064c66004e0e38c719abf
2019-06-13 14:14:44 +08:00
Harald Jensås
6612c17620 Break out ironic client from neutron agent
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
2019-01-17 13:28:04 +01:00
Vieri
8bd85537a1 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I1eeaf447410e2223197e82cbf9ce2a9cde905d09
2018-12-04 18:29:56 +00:00
Harald Jensas
c7ea75c68c Update docs and generate config file example
Related-Bug: #1658964
Depends-On: I041761dd896c9d89dc6cf7bafc991a0697ded05b
Change-Id: I3d1e48896c7c04e295559d880b94542050d18c1d
2018-02-01 00:11:44 +01:00
Sam Betts
faf41e4af0 Add baremetal neutron agent
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
2018-01-27 16:45:21 +00:00
melissaml
0f1065fae7 Update URLs in documents according to document migration
Change-Id: I9ee29ca290ee98d167baf6da3f265cd416b3f0f7
2017-09-05 15:48:35 +08:00
Vasyl Saienko
83b279292c Add installation documentation
* 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
2017-08-14 15:55:20 +00:00
Vasyl Saienko
5c4f279702 Add baremetal ML2 driver
This patch adds baremetal ML2 driver which performs fake port binding
of 'baremetal' port in 'flat' network.

Change-Id: Ia91dcd8c0760b8bde09469cec81ac5c5c4bb4972
Closes-Bug: #1599836
2017-07-11 16:26:18 +03:00
Vasyl Saienko
69c8889845 Initial commit from cookiecutter
Change-Id: I6411a8f3f35188d0e61572136e6ee85c2ed58a8a
2017-03-17 14:40:54 +02:00