a9d92882e619902f15bf64ec87dbabaf60274dc1
304 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Cedric Savignan
|
a9d92882e6 |
Horizon plugin patch to let user handle BGPVPN resources
Add a new panel BGPVPN in project section to display BGPVPN created for non admin user. The page allow actions as edit and update associations networks or routers for BGPVPN resources. Some part of code has been refactored to put in common methods or classes between project and admin panels. Change-Id: I49bfdfe1427c67f6b19a7b4faec0ab77a15ce8a5 Implements: blueprint horizon-tenant-workflow |
||
|
Jenkins
|
162546c8cf | Merge "Use constrained pip install for all jobs" | ||
|
Jenkins
|
ffcca897d5 | Merge "Remove windows-style line breaks" | ||
|
Thomas Morin
|
5aa1598469 |
Use constrained pip install for all jobs
Similarly as in I02b28d3b354c3b175147c5be36eea4dc7e05f2a3 . Change-Id: Ia8fd880e6a4dda080befedc4a85a9fa7b55f7772 |
||
|
Thomas Morin
|
a547da247b |
Remove windows-style line breaks
Not sure why pep8 didn't complain at merge time, but it is complaining now in my setup. Change-Id: I5fe65c47a4ace13e21741804730c5815b4e2b32d |
||
|
Thomas Morin
|
be7dff167b |
Import _ explicitly from ._i18n
(required to avoid a deprecation warning) Change-Id: Ie611cbdc25fb1fcea67e16d11a45307a708cab92 |
||
|
bfernando
|
c0eefd72c1 |
Add error management regarding malformed UUID
Catch the exception raised by the UUID library in the case of a malformed UUID and raise an OpenContrailMalformedUUID managed by Neutron server logs. Change-Id: I05dc8a380a3e5a8d54f21cef186cb532ec9461f2 Closes-Bug: #1604748 |
||
|
bfernando
|
304a7da868 |
Add a tempest test on read permission with bgpvpn_list
* Configure the second openstack user by providing the "alt" client_manager. * Add the test function which checks that a user cannot read bgpvpn resources that it does not own. * Add some comments in the BgpvpnTest description. Change-Id: Ia1edea9f414384a59b0568d0d733e3413944bd05 Partial-Bug: #1607664 |
||
|
suresh kumar
|
c1ab12636c |
Added the negative cases
Test checks that invalid route targets are rejected by the create and update api. Test checks that invalid network,bgpvpn id are rejected by the associate and disassociate api. Change-Id: I181a1876f654ce5821c6bc212696d7be2801acde Partial-Bug: 1607664 |
||
|
Jenkins
|
3dd849471f | Merge "Add tempest tests on route-target update" | ||
|
Jean-Philippe Braun
|
28dcfbecc2 |
Add tempest tests on route-target update
Change-Id: Ibd2f50797b4d6c6b34cda6bf3f219644af0ffe43 Partial-Bug: #1607664 |
||
|
Jenkins
|
2c31318e82 | Merge "import api validators/converters from neutron_lib" | ||
|
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> |
||
|
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 |
||
|
Jenkins
|
a44a635ba4 | Merge "unit test fix: specify the tenand_id at Port/Net/Subnet creation" | ||
|
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 |
||
|
davidblaisonneau-orange
|
1ea3c8dcd6 |
Bad parameter name in disassociate_network_from_bgpvpn
Change-Id: I984adf767ffaf60a43df1baa97a377b55f95eaf5 Signed-off-by: davidblaisonneau-orange <david.blaisonneau@orange.com> |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
08cb19c6e6 | Merge "Add test delete_bgpvpn_as_non_admin_fail" | ||
|
Jenkins
|
d2ce6c72cf | Merge "Delete execute permission of two files" | ||
|
Jenkins
|
dea5f55f5e | Merge "Rename DB columns: tenant -> project" | ||
|
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 |
||
|
Jenkins
|
6738750284 | Merge "Add Python 3.5 classifier and venv" | ||
|
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 |
||
|
qinchunhua
|
595db5ac98 |
Updated from global requirements
Updated from global requirements. TrivialFix. Change-Id: I623fd853eee29e1ed1ea28bb56731f2aba34fb65 |
||
|
Jenkins
|
fbde31196a | Merge "Updated from global requirements" | ||
|
qinchunhua
|
70b68d206d |
Updated from global requirements
Change-Id: Ic5c56906652de54e7d01f70044c6517d7393b40c |
||
|
qinchunhua
|
8eea958210 |
Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported. Change-Id: I98a7b99f65faa3a7db6a6a1ac99626644347b39b |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
83773a8e5d | Merge "Bring models in sync with migrations, add test" | ||
|
Jenkins
|
e30e7cd5b9 | Merge "Improve bagpipe unittest involving OVS bridges" | ||
|
Jenkins
|
d7d54e9624 | Merge "minor doc layout improvement" | ||
|
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 |
||
|
Jenkins
|
e3f74fe786 | Merge "Update API usage with Python and a sample code" | ||
|
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 |
||
|
Jenkins
|
349d6b7eba | Merge "Remove unused LOG to keep code clean" | ||
|
Thomas Monguillon
|
ca7f0b35d7 |
Update API usage with Python and a sample code
Change-Id: I4abc3fa972e08e21098596cff7b957acec463949 |
||
|
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 |
||
|
qinchunhua
|
a9d1094cf1 |
Remove unused LOG to keep code clean
Remove unused LOG to keep code clean. Change-Id: I34a941afe7f111bf09a6005694fe7736a1baaadf |
||
|
Thomas Morin
|
cc8d478209 |
Improve bagpipe unittest involving OVS bridges
Mimic I7e6df407c7c083b4d98b631615161bcda82059a3 to improve what we did in I15daa5cf2515517850cef30b562866cf88088323. Change-Id: I5206ab0d6fe80740a83666cd7c03d0619304932a Closes-bug: #1599055 |
||
|
Jenkins
|
21cbe5cef5 | Merge "Initialize the routers key in make_bgpvpn_dict" | ||
|
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 |
||
|
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 |
||
|
Thomas Morin
|
cc28754664 |
minor doc layout improvement
Use "code-block:: shell" for CLI call examples. Change-Id: Ifbfa8fc7b8726e434afbacc540a73a49cc2eb941 |
||
|
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 |
||
|
Jenkins
|
54d9599c68 | Merge "Fix RD regex to match RFC 4364, chapter 4.2" |