7739cfed3b0e3e5f59a7f61cd4bedcd2d3bedc50
[configmanager.git] / lib / screenos.plugin.php
1 <?php 
2 $HOST_TYPE["screenos"]["name"] = "Netscreen Screen OS";
3 $HOST_TYPE["screenos"]["configform"] = "nsos_formFunction";
4 $HOST_TYPE["screenos"]["postfunction"] = "nsos_postFunction";
5
6 function nsos_formFunction()
7 {
8         ?>
9 Name <input type="text" name="username"><br>
10 Password <input type="password" name="password"><br>
11 Method <select name="methodtype"><option value="ssh">SSH</option><option value="telnet">Telnet</option></select>
12         <?php
13 }
14
15 function nsos_postFunction()
16 {
17         echo "i am post function, your awesome<br>";
18         echo "<pre>";
19         print_r($_REQUEST);
20         echo "</pre>";
21 }
22
23 function nsos_getConfig($istest)
24 {
25         
26 }
27 ?>