Accept ARNavi VPS 0.2.0 through the existing client contract

This commit is contained in:
DCCONSTRUCTIONS
2026-09-30 15:34:24 +03:00
parent 6dd652f71e
commit df36e92500
5 changed files with 19 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@ def apply(hosts, identifier, revision):
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
)
or time.time() - host["last_sync_at"] > 30
):
@@ -78,6 +78,7 @@ def enqueue(hosts, identifier, request_id, preset_id):
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
}:
raise EquipmentError("Подключите проверенную версию VPS Host с поддержкой очереди.")
count = db.execute(
+9
View File
@@ -249,6 +249,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
)
)
automatic_access = None
@@ -325,6 +326,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
}:
raise EquipmentError("Для разрешения обеих SIM установите актуальный VPS Host.")
if body["kind"] == "select-sim" and source.get("status", {}).get("version") not in {
@@ -351,6 +353,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
}:
raise EquipmentError("Для смены SIM установите актуальный VPS Host.")
else:
@@ -402,6 +405,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
),
"request-position": (
"0.1.8",
@@ -443,6 +447,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
),
"pulse-output": (
"0.1.9",
@@ -483,6 +488,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
),
"set-output": (
"0.1.10",
@@ -522,6 +528,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
),
}
if source.get("status", {}).get("version") not in versions[command["kind"]]:
@@ -571,6 +578,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
)
for h in (source, target)
):
@@ -658,6 +666,7 @@ def start(
"0.1.44",
"0.1.45",
"0.1.46",
"0.2.0",
}
if durable_delivery:
lifetime = (