Jakub Libosvar 0b22516768 Introduce multinode tempest job
The job has 4 nodes:
 - a spine node serving as a spine switch and a place where the tempest
   tests are executed from
 - 2 leaf nodes serving as route reflectors to the spine node
 - controller running all-in-one openstack with
ovn-bgp-agent and frr configured to peer with the leaf nodes

The job is non-voting for now to assess its stability and replaces
ovn-bgp-agent-tempest-plugin job because that job was one node only and
hence the BGP protocol couldn't be validated.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/938697

Change-Id: If8d2d59c6bc06124d98204770d7689b66d9b9cae
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
2025-01-13 13:21:51 +00:00

24 lines
1.1 KiB
Plaintext

# Configurations
OVN_BGP_AGENT_DRIVER=${OVN_BGP_AGENT_DRIVER:-nb_ovn_bgp_driver}
OVN_BGP_AGENT_CONF_DIR=${OVN_BGP_AGENT_CONF_DIR:-/etc/ovn-bgp-agent}
OVN_BGP_AGENT_DEBUG=$(trueorfalse True OVN_BGP_AGENT_DEBUG)
OVN_BGP_AGENT_TENANT=$(trueorfalse False OVN_BGP_AGENT_TENANT)
OVN_BGP_AGENT_OVS_DB=${OVN_BGP_AGENT_OVS_DB:-tcp:127.0.0.1:6640}
OVN_BGP_AGENT_OVN_SB_DB=${OVN_BGP_AGENT_OVN_SB_DB:-ssl:127.0.0.1:6642}
OVN_BGP_AGENT_OVN_NB_DB=${OVN_BGP_AGENT_OVN_NB_DB:-ssl:127.0.0.1:6641}
# FRR configurations
FRR_CONF_DIR=${FRR_CONF_DIR:-/etc/frr}
FRR_SYSTEMD_SERVICE="frr.service"
FRR_CONF_FILE=$FRR_CONF_DIR/frr.conf
FRR_DAEMON_CONF_FILE=$FRR_CONF_DIR/daemons
FRR_USE_BFD=$(trueorfalse False FRR_USE_BFD)
# Defaults
OVN_BGP_AGENT_DIR=$DEST/ovn-bgp-agent
OVN_BGP_AGENT_SYSTEMD_SERVICE="devstack@ovn-bgp-agent.service"
OVN_BGP_AGENT_CONF_FILE=$OVN_BGP_AGENT_CONF_DIR/bgp-agent.conf
OVN_BGP_AGENT_ROOTWRAP=$(get_rootwrap_location ovn-bgp-agent)
OVN_BGP_AGENT_ROOTWRAP_COMMAND="sudo $OVN_BGP_AGENT_ROOTWRAP $OVN_BGP_AGENT_CONF_DIR/rootwrap.conf"
OVN_BGP_AGENT_ROOTWRAP_DAEMON="sudo $OVN_BGP_AGENT_ROOTWRAP-daemon $OVN_BGP_AGENT_CONF_DIR/rootwrap.conf"