From 7512e2c7555c6e3536e1bcb6b3a328d4e9aced77 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Wed, 17 Dec 2014 18:18:53 +0000 Subject: Added some comments/instructions in the task.py files, answered some questions in DEVELOPMENT-FAQ.txt git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@95 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/openvpn_simple_smb/task.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'kpov_judge/tasks/openvpn_simple_smb') diff --git a/kpov_judge/tasks/openvpn_simple_smb/task.py b/kpov_judge/tasks/openvpn_simple_smb/task.py index 705eb18..0b497ca 100644 --- a/kpov_judge/tasks/openvpn_simple_smb/task.py +++ b/kpov_judge/tasks/openvpn_simple_smb/task.py @@ -188,7 +188,8 @@ def task(IP_SimpleArbiterVPN, DNS_SimpleArbiterVPN, IP_VPNClient1, DNS_VPNClient ###### # sA ###### - + # TODO: (polz) you can remove nmcli and nslookup - these were only used in the task that + # was used as the template for other taps # Make sure NM is not handling eth0 results['SimpleArbiter_nmcli'] = sA.run('nmcli d') @@ -230,6 +231,8 @@ def task(IP_SimpleArbiterVPN, DNS_SimpleArbiterVPN, IP_VPNClient1, DNS_VPNClient # really, really hoping it has root privileges too ### ### Install nmap + # TODO: (polz) Don't install nmap here - tell me that you + # need nmap to be present on simpleArbiter and I'll install it. # Check if root sA.sendline('id -u') sA.prompt() @@ -266,7 +269,7 @@ def task(IP_SimpleArbiterVPN, DNS_SimpleArbiterVPN, IP_VPNClient1, DNS_VPNClient ###### # sC1 ###### - + # TODO: (polz) again, no need for this results['VPNClient1_nmcli'] = sC1.run('nmcli d') results['VPNClient1_nslookup'] = sC1.run('nslookup www.arnes.si') @@ -297,7 +300,8 @@ def task(IP_SimpleArbiterVPN, DNS_SimpleArbiterVPN, IP_VPNClient1, DNS_VPNClient sA.logout() sC1.logout() sC2.logout() - + # TODO: (polz) please, add some sort of check to verify that the user created the neccessarry keys. + # return results -- cgit v1.2.1