Accept qualified ARNavi VPS 0.2.5 v1 compatibility contract
This commit is contained in:
@@ -68,6 +68,7 @@ def apply(hosts, identifier, revision):
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
)
|
||||
or time.time() - host["last_sync_at"] > 30
|
||||
):
|
||||
|
||||
@@ -83,6 +83,7 @@ def enqueue(hosts, identifier, request_id, preset_id):
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
}:
|
||||
raise EquipmentError("Подключите проверенную версию VPS Host с поддержкой очереди.")
|
||||
count = db.execute(
|
||||
|
||||
@@ -254,6 +254,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
)
|
||||
)
|
||||
automatic_access = None
|
||||
@@ -335,6 +336,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
}:
|
||||
raise EquipmentError("Для разрешения обеих SIM установите актуальный VPS Host.")
|
||||
if body["kind"] == "select-sim" and source.get("status", {}).get("version") not in {
|
||||
@@ -366,6 +368,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
}:
|
||||
raise EquipmentError("Для смены SIM установите актуальный VPS Host.")
|
||||
else:
|
||||
@@ -422,6 +425,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
),
|
||||
"request-position": (
|
||||
"0.1.8",
|
||||
@@ -468,6 +472,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
),
|
||||
"pulse-output": (
|
||||
"0.1.9",
|
||||
@@ -513,6 +518,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
),
|
||||
"set-output": (
|
||||
"0.1.10",
|
||||
@@ -557,6 +563,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
),
|
||||
}
|
||||
if source.get("status", {}).get("version") not in versions[command["kind"]]:
|
||||
@@ -611,6 +618,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
)
|
||||
for h in (source, target)
|
||||
):
|
||||
@@ -703,6 +711,7 @@ def start(
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
"0.2.4",
|
||||
"0.2.5",
|
||||
}
|
||||
if durable_delivery:
|
||||
lifetime = (
|
||||
|
||||
Reference in New Issue
Block a user