1Ravada::Network(3) User Contributed Perl Documentation Ravada::Network(3)
2
3
4
6 Ravada::Network - Networks management library for Ravada
7
9 my $net = Ravada::Network->new(address => '127.0.0.1/32');
10 if ( $net->allowed( $domain->id ) ) {
11
12 allowed
13 Returns true if the IP is allowed to run a domain
14
15 if ( $net->allowed( $domain->id ) ) {
16
17 requires_password
18 Returns true if running a domain from this network requires a password
19
20 if ($net->requires_password) {
21 .....
22 }
23
24
25
26perl v5.32.0 2020-12-26 Ravada::Network(3)