From 9ddd4ae9831d000d0102a8fe9fffcc4cb816197a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 19 Sep 2011 13:11:36 +0200 Subject: [PATCH] new method get_members() to return node member status --- data/PVE/Cluster.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index c8a1521..28bf386 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -443,6 +443,10 @@ sub get_clinfo { return $clinfo; } +sub get_members { + return $clinfo->{nodelist}; +} + sub get_nodelist { my $nodelist = $clinfo->{nodelist}; -- 2.39.5