Show
Ignore:
Timestamp:
11/09/11 22:05:31 (2 years ago)
Author:
edent
Message:

paramiko

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/jsnyder/trunk/tools/cornetApps/HtmlPages/views.py

    r10946 r10948  
    1010from HtmlPages.models import * 
    1111from HtmlPages.forms import * 
     12from paramiko.client import SSHClient 
    1213 
    1314def main_page(request): 
     
    9899        client = SSHClient() 
    99100        client.connect(ip) 
    100         message = client.exec_command('ls -l') 
     101        message = client.exec_command('cd /sdr; nodeBooter -D -d dev/nodes/default_GPP_node/DeviceManager.dcd.xml') 
    101102        return render_to_response('HtmlPages/console.html', locals(), context_instance=RequestContext(request)) 
    102103