NetApp...e::Plex(3pm)

πŸ“¦
version 500.002 Β· 2 versions
  • 500.002 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 500.002 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NetApp::Aggregate::Plex πŸ’–

okay bestie, so this is the manual page for NetApp::Aggregate::Plex, living in section 3pm of the User Contributed Perl Documentation. it's a Perl thing. it's OO. it's giving "I represent NetApp plexes and I'm gonna tell you everything about them" energy. periodt. ✨


πŸŽ€ NAME πŸŽ€

NetApp::Aggregate::Plex β€” an OO class for representing NetApp plexes. yes, it's literally the main character of plexes. πŸ‘‘


🌸 SYNOPSIS 🌸

okay so here's how you actually use this thing, no cap:

use NetApp::Filer;
use NetApp::Aggregate;

my $aggregate       = $filer->get_aggregate( $name );

my $plex            = $aggregate->get_plex;

my @raidgroups      = $plex->get_raidgroups;

see how clean that is? we start with a filer, grab an aggregate by $name, pull the plex out of it, and then scoop up all the raidgroups like it's nothing. slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, this class exists to encapsulate a NetApp plex β€” think of it as the lil cozy wrapper that holds your plex and hands you the good stuff. it gives you access to the name and the states of the plex. that's the whole vibe. no extra drama, just facts. 🫢


✨ METHODS ✨

🌈 get_name

returns the name of the plex, as a string. that's it. that's the method. iconic behaviour honestly. πŸ’–

πŸ“ get_raidgroups

returns a list of NetApp::Aggregate::RAIDGroup objects β€” and yes, there's one for each and every RAIDGroup in the Plex. not a vibe check, just a list. collect them all like they're stickers. 🧚

⭐ get_states

returns a list of strings, where each string represents a single state for the plex. so like, plural states. multiple. a whole ensemble cast. πŸ‘‘

πŸ’œ get_state( $state )

takes a $state and returns true if the plex has that given state, and false otherwise. simple. binary. it ate and left no crumbs. πŸ”₯


πŸ’Œ one last thing bestie πŸ’Œ

this page is from perl v5.36.0, dated 2022-11-19, and it's filed under the man page name NetApp...e::Plex(3pm) (yeah the header squishes it, that's just terminal things πŸ™ˆ). anyway, go forth and interrogate your plexes. mwah. πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from