Code

< 40 %
40-60 %
> 60 %
1
"""
2
 sdntrace settings
3
"""
4
5
# Default field used to define color
6
# It will be updated by shared.colors.Colors()
7 1
COLOR_FIELD = "dl_src"
8 1
COLOR_VALUE = "ee:ee:ee:ee:ee:"
9
10
# Interval between queries to the request_queue
11 1
TRACE_INTERVAL = 1
12
13
# OpenFlow PacketOut Action OFPP_TABLE for OF1.3
14 1
OFPP_TABLE_13 = 4294967289
15
16
# Number of Parallel Traces allowed
17 1
PARALLEL_TRACES = 10
18
19
# URL for coloring app
20
COLORS_URL = "http://localhost:8181/api/amlight/coloring/colors"
21