proxies: add smart proxy support
still to do: * document new configuration options * add smart proxies to groups view * import bandwidth and CPU alarms
This commit is contained in:
parent
9b90101cf4
commit
66af6e6550
15 changed files with 275 additions and 32 deletions
|
@ -54,7 +54,7 @@ def impot(model: db.Model) -> None:
|
|||
line[i] = None # type: ignore
|
||||
else:
|
||||
line[i] = datetime.datetime.strptime(line[i], "%Y-%m-%d %H:%M:%S.%f") # type: ignore
|
||||
elif header[i] in ["eotk"]:
|
||||
elif header[i] in ["eotk", "auto_rotation", "smart"]:
|
||||
# boolean fields
|
||||
line[i] = line[i] == "True" # type: ignore
|
||||
elif header[i].endswith("_id") and line[i] == "":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue