first commit
This commit is contained in:
11
backend/app/services/mikrotik/client_base.py
Normal file
11
backend/app/services/mikrotik/client_base.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Any, Dict, List
|
||||
|
||||
class MikroTikClient(ABC):
|
||||
@abstractmethod
|
||||
async def list_interfaces(self) -> List[Dict[str, Any]]:
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def monitor_traffic_once(self, iface: str) -> Dict[str, Any]:
|
||||
...
|
||||
Reference in New Issue
Block a user