This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I43bc45605f9389a6941d71e0cb8399d31fc75c76
Some of the available checks are disabled by default, like:
[H106] Don't put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
[H904] Delay string interpolations at logging calls
Change-Id: I7450cd259fffa2a97fcb28cc61727532478eeccb
Function 'tempest.test.attr()' has moved to 'tempest.lib.decorators
.attr()' in Pike and will be removed in a future version.
This patch replaces the 'tempest.test.attr()' with the 'tempest.lib
.decorators.attr().'
Change-Id: Ia1ed973398e801dfb5f46e172515dbf520ce4c43
* adds new attribute 'flavor_id' for vpnservice
* adds support for multiple drivers for VPNaaS
This solution uses a flavor of service type VPN associated with a flavor
profile containing a driver. During vpnservice creation, if a flavor_id
is passed, it is used to find the provider for the driver which would
handle the newly created vpnservice. The flavor_id and the
provider-vpnservice association are pesisted in the DB.
ApiImpact and DocImpact tags are added as the new optional flavor_id
parameter should be described, as well as the support of multiple VPNaaS
drivers.
The original work and discussion about integrating VPNaaS and service
type framework can be found in the following change:
I9e195dfaee21b1cf204cb9b9fc773bc9e5af5936
ApiImpact
DocImpact
Closes-Bug: #1672920
Signed-off-by: Hunt Xu <mhuntxu@gmail.com>
Change-Id: I0095e160481f1d4572e38ad1d3bbc8e183039b84
1. In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
It enforces loose checking so it sounds good to use it.
This flake8 plugin is already used in tempest.
Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.
Setup for unit tests of hacking rules is tweaked to disable
flake8-import-order checks. This extension assumes an actual file
exists and causes hacking rule unit tests.
2. This patch is also intend to clean up exceptions to avoid
confusing for other developers and the maintenance-ability as well.
Change-Id: I032892f08e073feb5b822d27d092f041b17d57e1
neutron-vpnaas already uses PBR:-
setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)
This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.
Change-Id: I1c7992cc13e5210f93e15a96b8151be679acee1f
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: Icb985379c263d7d06544d69bae11282a18a7fc52
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants [1] that we'd like to
remove.
This patch switches references over to neutron_lib's plugin constants.
[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L353
Change-Id: Ib44f6fb67a1232eceb300e0c8c65b9beb0a899af
The 'message' attribute has been deprecated and removed from Python3.
For more details, please check:
https://www.python.org/dev/peps/pep-0352/
Change-Id: I030ae143808d7cbe5e2d03b5347cc6edc3c9eb6e
I would like to add myself as a maintainer for strongswan driver
as I am currently using and focusing on it. In order to share
workload with Kong as he is in-charging for 2 drivers.
Change-Id: I6ff26ef34520e9f8711503b7589c37bdbc32ca39
The termination of the IPSec connection process requires router's
netns presence to execute successfully, so the IPSec connection
deletion should be executed before the router is deleted,
rather than the router deletion.
Closes-Bug: #1696684
Change-Id: Ia5b3576c0a53647ee273d025f1f8893348ccc6c0
The callback system in neutron has moved to neutron-lib and hence
consumers need to follow suit.
See Ib6baee2aaeb044aaba42a97b35900d75dd43021f for more details.
Change-Id: Ia896fdaacdad66b8860e1e291707197e471ec2a4
In a stable branch of devstack, vpnaas isn't included in api extension list
used in tempest since [1].
[1] Iac8f858793d5ab514d6ba69b68d5420acd0fe903
I1a4d1ea8c8d34b8cd1020e76597db6c67f85f6ec
Change-Id: Ic7f7e3d44fb55c01bb0e2c90ea49547c76301a68
Partial-Bug: #1683580
This makes tox use the latest version of the tool from os-testr repo,
which contains some valuable changes, like the one making the gate fail
if for some reason no tests are executed because all of them are
skipped.
Change-Id: If88be4b310d746ccc885e3d0c1db8a4dfabb2a28