#!/usr/bin/python
#
-# $Id$
-# $URL$
-#
-# Test script for obtaining a node session key. Usually, the Boot
+# Obtaining a node session key. Usually, the Boot
# Manager obtains it, then writes it to /etc/planetlab/session.
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
-#
import os, sys
import getopt
#!/usr/bin/python
#
-# $Id$
-# $URL$
-#
# Parses the PLC configuration file /etc/planetlab/plc_config, which
# is bootstrapped by Boot Manager, but managed by us.
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
-#
import os
# it turned out, however, that after around 10 cycles of the nodemanager,
# attempts to call GetSlivers were failing with a curl error 60
# we are thus reverting to the version from tag curlwrapper.py-NodeManager-2.0-8
-# the (broekn) pycurl version can be found in tags 2.0-9 and 2.0-10
+# the (broken) pycurl version can be found in tags 2.0-9 and 2.0-10
from subprocess import PIPE, Popen
from select import select
-# $Id$
-# $URL$
-
import safexmlrpc
import hmac
try:
-# $Id$
-# $URL$
-
"""Leverage curl to make XMLRPC requests that check the server's credentials."""
import xmlrpclib