#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/
(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)