[pve-devel] [PATCH v2 pve-ha-manager 2/5] Document parameters in parent class
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Oct 12 15:04:39 CEST 2015
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
src/PVE/HA/Resources.pm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/PVE/HA/Resources.pm b/src/PVE/HA/Resources.pm
index c41fa91..c415c3c 100644
--- a/src/PVE/HA/Resources.pm
+++ b/src/PVE/HA/Resources.pm
@@ -89,22 +89,32 @@ sub parse_section_header {
}
sub start {
+ my ($class, $haenv, $params) = @_;
+
die "implement in subclass";
}
sub shutdown {
+ my ($class, $haenv, $param) = @_;
+
die "implement in subclass";
}
sub migrate {
+ my ($class, $haenv, $params) = @_;
+
die "implement in subclass";
}
sub config_file {
+ my ($class, $id, $nodename) = @_;
+
die "implement in subclass"
}
sub check_running {
+ my ($class, $id) = @_;
+
die "implement in subclass";
}
--
2.1.4
More information about the pve-devel
mailing list