(20250210) Started working on MikroTik config automation.

This commit is contained in:
2025-02-10 19:35:28 +05:30
parent 95d90e807b
commit 94e5c81087
13 changed files with 789 additions and 836 deletions
+1 -33
View File
@@ -10,7 +10,7 @@
OBJECTIVE:
To provide a structure to receive auth details for MikroTik devices.
Don't ask. I don't know. We prefer speed over quality and certainty.
REFERENCES:
@@ -106,38 +106,6 @@ class TheCAOfficeAIAuth(BaseModel):
extra = "forbid"
# ---------------------------------------------------------------------------------------------------------------------
class MikroTikAuth(BaseModel):
botId: str = Field(
description = "The id of the bot (that can be invoked with '@').",
min_length = 1,
frozen = True
)
botName: str = Field(
description = "The display name of the bot.",
min_length = 1,
frozen = True
)
botToken: str = Field(
description = "the token granted by BotFather",
min_length = 1,
frozen = True
)
# ┏┓ ┏•
# ┃ ┏┓┏┓╋┓┏┓
# ┗┛┗┛┛┗┛┗┗┫
# ┛
class Config:
extra = "forbid"
# *****************************************************************************************************************
# ***** ****
# *** MAIN PROGRAM ***