return node extensions.
Barış Metin [Thu, 23 Jul 2009 15:03:38 +0000 (15:03 +0000)]
PlanetLabConf/extensions.php [new file with mode: 0755]

diff --git a/PlanetLabConf/extensions.php b/PlanetLabConf/extensions.php
new file mode 100755 (executable)
index 0000000..53807bb
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+require_once 'plc_api.php';
+global $adm;
+
+if (isset($_REQUEST['node_id'])) {
+    $node_id = intval($_REQUEST['node_id']);
+    print $adm->GetNodeExtensions($node_id);
+}
+
+?>
+