Accept qualified ARNavi VPS 0.2.4 client contract
This commit is contained in:
@@ -67,6 +67,7 @@ def apply(hosts, identifier, revision):
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
)
|
||||
or time.time() - host["last_sync_at"] > 30
|
||||
):
|
||||
|
||||
@@ -82,6 +82,7 @@ def enqueue(hosts, identifier, request_id, preset_id):
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
}:
|
||||
raise EquipmentError("Подключите проверенную версию VPS Host с поддержкой очереди.")
|
||||
count = db.execute(
|
||||
|
||||
@@ -253,6 +253,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
)
|
||||
)
|
||||
automatic_access = None
|
||||
@@ -333,6 +334,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
}:
|
||||
raise EquipmentError("Для разрешения обеих SIM установите актуальный VPS Host.")
|
||||
if body["kind"] == "select-sim" and source.get("status", {}).get("version") not in {
|
||||
@@ -363,6 +365,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
}:
|
||||
raise EquipmentError("Для смены SIM установите актуальный VPS Host.")
|
||||
else:
|
||||
@@ -418,6 +421,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
),
|
||||
"request-position": (
|
||||
"0.1.8",
|
||||
@@ -463,6 +467,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
),
|
||||
"pulse-output": (
|
||||
"0.1.9",
|
||||
@@ -507,6 +512,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
),
|
||||
"set-output": (
|
||||
"0.1.10",
|
||||
@@ -550,6 +556,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
),
|
||||
}
|
||||
if source.get("status", {}).get("version") not in versions[command["kind"]]:
|
||||
@@ -603,6 +610,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
)
|
||||
for h in (source, target)
|
||||
):
|
||||
@@ -694,6 +702,7 @@ def start(
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
}
|
||||
if durable_delivery:
|
||||
lifetime = (
|
||||
|
||||
Reference in New Issue
Block a user