25 lines
539 B
Python
25 lines
539 B
Python
|
|
class TimeSyncConfig:
|
||
|
|
enabled: bool = True
|
||
|
|
host: str = "192.168.1.10"
|
||
|
|
port: int = 22
|
||
|
|
username: str = "torizon"
|
||
|
|
password: str = "1"
|
||
|
|
usePassword: bool = True
|
||
|
|
keyPath: str = ""
|
||
|
|
intervalSeconds: int = 30
|
||
|
|
connectTimeoutSeconds: int = 5
|
||
|
|
commandTimeoutSeconds: int = 8
|
||
|
|
retries: int = 1
|
||
|
|
useTimedatectlFallback: bool = True
|
||
|
|
|
||
|
|
|
||
|
|
# Exported config instance
|
||
|
|
TIME_SYNC = TimeSyncConfig()
|
||
|
|
|
||
|
|
BROWSER_URL = "http://192.168.1.10:8086"
|
||
|
|
|
||
|
|
# Admin gate for switching from customer -> admin
|
||
|
|
ADMIN_PASSWORD = "123"
|
||
|
|
|
||
|
|
|