#! /bin/sh
#-------------------------------------------------------------------------------
#
# Copyright 2012, Cumulus Networks inc
#
# switchd startup configuration
#
#    run "switchd -h" to get a list of options.
#

DAEMON_OPT_ARGS=""
DAEMON_OPT_ARGS="$DAEMON_OPT_ARGS -L file:/var/log/switchd.log=INFO"
/etc/cumulus/decode-syseeprom -a > /dev/null 2>&1 ||
	( echo "can not execute decode-syseeprom" && exit 1 )
DAEMON_OPT_ARGS="$DAEMON_OPT_ARGS  -m $(/etc/cumulus/decode-syseeprom -a)"
DAEMON_OPT_ARGS="$DAEMON_OPT_ARGS  -bp 10"

#Tell switchd helpers how to assign mac addresses
# standard issues a mac address per interface starting with base address
# l3-only uses the same base address+1 for all interfaces, interfaces cannot
# be in the same l2 domain
MACMODE="standard"

#Tell switchd to use a non-default routing table (1, in this case).
#SEPARATE_ROUTING=1
