From: Thierry Parmentelat Date: Wed, 20 Jan 2010 18:57:08 +0000 (+0000) Subject: svn:keywords X-Git-Tag: NodeManager-2.0-1~11 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=3224c1906c82596a86ae734181488ed14a0f0976 svn:keywords --- diff --git a/accounts.py b/accounts.py index df33977..039160d 100644 --- a/accounts.py +++ b/accounts.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """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 --- 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 diff --git a/api_calls.py b/api_calls.py index 8e717ab..84e29ca 100644 --- a/api_calls.py +++ b/api_calls.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """Sliver manager API. This module exposes an XMLRPC interface that allows PlanetLab users to diff --git a/bootauth.py b/bootauth.py index bf845d6..db3be47 100755 --- a/bootauth.py +++ b/bootauth.py @@ -1,5 +1,8 @@ #!/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. # diff --git a/bwmon.py b/bwmon.py index 91a79f3..4a3d4e8 100644 --- a/bwmon.py +++ b/bwmon.py @@ -1,5 +1,8 @@ #!/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, diff --git a/conf_files.py b/conf_files.py index 7e86e75..8c47f95 100644 --- a/conf_files.py +++ b/conf_files.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """configuration files""" import grp diff --git a/config.py b/config.py index 5b890de..f9c5920 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,8 @@ #!/usr/bin/python # +# $Id$ +# $URL$ +# # Parses the PLC configuration file /etc/planetlab/plc_config, which # is bootstrapped by Boot Manager, but managed by us. # diff --git a/controller.py b/controller.py index 1fc4847..b754e6a 100644 --- a/controller.py +++ b/controller.py @@ -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 diff --git a/curlwrapper.py b/curlwrapper.py index 4aa634d..3bfe491 100644 --- a/curlwrapper.py +++ b/curlwrapper.py @@ -1,4 +1,5 @@ # $Id$ +# $URL$ from subprocess import PIPE, Popen from select import select diff --git a/database.py b/database.py index 7e75d55..ead97ea 100644 --- a/database.py +++ b/database.py @@ -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. diff --git a/forward_api_calls.c b/forward_api_calls.c index fe918a8..330bd3e 100644 --- a/forward_api_calls.c +++ b/forward_api_calls.c @@ -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. * diff --git a/iptables.py b/iptables.py index 1e06322..4380d78 100644 --- a/iptables.py +++ b/iptables.py @@ -1,5 +1,8 @@ #!/usr/bin/python -tt - +# +# $Id$ +# $URL$ +# # Author: Daniel Hokka Zakrisson # $Id$ diff --git a/logger.py b/logger.py index 17ae04c..1089b1f 100644 --- 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 diff --git a/net.py b/net.py index be4e16e..f451f69 100644 --- a/net.py +++ b/net.py @@ -1,6 +1,5 @@ -# # $Id$ -# +# $URL$ """network configuration""" diff --git a/nm.py b/nm.py index b12f0b6..0776826 100755 --- a/nm.py +++ b/nm.py @@ -1,5 +1,7 @@ #!/usr/bin/python - +# +# $Id$ +# $URL$ # # Useful information can be found at https://svn.planet-lab.org/wiki/NodeManager # diff --git a/plcapi.py b/plcapi.py index be77171..0da084e 100644 --- a/plcapi.py +++ b/plcapi.py @@ -1,4 +1,5 @@ # $Id$ +# $URL$ import safexmlrpc import hmac, sha diff --git a/plugins/rawdisk.py b/plugins/rawdisk.py index c222366..ad84761 100644 --- a/plugins/rawdisk.py +++ b/plugins/rawdisk.py @@ -1,5 +1,9 @@ #!/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 diff --git a/plugins/sliverauth.py b/plugins/sliverauth.py index 9cf9076..ad813b8 100644 --- a/plugins/sliverauth.py +++ b/plugins/sliverauth.py @@ -1,5 +1,9 @@ #!/usr/bin/python -tt # vim:set ts=4 sw=4 expandtab: +# +# $Id$ +# $URL$ +# # NodeManager plugin to empower slivers to make API calls """ diff --git a/plugins/specialaccounts.py b/plugins/specialaccounts.py index 545910f..9396062 100644 --- a/plugins/specialaccounts.py +++ b/plugins/specialaccounts.py @@ -1,5 +1,9 @@ #!/usr/bin/python -tt # vim:set ts=4 sw=4 expandtab: +# +# $Id$ +# $URL$ +# # NodeManager plugin to create special accounts """ diff --git a/plugins/vsys_privs.py b/plugins/vsys_privs.py index 7012a59..f30012d 100755 --- a/plugins/vsys_privs.py +++ b/plugins/vsys_privs.py @@ -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 diff --git a/safexmlrpc.py b/safexmlrpc.py index c74af8e..4f8b639 100644 --- a/safexmlrpc.py +++ b/safexmlrpc.py @@ -1,4 +1,5 @@ # $Id$ +# $URL$ """Leverage curl to make XMLRPC requests that check the server's credentials.""" diff --git a/setup.py b/setup.py index 4e06e3e..fd1cc28 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,8 @@ #!/usr/bin/python # +# $Id$ +# $URL$ +# # Setup script for the Node Manager application # # Mark Huang diff --git a/sliver_vs.py b/sliver_vs.py index f8ebd4a..b8b5ced 100644 --- a/sliver_vs.py +++ b/sliver_vs.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """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 --- a/sm.py +++ b/sm.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """Sliver manager. The sliver manager has several functions. It is responsible for diff --git a/ticket.py b/ticket.py index c45e865..0292cfb 100644 --- a/ticket.py +++ b/ticket.py @@ -1,3 +1,6 @@ +# $Id$ +# $URL$ + """An extremely simple interface to the signing/verifying capabilities of gnupg. diff --git a/tools.py b/tools.py index 122b321..94ba2d1 100644 --- 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