Commit f075bae5 authored by Roland Haas's avatar Roland Haas
Browse files

showcase_helper: show how to activate endpoints

parent bd9322a7
......@@ -6,6 +6,12 @@ import globustransferhelper as globushl
# create the helper, this logs you in
helper = globushl.GlobusTransferHelper()
# activate endpoints
success = helper.endpoint_autoactivate(globushl.EP_BLUEWATERS)
print("Activated BlueWaters: {0}".format(success))
success = helper.endpoint_autoactivate(globushl.EP_NEARLINE, interactive = False)
print("Activated Nearline: {0}".format(success))
# show the content of your $HOME on BlueWaters
print("Your $HOME contains (down to 2 levels):")
files = helper.ls(globushl.EP_BLUEWATERS, "~", depth=2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment