ovn-bgp-agent/devstack/settings
Lucas Alvares Gomes fbf3f6eeb5 Devstack plugin
Initial support for devstack plugin, with default configuration
for the SB DB driver

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: If806802fe65f852f643b85557c4c88973fa96dea
2023-11-06 10:55:02 +01:00

21 lines
954 B
Plaintext

# Configurations
OVN_BGP_AGENT_DRIVER=${OVN_BGP_AGENT_DRIVER:-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}
# 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
# 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"