Files
064378b4b76d0b8cbe127e64ca44aabfd932ceae
networking-bgpvpn /devstack /devstack-gate-bagpipe-rc
Thomas Morin 8832986de6 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
2018年01月22日 21:09:10 +01:00

26 lines
1.4 KiB
Plaintext

# This file is hooked from https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/networking-bgpvpn.yaml
export OVERRIDE_ENABLED_SERVICES=n-api,n-crt,n-cpu,n-cond,n-sch,placement-api,q-svc,q-agt,g-api,g-reg,q-dhcp,q-l3,q-meta,key,mysql,rabbit,b-bgp,n-api-meta
if [[ $DEVSTACK_GATE_TEMPEST -eq 1 ]] ; then
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^networking_bgpvpn_tempest\."
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_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"
# until we do multinode, there is no BGP peer to connect to
export DEVSTACK_LOCAL_CONFIG+=$'\n'"BAGPIPE_BGP_PEERS=-"
# https://bugs.launchpad.net/devstack/+bug/1567052
# so we need VERBOSE=False until bagpipe-bgp uses rootwrap and is not run with sudo (same for bagpipe-fakerr)
export DEVSTACK_LOCAL_CONFIG+=$'\n'"VERBOSE=False"
# at least some DB setup things (e.g. for functional tests) require
# helpers from neutron devstack plugin
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron git://git.openstack.org/openstack/neutron"