Update Qtech:

- Add full support of diff types of switches
- Fix default system parser
This commit is contained in:
i.shramko
2026-03-10 18:41:43 +03:00
parent b9dce8e417
commit 2e109db121
2 changed files with 10 additions and 1 deletions

View File

@@ -7,6 +7,10 @@ from oxi.interfaces.base import BaseDevice
class Qtech(BaseDevice):
template = "qtech.ttp"
def system(self) -> dict:
system = self.raw["system"]
return system
def vlans(self) -> list[dict]:
vlans_ttp = self.raw["vlans"]
vlans = []