| Server IP : 173.209.174.21 / Your IP : 216.73.216.79 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
(* Test for netmasks lens *)
module Test_netmasks =
let conf = "# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
192.168.1.0 255.255.255.0
10.0.0.0 255.0.0.0
"
test Netmasks.lns get conf =
{ "#comment" = "The netmasks file associates Internet Protocol (IP) address" }
{ "#comment" = "masks with IP network numbers." }
{ }
{ }
{ "1"
{ "network" = "192.168.1.0" }
{ "netmask" = "255.255.255.0" } }
{ "2"
{ "network" = "10.0.0.0" }
{ "netmask" = "255.0.0.0" } }
(* Local Variables: *)
(* mode: caml *)
(* End: *)