Server IP : 158.178.228.73 / Your IP : 80.80.80.153 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux ust-wp1-prod 5.15.0-308.179.6.el8uek.x86_64 #2 SMP Wed Apr 23 10:46:57 PDT 2025 x86_64 User : tomasFtp ( 1007) PHP Version : 8.4.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/proc/self/root/usr/share/augeas/lenses/dist/ |
Upload File : |
(* Module: Rancid Parses RANCiD router database Author: Matt Dainty <matt@bodgit-n-scarper.com> About: Reference - man 5 router.db Each line represents a record consisting of a number of ';'-separated fields the first of which is the IP/Hostname of the device, followed by the type, its state and optionally a comment. *) module Rancid = autoload xfm let sep = Util.del_str ";" let field = /[^;#\n]+/ let comment = [ label "comment" . store /[^;#\n]*/ ] let eol = Util.del_str "\n" let record = [ label "device" . store field . sep . [ label "type" . store field ] . sep . [ label "state" . store field ] . ( sep . comment )? . eol ] let lns = ( Util.empty | Util.comment_generic /#[ \t]*/ "# " | record )* let filter = incl "/var/rancid/*/router.db" . Util.stdexcl let xfm = transform lns filter (* Local Variables: *) (* mode: caml *) (* End: *)