equal
deleted
inserted
replaced
57 line(s) eofile |
57 line(s) eofile |
58 |
58 |
59 line: s_controller |
59 line: s_controller |
60 | s_interface |
60 | s_interface |
61 | l_vrf |
61 | l_vrf |
|
62 | l_sntp |
62 | indent comment |
63 | indent comment |
63 | indent cmdline |
64 | indent cmdline |
64 | indent emptyline |
65 | indent emptyline |
65 | <error> |
66 | <error> |
66 |
67 |
201 { $arg{ctx}->{framing} = $item{keyword} } |
202 { $arg{ctx}->{framing} = $item{keyword} } |
202 |
203 |
203 # vrf |
204 # vrf |
204 l_vrf: "0" "ip" "vrf" keyword eol |
205 l_vrf: "0" "ip" "vrf" keyword eol |
205 { $::res->{"ip-vrf"} = $item{keyword} } |
206 { $::res->{"ip-vrf"} = $item{keyword} } |
|
207 |
|
208 # sntp |
|
209 sntp_iface: iface_type iface_num |
|
210 { |
|
211 $arg{ctx}->{interface} = { |
|
212 type => $item{iface_type}, |
|
213 num => $item{iface_num} |
|
214 }; |
|
215 } |
|
216 | "" |
|
217 |
|
218 l_sntp: "0" "sntp" "server" ip sntp_iface[ctx => ctx('sntp-server', $item{ip})] eol |
|
219 |