Refactor NodeConfig methods for consistency in data access

- Renamed `l3interfaces` to `interfaces` and `vlaninterfaces` to `system` in the `NodeConfig` class to align with updated data structure.
- This change enhances clarity and consistency in method naming, reflecting the underlying data model more accurately.
This commit is contained in:
IluaAir
2026-02-24 22:31:18 +03:00
parent 3fdff33e2e
commit 16e97692fc

View File

@@ -38,8 +38,8 @@ class NodeConfig:
def vlans(self):
return self._parsed_data.vlans
def l3interfaces(self):
return self._parsed_data.l3interfaces
def interfaces(self):
return self._parsed_data.interfaces
def vlaninterfaces(self):
return self._parsed_data.vlaninterfaces
def system(self):
return self._parsed_data.system