Skip to contentSkip to conversation

fence_pve: new fence-agent for Proxmox VE

PATCH New Ondrej Mular 1 participant 1 message Apr 11, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 3/3 fence_pve: new fence-agent for Proxmox VE

Thanks to Frank Brendel (author of original perl fence_pve) for help with writing and testing this agent.

---
 .gitignore                        |   1 +
 configure.ac                      |   1 +
 fence/agents/pve/Makefile.am      |  18 ++++
 fence/agents/pve/fence_pve.py     | 180 ++++++++++++++++++++++++++++++++++++++
 tests/data/metadata/fence_pve.xml | 121 +++++++++++++++++++++++++
 5 files changed, 321 insertions(+)
 create mode 100644 fence/agents/pve/Makefile.am
 create mode 100644 fence/agents/pve/fence_pve.py
 create mode 100644 tests/data/metadata/fence_pve.xml
.gitignore +1 -0
index 74198b2..75b9aa7 100644
@@ -65,6 +65,7 @@ fence/agents/node_assassin/fence_na.conf
 fence/agents/node_assassin/fence_na.lib
 fence/agents/node_assassin/fence_na.pod
 fence/agents/nss_wrapper/fence_nss_wrapper
+fence/agents/pve/fence_pve
 fence/agents/rackswitch/fence_rackswitch
 fence/agents/rhevm/fence_rhevm
 fence/agents/raritan/fence_raritan
configure.ac +1 -0
index c24198c..5e37ee5 100644
@@ -283,6 +283,7 @@ AC_CONFIG_FILES([Makefile
 		 fence/agents/netio/Makefile
 		 fence/agents/rackswitch/Makefile
 		 fence/agents/ovh/Makefile
+		 fence/agents/pve/Makefile
 		 fence/agents/raritan/Makefile
 		 fence/agents/rhevm/Makefile
 		 fence/agents/rsa/Makefile
fence/agents/pve/Makefile.am new file +18 -0
new file mode 100644
index 0000000..9ac184e
@@ -0,0 +1,18 @@
+MAINTAINERCLEANFILES	= Makefile.in
+
+TARGET			= fence_pve
+
+SRC			= $(TARGET).py
+
+EXTRA_DIST		= $(SRC)
+
+sbin_SCRIPTS		= $(TARGET)
+
+man_MANS		= $(TARGET).8
+
+include $(top_srcdir)/make/fencebuild.mk
+include $(top_srcdir)/make/fenceman.mk
+include $(top_srcdir)/make/agentpycheck.mk
+
+clean-local: clean-man
+	rm -f $(TARGET)
fence/agents/pve/fence_pve.py new file +180 -0

180 lines not on this page · raw message

tests/data/metadata/fence_pve.xml new file +121 -0

121 lines not on this page · raw message

Signature · 1 line
1.8.3.1