neutron-dynamic-routing/devstack
yatinkarel 24db9d0f2a Install os-ken from git repo
Currently jobs with "os-ken" in LIBS_FROM_GIT installs os-ken
from pypi but instead should be installed from git.

Partial-Bug: #2032738
Related-Bug: #2031526
Change-Id: I6b9c28f0cdb1e135052d57c7927b3573f1670a8c
2023-08-23 11:05:05 +05:30
..
lib Install os-ken from git repo 2023-08-23 11:05:05 +05:30
plugin.sh Add "neutron-bgp-dragent" to setup.cfg 2016-05-25 15:43:57 -07:00
README.rst Fix devstack README.rst formatting 2020-07-07 15:03:25 +02:00
settings Migrate neutron-dynamic-routing from Ryu to os-ken 2018-12-18 14:03:13 -06:00

Enabling in Devstack

  1. Download devstack:

    git clone https://opendev.org/openstack/devstack.git
  2. Add neutron-dynamic-routing to devstack. The minimal set of critical local.conf additions are following:

    cd devstack
    cat << EOF > local.conf
    > [[local|localrc]]
    > enable_plugin neutron-dynamic-routing https://opendev.org/openstack/neutron-dynamic-routing
    > EOF
  3. run devstack:

    ./stack.sh

Notes:

  1. In the default case, neutron-dynamic-routing is installed in allinone mode. In multiple nodes environment, for controller node:

    cd devstack
    cat << EOF > local.conf
    > [[local|localrc]]
    > enable_plugin neutron-dynamic-routing https://opendev.org/openstack/neutron-dynamic-routing
    > DR_MODE=dr_plugin
    > EOF

    For the nodes where you want to run dr-agent:

    cd devstack
    cat << EOF > local.conf
    > [[local|localrc]]
    > enable_plugin neutron-dynamic-routing https://opendev.org/openstack/neutron-dynamic-routing
    > DR_MODE=dr_agent
    > EOF
  2. In the default case, protocol BGP is enabled for neutron-dynamic-routing. You can change "DR_SUPPORTED_PROTOCOLS" in "devstack/settings" to protocols wanted.