The str(url) function in SQLAlchemy hides the password.
For a URL string that is to be re-used, use
render_as_string(hide_password=False).
Co-Authored-By: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: I49aca35c7a055b590e9a2eaf62e05b64210a191b
Remove leftover subransaction=True arguments in
some of the unit tests, and fix get_port_network_data
as result of session query is tuple instead of dict.
Closes-Bug: #2065924
Change-Id: Id87eafeb1a3bbe565ef3ee30f43d449eb0166532
'pre-commit' tool [1] provides an extensible way to configure hooks
which can be run automatically before each commit. That way we can make
sure that code send to review is passing base static analysis checks
like e.g. bandit, flake8 or hacking.
For now this is optional to use and not integrated in e.g. tox.ini file
but we can integrate it there too as next step.
To enable the hook install precommit and after install the hook in the
local repository:
$ pip install --user pre-commit
$ pre-commit install --allow-missing-config
[1] https://pre-commit.com/
Change-Id: I3c92c95e014f75fe6c3d4abaa243c2195f80e6f1
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I4305098ce6f58883d7f4c04db08c708562833bd7
hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.
With new pip the order of packages is not relevant, so the
related comment from requirements.txts is removed, see pip
documentation:
https://pip.pypa.io/en/stable/cli/pip_install/#installation-order
Change-Id: I586eb25b42d432e0b2158ddebb2dac013f712506
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: If238974d9c1262d3f0356824ba3fb4423e29dfd5
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.
Change-Id: I57cc80c97e22969f1b11bdfe725bdeebacf129b6
Removes the deprecated bridge-utils command and
replaces it with an equivalent ipruote2 command.
Closes-Bug: #2024498
Signed off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: I7b48770709bd0fb9ea5072ce6c8673074c39ab2b
1. While creating br-tap bridge, pass an additional argument, i.e.
datapath_type. This parameter is read from openvswitch.ini
conf file.
2. Add tunneling flows for taas only when tunneling is enabled.
Closes-Bug: #2020688
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: Ie14e5a8e7a6a237311a538f6f0bf7452ac42f2ae
With [1] all the CLI code was removed from python-neutronclient,
This causes test discovery failure for tap-as-a-servic, and
the old neutron tap-service-create type commads can be removed from
the tap-as-a-service repository.
[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/871711
Change-Id: I44d2009ca661ff88d7b4a2ed89528aefc3a1f2eb
Related-Bug: #2003861
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I65fdf7ec606ca050b481f62351f2916375771ad1
In Python 3.10, Mock spec arguments are no longer allowed.
More details are available at: https://bugs.python.org/issue43478
Closes-Bug: #1954476
Change-Id: I98c3d6d67ba518f9c6c3455e9c5b0e2ea669a2f6
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ifab8a0eeb73afa39713e5eac85086fcb748c5e5a
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I567fbc1aaa5236841dd8808a1446d3d852f48b49
Latest pecan release dropped this dependency. This is why now it is
needed to explicitly install it during testing.
This patch also registers the Neutron core common config options in
``TaasExtensionTestCase``. Since [1], the configuration options
must be explicitly loaded.
[1]https://review.opendev.org/c/openstack/neutron/+/837392
Closes-Bug: #1982110
Change-Id: I3d8cd840881a2c67e7b07458276d600e214d028e
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
Change-Id: If04bce0a49fcffcd11dae18973cbcf570009c2bb
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: Ib54a7e977dccdd2f4f5c4e54f048858abde5e351