c71f263a52c32da73c169797d704c4533be9855a
Commit Graph

530 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
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
Jenkins
977a4a19a3 Merge "Add info on Nuage Networks driver" 2016年06月07日 15:35:30 +00:00
Thomas Morin
e8c379efd7 Make test jobs constrained
This change updates tox.ini and tools/tox_install.sh so that
we impose upper constraints on dependencies.
This is done by reusing what was done in neutron-lbaas.
(we also update our tools/tox_install to benefit from
a few improvements that have been brought to the one in
neutron-lbaas)
This change also declare our test dependency on pylint
in test-requirements.txt, rather than in tox.ini, so that
we don't endup with a pylint version that is inconsistent
with the one global-requirements would draw.
Change-Id: I904286860a5b8471f5da9312ee23bdf49004f1b0
Suggested-By: Ihar Hrachyshka <ihrachys@redhat.com>
2016年06月03日 18:01:56 +00:00
Thomas Morin
0d8a7c39d2 Import neutron exceptions from neutron_lib
Import exceptions from neutron_lib instead
of neutron.common.
Change-Id: Ic15ce37f7b6bd179b6a2ff4e1aa153aa6546bf8b
2016年06月03日 17:59:30 +00:00
Thomas Morin
0cd20d7367 bagpipe driver: add a unit test for agent extension
This adds a unit test for BagpipeBgpvpnAgentExtension.
Change-Id: Id1ea63ec6b34c87274faa32e25aa23980f45331c
2016年06月02日 16:33:20 +02:00
Thomas Morin
eba2f98168 Import constants from neutron_lib
Changes imports for constants to use neutron_lib and
update requirements.txt to depend on neutron_lib.
Change-Id: Ia95621aaba486c5a61cb4c4589d0aa7f643f9e83
2016年05月26日 12:13:03 +02:00
Jenkins
367896ed4a Merge "bagpipe driver: enable a previously disabled unit test" 2016年05月26日 08:32:38 +00:00
Jenkins
5e0fb30c0b Merge "bagpipe: improve unit test" 2016年05月26日 08:30:40 +00:00
Jenkins
0251b59270 Merge "bagpipe: really use the extension-specific cookie" 2016年05月26日 08:30:31 +00:00
Thomas Morin
d8fa960014 bagpipe: improve unit test
This change improves test_delete_port_to_bgpvpn_rpc to
have the callback really generated by ML2 plugin rather
that resynthtizing one.
A few other improvements are made to have more realistic
data flow into the driver.
Change-Id: I8be6c90dacef46e560759a6bd68efdb677666607
2016年05月20日 15:23:16 +02:00
Thomas Morin
d5b77038fe bagpipe driver: enable a previously disabled unit test
We can now test for update_device_down triggering
the right callbacks in bagpipe driver.
Change-Id: I60567cd9df03327141c21de53d04cf76400685eb
2016年05月20日 09:30:49 +00:00
Jenkins
49a3c38f62 Merge "Typo in OpenContrail driver documentation manual" 2016年05月19日 11:13:59 +00:00
ravikiran
167ecb1fd3 Fix typos in bgpvpn installation manual
Found "networking-bgppvn" instead of "networking-bgpvpn" and also "intalled" instead of "installed" in the installation document.
Link: http://docs.openstack.org/developer/networking-bgpvpn/installation.html
Change-Id: Iadd4488525d47ba9a44bebfe4b49db14d8ac5bef
Closes-Bug: #1583517 
2016年05月19日 05:59:59 -04:00
Thomas Morin
ccc13f755b bagpipe: really use the extension-specific cookie
The code in OVSBridgeIntercept was not behaving
as intended:
- the extension cookie was not applied as expected, even
 for the ofctl-based OVSTunnelBridge (interference with
 class inheritance, because __getattr__ does not let us
 override methods existing in a parent class,
 __getattribute__ has to be used instead)
- the extension cookie would never have been applied
 for the native.OVSTunnelBridge that does not use add_flow
This changes corrects the code and adds a test case.
We also now import the neutron constants from neutron-lib.
Change-Id: I779d7a8bf7fc31d936d1e401e4726711c8404ed2
Closes-Bug: 1582598
2016年05月18日 22:40:12 +02:00
Thomas Morin
38fc3e7991 bagpipe: update unit tests to follow a Neutron ML2 change
This fixes (and simplifies a bit) a few unit tests for
bagpipe driver that were failing after the merge of change
Id85ff6de1a14a550ab50baf4f79d3130af3680c8 around ML2 code.
Change-Id: I1848715e03e2cdd69245ddb10f0900cdcb62e67c
2016年05月18日 20:37:54 +00:00
bhargavaregalla
d0fcacb8d9 Typo in OpenContrail driver documentation manual
Typo in OpenContrail driver documentation manual
Description:
Link: http://docs.openstack.org/developer/networking-bgpvpn/opencontrail/index.html
There is typo in above documentation link it should be dev/test instead of devi/test
Change-Id: I9a48f6abb3c519302345b27986abaf5dab8859dc
Closes-Bug: #1583008 
2016年05月18日 08:08:57 +01:00