tres/examples/heckle/config/config.exs
2017-12-01 11:33:53 +09:00

30 lines
795 B
Elixir

# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
config :heckle,
vlan_tagging: true,
vlan_id: 123,
vlan_trunk: "1",
access_port1: "3",
access_port2: "4",
receiver_mac: "00000000000f",
receiver_ip: {8,8,8,8},
sender_mac: "001122334455",
inside_local: {192,168,5,10},
outside_local: {192,168,255,1},
flow_pattern: :bum # :nat || :bum
config :tres,
protocol: :tcp,
port: 6633,
max_connections: 10,
num_acceptors: 10,
callback_module: Heckle.Controller,
callback_args: ["0002b05ada98d790"]
config :logger,
level: :debug,
format: "$date $time [$level] $metadata$message\n",
metadata: [:application],
handle_otp_reports: true