Refactor Quasar model by removing system method and updating TTP template
- Removed the `system` method from the `Quasar` model to streamline system information handling. - Updated the TTP template to enhance the formatting of system details, including version and product information, for improved clarity and organization.
This commit is contained in:
@@ -46,16 +46,17 @@ default_system = {
|
||||
</vars>
|
||||
|
||||
<group name="system" default="default_system">
|
||||
#{{ ignore("\s+Assembly\s+") }}{{ assembly_version }}
|
||||
#{{ ignore("\s+Product Name\s+") }}{{ model | ORPHRASE }}
|
||||
#{{ ignore("\s+Product Serial Number\s+") }}{{ serial_number }}
|
||||
# Component Version {{ _start_ }}
|
||||
# Assembly {{ version }}
|
||||
# Product Name {{ model | ORPHRASE }}
|
||||
# Product Serial Number {{ serial_number }}
|
||||
|
||||
# Subsystem Version {{ _start_ }}
|
||||
# Engine {{ version }}
|
||||
# Product Name {{ model | ORPHRASE }}
|
||||
# Product Serial Number {{ serial_number }}
|
||||
</group>
|
||||
|
||||
<group name="system" default="default_system">
|
||||
#{{ ignore("\s+Engine\s+") }}{{ engine_version }}
|
||||
#{{ ignore("\s+Product Name\s+") }}{{ model | ORPHRASE }}
|
||||
#{{ ignore("\s+Product Serial Number\s+") }}{{ serial_number }}
|
||||
</group>
|
||||
<group name="interfaces">
|
||||
{{ ignore("\\s*") }}config {{ interface }} ipv4 address {{ ip_address }}/{{ mask }} gateway {{ gateway }} {{ ignore }}
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user