fcfdd8376cad5872589947d2331a0a97c130d60c
287 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
mathieu-rohon
|
8728dd9994 |
Adding network association management : bagpipe driver
This patch adapts the bagpipe driver to the changes committed in I1fdf260b98d0d1f71d21cfd02636cf014c81c72c Partially-Implements: blueprint split-association-api Change-Id: Ieb35afe5599f029963bc85322ef783e57f066e02 |
||
|
Jenkins
|
d9dd3c7d6a | Merge "Fix resource map to enforce policy" | ||
|
mathieu-rohon
|
7b657b9e0d |
Fix README : rename networking-bagpipe-l2 links
The project networking-bagpipe-l2 is hosted under the stackforge repository not under the openstack repository. This patch corrects the README links and also moves git links from github to openstack. Change-Id: I802760a41f41016d7cce29a87e803cc700ce06fc |
||
|
Thomas Morin
|
fac08cfb06 |
Fix resource map to enforce policy
Without enforce_policy, the policy is applied on some, but not all actions (eg. GET but not UPDATE). This change adds 'enforce_policy' to all attributes. Closes-Bug: 1494771 Change-Id: Id59b5ae947d4c71ff416f26231b140554d9be1a0 |
||
|
Jenkins
|
15d90cd464 | Merge "neutronclient: unbreak create/update" | ||
|
Jenkins
|
1a446a5e9a | Merge "devstack: add service plugin class earlier" | ||
|
Thomas Morin
|
2bf5839f8b |
neutronclient: unbreak create/update
The class inheritance was wrong, resulting in the empty args2body method from extension.ClientExtensionXXX to override the more useful one we define in BGPVPNCreateUpdateCommonMixin. Change-Id: I3779571e97d3c2a9bf274b6de0dc56596786e750 |
||
|
mathieu-rohon
|
b2334f69b7 |
Fix README : use openstack git instead of github
Change-Id: I8cfa499f044ee4ae38a625f87143f533d9bd568d |
||
|
Thomas Morin
|
652de29c92 |
devstack: add service plugin class earlier
It is too late to call neutron_service_plugin_class_add at post-config. Change-Id: Id8140f43daafdd314ad63dd2a39db55b1e7cb8b5 |
||
|
Jenkins
|
35260632bd | Merge "Log a warning if multiple drivers configured" | ||
|
Jenkins
|
622cef829b | Merge "bagpipe: follow RPC renaming" | ||
|
Jenkins
|
6d02007f69 | Merge "devstack: use helper to add a service plugin" | ||
|
Jenkins
|
b16b7a76c3 | Merge "Adapts neutronclient to the new association API" | ||
|
Thomas Morin
|
224bb06eb4 |
Log a warning if multiple drivers configured
Log a warning on service plugin startup if multiple service drivers are configured for our plugin. Change-Id: Ia04f7136acc00b37d386168f3dfde449d0db969c Closes-bug: 1492323 |
||
|
Thomas Morin
|
32ea1be8c9 |
devstack: use helper to add a service plugin
Devstack will now use the help for adding a service plugin definition, thus avoiding the definition of Q_SERVICE_PLUGIN_CLASSES in local.conf. Change-Id: I3299a5a7f35ea7eff5353cc1028b056da3b0c33f |
||
|
Thomas Morin
|
4acf95fa63 |
Refer to the new specs
Now that the new API is merged, it's time to replace the old spec by a pointer to the new specs, even it is still in a gerrit change. Change-Id: Ib46bbf561e342092e3fb07d2dc16dd117cd0f766 |
||
|
Thomas Morin
|
e45617bac1 |
Adapts neutronclient to the new association API
This patch adapts neutronclient to the new association API: - 'BGPVPNConnection' is now 'BGPVPN' - the network_id attribute of BGPVPNConnection is removed - new commands for network associate and disassociate - update examples in README.rst - make the spec file point to the API currently discussed Partially-Implements: blueprint split-association-api Change-Id: Ia624c54a513c6c36183a196601d29993fcf7e023 |
||
|
mathieu-rohon
|
77172623a2 |
Adding network association management : API & DB layer
This patch introduces the new API to associate/disassociate a network to a bgpvpn object. A new association table is introduced to manage the many to many relationship between bgpvpns and networks. It also changes the resource name from bgpvpn-connection to bgpvpn. Partially-Implements: blueprint split-association-api Change-Id: I1fdf260b98d0d1f71d21cfd02636cf014c81c72c |
||
|
Thomas Morin
|
53abe3df96 |
bagpipe: follow RPC renaming
Bagpipe RPCs are renamed by a pending change in stackforge/networking-bagpipe-l2. Change-Id: I2d1751c0d6ae03749a790855ed4d6ad3bd5b727c Depends-On: Iebae9059a9c44dba327efdf9538660575b8708aa |
||
|
Jenkins
|
0a9fc8d88e | Merge "Bagpipe driver: use Neutron registry not an ML2 MD" | ||
|
Thomas Morin
|
9dac6d3321 |
Bagpipe driver: use Neutron registry not an ML2 MD
This change makes the bagpipe driver use the Neutron registry callbacks instead of a custom ML2 mech driver. The now obsolete bgpvpn_notify mech driver still exists to avoid breaking past configs, but it is empty and logs a warning on startup. With this change, the bagpipe driver also stops preventing network deletion, because without a mech driver we can't, which is good since it fixes bug 1489881. This change also changes the behavior to ignore DHCP ports. Implements: blueprint bagpipe-use-neutron-registry Closes-Bug: 1489881 Partial-Bug: 1492349 Change-Id: I0dcfbadd222ad1f9768f4546118cb311fbfbdb51 |
||
|
Thomas Morin
|
9a89a22382 |
Fixes JSON policy, tenant_id control and nits
This change updates the JSON policy file: - control the tenant_id resource (RW admin-only) - do not provide a policy for updating type (which is specified as a read-only attribute by the resource map) - some minor re-ordering for consistency Change-Id: Ie36b9562403eedb888e66e307a3db58cdc8c1c7c Closes-bug: 1491466 Closes-bug: 1491040 |
||
|
Jenkins
|
2fbd9d296a | Merge "Fix a typo in README.rst" | ||
|
Thomas Morin
|
b221c2f0b6 |
Fix a typo in README.rst
A typo was in the local.conf example. Change-Id: Ic2c99e0bcc4aa5a230b5947b91a8d235dee4b35e |
||
|
Peter V. Saveliev
|
c2160b9d3a |
Add route_distinguishers field to the DB scheme
Initial commit with route_distinguishers. Affected the DB scheme and the migration code. Partially-Implements: blueprint api-optional-rd-list Change-Id: Idf76c7a71591e3de1043e3b7ca614ba36c470441 |
||
|
Thomas Morin
|
71fd58d74a |
Fix name of service provider config file
The config file for service providers had a "-" instead of a "_". Change-Id: I312954563c19622871d336fd33e7bc2bebd586f4 |
||
|
Thomas Morin
|
5be327bef1 |
Read networking_bgpvpn.conf for service providers
With this patch, Neutron will read (/etc/neutron/)networking_bgpvpn.conf for service_provider definitions, thus allowing the use of the BGPVPN service plugin additionally to other service relying on their own neutron_*aas.conf file. This patch also fixes README and devstack behavior so that a default networking-bgpvpn.conf file is deployed. This depends on change Ia4cad678e6c722ca05821dbdbf05d61523246a86 Change-Id: Ifebe4c965448431737d9f0e4c25605b718850460 Closes-bug: 1473119 |
||
|
Jenkins
|
bc18f5170a | Merge "Devstack plugin: create neutron policy.d" | ||
|
Thomas Morin
|
01702231fc |
Devstack plugin: create neutron policy.d
Need to create neutron/policy.d directory before copying our policy file there. Change-Id: I8ffc6950f21163e03ac80633579eb14e3ff56b32 |
||
|
Thomas Morin
|
03264af2bd |
Complete change 218359
Completes/fixes change 218359. A portion of code was not tested by the unit test which does not test whether the context is admin or not, which is the intent since policy ought to be controlled through the policy.json framework only. Change-Id: I3b9a5b60ac47dbb0454c435112fdcb7312a36bdf |
||
|
Jenkins
|
a841001c79 | Merge "oslo.config is now oslo_config" | ||
|
Jenkins
|
8422468bbb | Merge "API/DB should not duplicate the policy framework" | ||
|
Thomas Morin
|
07ef72d0f3 |
oslo.config is now oslo_config
This patch follows the change oslo.config into oslo_config. Change-Id: Ia8a3e8b0955e45424f5fcb3c35bff09d37c76238 |
||
|
Thomas Morin
|
8a70c9076a |
API/DB should not duplicate the policy framework
This change removes the USER_READABLE_ATTRIBUTES and USER_WRITABLE_ATTRIBUTES, and skips other checks/subcases that were applied depending on whether the context was admin or not. Change-Id: I4a64da35ccede45427bfe79e1bcdd22ed14b401d Closes-Bug: 1489918 |
||
|
OpenStack Proposal Bot
|
d42469e36b |
Updated from global requirements
Change-Id: I3d471518647d7aa562160c356a69600f946b6260 |
||
|
Jenkins
|
72bd5dc24a | Merge "Add tests for the service driver interface" | ||
|
Jenkins
|
a01c8dd011 | Merge "Add policy.json" | ||
|
mathieu-rohon
|
0edd9144f3 |
Add tests for the service driver interface
This patch adds some unit tests that load the bgpvpn plugin with its extension and the corresponding dummy service driver. UTs send Rest requests two test that the dummy service driver gets called accordingly. Change-Id: I77d11dc55c27c6fa994563f068dfb737bbaeb97c Closes-bug: #1484164 |
||
|
OpenStack Proposal Bot
|
2dd67ea91f |
Updated from global requirements
Change-Id: I82a13d54f25fcde95a753255bd1e72707400f3cb |
||
|
OpenStack Proposal Bot
|
113ae92123 |
Updated from global requirements
Change-Id: I02f2aedb88fa284376f691c3ffe465274d560274 |
||
|
Thomas Morin
|
beec04d45f |
Add policy.json
This commit adds: * policy.json file * setup.cfg hooks so that this file is copied into /etc/neutron/policy.d * devstack plugin.sh change to put the file in the right place Change-Id: If605f3fd4113f5e193d95d2d95449939caa8bdea Closes-bug: #1480165 |
||
|
Atsushi SAKAI
|
a3dbf4c166 |
Fix one typo on networking-bgpvpn documentation
addtions => additions Change-Id: I511c5ef8629c4da25ec3f08b3a303f4a83be7be8 Closes-Bug: #1479787 |
||
|
Thomas Morin
|
13cef5ff81 |
README improvements
* rst fixes * improved information on bagpipe reference driver Change-Id: I13e92a3ae6bda1f22310e65825cc1ff9b158e5af |
||
|
OpenStack Proposal Bot
|
96cefa0e02 |
Updated from global requirements
Change-Id: I350158fb9fb6c765b2c267fb9393292fb42b5cb0 |
||
|
David Blaisonneau
|
a19e53cf26 |
typo correction from BGPVPNDriverBD to BGPVPNDriverDB
Change-Id: I63106e0b190a4a4a0e8b66b2b2db1af146453e8d |
||
|
Édouard Thuleau
|
6acc3a29eb |
Remove BGPVPN plugin dependency on database
The service plugin inherits from a default database model. For drivers that use a third party to persists BGP/VPN connections, the service plugin does not need database. That patch introduces 2 driver interfaces: - BGPVPNDriver: for drivers that uses third party to persists data - BGPVPNDriverDB: for drivers that needs the service plugin BGP/VPN to persist data Change-Id: Ic3431dee0283c8b44674356665b039f6689d091f Closes-bug: #1472203 |
||
|
Jenkins
|
3ec17f2fd1 | Merge "Avoid cloning neutron on test jobs" | ||
|
Édouard Thuleau
|
6a429f327e |
Update BaGPipe OVS agent
Update BagPipe OVS agent to use new Neutron OVS agent library modfied by patches [1] and [2]. [1] https://review.openstack.org/#/c/160245/ [2] https://review.openstack.org/#/c/195277/ Change-Id: I9b3c4c538178b201b30929ffd3809cfd4a90e4e2 Closes-bug: #1472569 |
||
|
Édouard Thuleau
|
6d3b64c60b |
Neutron constant COMMON_PREFIXES does not exist anymore
The Neutron fix [1] removed the service provider constant COMMON_PREFIXES and that must be defined as a property. That patch also intorduce a constants file to group all BGPVPN constants. [1] https://review.openstack.org/#/c/198113/ Change-Id: Iae5d66bb8ffe6c7eb7825bf35b6f5fbc1d7dfd4a Closes-bug: #1472619 |
||
|
Thomas Morin
|
7071225128 |
Avoid cloning neutron on test jobs
Mimic what neutron-lbaas is doing to avoid cloning neutron repo on each test job, following guidance by fungi. Change-Id: I4c3bbaf568ba7ac96caf7534ec4294e18d6c7cee |