bagpipe v2 driver

The behavior of the current "v1" bagpipe driver is to
produce both the old and new RPCs to not prevent rolling
upgrades.
This change introduces a bagpipe v2 driver that does not
produce old RPCs and only relies on OVO push/pull RPCs.
To avoid code duplication of the code for new RPCs,
the current driver is refactored to inherits from the
v2 driver the code for the new OVO push/pull RPCs.
The current v1 driver is also modified to raise a warning
indicating its future removal.
This change also extends the previous unit test
coverage for the production of push-based RPCs.
Change-Id: I708ec1e4d8a8c27ffe8c4be172812e0a9aed54b4
This commit is contained in:
Thomas Morin
2018年01月10日 16:57:50 +01:00
parent 0ad4cb6cda
commit 8832986de6

View File

@@ -8,7 +8,7 @@ if [[ $DEVSTACK_GATE_TEMPEST -eq 1 ]] ; then
export OVERRIDE_ENABLED_SERVICES=${OVERRIDE_ENABLED_SERVICES},tempest
fi
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NETWORKING_BGPVPN_DRIVER=BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe.BaGPipeBGPVPNDriver:default"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NETWORKING_BGPVPN_DRIVER=BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-bagpipe https://git.openstack.org/openstack/networking-bagpipe"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"BAGPIPE_DATAPLANE_DRIVER_IPVPN=ovs"
Reference in New Issue
openstack/networking-bgpvpn
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.