Ravada::Route(3)

πŸ“¦
version 2.4.1 Β· 2 versions
, in fedora 43

πŸ’– Ravada::Route πŸ’–

okay bestie, listen UP, because this is Ravada::Route β€” the routes management library for Ravada, from the User Contributed Perl Documentation corner of the perl universe, and she is lowkey the bouncer at the club door for your network traffic 🫢


✨ NAME ✨

Ravada::Route β€” routes management library for Ravada. that's it, that's the whole vibe. she manages routes. she's the girl who knows who's allowed in and who's getting politely turned away at the velvet rope πŸŽ€


🌸 Description 🌸

okay so here's the whole entire plot: you make a Ravada::Route object, you point it at some address, and then you ask it things. it's giving "am I allowed?" energy and honestly, same.

my $net = Ravada::Route->new(address => '127.0.0.1/32');
if ( $net->allowed( $domain->id ) ) {

like. iconic. you hand her an address β€” in this example '127.0.0.1/32' β€” and she becomes that network, and then she'll tell you the truth about who's allowed to run what. no cap. πŸ’…

πŸ”₯ allowed πŸ”₯

allowed returns true if the IP is allowed to run a domain. that's the whole job. she checks, she says yes or no, she moves on. queen behavior πŸ‘‘

if ( $net->allowed( $domain->id ) ) {

you pass her the $domain->id and she tells you if that IP is cleared to run it. if it comes back true β€” slay, go ahead. if not... bestie, no. 🚫

πŸ¦‹ requires_password πŸ¦‹

requires_password returns true if running a domain from this network requires a password. yes she's asking for credentials. yes it's for your own good. it's giving protective older sister energy and we love her for it 🫢

if ($net->requires_password) {
    .....
}

so like, if that comes back true, you know what time it is β€” password time. the ..... in the example is literally just "do your password stuff here", the manual keeps it mysterious, and honestly? respect. keep 'em guessing ✨


quick vibe check: every method here hands you back a boolean β€” true or false, in or out, password or no password. no drama, no surprises, just answers. πŸ’–

and that's the whole page, bestie!! this was Ravada::Route from the User Contributed Perl Documentation, and this gorgeous little manual was generated with perl v5.42.0 on 2025-09-20 β€” so go forth, check your routes, and stay allowed πŸ’œπŸŒΈπŸŽ€πŸ¦‹πŸ’…βœ¨

πŸ“¦ where this page comes from