cross module change
[nodeconfig.git] / PlanetLabConf / ipod.conf.php
diff --git a/PlanetLabConf/ipod.conf.php b/PlanetLabConf/ipod.conf.php
new file mode 100755 (executable)
index 0000000..f0462d4
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+//
+// /etc/ipod.conf for production nodes
+//
+// Mark Huang <mlhuang@cs.princeton.edu>
+// Copyright (C) 2004-2006 The Trustees of Princeton University
+//
+// $Id$
+//
+
+include('plc_config.php');
+
+// Allow only the API server to send a reboot packet
+$IP_SUBNET = PLC_API_IPOD_SUBNET;
+$IP_MASK   = PLC_API_IPOD_MASK;
+
+echo <<<EOF
+# IP range that we respond to reboot requests from
+IP_SUBNET=$IP_SUBNET
+IP_MASK=$IP_MASK
+
+EOF;
+
+?>