summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormf0586@student.uni-lj.si <mf0586@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-22 19:03:55 +0000
committermf0586@student.uni-lj.si <mf0586@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-22 19:03:55 +0000
commit3b4fc98b9a063f172286e9b4da94c28a1a578081 (patch)
treec3ab3bb7d50748fd48ee5e18c9e1ffd82062fd2d
parentbe58248c925298e2254aa25b88bf0682bba8358e (diff)
ponovno shranjen howto
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@126 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
-rw-r--r--kpov_judge/tasks/openvpn_simple_smb/howtos/si/index.html54
1 files changed, 52 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openvpn_simple_smb/howtos/si/index.html b/kpov_judge/tasks/openvpn_simple_smb/howtos/si/index.html
index 6d467b7..597ce63 100644
--- a/kpov_judge/tasks/openvpn_simple_smb/howtos/si/index.html
+++ b/kpov_judge/tasks/openvpn_simple_smb/howtos/si/index.html
@@ -56,6 +56,56 @@
6. Če je šlo vse po sreči, program vrne OK vi pa ste opravili nalogo.</p>
</font>
+
+<hr>
+<p>
+howto: task_check(results, params):
+ Metoda dobi, kot prvi argument rezultat metode task(...), kot drugi pa
+ rezultat funkcije gen_params().
+
+ Vrne stevilo pridobljenih tock.
+
+
+howto: task(...):
+ Metoda prejme naslednje argumente:
+ - IP naslov VPN streznika
+ - DNS naslov VPN streznika
+ - IP naslov klienta 1
+ - DNS naslov klienta 1
+ - IP naslov klienta 2
+ - DNS naslov klienta 2
+
+ Vrne slovar rezultatov:
+
+ results['SimpleArbiter_is_VPN_set_up']
+ pove ali je VPN streznik nastavljen
+
+ results['SimpleArbiter_is_VPN_running']
+ pove ali je VPN streznik zagnan
+
+ results['SimpleArbiter_ping_C1']
+ ping rezultati (streznik -> klient1)
+
+ results['SimpleArbiter_ping_C2']
+ ping rezultati (streznik -> klient2)
+
+ results['SimpleArbiter_nmap_results']
+ pove ali sta oba klienta povezana na pravi VPN streznik
+
+ results['SimpleArbiter_dir_vpn_contents']
+ kljuc, ce se ta nahaja v ustreznem imeniku
+
+ results['SimpleArbiter_nfs_access_control_list']
+ preveri ce NFS dovoljuje dostop do /home/test/IME_UPORABNIKA
+
+ results['VPNClient1_ping_VPN_server']
+ ping rezultati (klient 1 -> strežnik)
+
+ results['VPNClient2_ping_VPN_server']
+ ping rezultati (klient 2 -> strežnik)
+
+</p>
+
</body>
-
-</html> \ No newline at end of file
+
+</html>