* Update neutron-vpnaas from branch 'master'
to 1fcd4a4a8fec6b5f9297b6f19bc1806ecce8b30e
- Merge "Zuul: Remove references to centos-7 job nodes"
- Zuul: Remove references to centos-7 job nodes
OpenDev is preparing to remove centos-7 nodes on March 15[*]. This
change drops Zuul configuration references to anything directly or
indirectly relying on that label.
[*] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/A2YIY5L7MVYSQMTVZU3L3OM7GLVVZPLK/
Change-Id: Ib22b06a42f8f5fefebd25cde2bb43fb3c77b6ec8
* Update neutron-vpnaas from branch 'master'
to bdb1ccdf17616d270e96f5947edef9ac7ec32ad2
- Update master for stable/2024.1
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: Ifda21bc8a7e3faad8b0d80498aa388ab4b32a7d2
* Update neutron-vpnaas from branch 'master'
to 53b060dbe13b5b1c06a8c4e37def2cf79e699f95
- Merge "reno: Update master for unmaintained/victoria"
- reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: Ie187ea3b625008b2fa85e45f4104f3b25e44623b
* Update neutron-vpnaas from branch 'master'
to d69a9caa137d06026dbfc4d463dabf3a7c2b1768
- Merge "reno: Update master for unmaintained/wallaby"
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I8b14f3adc1aa1c30f08a6f6a9c42ff35ff8c68a4
* Update neutron-vpnaas from branch 'master'
to 7efc7cdb69af20ae9ed338014b58f3fc0883c867
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I79fe17027b58f2366accb6aca32cd3ff585c2f7b
* Update neutron-vpnaas from branch 'master'
to 972f6818511a4677e0d5d54d779f3a2824c8ace8
- tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~
According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293
Change-Id: I16073e791defeb3bd454b1c9a4f533e66fe1a260
* Update neutron-vpnaas from branch 'master'
to f5aa16a30588324735eea5ab002bed0f9caf465f
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I89730fc2a042a6147cdef0d5327111feb6c58195
* Update neutron-vpnaas from branch 'master'
to 254fc2967437514cebe433cff4abb9535eb1d010
- Merge "Remove unused tempest from test requirements"
- Remove unused tempest from test requirements
This repository no longer contains any tempest tests since [1] was
merged.
[1] 4077093c10b937b6ea98d565845f40816e4d1f63
Change-Id: I78e3b70d8add8587b596df21f09e3d18e569ae72
* Update neutron-vpnaas from branch 'master'
to 87859a399765ce3dcf3f9a64775636fa45acaba5
- Update python classifier with py3.10 & py3.11 in setup.cfg
Change-Id: I6a1435c3d2660a6f008cee6f62f641abab0a7ec2
* Update neutron-vpnaas from branch 'master'
to 256464aea691f8b4957ba668a117963353f34e4c
- VPNaaS support for OVN
Adds VPNaaS support for OVN.
Add a new stand-alone VPN agent to support OVN+VPN. Add OVN-specific
service and device drivers that support this new VPN agent. This will
have no impact on the existing VPN solution for ML2/OVS, the existing
L3 agent and its VPN extension will still work.
Add a new VPN agent scheduler that will schedule VPN services to VPN
agents on a per-router basis.
Add two new database tables: vpn_ext_gws (to store extra port IDs)
and routervpnagentbindings (to store VPN agent ID per router).
More details see spec (neutron-specs/specs/xena/vpnaas-ovn.rst).
This work is based on work of MingShuan Xian (xianms@cn.ibm.com),
see https://bugs.launchpad.net/networking-ovn/+bug/1586253
Depends-On: https://review.opendev.org/c/openstack/neutron/+/847005
Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/847007
Closes-Bug: #1905391
Change-Id: I632f86762d63edbfe225727db11ea21bbb1ffc25
* Update neutron-vpnaas from branch 'master'
to e944dc144cb8bc79b31c03cce5cd15c22ce4ba23
- Make cisco_csr_identifier migration conditional
neutron dropped 'cisco_csr_identifier_map' table in
[1], this makes migrations for that table conditional.
[1] https://review.opendev.org/c/openstack/neutron/+/897472
Related-Bug: #2038555
Change-Id: I31f2175cfc91a1d2bcb15b8911b2e323af25740d
* Update neutron-vpnaas from branch 'master'
to b4c2bc4af6cf1ad5d08a9c442a8d77cd758ab8bc
- py311: Add py311 job and sqlalchemy-main job to weekly
Change-Id: I6bb322be2d533ff8a96409f2982c94a09c8383ee
* Update neutron-vpnaas from branch 'master'
to 8f8b493a28425b8837e5b4d2047d6de530043f68
- Bump pylint version to 2.17.4
This is the same version used in Neutron repository.
Change-Id: Icc5376162732b54e5abc8ef15daf06ef53bde8e9
* Update neutron-vpnaas from branch 'master'
to 688a3fe91897a319dc39e1365b529d1ece967f17
- Update master for stable/2023.2
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: I7b81e50fcbe5be43285aee170a363f31e04edcc7
* Update neutron-vpnaas from branch 'master'
to 68307808483b4c970a2b0c57d1f1aa3b4dcadc78
- [alembic] Alembic operations require keywords only arguments
Since [1] (release 1.11.0), the Alembic operations "now enforce
keyword-only arguments as passed as keyword and not positionally"
(from the commit message).
This change is compatible with the previous versions (as confirmed
in the CI).
[1]df75e85489
Closes-Bug: #2019948
Change-Id: I00c34fd8c4666d5cece13f562df733e75b4b70af
* Update neutron-vpnaas from branch 'master'
to 97e5d0332c669138ed9f81f031568181ffffa644
- Update master for stable/2023.1
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: Idb91d66cad69d89079e3fa1ea0c6591f0aa6d1d1
* Update neutron-vpnaas from branch 'master'
to 792f2c65ec34b63ae8037a5328b7622320c4e1c4
- [sqlalchemy-20] Add reader context to ``VPNPluginDb`` get methods
The following methods are now called from inside a reader context:
* ``VPNPluginDb.get_ikepolicy``
* ``VPNPluginDb.get_ikepolicies``
* ``VPNPluginDb.get_ipsecpolicy``
* ``VPNPluginDb.get_ipsecpolicies``
* ``VPNPluginDb._get_vpnservice``
* ``VPNPluginDb.get_vpnservice``
* ``VPNPluginDb.get_vpnservices``
* ``VPNPluginDb.get_endpoint_group``
* ``VPNPluginDb.get_endpoint_groups``
This patch is also adding the writer context to
``BaseIPsecVPNDriver.create_vpnservice``.
Closes-Bug: #2008767
Closes-Bug: #2008001
Change-Id: Ic22eb356c3157713a53cd71a366b946aa57ab042
* Update neutron-vpnaas from branch 'master'
to d34ff613d720c4990f41c417060e32f92f19f25a
- Fix pep8 and doc jobs for tox4
Add bash to allowlist_externals
Change-Id: Idb063586fa6e6e0d9c4ecc61fc661338f6759e08
* Update neutron-vpnaas from branch 'master'
to 03fe2fbff99360d14e2e7d5432d1e949ec17a389
- Switch to 2023.1 Python3 unit tests and generic template name
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: I4b384c47e618511b1d5016d966e3ccde496c82fe
* Update neutron-vpnaas from branch 'master'
to ca7e32bbb7e8d3eea3807661204fe77d25c8f155
- Update master for stable/zed
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: If4dadb7bfdbfe130e2585f921994f096a36206af
* Update neutron-vpnaas from branch 'master'
to 694c84c61b4fb9124a37414ed8afdca6bb8c518a
- Adopt to oslo.db 12.1.0
Change-Id: Ic166fd810b1e49ac02d32921a6294e5f3c758489
* Update neutron-vpnaas from branch 'master'
to 6eaed1cdbab4f0a3d14604d0ff8bb4bbfe2e9bce
- Tests: fix requirements for unit tests
Add WebTest to test-requirements which used to be imported as a
transitive requirement via pecan, but the latest release of
pecan dropped this dependency. So make this requirement explicit.
Related-Bug: #1982110
Change-Id: I55c8ef4bd0e6f71ee058083708bbac4aa9fa56a0
* Update neutron-vpnaas from branch 'master'
to 740bf12dfa6850c84a3ce07c1a840ae113045f71
- Fix creating ipsec site connection
Fixes a RuntimeError "Method remove_reservation cannot be called
within a transaction" while creating an ipsec site connection.
To avoid the error the service driver now gets the vpnservice
(to get the router_id) inside a CONTEXT_READER wrapper.
Closes-Bug: #1978571
Change-Id: I6552816db8a596a933365dc9de481d8c32371f1c
* Update neutron-vpnaas from branch 'master'
to 6a226281bb28b6e64c55f997b79224bcfad79ea5
- Migrate to neutron-lib released API definition for VPNaaS APIs
This patch shows how to use a neutron-lib released API definition for
the VPNaaS extensions. This is a baby step towards a
consolidated set of Neutron APIs.
See I06760fbbbc87570412a21364fba58efe880a907b for more details.
The method get_namespace in API extensions is also removed during this
migration. Since it was removed from neutron long time ago [1].
Co-Authored-By: Anh Tran <trananhkma@gmail.com>
Co-Authored-By: Hunt Xu <mhuntxu@gmail.com>
Co-Authored-By: Dongcan Ye <hellochosen@gmail.com>
[1] I3c406910991c33cf959c5345d76153eabe3ace2d
Depends-On: https://review.opendev.org/#/c/710559/
Depends-On: https://review.opendev.org/#/c/712657/
Change-Id: I1034814639a03b6482d9c9d1a389950aef967a59
* Update neutron-vpnaas from branch 'master'
to 1fd3a6633c7fea7f0565ca9dc79631ec8ef75949
- Merge "remove unicode literal from code"
- remove unicode literal from code
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I5c990388bff3f65bfd5e6367a4e17a9292c533ad
* Update neutron-vpnaas from branch 'master'
to a31e5f1b0a033d3928c79638e44c6e93c0431cba
- Merge "setup.cfg: Replace dashes with underscores"
- 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: I84131fe10c7ca309e576b1769f2a3eccf4fdfe50
* Update neutron-vpnaas from branch 'master'
to 166949f968ebbab032c88b55c331b79da7926d03
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I4bac7893751ee1c0548b7864d26774fed4f46a99
* Update neutron-vpnaas from branch 'master'
to 516d31fc2da55427a2530acf443bca10a8eccb5b
- Merge "Use TOX_CONSTRAINTS_FILE"
- Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I04ac905b0b01c5a717fc4b168982c8e1e0833264
* Update neutron-vpnaas from branch 'master'
to d12bc8b37e75b889d260b3963210c86bc0618e77
- Merge "Drop install_venv"
- Drop install_venv
install_venv is a legacy and not used in our CI,so drop it completely.
Change-Id: I8d9f86b39d4443d6e559ac3de0b9cdb5dc87e31b
* Update neutron-vpnaas from branch 'master'
to 8422cbc689074dbc0ab29413e695f625c3e8e0e2
- Merge "Drop lower-constraints.txt and its testing"
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: Iddb575ef94f8162f8d07f650db4611a5fd07b258
* Update neutron-vpnaas from branch 'master'
to 5337f9ec28dd7751ad9519f33fad87b53cb441fb
- Merge "CI: Add Neutron to required-projects list"
- CI: Add Neutron to required-projects list
Unit tests jobs (openstack-tox-py3x) are better to run with latest
Neutron otherwise they can fail till a new Neutron release is out.
Change-Id: I83cb8ca8969567f0383f6842ccf66e1864e0a715
* Update neutron-vpnaas from branch 'master'
to 4f1f0f7263f971731a60ac32d4d42b91a224b273
- Update python testing as per zed cycle teting runtime
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: I68fded0366a3be3ef5459391982e80c570562735
* Update neutron-vpnaas from branch 'master'
to 9ab2cc8ccefbc11b8c8740df4dd29520e7a71cd3
- Merge "l3ha: fix status updates"
- l3ha: fix status updates
In the scenario of a failover, since the state is not updated, the
router status remains as 'backup' in the agent and it skips on
checking it's status.
This patch updates the router info once there is updates to the
HA state so that it can force a status update correctly.
Change-Id: Id3ec0ec2517d0c8f09c558c25ceb53f7c9fdbcf5
* Update neutron-vpnaas from branch 'master'
to cca1ee1307da1b1c22810a208bde6a2e4f723c30
- Merge "Add Python3 zed unit tests"
- Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: If0fae164f26aaf69ce043c93c6922377ce204ddf
* Update neutron-vpnaas from branch 'master'
to 04ab6d5b501cfe9c6991065b1d7ade44aefd6891
- Merge "Fix failover with L3 HA"
- Fix failover with L3 HA
Since there was a few changes inside Neutron which now use primary
instead of master, failover did not properly function. This patch
handles both master/primary until Neutron moves those keywords into
constants inside neutron-lib.
Change-Id: I9ff278801a400c52cc52d23b62b0b8447f91ebd8
* Update neutron-vpnaas from branch 'master'
to f9bf321be9088644adbb49ab35d15da50ac315ee
- Add weekly jobs
Add jobs to the weekly periodic pipeline (see [1]).
Current jobs to be run weekly: openstack-tox-py39,
neutron-tempest-plugin-vpnaas and neutron-vpnaas-functional-sswan.
[1]: https://opendev.org/zuul/project-config/src/branch/master/zuul.d/pipelines.yaml#L130
Change-Id: I15de6577cf21023ca88270d59c69ac2f26dfe3f8
* Update neutron-vpnaas from branch 'master'
to 73499f01c6dcb67b85bf4a8d039fe5de7f303b09
- tests: restore functional testing
At this commit, all the things are fixed again and we can restore
testing once again.
Change-Id: Iea5454973cd12626703c64b74ef3ba08fc6250f2
* Update neutron-vpnaas from branch 'master'
to bf155a8ee7f74db748192458e58a005297f9ffec
- tests: fix functional tests
Neutron introduces an additional layer of protection when it comes
to dead VLANs, however, the VPNaaS did not have that change in it's
tests which meant that traffic was not reachable inside the
functional tests[1].
This patch changes the base class of the TestIPSecBase to use the
L3AgentTestFramework instead, and does a small refactor of the
setUp() function as well to remove extra calls.
This should stop any further changes in Neutron from breaking VPNaaS
since hopefully that class will carry the fixes down. However, there
are a lot of duplicated code from the base class into this one,
however, this patch is focused at making a simple backportable
change for now. Long term, it would be good to drop more of the
redundant code in there.
[1]: I0391dd24224f8656a09ddb002e7dae8783ba37a4
Change-Id: I04793caeaa71adbb1abcbda58aa43e63ce51d1e6
* Update neutron-vpnaas from branch 'master'
to 6f6a455b228401edc7ea961c742f0a5e719b19e5
- Register common config options by default
The [1] change modified the behavior Neutron had, which used to
force the default config options to be automatically set.
Neutron VPNaaS expects some of the default config options
to be set while initializing some services. If they aren not set
the initialization will fail similar to neutron-dynamic-routing[2].
This change invokes the method that sets such config options to
fix this initialization issue.
[1] https://review.opendev.org/c/openstack/neutron/+/837392
[2] https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/838780
Change-Id: I5c309c1ca8a7162b2a42b60bb3ee66df2c93fbae
* Update neutron-vpnaas from branch 'master'
to d078eb07a8c5e886f7bc6876cce96db99117b1b9
- ci: temporarily disable functional tests
This patch is mean to stop running functional tests so we can land
multiple independent smaller patches (since some will/can be back-
ported and other won't be).
Change-Id: Ic0a4def429942203416560491b85651a4c30c8e1
* Update neutron-vpnaas from branch 'master'
to 55c5e241429d29428c92d2f0fa9a7b7a66969485
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I4bae74fc9979527a5dd8a8b5e0abc3f93edf5879
* Update neutron-vpnaas from branch 'master'
to 8552d8e16836570b916a7815906f7d76915e921d
- Merge "Remove BUILD_OVS_FROM_SOURCE from the functional tests job"
- Remove BUILD_OVS_FROM_SOURCE from the functional tests job
This config option was removed from the Neutron's
configure_for_func_testing.sh script and is replaced with
the Q_BUILD_OVS_FROM_GIT option used also by Devstack.
Depends-On: https://review.opendev.org/c/openstack/neutron/+/799625
Change-Id: If92c28e75f900955cc96907a0a02cca98fe55a53
* Update neutron-vpnaas from branch 'master'
to c1d2f253b38d14b514a12a89332812854d00f390
- Change BUILD_OVS_FROM_SOURCE to Q_BUILD_OVS_FROM_GIT
Q_BUILD_OVS_FROM_GIT is used in Devstack, and in Neutron
BUILD_OVS_FROM_SOURCE recently was changed to it.
Change-Id: Ibe11e4848e46f5df44b23bbdb97f88143e6cc454
Depends-On: https://review.opendev.org/c/openstack/neutron/+/799625
* Update neutron-vpnaas from branch 'master'
to 805d3851a5f67882e0a73735bf5be621d9206eef
- Merge "Add Python3 yoga unit tests"
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I7a0d890339572b67890687afd3715164fd856537
* Update neutron-vpnaas from branch 'master'
to 883f4f26100f751f50543d363a8a2633f43d62aa
- Add "update_network" implementation to "L3AgentExtension" child classes
Added "update_network" method implementation to all "L3AgentExtension"
child classes. This new method will be added as a new abstract method
in future neutron-lib releases.
Needed-By: https://review.opendev.org/c/openstack/neutron-lib/+/818536
Related-Bug: #1950454
Change-Id: If319a47e65e4052dd3bbfba700819cbb9183a263
* Update neutron-vpnaas from branch 'master'
to 64cedb7d25e284b16595210c3c8f78c08b00541f
- req: Bump some requirements
oslo.context to 2.22.0
oslo.policy to 3.7.0
Mako to 1.0.7
oslo.config to 6.0.0
eventlet to 0.22.1
SQLAlchemy to 1.3.0
requests to 2.18.0
rfc3986 to 1.2.0
idna down to 2.5 (requests 2.18.0 depends on idna<2.6 and >=2.5)
Change-Id: Iff72bfcc386b1219802d7842dfa394711fa8ae5f
* Update neutron-vpnaas from branch 'master'
to 2ea7e7fcbf0f93d32968341f1beddd1cddc0e0bd
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I4ce69ff38853d1f1caa898e9ba2f739e8e080a0f
* Update neutron-vpnaas from branch 'master'
to 8de26cbfcd9563c5ff0637ac9cfd7d98f7a37e00
- Use payload for ROUTER BEFORE_UPDATE event
Change-Id: I6e57d97335cdfd9242707524193aa6d8d5f93f88
Depends-On: https://review.opendev.org/c/openstack/neutron/+/803009