Changeset 16
- Timestamp:
- 07/06/07 15:55:22 (1 year ago)
- Files:
-
- asyncluster/trunk/asyncluster/master/test/__init__.py (added)
- asyncluster/trunk/asyncluster/ndm/client.py (modified) (2 diffs)
- asyncluster/trunk/asyncluster/ndm/gui.py (modified) (2 diffs)
- asyncluster/trunk/asyncluster/ndm/main.py (modified) (1 diff)
- asyncluster/trunk/asyncluster/ndm/test/__init__.py (added)
- asyncluster/trunk/asyncluster/test/__init__.py (modified) (2 diffs)
- asyncluster/trunk/asyncluster/__init__.py (modified) (1 diff)
- asyncluster/trunk/gevolver/pbge/grammar.py (modified) (1 diff)
- asyncluster/trunk/MANIFEST.in (added)
- asyncluster/trunk/ndm (modified) (1 diff)
- asyncluster/trunk/setup.py (modified) (1 diff)
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) 2 2 # 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. 8 10 # 9 11 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com … … 29 31 from twisted.cred import credentials 30 32 from twisted.spread import pb 31 32 import session33 33 34 34 asyncluster/trunk/asyncluster/ndm/gui.py
r2 r16 1 # AsynCluster: Node Display Manager (NDM) :1 # AsynCluster: Node Display Manager (NDM) 2 2 # 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. 8 10 # 9 11 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com … … 33 35 # Other dependency imports 34 36 from twisted.internet import defer, reactor, protocol 35 from twisted_goodies.asyncluster import util37 from asyncluster import util 36 38 37 39 asyncluster/trunk/asyncluster/ndm/main.py
r2 r16 1 # AsynCluster: Node Display Manager (NDM) :1 # AsynCluster: Node Display Manager (NDM) 2 2 # 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. 8 10 # 9 11 # 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. 5 6 # 6 7 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com … … 20 21 21 22 """ 22 Unit tests for twisted_goodies23 Unit tests for asyncluster 23 24 """ 24 25 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 198 198 savedState = s 199 199 s = {} 200 while True 200 while True: 201 201 nextTerminal = self.next() 202 202 if nextTerminal == self.closer: asyncluster/trunk/ndm
r15 r16 40 40 # Starts the Python interpreter as Xinit's sole X client 41 41 exec python -c \ 42 "from twisted_goodies.asyncluster.ndm import main; main.runGUI()" \42 "from asyncluster.ndm import main; main.runGUI()" \ 43 43 2>/dev/null 44 44 asyncluster/trunk/setup.py
r15 r16 1 1 #!/usr/bin/env python 2 2 # 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. 5 8 # 6 9 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com
