Commit Graph

1768 Commits

Author SHA1 Message Date
Tony Breeds 608063640d Retire Packaging Deb project repos
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
2017-09-12 15:44:34 -06:00
Zhenmei 797c046669 Devref for VMWare NSX-v IPsec VPN driver
Depends-On: Id3fd4da7e4dd4cac4eb2e32024c0d8242b85a0bb
Change-Id: Iecd22b4c33287b05ac9b14e8c1f1a8435d87f8df
Co-Authored-By: Roey Chen <roeyc@vmware.com>
2017-07-23 02:05:54 -07:00
Cao Xuan Hoang 4dc446542d Enable some off-by-default checks
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
2017-07-21 09:57:46 +07:00
Jenkins 4b923bca84 Merge "Fix doc rendering for more easy to read" 2017-07-21 01:56:26 +00:00
Jenkins 729e7df3c9 Merge "Update URLs in documents according to document migration" 2017-07-20 23:46:08 +00:00
Jenkins a41dcf9e8c Merge "Replace test.attr with decorators.attr" 2017-07-20 18:38:08 +00:00
Jenkins c1b9a1afaf Merge "Use flake8-import-order plugin and clean up exceptions" 2017-07-20 18:35:30 +00:00
OpenStack Proposal Bot 1eda905a84 Updated from global requirements
Change-Id: Ib32f0e283b87d0ae5dfcb9927c72a85a6f19dd35
2017-07-19 18:38:20 +00:00
Luong Anh Tuan ca67da5966 Replace test.attr with decorators.attr
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
2017-07-18 20:17:01 +07:00
Cao Xuan Hoang 7280530329 Fix doc rendering for more easy to read
TrivialFix

Change-Id: Ifbd95e182b8d462751481dda8bdd559b928f5f63
2017-07-17 09:32:31 +07:00
melissaml 76583c56ec Update URLs in documents according to document migration
Change-Id: I3fd980bc5dfb24adb73ac46270b1296e26c65eac
2017-07-14 13:09:47 +08:00
Hunt Xu 058469e1b9 VPNaaS integration with services flavor framework
* 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
2017-07-13 18:57:25 +08:00
Cao Xuan Hoang d8ba5b7a81 Use flake8-import-order plugin and clean up exceptions
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
2017-07-11 15:49:52 +07:00
OpenStack Proposal Bot 9ac61004ac Updated from global requirements
Change-Id: If330041ee3684ba64c29f1bce8e12566d2c58a91
2017-06-30 12:19:28 +00:00
Jenkins dddb73ccb4 Merge "Optimize the link address" 2017-06-30 11:50:15 +00:00
Jenkins 96fa8c5f5e Merge "Add myself to list of driver maintainers" 2017-06-30 11:20:21 +00:00
Jenkins 8e91c5e054 Merge "Stop using deprecated 'message' attribute in Exception" 2017-06-30 11:02:15 +00:00
Jenkins e474634df0 Merge "Switch from oslosphinx to openstackdocstheme" 2017-06-30 10:50:08 +00:00
Jenkins 1cecd24641 Merge "use service type constants from neutron_lib plugins" 2017-06-30 10:49:52 +00:00
Van Hung Pham 0cd6ff32a9 Optimize the link address
Update link address to ensure safety and preciseness

