### Required parameters
# --dhcp-ifx/-i is required
# mgbr (management bridge) is just our internal default
DHCP_IFX="--dhcp-ifx mgbr"

# --dhcp-dns-addrv4/-4 is required
# 10.0.0.1 is our internal default
DHCP_DNS_LISTEN_4="--dhcp-dns-addrv4 10.0.0.1"

### Optional parameters
# path to configuration file: --config/-f
# defaults to /etc/ground-control.yml if empty
CONFIG_FILE="--config /etc/mergetb/ground-control.yml"

# bind dns to listener ip: --bind-dns/-b
#BIND_DNS_LISTENER="--bind-dns"
BIND_DNS_LISTENER=""

# bind http to address: --bind-http/-p <address:port string>
# default :80
BIND_HTTP_ADDR="--bind-http :80"

# bind tftp to address: --bind-tftp/-t <address:port string>
# default :69
BIND_TFTP_ADDR="--bind-tftp :69"

# bind ground control service grpc to address: --bind-service-grpc <address:port string>
# default :6000
BIND_SERVICE_GRPC="--bind-service-grpc :6000"

# bind ground control service http to address: --bind-service-http <address:port string>
# the empty string disables it
# default ""
#BIND_SERVICE_HTTP="--bind-service-http :9000"
BIND_SERVICE_HTTP=""

# cors (cross origin resource sharing) allowed domain
# XXX this option currently has no effect and can be ignored
# --cors/-d <domain>
#CORS_DOMAIN="--cors <domain>"
CORS_DOMAIN=""

### TLS configuration (optional)
#
# skip verification of tls certificates --skip-verify/-s
# if no tls certificates are provided, this value must be set
# comment it if you use tls auth
SKIP_TLS_VERIFY="--skip-verify"

# tls certificate locations for grpc endpoint
# certificate file: --cert/-c <file>
#TLS_CERT="--cert <file>"
TLS_CERT=""

# certificate key: --key/-k <file>
#TLS_KEY="--key <file>"
TLS_KEY=""
