add mptcpEnabled key

This commit is contained in:
Quentin De Coninck 2020-06-30 11:23:41 +02:00
parent eb05801692
commit 390569c697

View File

@ -14,6 +14,7 @@ class ExperimentParameter(Parameter):
""" """
RMEM = "rmem" RMEM = "rmem"
WMEM = "wmem" WMEM = "wmem"
MPTCP_ENABLED = "mptcpEnabled"
SCHED = "sched" SCHED = "sched"
CC = "congctrl" CC = "congctrl"
AUTOCORK = "autocork" AUTOCORK = "autocork"
@ -42,6 +43,7 @@ class ExperimentParameter(Parameter):
SYSCTL_KEY = { SYSCTL_KEY = {
RMEM: "net.ipv4.tcp_rmem", RMEM: "net.ipv4.tcp_rmem",
WMEM: "net.ipv4.tcp_wmem", WMEM: "net.ipv4.tcp_wmem",
MPTCP_ENABLED: "net.mptcp.mptcp_enabled",
KERNELPM: "net.mptcp.mptcp_path_manager", KERNELPM: "net.mptcp.mptcp_path_manager",
SCHED: "net.mptcp.mptcp_scheduler", SCHED: "net.mptcp.mptcp_scheduler",
CC: "net.ipv4.tcp_congestion_control", CC: "net.ipv4.tcp_congestion_control",
@ -63,6 +65,7 @@ class ExperimentParameter(Parameter):
DEFAULT_PARAMETERS = { DEFAULT_PARAMETERS = {
RMEM: "10240 87380 16777216", RMEM: "10240 87380 16777216",
WMEM: "4096 16384 4194304", WMEM: "4096 16384 4194304",
MPTCP_ENABLED: "1",
KERNELPM: "fullmesh", KERNELPM: "fullmesh",
KERNELPMC: "fullmesh", KERNELPMC: "fullmesh",
KERNELPMS: "fullmesh", KERNELPMS: "fullmesh",