Reupload (purge)

This commit is contained in:
gauvainboiche
2026-08-04 16:42:35 +02:00
commit bb74ba5173
1023 changed files with 79600 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
from dataclasses import dataclass, field
from typing import List, Optional
@dataclass
class Interface:
id: Optional[int] = None
port: int = 0
service: str = "[SERVICE]"
equipment_id: Optional[int] = None
@dataclass
class Equipment:
id: Optional[int] = None
hostname: str = "[HOSTNAME]"
type: str = "Server"
ip_address: str = "255.255.255.0"
is_active: bool = True
latency: Optional[float] = None
interfaces: List[Interface] = field(default_factory=list)