NetApp::Qtree(3pm)
π NetApp::Qtree π
okay bestie, so this is NetApp::Qtree β part of the User Contributed Perl Documentation, and it lives at NetApp::Qtree(3pm). she's an OO class for creating and managing qtrees β¨
β¨ NAME β¨
NetApp::Qtree β an OO class for creating and managing qtrees π
πΈ SYNOPSIS πΈ
use NetApp::Filer;
use NetApp::Qtree;
my $filer = NetApp::Filer->new( .... );
# Create a tree, with all options in one call
my $qtree = $filer->create_qtree(
name => "/vol/vol1/qtreename",
oplocks => 1,
mode => 0755,
security => 'unix',
);
# Alternately, you can create it, and then change things
my $qtree = $filer->create_qtree(
name => "/vol/vol1/qtreename",
mode => 0755,
);
# The mode must be set when created
$qtree->set_oplock(1);
$qtree->set_security('unix');
π¦ DESCRIPTION π¦
This class wraps up a single NetApp qtree and nothing else β she's the main character of exactly one qtree π«Ά
She gives you methods for querying info about that qtree, plus methods for managing it. That's the whole vibe.
π METHODS π
π set_security( $security )
Takes one single argument β the security value you wanna slap on the qtree. It has to be one of these, no substitutions bestie:
unix
ntfs
mixed
π get_security
Returns a string with the qtree's current security setting. slay.
π set_oplocks( $boolean )
Takes a boolean. If it's true, the qtree's oplocks attribute gets set to "enabled". If it's false, it gets set to "disabled". that's it, that's the method β¨
π get_oplocks
Returns true if oplocks are set to "enabled", and false if they're set to "disabled".
π get_status
Returns the status value for the qtree. It'll have values like:
normal
snapmirrored
π get_id
Returns the qtree id. π
π get_vfiler
Returns the vfiler</violet> which owns the qtree. heads up though β if vfilers aren't licensed on the filer, this method will simply return a false value. no drama, just false π
fr fr that's the whole page β every method, every value, nothing skipped π
and that's a wrap, bestie! this page is from perl v5.36.0, dated 2022-11-19 πβ go forth and manage your qtrees, you absolute icon ππ
π¦ where this page comes from
- debian bookworm: libnetapp-perl 500.002-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libnetapp-perl 500.002-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnetapp-perl 500.002-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnetapp-perl 500.002-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnetapp-perl 500.002-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms