svn:keywords
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 20 Jan 2010 18:57:08 +0000 (18:57 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 20 Jan 2010 18:57:08 +0000 (18:57 +0000)
26 files changed:
accounts.py
api.py
api_calls.py
bootauth.py
bwmon.py
conf_files.py
config.py
controller.py
curlwrapper.py
database.py
forward_api_calls.c
iptables.py
logger.py
net.py
nm.py
plcapi.py
plugins/rawdisk.py
plugins/sliverauth.py
plugins/specialaccounts.py
plugins/vsys_privs.py
safexmlrpc.py
setup.py
sliver_vs.py
sm.py
ticket.py
tools.py

index df33977..039160d 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """Functionality common to all account classes.
 
 Each subclass of Account must provide five methods: create() and
 """Functionality common to all account classes.
 
 Each subclass of Account must provide five methods: create() and
diff --git a/api.py b/api.py
index c0e360f..221e606 100644 (file)
--- a/api.py
+++ b/api.py
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """Sliver manager API.
 
 This module exposes an XMLRPC interface that allows PlanetLab users to
 """Sliver manager API.
 
 This module exposes an XMLRPC interface that allows PlanetLab users to
index 8e717ab..84e29ca 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """Sliver manager API.
 
 This module exposes an XMLRPC interface that allows PlanetLab users to
 """Sliver manager API.
 
 This module exposes an XMLRPC interface that allows PlanetLab users to
index bf845d6..db3be47 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 #
 #!/usr/bin/python
 #
+# $Id$
+# $URL$
+#
 # Test script for obtaining a node session key. Usually, the Boot
 # Manager obtains it, then writes it to /etc/planetlab/session. 
 #
 # Test script for obtaining a node session key. Usually, the Boot
 # Manager obtains it, then writes it to /etc/planetlab/session. 
 #
index 91a79f3..4a3d4e8 100644 (file)
--- a/bwmon.py
+++ b/bwmon.py
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 #
 #!/usr/bin/python
 #
+# $Id$
+# $URL$
+#
 # Average bandwidth monitoring script. Run periodically via NM db.sync to
 # enforce a soft limit on daily bandwidth usage for each slice. If a
 # slice is found to have transmitted 80% of its daily byte limit usage,
 # Average bandwidth monitoring script. Run periodically via NM db.sync to
 # enforce a soft limit on daily bandwidth usage for each slice. If a
 # slice is found to have transmitted 80% of its daily byte limit usage,
index 7e86e75..8c47f95 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """configuration files"""
 
 import grp
 """configuration files"""
 
 import grp
index 5b890de..f9c5920 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 #
 #!/usr/bin/python
 #
+# $Id$
+# $URL$
+#
 # Parses the PLC configuration file /etc/planetlab/plc_config, which
 # is bootstrapped by Boot Manager, but managed by us.
 #
 # Parses the PLC configuration file /etc/planetlab/plc_config, which
 # is bootstrapped by Boot Manager, but managed by us.
 #
index 1fc4847..b754e6a 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """Delegate accounts are used to provide secure access to the XMLRPC API.  They are normal Unix accounts with a shell that tunnels XMLRPC requests to the API server."""
 
 import accounts
 """Delegate accounts are used to provide secure access to the XMLRPC API.  They are normal Unix accounts with a shell that tunnels XMLRPC requests to the API server."""
 
 import accounts
index 4aa634d..3bfe491 100644 (file)
@@ -1,4 +1,5 @@
 # $Id$
 # $Id$
+# $URL$
 
 from subprocess import PIPE, Popen
 from select import select
 
 from subprocess import PIPE, Popen
 from select import select
index 7e75d55..ead97ea 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """The database houses information on slivers.  This information
 reaches the sliver manager in two different ways: one, through the
 GetSlivers() call made periodically; two, by users delivering tickets.
 """The database houses information on slivers.  This information
 reaches the sliver manager in two different ways: one, through the
 GetSlivers() call made periodically; two, by users delivering tickets.
index fe918a8..330bd3e 100644 (file)
@@ -1,4 +1,8 @@
-/* forward_api_calls.c: forward XMLRPC calls to the Node Manager
+/* 
+ * $Id$
+ * $URL$
+ *
+ * forward_api_calls.c: forward XMLRPC calls to the Node Manager
  * Used as a shell, this code works in tandem with sshd
  * to allow authenticated remote access to a localhost-only service.
  *
  * Used as a shell, this code works in tandem with sshd
  * to allow authenticated remote access to a localhost-only service.
  *
index 1e06322..4380d78 100644 (file)
@@ -1,5 +1,8 @@
 #!/usr/bin/python -tt
 #!/usr/bin/python -tt
-
+#
+# $Id$
+# $URL$
+#
 # Author: Daniel Hokka Zakrisson <daniel@hozac.com>
 # $Id$
 
 # Author: Daniel Hokka Zakrisson <daniel@hozac.com>
 # $Id$
 
index 17ae04c..1089b1f 100644 (file)
--- a/logger.py
+++ b/logger.py
@@ -1,6 +1,6 @@
-#
-# Something relevant
-#
+# $Id$
+# $URL$
+
 """A very simple logger that tries to be concurrency-safe."""
 
 import os, sys
 """A very simple logger that tries to be concurrency-safe."""
 
 import os, sys
diff --git a/net.py b/net.py
index be4e16e..f451f69 100644 (file)
--- a/net.py
+++ b/net.py
@@ -1,6 +1,5 @@
-#
 # $Id$
 # $Id$
-#
+# $URL$
 
 """network configuration"""
 
 
 """network configuration"""
 
diff --git a/nm.py b/nm.py
index b12f0b6..0776826 100755 (executable)
--- a/nm.py
+++ b/nm.py
@@ -1,5 +1,7 @@
 #!/usr/bin/python
 #!/usr/bin/python
-
+#
+# $Id$
+# $URL$
 #
 # Useful information can be found at https://svn.planet-lab.org/wiki/NodeManager
 #
 #
 # Useful information can be found at https://svn.planet-lab.org/wiki/NodeManager
 #
index be77171..0da084e 100644 (file)
--- a/plcapi.py
+++ b/plcapi.py
@@ -1,4 +1,5 @@
 # $Id$
 # $Id$
+# $URL$
 
 import safexmlrpc
 import hmac, sha
 
 import safexmlrpc
 import hmac, sha
index c222366..ad84761 100644 (file)
@@ -1,5 +1,9 @@
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
+#
+# $Id$
+# $URL$
+#
 # NodeManager plugin to support mapping unused raw disks into a slice
 # that has the rawdisk sliver tag
 
 # NodeManager plugin to support mapping unused raw disks into a slice
 # that has the rawdisk sliver tag
 
index 9cf9076..ad813b8 100644 (file)
@@ -1,5 +1,9 @@
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
+#
+# $Id$
+# $URL$
+#
 # NodeManager plugin to empower slivers to make API calls
 
 """
 # NodeManager plugin to empower slivers to make API calls
 
 """
index 545910f..9396062 100644 (file)
@@ -1,5 +1,9 @@
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
 #!/usr/bin/python -tt
 # vim:set ts=4 sw=4 expandtab:
+#
+# $Id$
+# $URL$
+#
 # NodeManager plugin to create special accounts
 
 """
 # NodeManager plugin to create special accounts
 
 """
index 7012a59..f30012d 100755 (executable)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """
 vsys sub-configurator.  Maintains configuration parameters associated with vsys scripts.
 All slice attributes with the prefix vsys_ are written into configuration files on the
 """
 vsys sub-configurator.  Maintains configuration parameters associated with vsys scripts.
 All slice attributes with the prefix vsys_ are written into configuration files on the
index c74af8e..4f8b639 100644 (file)
@@ -1,4 +1,5 @@
 # $Id$
 # $Id$
+# $URL$
 
 """Leverage curl to make XMLRPC requests that check the server's credentials."""
 
 
 """Leverage curl to make XMLRPC requests that check the server's credentials."""
 
index 4e06e3e..fd1cc28 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 #
 #!/usr/bin/python
 #
+# $Id$
+# $URL$
+#
 # Setup script for the Node Manager application
 #
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Setup script for the Node Manager application
 #
 # Mark Huang <mlhuang@cs.princeton.edu>
index f8ebd4a..b8b5ced 100644 (file)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """VServer slivers.
 
 There are a couple of tricky things going on here.  First, the kernel
 """VServer slivers.
 
 There are a couple of tricky things going on here.  First, the kernel
diff --git a/sm.py b/sm.py
index ca21d48..627a649 100644 (file)
--- a/sm.py
+++ b/sm.py
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """Sliver manager.
 
 The sliver manager has several functions.  It is responsible for
 """Sliver manager.
 
 The sliver manager has several functions.  It is responsible for
index c45e865..0292cfb 100644 (file)
--- a/ticket.py
+++ b/ticket.py
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """An extremely simple interface to the signing/verifying capabilities
 of gnupg.
 
 """An extremely simple interface to the signing/verifying capabilities
 of gnupg.
 
index 122b321..94ba2d1 100644 (file)
--- a/tools.py
+++ b/tools.py
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """A few things that didn't seem to fit anywhere else."""
 
 import cPickle
 """A few things that didn't seem to fit anywhere else."""
 
 import cPickle