2 $HOST_TYPE["screenos"]["name"] = "Netscreen Screen OS";
3 $HOST_TYPE["screenos"]["updateconfig"] = "nsos_updateConfig";
4 $HOST_TYPE["screenos"]["getconfig"] = "nsos_getConfigFromDB";
5 $HOST_TYPE["screenos"]["needsenable"] = false;
8 function nsos_getConfigFromDB($hip, $cid)
10 $data = db_selectData("configs", "configs_id", "$cid");
12 return base64_decode($data[0]["configdata"]);
15 function nsos_updateConfig($hip, $hostconfig)
19 function nsos_getConfig($host, $username, $password, $enable)
21 return genericssh_ssh($host, $username, $password, "cli show configuration");