Enhance Keenetic model and update templates for improved data handling
- Implemented the `interfaces` and `vlans` methods in the `Keenetic` model to process and decode interface and VLAN data. - Added a `_decode_utf` method to handle UTF-8 encoded descriptions. - Updated the Keenetic TTP template to define structured groups for system, interfaces, and VLANs. - Refactored file paths in the `Mikrotik` model for consistency and clarity.
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
<doc>
|
||||
</doc>
|
||||
<var>
|
||||
</var>
|
||||
<vars>
|
||||
</vars>
|
||||
|
||||
<group>
|
||||
</group>
|
||||
<group name="system">
|
||||
...
|
||||
</group>
|
||||
|
||||
<group name="interfaces">
|
||||
...
|
||||
</group>
|
||||
|
||||
<group name="vlans">
|
||||
...
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user