Refactor BaseDevice and update Device model structure
- Enhanced the `BaseDevice` class with methods for loading templates and parsing configuration data using TTP. - Updated the `Device` model to use lists for `interfaces` and `vlans`, allowing for multiple entries. - Introduced new TTP template files for structured data parsing.
This commit is contained in:
7
oxi/interfaces/models/templates/mikrotik.ttp
Normal file
7
oxi/interfaces/models/templates/mikrotik.ttp
Normal file
@@ -0,0 +1,7 @@
|
||||
<doc>
|
||||
</doc>
|
||||
<var>
|
||||
</var>
|
||||
|
||||
<group>
|
||||
</group>
|
||||
Reference in New Issue
Block a user