git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0117ea
)
more documentation
author
Scott Baker
<bakers@cs.arizona.edu>
Sat, 27 Sep 2008 06:42:03 +0000
(06:42 +0000)
committer
Scott Baker
<bakers@cs.arizona.edu>
Sat, 27 Sep 2008 06:42:03 +0000
(06:42 +0000)
util/record.py
patch
|
blob
|
history
diff --git
a/util/record.py
b/util/record.py
index
049df25
..
dfa8d1b
100644
(file)
--- a/
util/record.py
+++ b/
util/record.py
@@
-1,13
+1,14
@@
-# record.py
-#
-# implements support for geni records
+##
+# Implements support for geni records
#
# TODO: Use existing PLC database methods? or keep this separate?
#
# TODO: Use existing PLC database methods? or keep this separate?
+##
import report
from gid import *
import report
from gid import *
-# Record is a tuple (Name, GID, Type, Info)
+##
+# GeniRecord is a tuple (Name, GID, Type, Info)
# info is comprised of the following sub-fields
# pointer = a pointer to the record in the PL database
# pl_info = planetlab-specific info (when talking to client)
# info is comprised of the following sub-fields
# pointer = a pointer to the record in the PL database
# pl_info = planetlab-specific info (when talking to client)