(20250210) Started working on MikroTik config automation.
This commit is contained in:
@@ -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 ***
|
||||
|
||||
Reference in New Issue
Block a user