Code

< 40 %
40-60 %
> 60 %
1
"""Settings for the mef_eline NApp."""
2
3
# Base URL of the Pathfinder endpoint
4 1
PATHFINDER_URL = "http://localhost:8181/api/kytos/pathfinder/v2/"
5
6
# Base URL of the Flow Manager endpoint
7 1
MANAGER_URL = "http://localhost:8181/api/kytos/flow_manager/v2"
8
9
# Base URL of the Pathfinder endpoint
10 1
TOPOLOGY_URL = "http://localhost:8181/api/kytos/topology/v3"
11
12
# Base URL of SDN trace CP
13
SDN_TRACE_CP_URL = "http://localhost:8181/api/amlight/sdntrace_cp"
14
15
# EVC consistency interval
16
DEPLOY_EVCS_INTERVAL = 60
17
18
# Number of execution rounds to wait for old path to become available.
19
# i.e., it will wait up to DEPLOY_EVCS_INTERVAL*WAIT_FOR_OLD_PATH to the old
20
# path become available, otherwise mef_eline consistency will redeploy it
21
WAIT_FOR_OLD_PATH = 5
22
23
# Prefix this NApp has when using cookies
24
COOKIE_PREFIX = 0xAA
25