Changeset 16

Show
Ignore:
Timestamp:
07/06/07 15:55:22 (1 year ago)
Author:
edsuom
Message:

Got NDM working again, as part of independent AsynCluster? projectsvn

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • asyncluster/trunk/asyncluster/ndm/client.py

    r2 r16  
    1 # AsynCluster: Node Display Manager (NDM): 
     1# AsynCluster: Node Display Manager (NDM) 
    22# A simple X display manager for cluster nodes that also serve as 
    3 # access-restricted workstations. An NDM client runs on each node and 
    4 # communicates via Twisted's Perspective Broker to the Aysncluster server, 
    5 # which regulates when and how much each user can use his account on any of the 
    6 # workstations. The NDM server also dispatches cluster operations to the nodes 
    7 # via the NDM clients, unbeknownst to the workstation users. 
     3# access-restricted workstations. 
     4
     5# An NDM client runs on each node and communicates via Twisted's Perspective 
     6# Broker to the Aysncluster server, which regulates when and how much each user 
     7# can use his account on any of the workstations. The NDM server also 
     8# dispatches cluster operations to the nodes via the NDM clients, unbeknownst 
     9# to the workstation users. 
    810# 
    911# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2931from twisted.cred import credentials 
    3032from twisted.spread import pb 
    31  
    32 import session 
    3333 
    3434 
  • asyncluster/trunk/asyncluster/ndm/gui.py

    r2 r16  
    1 # AsynCluster: Node Display Manager (NDM): 
     1# AsynCluster: Node Display Manager (NDM) 
    22# A simple X display manager for cluster nodes that also serve as 
    3 # access-restricted workstations. An NDM client runs on each node and 
    4 # communicates via Twisted's Perspective Broker to the Aysncluster server, 
    5 # which regulates when and how much each user can use his account on any of the 
    6 # workstations. The NDM server also dispatches cluster operations to the nodes 
    7 # via the NDM clients, unbeknownst to the workstation users. 
     3# access-restricted workstations. 
     4
     5# An NDM client runs on each node and communicates via Twisted's Perspective 
     6# Broker to the Aysncluster server, which regulates when and how much each user 
     7# can use his account on any of the workstations. The NDM server also 
     8# dispatches cluster operations to the nodes via the NDM clients, unbeknownst 
     9# to the workstation users. 
    810# 
    911# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    3335# Other dependency imports 
    3436from twisted.internet import defer, reactor, protocol 
    35 from twisted_goodies.asyncluster import util 
     37from asyncluster import util 
    3638 
    3739 
  • asyncluster/trunk/asyncluster/ndm/main.py

    r2 r16  
    1 # AsynCluster: Node Display Manager (NDM): 
     1# AsynCluster: Node Display Manager (NDM) 
    22# A simple X display manager for cluster nodes that also serve as 
    3 # access-restricted workstations. An NDM client runs on each node and 
    4 # communicates via Twisted's Perspective Broker to the Aysncluster server, 
    5 # which regulates when and how much each user can use his account on any of the 
    6 # workstations. The NDM server also dispatches cluster operations to the nodes 
    7 # via the NDM clients, unbeknownst to the workstation users. 
     3# access-restricted workstations. 
     4
     5# An NDM client runs on each node and communicates via Twisted's Perspective 
     6# Broker to the Aysncluster server, which regulates when and how much each user 
     7# can use his account on any of the workstations. The NDM server also 
     8# dispatches cluster operations to the nodes via the NDM clients, unbeknownst 
     9# to the workstation users. 
    810# 
    911# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • asyncluster/trunk/asyncluster/test/__init__.py

    r15 r16  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynCluster 
     2# A cluster management server based on Twisted's Perspective Broker and a Node 
     3# Display Manager (NDM) client. The server dispatches cluster jobs and 
     4# regulates when and how much each user can use his account on any of the 
     5# cluster node workstations. 
    56# 
    67# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2021 
    2122""" 
    22 Unit tests for twisted_goodies 
     23Unit tests for asyncluster 
    2324""" 
    2425 
  • asyncluster/trunk/asyncluster/__init__.py

    r2 r16  
     1# AsynCluster 
     2# A cluster management server based on Twisted's Perspective Broker and a Node 
     3# Display Manager (NDM) client. The server dispatches cluster jobs and 
     4# regulates when and how much each user can use his account on any of the 
     5# cluster node workstations. 
  • asyncluster/trunk/gevolver/pbge/grammar.py

    r10 r16  
    198198        savedState = s 
    199199        s = {} 
    200         while True 
     200        while True: 
    201201            nextTerminal = self.next() 
    202202            if nextTerminal == self.closer: 
  • asyncluster/trunk/ndm

    r15 r16  
    4040    # Starts the Python interpreter as Xinit's sole X client 
    4141    exec python -c \ 
    42         "from twisted_goodies.asyncluster.ndm import main; main.runGUI()" \ 
     42        "from asyncluster.ndm import main; main.runGUI()" \ 
    4343        2>/dev/null 
    4444 
  • asyncluster/trunk/setup.py

    r15 r16  
    11#!/usr/bin/env python 
    22# 
    3 # AsynCluster: 
    4 # ... 
     3# AsynCluster 
     4# A cluster management server based on Twisted's Perspective Broker and a Node 
     5# Display Manager (NDM) client. The server dispatches cluster jobs and 
     6# regulates when and how much each user can use his account on any of the 
     7# cluster node workstations. 
    58# 
    69# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com