added junos, updated screenos
[configmanager.git] / lib / junos.plugin.php
diff --git a/lib/junos.plugin.php b/lib/junos.plugin.php
new file mode 100644 (file)
index 0000000..61ec460
--- /dev/null
@@ -0,0 +1,12 @@
+<?php 
+$HOST_TYPE["junos"]["name"] = "Juniper JunOS Devices";
+$HOST_TYPE["junos"]["getconfig"] = "jos_getConfig";
+$HOST_TYPE["junos"]["needsenable"] = false;
+
+
+
+function jos_getConfig($host, $username, $password, $enable)
+{
+       return genericssh_ssh($host, $username, $password, "cli show configuration");
+}
+?>
\ No newline at end of file