2019-09-28 07:29:15 +01:00
|
|
|
from core.utils import which
|
2018-03-22 06:07:34 +00:00
|
|
|
|
2019-09-28 07:29:15 +01:00
|
|
|
COREDPY_VERSION = "@PACKAGE_VERSION@"
|
2018-03-13 23:20:50 +00:00
|
|
|
CORE_CONF_DIR = "@CORE_CONF_DIR@"
|
|
|
|
CORE_DATA_DIR = "@CORE_DATA_DIR@"
|
2018-03-20 21:49:17 +00:00
|
|
|
QUAGGA_STATE_DIR = "@CORE_STATE_DIR@/run/quagga"
|
2019-04-09 21:53:32 +01:00
|
|
|
FRR_STATE_DIR = "@CORE_STATE_DIR@/run/frr"
|
2018-03-22 06:07:34 +00:00
|
|
|
|
2019-09-28 07:29:15 +01:00
|
|
|
VNODED_BIN = which("vnoded", required=True)
|
|
|
|
VCMD_BIN = which("vcmd", required=True)
|
|
|
|
SYSCTL_BIN = which("sysctl", required=True)
|
|
|
|
IP_BIN = which("ip", required=True)
|
|
|
|
ETHTOOL_BIN = which("ethtool", required=True)
|
|
|
|
TC_BIN = which("tc", required=True)
|
|
|
|
EBTABLES_BIN = which("ebtables", required=True)
|
|
|
|
MOUNT_BIN = which("mount", required=True)
|
|
|
|
UMOUNT_BIN = which("umount", required=True)
|
|
|
|
OVS_BIN = which("ovs-vsctl", required=False)
|
|
|
|
OVS_FLOW_BIN = which("ovs-ofctl", required=False)
|