fcfdd8376cad5872589947d2331a0a97c130d60c
Commit Graph

287 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
d7fb01f3b0 Merge "Remove hardcoded utf8 coding for bgpvpns table" 2015年11月13日 16:36:26 +00:00
Mathieu Rohon
83e62935bf Add tenant-id to subresources
When a tenant access a subresource, neutron will check that this
tenant is allowed to view this subresource, according to the policy.json.
The plugin must return the tenant_id parameter when a "show/list/delete"
action is performed, so that the policy framework can check authz.
This patch also set the network_id as a mandatory parameter
in the network_association table.
Change-Id: I59d2dbb5416b566dc7de3acb4fab3ed2ada8b78e
Fixes-Bug: #1512789 
2015年11月13日 16:11:18 +00:00
Jenkins
68daf52225 Merge "Checks consistency of net association vs BGPVPN id" 2015年11月13日 15:48:26 +00:00
Nikolas Hermanns
8271290947 Remove hardcoded utf8 coding for bgpvpns table
to align to the kilo code it is necessary to
let the database decide to use latin1 or utf8
as codec. Otherwise bgpvpn_network_associations
table cannot have foreign keys to networks
and bgpvpns. The reason is that for foreign keys
the column in the table and the column in the
foreign table has to have the same codec.
Change-Id: I2e732d8474f6769259e25d69b1b5269bebc9c26f
Closes-Bug: 1515987
2015年11月13日 16:38:19 +01:00
Jenkins
9e7a7937b3 Merge "Fix driver control through devstack" 2015年11月13日 11:27:57 +00:00
Thomas Morin
c27cf4d522 Fix driver control through devstack
The current code was not working (NETWORKING_BGPVPN_DRIVER_BAGPIPE
not defined early enough to be usable inside local.conf)
Change-Id: I4a305bfe119c605145401c5918c362e2d28b31b7
2015年11月12日 16:32:18 +01:00
Thomas Morin
0d0b9d2f5f Checks consistency of net association vs BGPVPN id
This change introduces checks so that on a GET for a
network association on a BGPVPN, the network association
is returned only if it is actually bound to this BGPVPN.
Change in:
- plugin/driver interface
- DB code, to detect inconsistency and raise an error
- test cases
Additionally, the code adapts DELETE codepath for the
same reason.
Change-Id: I71d9c4b0fc08975c40c8da3a67e1d5837f1b1f73
Closes-Bug: 1513087
2015年11月12日 13:56:50 +01:00
Thomas Morin
9e388c6eeb Fix bogus pip install URI in tox_install.sh
The branch specification was misplaced.
This only impacted test run locally by a developer.
Change-Id: I55671d7a9c7df501048febe24a15ba5f55a33024
2015年11月12日 13:50:34 +01:00
Thomas Morin
d5a18514c7 Other adjustments following bagpipe rename
Following project rename, change all references to
networking-bagpipe-l2 into networking-bagpipe.
Change-Id: Ic72ca3d8fd28a6bf501fbd8c550715a81abd7e61
Closes-bug: 1514426
2015年11月09日 14:13:19 +00:00
Mathieu Rohon
af450957a6 rename bagpipe-l2 in test-requirements
The bagpipe-l2 repo no longer exists. It has been renamed to bagpipe.
Closes-bug: #1514426
Change-Id: I0e09ddd9f3d9b16da5ba8e133adf0afc2c0a3f92
2015年11月09日 13:38:56 +00:00
Jenkins
e2cde6b953 Merge "Client : adding the tenant-id if specified for a net association creation" 2015年11月06日 15:41:41 +00:00
Jenkins
ab7294f012 Merge "Do not enforce non-empty route-target lists" 2015年11月06日 12:19:47 +00:00
Mathieu Rohon
caad274f14 Client : adding the tenant-id if specified for a net association creation
Currently the client doesn't add the tenant_id in its request.
If the tenant_id is specified in the CLI, it has to be integrated
in the request sent by the client.
This is at least needed when a tenant wants to create a network
association on behalf of a tenant.
Closes-bug: #1512711
Change-Id: I9e1038372d1ba36ad6e3d6ca8339d4fa03471a53
2015年11月05日 22:42:23 +00:00
Thomas Morin
2c6c00598e have tox use neutron stable/liberty
We need tox to use the right Neutron branch.
Change-Id: I9c3e9d43893cb79e1f21de35896ba33055856c66
2015年11月05日 16:42:07 +01:00
Thomas Morin
9d4a297d03 Fix oslo dependencies
Remove useless/bogus depends and add the one we need.
Change-Id: Id76382fec752609c3e6fe070fd94e70ab50a41ef
Closes-bug: 1513495
2015年11月05日 16:25:02 +01:00
Thomas Morin
42c821e34d Do not enforce non-empty route-target lists
Remove the check that route-targets should be non-empty.
Change-Id: Icf336b6b3255c6a6a5f0b100a74caeb13c22a2f6
Closes-Bug: 1513502
2015年11月05日 16:05:39 +01:00
Jenkins
e2230ef86f Merge "Client support for associations as sub-resource" 2015年10月24日 15:35:40 +00:00
Thomas Morin
df12937613 bagpipe-l2 now in openstack
networking-bagpipe-l2 has moved from stackforge to openstack namespace.
Change-Id: I1f2f7b50e9b9a23234d20b304b235bc6703715ee
2015年10月21日 09:45:16 +02:00
Jenkins
6320c3035c Merge "Treat associations as subresources" 2015年10月16日 14:39:46 +00:00
Thomas Morin
667a9c7d9e Client support for associations as sub-resource
This change updates the neutronclient extension to
do network association as a sub-resource of a BGPVPN.
This code depends on a fix of python-neutronclient bug 1505170.
(README.rst updated accordingly).
Change-Id: I8d7ccffa76dddb45c26b2b9a05e58e1adf639fcf
Implements: blueprint associations-as-subresources
Depends-on: Ia5d499e5a3cf3ff1b357c954f7e82a9066c94982
2015年10月16日 16:34:46 +02:00
Jenkins
c15c06aa8e Merge "Populate doc directory" 2015年10月16日 14:33:37 +00:00
Mathieu Rohon
8e3eddff7f Treat associations as subresources
We use to attach/detach networks with verbs in the REST URL.
Having the network association treated as an object seems more
flexible. We will be able to add attributes to an association.
Implements : blueprint associations-as-subresources
Change-Id: Ib8f1eff6e05ead17ea3b281e7a918621d8a0bb1b
2015年10月16日 14:17:55 +00:00
Thomas Morin
4dfc419c24 Populate doc directory
This change adds to the doc directory most of the content
that was in the initially proposed BGPVPN neutro-spec [1]:
- introduction and explanation of goals
- architecture overview
- API specification
- driver informations
- some implementation notes
+ a starting point for installation and configuration
documentation based on README files
[1] https://review.openstack.org/177740
Change-Id: Iea55018af42b8a16e31c6a46c9c6afb387b3f321
2015年10月16日 16:10:59 +02:00
OpenStack Proposal Bot
2358722ad2 Updated from global requirements
Change-Id: Ia1fe32889672a36d4523cf38f9e5adc3d888a212
2015年10月15日 15:41:58 +00:00
OpenStack Proposal Bot
cbd79edd7b Updated from global requirements
Change-Id: I591730bf81dba40853082e59f588897ad149e774
2015年10月14日 09:30:07 +00:00
OpenStack Proposal Bot
955ebd536c Updated from global requirements
Change-Id: I92c3b03f938fcb8f7598008440fa0a3123ffa2da
2015年10月13日 00:54:48 +00:00
Thomas Morin
ac6ab47035 Fix devstack plugin.sh
Do the copy of config file at the 'config' stage.
(/etc/neutron does not exist yet at the 'install' stage)
Change-Id: I9d98356fa864aada125d87893bfb5c3aeba347eb
2015年10月09日 16:15:30 +02:00
Jenkins
3f16a333e5 Merge "add pylint in tox pep8 task" 2015年10月08日 09:35:34 +00:00
Jenkins
5189818fe9 Merge "pylint fixes" 2015年10月06日 19:02:03 +00:00
Thomas Morin
5959bbfbbf add pylint in tox pep8 task
This change updates tox.ini so that the pep8 jobs
does a pylint check of the source code.
This the same as done in many other projects, in particular
.pylintrc is based on the one in neutron.
Change-Id: Ib46cb485345896c4f5eabd3b1d705200b0640963
Depends-On: I0cab12f2775f4f803d2eeee4cc6d6f06da5d4b7a
2015年10月06日 14:37:40 +02:00
Thomas Morin
14704e225e pylint fixes
Minor changes to make pylint happy.
Change-Id: I0cab12f2775f4f803d2eeee4cc6d6f06da5d4b7a
2015年10月06日 14:23:18 +02:00
OpenStack Proposal Bot
711767bf70 Updated from global requirements
Change-Id: Icb39a0be86ffde3db3816d68626459a923390e31
2015年10月05日 23:15:26 +00:00
Thomas Morin
2de35e53aa Let devstack configure the service provider
Allows to have less stuff in local.conf, and usefull
to tidy up jenkins DVSM job definitions.
Change-Id: I18ab3027f92a8fd23602757d6dfce13bde10f3a4
2015年10月02日 16:42:20 +02:00
Jenkins
4cdd50696f Merge "Alembic migration update/cleanup" 2015年10月02日 13:13:28 +00:00
Thomas Morin
d985550e8b Alembic migration update/cleanup
This change updates and cleans up our alembic migration code:
- we now use an alembic migration entry point, instead of shipping
 our own db management tool