Change-Id: I96b27a0d8a7a0d48b4301392ea9490ef5a6b82b1
2017-06-30 10:20:12 +00:00
Arundhati Surpur c6d7959be4 Drop MANIFEST.in - it's not needed by pbr
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
2017-06-30 11:31:30 +05:30
Van Hung Pham 0c1ac4badb Switch from oslosphinx to openstackdocstheme
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
2017-06-30 02:50:37 +00:00
Boden R 9b0f35e1d0 use service type constants from neutron_lib plugins
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
2017-06-27 12:35:49 -06:00
Cao Xuan Hoang 3d60ac3256 Stop using deprecated 'message' attribute in Exception
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
2017-06-19 15:44:30 +07:00
Cao Xuan Hoang a8439aebbc Add myself to list of driver maintainers
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
2017-06-09 10:47:03 +07:00
xiaoli eaf4bfabbd Delete the IPSec before the router is deleted
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
2017-06-07 09:58:26 +08:00
Jenkins aa1c3f9a9b Merge "Updated from global requirements" 2017-05-31 10:24:11 +00:00
Cao Xuan Hoang 6170ea0c28 Updated comments in tox.ini [flake8]
Change-Id: If768bb26683870491d6414168213e40a95832ec6
2017-05-29 11:31:11 +07:00
OpenStack Proposal Bot d640c43665 Updated from global requirements
Change-Id: I1c41cded669fc9dfb1d1f3dcb7318a00b66676ff
2017-05-25 02:12:09 +00:00
Jenkins b15ab1a1cf Merge "Updated from global requirements" 2017-05-17 09:00:47 +00:00
Jenkins 6c0ee6b515 Merge "Enable vpnaas extension" 2017-05-17 07:23:51 +00:00
OpenStack Proposal Bot 51db56a461 Updated from global requirements
Change-Id: I2eab9772ee70eb310c2c2d8f60730577333dbd3d
2017-05-17 03:52:33 +00:00
OpenStack Proposal Bot 160018910d Updated from global requirements
Change-Id: Idda41f5b0f5a355cf23a2552c8c03cb58e7f9420
2017-05-05 02:26:55 +00:00
Jenkins e657563cd4 Merge "Tag the alembic migration revisions for Ocata" 2017-05-03 17:44:00 +00:00
Cao Xuan Hoang d8c42979dd consume neutron-lib callbacks
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
2017-04-26 08:35:21 +07:00
fumihiko kakuma 53e6a4d196 Enable vpnaas extension
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
2017-04-23 15:48:14 +09:00
YAMAMOTO Takashi ebc5be7e2b Tag the alembic migration revisions for Ocata
Change-Id: I8bd786160581cb8b6dc66b2612869cd96201fb84
2017-04-18 20:15:53 +09:00
Cao Xuan Hoang 7589fc5ed1 Migrate neutron.plugins.common to neutron-lib
Change-Id: I227911fe15990f5e2e67d052c16869d57d5bbe58
Depends-On: I6e86d737064f97d82e36a4e82a9f2a22fd38febe
2017-04-17 15:50:24 +07:00
Jenkins d13c5298b7 Merge "Updated from global requirements" 2017-04-17 05:50:31 +00:00
Jenkins fa11d99add Merge "Remove log translations from neutron-vpnaas" 2017-04-17 05:49:58 +00:00
Jenkins 41f9af3c69 Merge "Remove subunit-trace fork" 2017-04-17 05:45:20 +00:00
Jenkins bb3e4a1183 Merge "Use neutron_lib's get_random_mac" 2017-04-17 05:44:58 +00:00
Jenkins 966921aeca Merge "doc: Add a list of driver maintainers" 2017-04-17 05:44:53 +00:00
Jenkins 6be50dbdef Merge "Add router_id to query when check subnet is used by vpnservice" 2017-04-17 05:44:46 +00:00
OpenStack Proposal Bot e1aca0ba72 Updated from global requirements
Change-Id: I98b4062817844db31a724ceedf98db91da2278c8
2017-04-12 17:01:45 +00:00
Jenkins 5ceef75a4b Merge "ipsec device driver: Sprinkle log_method_call" 2017-04-07 13:27:02 +00:00
Jenkins ee74382e70 Merge "Rehome L3 exceptions to neutron-lib" 2017-04-07 13:22:53 +00:00
Ihar Hrachyshka 6cfc527fc6 Remove subunit-trace fork
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
2017-04-06 11:53:09 -07:00
Jenkins b9fc93518a Merge "Add a simple tempest scenario" 2017-03-24 08:42:54 +00:00
YAMAMOTO Takashi aba4816dec Add a simple tempest scenario
Change-Id: I38626690320c8c7844fe653baba27ff9315b1f17
2017-03-24 08:08:57 +00:00