build.settings   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 12
dl 0
loc 18
ccs 11
cts 11
cp 1
rs 10
c 0
b 0
f 0
1
"""Module with the Constants used in the amlight/telemetry."""
2
3 1
KYTOS_API = "http://0.0.0.0:8181/api"
4 1
mef_eline_api = f"{KYTOS_API}/kytos/mef_eline/v2"
5 1
flow_manager_api = f"{KYTOS_API}/kytos/flow_manager/v2"
6 1
topology_url = f"{KYTOS_API}/kytos/topology/v3"
7 1
INT_COOKIE_PREFIX = 0xA8
8 1
MEF_COOKIE_PREFIX = 0xAA
9 1
IPv4 = 2048
10 1
TCP = 6
11 1
UDP = 17
12
13 1
TABLE_GROUP_ALLOWED = {"evpl", "epl"}
14
15
# Fallback to mef_eline by removing INT flows if an external loop goes down. If
16
# the loop goes UP again and the EVC is active, it'll install INT flows
17
FALLBACK_TO_MEF_LOOP_DOWN = True
18