# Defaults for testing bootstrap script                       -*-conf-*-
#set -x

TESTING=true

PATH=.:$PATH
INIT_DATA=/etc/sysrepo/factory-default.json
SEARCH=/usr/share/yang/modules/confd:/usr/share/yang/modules/libnetconf2:/usr/share/yang/modules/libyang:/usr/share/yang/modules/netopeer2:/usr/share/yang/modules/sysrepo

CFG_PATH_=/tmp/confd/cfg
RUN_PATH_=/tmp/confd/run

FACTORY_DEFAULTS_D=../share/factory.d
FAILURE_DEFAULTS_D=../share/failure.d
TEST_DEFAULTS_D=../share/test.d

FACTORY_D=$RUN_PATH_/factory.d
FAILURE_D=$RUN_PATH_/failure.d
TEST_D=$RUN_PATH_/test.d

FACTORY_GEN=$RUN_PATH_/factory-config.gen
FAILURE_GEN=$RUN_PATH_/failure-config.gen
TEST_GEN=$RUN_PATH_/test-config.gen

FACTORY_CFG=$RUN_PATH_/factory-config.cfg
FAILURE_CFG=$RUN_PATH_/failure-config.cfg
TEST_CFG=$RUN_PATH_/test-config.cfg
STARTUP_CFG=$CFG_PATH_/startup-config.cfg

# Uncomment this line in to create a bridge (br0) with all (classified
# 'group port') interfaces as bridge ports.  The br0 interface will get
# an IPv6 EUI64 SLAAC address as well as an IPv4 ZeroConf address, and a
# DHCPv4 address if the device is attached to a LAN with a DHCP server.
#GEN_IFACE_OPTS="-b -4 -d"

# Default hostname in Fail Secure mode, plus last three octets in the base
# MAC address, e.g. "failed-c0-ff-ee".
FAIL_HOSTNAME="failed"
TEST_HOSTNAME="test"

# Only needed for testing
mkdir -p "$CFG_PATH_" "$RUN_PATH_" "$FACTORY_D" "$FAILURE_D"
