c71f263a52c32da73c169797d704c4533be9855a
530 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Thomas Morin
|
82a445eaa1 |
import validate_regex from neutron_lib
With this change we now import validate_regex from neutron_lib. Additionally, we remove useless code (the plurals in our API are not special). Change-Id: I5bdf8b66274d5808c9e49e0e03da3c1e88f76e0a |
||
|
Andreas Jaeger
|
ddd47b4619 |
Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs' needs to be defined in conf.py to generate translated version of the release notes. Note that this repository might not get translated release notes - or no translations at all - but we add the entry here nevertheless to prepare for it. Change-Id: I5d133b10ae729e0ff59faf2722f0a9a46272033c |
||
|
Thomas Morin
|
616dff828a |
devstack: fix to load bagpipe l2 agent extension
This is required because the place where plugin_agent_add_l2_agent_extension is defined is not sourced by default. Change-Id: Ib1de7cfec457a312319edddd5262cd78c6599f0b |
||
|
Thomas Morin
|
9073ba02c8 |
bagpipe: rely on Port AFTER_DELETE callbacks
Now that ML2-generated Port AFTER_UPDATE registry notifications have complete port information, we can use the AFTER_DELETE callbacks, which is the right moment to react on Port deletion. Change-Id: I84fb6fc63de03ffcba9c1d0ef2772d31429a6031 Partial-Bug: 1576440 |
||
|
Jenkins
|
fb3a21e394 | Merge "Prevent mixing bgpvpn associations" | ||
|
Thomas Morin
|
16711012f2 |
bagpipe: port+orig_port are in Port AFTER_UPDATE callbacks
ML2 code has for some time now been updated to provide both port and original port information in Port AFTER_UPDATE notifications, in all code paths. We can thus simplify bagpipe driver and remove now-useless workarounds. Change-Id: Ic46234261988ef8ec696e4788f1350e7a6608239 Partial-Bug: 1576440 |
||
|
Mathieu Rohon
|
9a3c45b80e |
Prevent mixing bgpvpn associations
As mentioned in the spec, a router and one of its subnet cannot be both attached to a bgpvpn. This patch enforce this rule by adding a check when a subnet is attached to a router. Co-Authored-By: Wim De Clercq <wim.de_clercq@nuagenetworks.net> Change-Id: Ie1f6a733e8a16b8b41e89c5a82637d7cb03bd423 Closes-bug: #1537067 |
||
|
Luong Anh Tuan
|
fb35aab209 |
Fix a typo in documentation
remove redundant 'in' Change-Id: I18d07f596ddb8e3a30e42431e8cc9a360307f26d |
||
|
Luke Hinds
|
02f7de80dc |
Remove python 3 from setup.cfg classifiers
This change removes Python 3 as a listed language under the classifiers section in setup.cfg, to prevent packaging systems from incorrectly reading python 3 support Change-Id: I63b816db36f102b69049cca5096c5fb4cdf60454 |
||
|
Thomas Morin
|
8d3cd42b43 |
Import DB model_base from neutron-lib
(has moved from neutron.db to neutron_lib.db) Change-Id: I0408e25edec3c851696aa48474ff4a3eb9fda6c6 |
||
|
Daniel Mellado
|
bca7d4b393 |
Use os-testr instead of testr
This commit switches the use of plain testr for os-testr in the tox venvs. Change-Id: I285f820b7de3109665dd7a38da389b7fd42acf80 |
||
|
Nguyen Hung Phuong
|
8b615a48bc |
TrivialFix: Remove logging import unused
This patch removes logging import unused in bgpvpn_dashboard/dashboards/admin/bgpvpn/forms.py bgpvpn_dashboard/dashboards/project/bgpvpn/tables.py networking_bgpvpn_tempest/tests/base.py Change-Id: I812cb0be14515faab7bf4132266b7011c0f90491 |
||
|
Jenkins
|
efd01bb30f | Merge "Horizon plugin patch to let user handle BGPVPN resources" | ||
|
Jenkins
|
ac869d41df | Merge "devstack, bagpipe driver: properly set the l2 agent extension" | ||
|
Thomas Morin
|
006d882b06 |
devstack, bagpipe driver: properly set the l2 agent extension
This change is needed to have the OVS agent extension for the bagpipe driver enabled (because of [1]). [1] https://github.com/openstack/neutron/blob/stable/newton/devstack/lib/l2_agent#L12 Change-Id: I1f4c86a6ae15985e581d0fd0a03754b2c5a5d571 |
||
|
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
|
472d77fd29 | Merge "Add doc for devstack configuration" | ||
|
Mathieu Rohon
|
273f9af0fd |
Add doc for devstack configuration
How to configure the bgpvpn plugin for devstack is not written in the doc. Change-Id: I45082d20b83cf368901545a373f1c20368aeee13 |
||
|
Jenkins
|
627720c012 | Merge "Use horizon UT framework" | ||
|
Jenkins
|
37e8f89f93 | Merge "Enable L2 BGPVPN to be passed to OpenDaylight" | ||
|
Mathieu Rohon
|
0508a0e353 |
Use horizon UT framework
Using the horizon UT framework will simplify our dashboard test and avoid issue due to horizon future evolutions Change-Id: I719a9912ba8e7fe87620850017bdda83431e22da |
||
|
Mathieu Rohon
|
ff62fbd2af |
Use more permissive UTs
Our UTs related to resource creations test the result of the creation API call. Neutron recently introduced the patch I8775aa8a477191ef21e7c3c6da31d098befefc3c which automatically adds the project_id and tenant_id to any create API call, and then breaks out UTs. This patch relaxes our UTs by only testing that expected values are part of the response to a resource creation API Call. This patch fix another issue in the gate introduced by I59cbd8bff117813258539ed0724fe89a9f5b77ee Our horizon test framework needed an adaptation. Change-Id: I320bcbf16ce9c30fca8821fe9e9202514bec1b6e |
||
|
Vivekanandan Narasimhan
|
9002df079e |
Enable L2 BGPVPN to be passed to OpenDaylight
This fix enables BGP L2-type VPNs to be passed over to OpenDaylight. The upcoming Carbon release of OpenDaylight will start supporting L2 BGPVPNs (Or Ethernet VPNs). Change-Id: I8cc8659dc5ba5365ec4cf8872512201a496b5d4c Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com> |
||
|
Mathieu Rohon
|
396aee4d0a |
Add tempest tests for router association
Change-Id: I3dbd54364165b489871214b308a18c7b4a71f91d Partial-Bug: #1607664 |
||
|
Jenkins
|
62b5ae17be | Merge "Raise NotImplementedError instead of NotImplemented" | ||
|
bfernando
|
b5279bf723 |
Add more tempest tests for read permissions
* Improve the set of tests to be more exhaustive. The goal of these tests is to check that the reading restrictions between user of different tenants are preserved. * The tests added are: * show bgpvpn object made by a non owner fail. * show network association made by a non owner fail. * list network associations made by a non owner fail. * Add new methods to the BgpvpnClient (list, show). * Rename some methods/calls to be more standard. Change-Id: I7a3d773b30aa4ceaf13022f200f6fc6a49934ec2 Partial-Bug: #1607664 |
||
|
Ji-Wei
|
4bff8dd96c |
Raise NotImplementedError instead of NotImplemented
NotImplementedError is the name of the exception (https://docs.python.org/2/library/exceptions.html). NotImplemented is the name of a constant (https://docs.python.org/2/library/constants.html). >>> raise NotImplemented() Traceback (most recent call last): File "<pyshell#31>", line 1, in <module> raise NotImplemented() TypeError: 'NotImplementedType' object is not callable >>> raise NotImplementedError() Traceback (most recent call last): File "<pyshell#32>", line 1, in <module> raise NotImplementedError() NotImplementedError This patch fix it. Change-Id: I5f38f34f59ffed87baa9269aa0f7b848bcacc8fa Closes-Bug: #1339855 |
||
|
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" |