- use expand/contract alembic branches
- downgrade is not supported anymore, drop it
Change-Id: I8eb68075c720cd7252bd178c1bf08ef0947cd0d0
Closes-Bug: 1489876
2015年10月02日 15:03:29 +02:00
OpenStack Proposal Bot
3b99afdb71 Updated from global requirements
Change-Id: Ib169a673fa9c4b86c10b8d78951b2b0eeef1570b
2015年10月02日 01:56:28 +00:00
Thomas Morin
53e041b8ec update requirements
All our oslo* dependencies were missing.
Change-Id: I7925184b3f6ac010b4eac9b741b0b46fca1423e4
2015年10月01日 17:27:53 +02:00
Jenkins
f78ffa60a1 Merge "bagpipe driver: sync extended OVS agent" 2015年10月01日 13:01:51 +00:00
Thomas Morin
5f428febff bagpipe driver: sync extended OVS agent
Until we have a proper way of extending the agent
(bug/1492021), we need to sync our code to do what
the main() code for the OVS agent code does.
Change-Id: Id526a914b7ec8d8fdfd3f8c38b563d0983db8ed1
2015年09月25日 11:49:51 +02:00
Jenkins
2e00f06f91 Merge "Neutronclient: one command for all associations" 2015年09月25日 08:12:33 +00:00
Thomas Morin
1930dfac77 Neutronclient: one command for all associations
With this change, the association cli becomes:
neutron bgpvpn-associate <bgpvpn-uui> --network <net-uuid>
(this change also adds 'networks' in the list of
fields shown by the bgpvpn-list command, which is
very useful)
Change-Id: If5ff5a43815b29a983199047e85211bc0f4e3136
Closes-Bug: 1496905
2015年09月22日 17:38:39 +02:00
Paul Carver
ff66fb9d4b Tiny formatting and grammar fix
Changing "Contents:" to be a title level format to match Indices and
Tables, capitalizing Tables, and correcting a grammer error is -> are.
Change-Id: Icbe7f043af97a4cca98fdf14747e0abd9d51b738
2015年09月22日 13:34:34 +00:00
Jenkins
eeae34e1d0 Merge "bagpipe driver: missing return to ignore DHCP ports" 2015年09月22日 12:40:00 +00:00
Paul Carver
bbd5859670 Add introductory documentation for networking-bgpvpn
This change includes README.rst directly into the base index.rst rather
than including it by reference in readme.rst and removes readme.rst from
the ToC. It also expands on the introductory paragraph in preparation for
linking to the top level index.html from the parent OpenStack developer
web page (http://docs.openstack.org/developer/openstack-projects.html)
Change-Id: Ifde5fa734fc1301c57598ec36d53895e94881588
2015年09月21日 23:05:10 +00:00
Thomas Morin
90e444a29e bagpipe driver: missing return to ignore DHCP ports
Really ignore DHCP ports (there were two missing returns).
(+fixes in a few log messages).
Also adds new test cases on to check the callbacks-to-RPC
logic, including one to confirm that DHCP port are indeed
ignored.
Change-Id: I32fd6f7927388677bc506b5b550b7e9a0c8012e6
Partial-Bug: 1492349
2015年09月21日 17:52:35 +02:00
Monty Taylor
6ab0a6a942 Change ignore-errors to ignore_errors
Needed for coverage 4.0
Change-Id: I6da6fcba10e7fb9a1b1c31d673803f8ba519bb84
2015年09月21日 14:29:36 +00:00
Jenkins
d3131449e7 Merge "Set correct default values for some attributes" 2015年09月21日 07:52:05 +00:00
Jenkins
0391ed03ea Merge "Adding network association management : bagpipe driver" 2015年09月21日 07:43:22 +00:00
Thomas Morin
26cbb0ea67 Set correct default values for some attributes
The specs says the default value for auto-aggregate should be False.
This change also changes default values from None to [] for import-rts,
export-rts and route-distinguishers, which is more cosmetic.
Closes-Bug: 1497209
Change-Id: I9a453382f89436beb67f74db392eaedaaba84526
2015年09月21日 09:38:00 +02:00
OpenStack Proposal Bot
59d4eaa494 Updated from global requirements
Change-Id: Ibbc0c1f767cfcc5f088a2e3fa446ba8462330bdc
2015年09月17日 12:13:25 +00:00