33 lines
992 B
Plaintext
33 lines
992 B
Plaintext
<doc>
|
|
</doc>
|
|
<vars>
|
|
default_system = {
|
|
"model": "",
|
|
"serial_number": "",
|
|
"version": ""
|
|
}
|
|
</vars>
|
|
|
|
<group name="system" default="default_system">
|
|
! {{ model | ORPHRASE | _start_ }} Series Software, Version {{ ignore }} Build {{ version | strip(",") }}{{ ignore('.*') }}
|
|
! Serial num:{{ serial_number | strip(",") }}{{ ignore('.*') }}
|
|
|
|
! System description : {{ description | PHRASE | _start_ }}({{ model }}) By {{ vendor }}
|
|
! System description : {{ description | PHRASE | _start_ }}({{ model }})
|
|
! System software version : {{ description | PHRASE }}, Release({{ version }})
|
|
! System serial number : {{ serial_number }}
|
|
</group>
|
|
|
|
<group name="interfaces">
|
|
interface {{ interface | ORPHRASE }}
|
|
description {{ description | ORPHRASE }}
|
|
ip address {{ ip_address }} {{ mask | to_cidr }}
|
|
</group>
|
|
|
|
<group name="vlans">
|
|
vlan {{ vlan_ids | contains(",", "-") | unrange("-", ",") }}
|
|
,{{ vlan_tail | unrange("-", ",") }}
|
|
vlan {{ vlan_id | _start_ }}
|
|
name {{ name | ORPHRASE }}
|
|
</group>
|