3dd849471f6296c0709c06b7fe6a867ab4de4402
Commit Graph

295 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
3dd849471f Merge "Add tempest tests on route-target update" 2016年08月22日 12:25:35 +00:00
Jean-Philippe Braun
28dcfbecc2 Add tempest tests on route-target update
Change-Id: Ibd2f50797b4d6c6b34cda6bf3f219644af0ffe43
Partial-Bug: #1607664 
2016年08月22日 09:35:16 +02:00
Jenkins
2c31318e82 Merge "import api validators/converters from neutron_lib" 2016年08月19日 08:40:39 +00:00
Morgan Richomme
cc4c52ab17 import api validators/converters from neutron_lib
now that they haved moved out of neutron repo,
import api validators/converters from neutron_lib
Change-Id: I9f333f69533da5f4632e89aab5194f8ee5d216e5
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016年08月19日 10:17:25 +02:00
Francois Eleouet
c27b90c093 enable tempest tests for bgpvpn
remove override of DEVSTACK_GATE_TEMPEST that is defined in jenkins job,
and run only bgpvpn's tempest tests using a regex filter.
Change-Id: Iae534db7bd34624fad135dad4f5b6f34fc5143bf
2016年08月18日 14:37:25 +00:00
Jenkins
a44a635ba4 Merge "unit test fix: specify the tenand_id at Port/Net/Subnet creation" 2016年08月18日 14:03:33 +00:00
Thomas Morin
50188f2a32 unit test fix: specify the tenand_id at Port/Net/Subnet creation
Since I1d633810bd16f1bec7bbca57522e9ad3f7745ea2 has merged we have a few
unit test failing because our Ports are not created with the same tenant_id as
the one specified in our 'context'.
This patch forces the use of the generic Neutron test tenant id everywhere.
Change-Id: I8c28c061ce091acf07d221b0b2bf0eb003f9e7d8
2016年08月18日 15:10:49 +02:00
davidblaisonneau-orange
1ea3c8dcd6 Bad parameter name in disassociate_network_from_bgpvpn
Change-Id: I984adf767ffaf60a43df1baa97a377b55f95eaf5
Signed-off-by: davidblaisonneau-orange <david.blaisonneau@orange.com>
2016年08月17日 14:14:11 +02:00
bfernando
fcfdd8376c Add a tenant ID check to create a bgpvpn resource
Only in the opencontrail driver (as other neutron resource creation)
Improve the opecontrail_client by adding the 'project' resource
Add a function that check the tenant ID by reading (show) the project
Made the check in bgpvpn 'create' and 'update' functions
Change-Id: Iedea7863bed39d9a8f4bff1e2fa647bdd45ba3a5
Closes-Bug: #1604748 
2016年08月16日 17:09:54 +02:00
Henry Gessau
415740e945 Remove temporary local HasProject
Now that the tenant_id rename has merged in Neutron we can
remove the temporary work-around.
Also switch from the deprecated models_v2.HasId to the relocated
model_base.HasId
Related Blueprint: keystone-v3
Change-Id: I83c04e3455deade9ed1dda823d1a321579fba808
2016年08月11日 12:12:54 -04:00
Henry Gessau
a044cf722b Enable DeprecationWarning in test environments
Many deprecations are triggered early (on imports, for example)
before the warnings are enabled by the WarningsFixture in the
base test class.
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.
Change-Id: Id88216090ea0ebdf9c1353eb713ccfed72c84630
2016年08月09日 18:38:11 -04:00
Antoine Eiche
e2f276a02f Add tempest test associate_disassociate_network
Network assocation and disassociation client functions have also been
added.
Change-Id: I5494c3f7c85105bc22e508e09d2c32a09d664477
Partial-Bug: #1607664 
2016年08月08日 18:35:38 +02:00
Jenkins
08cb19c6e6 Merge "Add test delete_bgpvpn_as_non_admin_fail" 2016年08月08日 08:52:52 +00:00
Jenkins
d2ce6c72cf Merge "Delete execute permission of two files" 2016年08月05日 02:18:05 +00:00
Jenkins
dea5f55f5e Merge "Rename DB columns: tenant -> project" 2016年08月04日 21:25:19 +00:00
qinchunhua
67e6e9f5e2 Delete execute permission of two files
This two files were given execution permission
by mistake. This patch removes the error permission.
Change-Id: Iba2f54ab1fd7ec36011dc1873322859322d6c001
2016年08月04日 03:10:25 +00:00
Jenkins
6738750284 Merge "Add Python 3.5 classifier and venv" 2016年08月02日 11:56:14 +00:00
qinchunhua
bd538d5ffe Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I2e656f961b1f29d1aa64ae6e06ac0598186c4144
2016年08月01日 22:25:03 -04:00
qinchunhua
595db5ac98 Updated from global requirements
Updated from global requirements.
TrivialFix.
Change-Id: I623fd853eee29e1ed1ea28bb56731f2aba34fb65
2016年08月01日 20:55:30 -04:00
Jenkins
fbde31196a Merge "Updated from global requirements" 2016年08月01日 13:17:24 +00:00
qinchunhua
70b68d206d Updated from global requirements
Change-Id: Ic5c56906652de54e7d01f70044c6517d7393b40c
2016年07月31日 21:15:24 -04:00
qinchunhua
8eea958210 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported.
Change-Id: I98a7b99f65faa3a7db6a6a1ac99626644347b39b
2016年07月30日 03:09:55 +00:00
Antoine Eiche
c35805421f Add test delete_bgpvpn_as_non_admin_fail
The admin creates a bgpvpn resource by specifying a normal user tenant
id. Test checks this user fails to delete the bgpvpn resource.
Change-Id: I2d3f91b9d7ab86187e842f6dbecfa51ef9afbe8e
Partial-Bug: #1607664 
2016年07月29日 09:58:05 +02:00
Dariusz Smigiel
00b9c118d1 Rename DB columns: tenant -> project
All occurences of ``tenant_id`` across the neutron database are
being renamed to ``project_id``.
This neutron-fwaas change accompanies the neutron change:
I87a8ef342ccea004731ba0192b23a8e79bc382dc
Change-Id: I017b3f8ec432f1d334879f30026d8b16f6295eff
Partially-Implements: blueprint keystone-v3
2016年07月29日 00:29:38 +00:00
Jenkins
83773a8e5d Merge "Bring models in sync with migrations, add test" 2016年07月28日 15:13:16 +00:00
Jenkins
e30e7cd5b9 Merge "Improve bagpipe unittest involving OVS bridges" 2016年07月28日 12:27:23 +00:00
Jenkins
d7d54e9624 Merge "minor doc layout improvement" 2016年07月27日 13:15:52 +00:00
Henry Gessau
cc1cf23ee7 Bring models in sync with migrations, add test
Bring the sqlalchemy models in sync with the alembic migrations.
Add the neutron standard model-migration sync test. The test is
added to the unit test env since bgpvpn does not have a
functional job yet. This requires that bgpvpn uses the
python-db-jobs template in the gate.
The neutron HasTenant model mixin includes an index for the
tenant_id column, but bgpvpn's alembic migrations never created
those indexes. So here we include a migration to add them.
(Also clean up some unused parameters and __init__ files.)
Closes-Bug: #1605608
Partial-Bug: #1604803
Depends-On: I3a8ea02b86846e9a8a7d7f2aee9700ca952b0248
Change-Id: I24d35f7dccab611143f4b0a7428ba7074f2adcc2
2016年07月26日 00:07:44 +00:00
Jenkins
e3f74fe786 Merge "Update API usage with Python and a sample code" 2016年07月25日 15:14:36 +00:00
Bin-Lu
b0d07e1e09 Fix the permission of file -rwxr-xr-x
As shown above,this file has executable attribute that need be removed.
Change-Id: I17170e80119dff1450d8abbea88e56913d0c620e
2016年07月19日 18:46:23 +08:00
Jenkins
349d6b7eba Merge "Remove unused LOG to keep code clean" 2016年07月12日 10:24:20 +00:00
Thomas Monguillon
ca7f0b35d7 Update API usage with Python and a sample code
Change-Id: I4abc3fa972e08e21098596cff7b957acec463949
2016年07月12日 09:29:42 +00:00
Thomas Morin
8136b71d2b Remove useless/broken call in a bagpipe driver test
Calling update_dv_port_binding is now (a) useless, and (b) broken.
This patch simply removes it.
Change-Id: I71d0b96b06eac3b917504ad7643ee9f3cf27255b
2016年07月12日 11:23:44 +02:00
qinchunhua
a9d1094cf1 Remove unused LOG to keep code clean
Remove unused LOG to keep code clean.
Change-Id: I34a941afe7f111bf09a6005694fe7736a1baaadf
2016年07月09日 03:11:43 -04:00
Thomas Morin
cc8d478209 Improve bagpipe unittest involving OVS bridges
Mimic I7e6df407c7c083b4d98b631615161bcda82059a3
to improve what we did in I15daa5cf2515517850cef30b562866cf88088323.
Change-Id: I5206ab0d6fe80740a83666cd7c03d0619304932a
Closes-bug: #1599055 
2016年07月07日 12:17:44 +02:00
Jenkins
21cbe5cef5 Merge "Initialize the routers key in make_bgpvpn_dict" 2016年07月06日 06:18:18 +00:00
Henry
76e70d4181 Fix tox unit test issue
Add "testresources>=0.2.4" into test-requirements.txt and mock
OVS bridge classes in bagpipe driver tests.
Co-Authored-By: ruansx@cn.ibm.com
Co-Authored-By: thomas.morin@orange.com
Change-Id: I15daa5cf2515517850cef30b562866cf88088323
Closes-bug: #1599055 
2016年07月05日 20:50:52 +00:00
Thomas Monguillon
7f17824ded Initialize the routers key in make_bgpvpn_dict
This patch prevents to trigger an error with OpenContrail when a
network association is declared on a network bounded to a router.
Change-Id: I61e699690c86e523e0479a4cb34d3db5f6b9ed0c
Closes-bug: 1596962
Closes-bug: 1598807
2016年07月05日 16:24:35 +02:00
Thomas Morin
cc28754664 minor doc layout improvement
Use "code-block:: shell" for CLI call examples.
Change-Id: Ifbfa8fc7b8726e434afbacc540a73a49cc2eb941
2016年07月04日 18:10:12 +02:00
Cedric Savignan
c93da24ec4 Horizon plugin to let the admin handle BGPVPN
Add a new panel BGPVPN in Admin section to display BGPVPN created. The
page allow actions as create, delete or modify BGPVPN resources.
Add an API file bgpvpn to handle the bgpvpn Python API via
neutronclient.
Change-Id: Iee2de53c8cb9d61f80033ab63485bdcf0e742abb
Implements: blueprint horizon-admin-workflow
2016年06月22日 16:41:50 +02:00
Jenkins
54d9599c68 Merge "Fix RD regex to match RFC 4364, chapter 4.2" 2016年06月21日 15:04:10 +00:00
Thomas Monguillon
7b3a06e883 Fix RD regex to match RFC 4364, chapter 4.2
Improve test for invalid RTs and invalid RDs (Add type 1 and Type 2 formats)
Add test for valid RTs and valid RDs
Closes-Bug: 1557588
Change-Id: Icb7a135fc103a1ff255255ff84a90e5fc610b8ba
2016年06月21日 16:00:32 +02:00
Jenkins
62e6dacdc5 Merge "Update OpenContrail driver documentation" 2016年06月21日 13:45:20 +00:00
Thomas Morin
06592f5847 Move from neutron.i18n to oslo.i18n
As recommended in:
http://docs.openstack.org/developer/neutron/devref/i18n.html
Closes-Bug: 1594382
Change-Id: I3c5d1949991bfbde3a906f9caab348764468c007
2016年06月20日 16:48:17 +02:00
Édouard Thuleau
2c277941c6 Update OpenContrail driver documentation
List all driver limitations and update the install section with the new
devstack plugin to deploy contrail
Change-Id: I00a07dd983183c4faa2bbc3ed126c75c0c031f5c
Closes-Bug: #1592869 
2016年06月16日 11:16:49 +02:00
Jenkins
9802da9c1f Merge "README cleanup" 2016年06月15日 12:42:52 +00:00
Jenkins
52320e9983 Merge "Update bagpipe driver documentation" 2016年06月15日 12:42:46 +00:00
Jenkins
11e3940ed5 Merge "bagpipe driver: add a unit test for agent extension" 2016年06月15日 12:39:26 +00:00
Thomas Morin
15bfd4f2c7 README cleanup
Remove the devstack examples that were not very useful.
It's better to have a simple README pointing to the main doc.
Change-Id: I2d4bf362c88d21bbfb4dd93379d16938a8c2f887
2016年06月15日 10:42:07 +02:00
Thomas Morin
605e193cdd Update bagpipe driver documentation
Small change to reflect the fact that bagpipe-bgp is installed
as a git submodule of networking-bagpipe.
Change-Id: I96b6e8f9d6cb1d3f896608fb822f04d2d0637bc8
2016年06月15日 10:38:30 +02:00