Verbose messaging. We should import a logger here...
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 10 Apr 2009 17:00:33 +0000 (17:00 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 10 Apr 2009 17:00:33 +0000 (17:00 +0000)
cmdline/configSfi.sh
cmdline/sfi.py

index 9f7a8f1..714a2f8 100644 (file)
@@ -4,10 +4,10 @@
 #export TEST_USER_2=$SFI_AUTH.Hartman_John
 
 export SFI_AUTH=plc.princeton
-export SFI_USER=$SFI_AUTH.tmack
+export SFI_USER=$SFI_AUTH.faiyaza
 
 #export SFI_REGISTRY=http://128.112.139.120:12345/
 #export SFI_SM=http://128.112.139.120:12346/
 
-export SFI_REGISTRY=http://128.112.139.90:12345/
-export SFI_SM=http://128.112.139.90:12346/
+export SFI_REGISTRY=http://www.planet-lab.org:12345/
+export SFI_SM=http://www.vini-veritas.org:12346/
index e106eb5..d3aa6be 100755 (executable)
@@ -304,14 +304,17 @@ def main():
    (cmd_opts, cmd_args) = create_cmd_parser(command).parse_args(args[1:])
    verbose = options.verbose
    if verbose :
-      print options.registry, options.sm, options.dir, options.verbose,\
-         options.user, options.auth
-      print command
+      print "Resgistry %s, sm %s, dir %s, user %s, auth %s" % (options.registry, 
+                                            options.sm, 
+                                            options.dir,
+                                            options.user, 
+                                            options.auth)
+      print "Command %s" %command
       if command in ("resources"):
-         print cmd_opts.format
+         print "resources cmd_opts %s" %cmd_opts.format
       elif command in ("list","show","remove"):
-         print cmd_opts.type
-      print cmd_args
+         print "cmd_opts.type %s" %cmd_opts.type
+      print "cmd_args %s" %cmd_args
 
    set_servers(options)