-
Notifications
You must be signed in to change notification settings - Fork 4
/
bof.tpl
37 lines (35 loc) · 930 Bytes
/
bof.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Bof values
Value Required primaryimage (\S+)
Value primaryconfig (\S+)
Value licensefile (\S+)
Value primarydns ([0-9]*.[0-9]*.[0-9]*.[0-9]*)
Value dnsdomain (\S+)
Value autonegotiate (\S+)
Value duplex (\S+)
Value speed (\S+)
Value wait (\S+)
Value persist (\S+)
Value lilocalsave (\S+)
Value liseparate (\S+)
Value fips1402 (\S+)
Value consolespeed ([0-9]*)
# Start of parse
Start
# Record current values .
^BOF -> Record Bof
# reading values
Bof
^\s+primary-image\s+${primaryimage}
^\s+primary-config\s+${primaryconfig}
^\s+license-file\s+${licensefile}
^\s+primary-dns\s+${primarydns}
^\s+dns-domain\s+${dnsdomain}
^\s+autonegotiate\s+${autonegotiate}
^\s+duplex\s+${duplex}
^\s+speed\s+${speed}
^\s+wait\s+${wait}
^\s+persist\s+${persist}
^\s+no li-local-save\s+${lilocalsave}
^\s+no li-separate\s+${liseparate}
^\s+no fips-140-2\s+${fips1402}
^\s+console-speed\s+${consolespeed} -> Start