OpenDaylight with BGPVPN support in Neutron¶
Blueprint on Launchpad
This spec introduces the work required for OpenDaylight configured with BGPVPN through Openstack-Ansible to enable Openstack deployments with extended L3 support.
The support for BGPVPN is available from OpenDaylight since its Beryllium release. Openstack can make use of this feature by configuring neutron to use BGPVPN service plugin.
In addition to it, quagga/zrpcd and its dependent packages have to be installed along with OpenDaylight for configuring OpenDaylight as a BGP speaker.
For the configuration of OpenDaylight as a BGP speaker that integrate into deployer’s infrastructure, a new OpenStack-Ansible playbook with required ansible tasks for installing quagga and its required packages will be written. The wiring of the OpenDaylight configuration as a BGP speaker will be done inside the neutron role, which configures OpenDaylight (see playbook/role impact for details).
The initial supported distros would be CentOS and Ubuntu.
There are other bgpvpn backend drivers available with neutron like BaGPipe, OpenContrail driver and Nuage Network driver to configure the BGPVPN.
The new playbook will be added in OpenStack-Ansible which installs quagga and configure OpenDaylight for BGP speaker. This playbook would get executed after neutron playbook in neutron server node (in case of ha deployment, among three neutron server containers, one is chosen), because quagga just needs to get installed in one of the OpenDaylight node and run additional karaf CLI commands to make it as BGP speaker.
The proposal is to add a extra variable in neutron_plugin_base, overriding the
default ODL behavior, and trigger the usage of BGPVP.
neutron_plugin_type variable set to
neutron_plugin_base list variable having
networking_bgpvpn.neutron.services.plugin.BGPVPNPlugin` item, then neutron
server node will be installed/configured with OpenDaylight and Quagga.
This is the first implementation of OpenDaylight with Quagga, so no upgrade concerns yet.
Networking-bgpvpn configuration requires the setup of a username and password for northbound authentication towards OpenDaylight. The deployer should be able to configure those credentials.
Communication between the controller and the switches will not be secured by default. Using TLS to secure the communications is considered a stretch goal, and deployers need to consider this security implication, specially in production environments. For more information on secure communications between OpenDaylight and OpenvSwitch, see the References.
For those choosing to opt-in this deployment method, some extra packages need to be installed on the neutron server, which would make installation last a bit longer.
Extra resources are needed to run the OpenDaylight SDN controller on the system as well. However, performance in Neutron API calls should be minimum.
End user impact¶
End users would have a new networking and BGPVPN API available through Neutron. This would enable them to create bgpvpn scenarios (e.g. Router and Network association with BGPVPN). This will require some documentation with troubleshooting steps to verify that OpenDaylight is working properly, as well as pointers to OpenDaylight’s official documentation.
No changes to Horizon or other OpenStack components are expected.
New artifacts are being deployed, namely the Karaf runtime for OpenDaylight, quagga/zrpcd, thrift and the networking-odl pip package. OpenDaylight requires around 2.5G of RAM to work properly, with OpenStack, that would need to be considered when dimensioning the host where it will run.
Also deployers need to ensure that OpenvSwitch with version >= 2.8 is deployed in all networking nodes, namely compute hosts and hosts where neutron agents are running.
Developers have a new playbook to maintain, whose scope is very reduced and not in the path of all deployments.
Developer impact is very low, all tasks for BGPVPN deployment will be optional and can be ignored. The tasks won’t be skipped, but instead no host will be matched for the new playbooks. This way, if we put the playbook on the path for every developer/deployer, the impact will be minimum.
There are no dependencies
- Primary assignee:
Periyasamy Palanisamy (epalper) Dimitrios Markou (mardim)
Add new playbook for installing/configuring quagga/zrpcd
Task to configure ODL as a BGP speaker
Make neutron role to get configured with OpenDaylight BGPVPN driver
Create a new test and verify that it passes
Document the new functionality
As a replacement of Neutron backend, this new scenario should provide the same capabilities of existing backends, so existing tests should be run.
A test specific for OpenDaylight can also be implemented, in the same way as there are currently tests for Calico or DragonFlow.
The new scenario OpenDaylight+BGPVPN will be documented, explaining the configuration parameters required to deploy it.
OpenDaylight scenario with OpenStack-Ansible
packaging and installing quagga/zrpcd packages
BGP peering with OpenDaylight
Enabling BGPVPN mechanism driver at neutron