LibreQoS/v1.1/ispConfig.py

59 lines
1.8 KiB
Python
Raw Normal View History

2022-06-20 04:47:10 -05:00
# 'fq_codel' or 'cake diffserv4'
# 'cake diffserv4' is recommended
2022-02-06 00:45:54 -06:00
2022-06-20 04:47:10 -05:00
# fqOrCAKE = 'fq_codel'
2022-02-06 00:45:54 -06:00
fqOrCAKE = 'cake diffserv4'
# How many Mbps are available to the edge of this network
upstreamBandwidthCapacityDownloadMbps = 1000
upstreamBandwidthCapacityUploadMbps = 1000
# Traffic from devices not specified in Shaper.csv will be rate limited by an HTB of this many Mbps
defaultClassCapacityDownloadMbps = 500
defaultClassCapacityUploadMbps = 500
# Interface connected to core router
interfaceA = 'eth1'
# Interface connected to edge router
interfaceB = 'eth2'
# Shape by Site in addition to by AP and Client
# Now deprecated, was only used prior to v1.1
# shapeBySite = True
2022-02-06 00:45:54 -06:00
2022-06-20 04:47:10 -05:00
# Allow shell commands. False causes commands print to console only without being executed. MUST BE ENABLED FOR
# PROGRAM TO FUNCTION
2022-02-06 00:45:54 -06:00
enableActualShellCommands = True
# Add 'sudo' before execution of any shell commands. May be required depending on distribution and environment.
runShellCommandsAsSudo = False
2022-06-20 04:47:10 -05:00
# Graphing
2022-02-26 10:34:16 -06:00
graphingEnabled = True
2022-02-26 20:54:42 -06:00
ppingLocation = "pping"
2022-02-14 16:38:19 -06:00
influxDBurl = "http://localhost:8086"
2022-02-14 16:28:11 -06:00
influxDBBucket = "libreqos"
influxDBOrg = "Your ISP Name Here"
influxDBtoken = ""
2022-02-26 13:20:41 -06:00
# NMS/CRM Integration
2022-06-20 04:47:10 -05:00
# If a device shows a WAN IP within these subnets, assume they are behind NAT / un-shapable, and ignore them
2022-02-26 13:20:41 -06:00
ignoreSubnets = ['192.168.0.0/16']
2022-02-06 00:45:54 -06:00
# Optional UISP integration
2022-02-26 10:34:16 -06:00
automaticImportUISP = False
2022-02-06 00:45:54 -06:00
# Everything before /nms/ on your UISP instance
2022-06-20 04:47:10 -05:00
uispBaseURL = 'https://examplesite.com'
2022-02-06 00:45:54 -06:00
# UISP Auth Token
uispAuthToken = ''
2022-06-20 04:47:10 -05:00
# UISP | Whether to shape router at customer premises, or instead shape the station radio. When station radio is in
# router mode, use 'station'. Otherwise, use 'router'.
2022-02-06 00:45:54 -06:00
shapeRouterOrStation = 'router'
2022-04-24 15:01:18 -05:00
# API Auth
apiUsername = "testUser"
apiPassword = "changeme8343486806"
2022-04-24 15:09:13 -05:00
apiHostIP = "127.0.0.1"
apiHostPost = 5000