Back to index

nordugrid-arc-nox  1.1.0~rc6
Variables
bartender_client Namespace Reference

Variables

list args = sys.argv[1:]
 print_xml = True
list bartender_url = os.environ['ARC_BARTENDER_URL']
dictionary ssl_config = {}
tuple key_file = os.environ.get('ARC_KEY_FILE', None)
tuple cert_file = os.environ.get('ARC_CERT_FILE', None)
tuple proxy_file = os.environ.get('ARC_PROXY_FILE', None)
tuple ca_file = os.environ.get('ARC_CA_FILE', None)
tuple ca_dir = os.environ.get('ARC_CA_DIR', None)
tuple bartender = BartenderClient(bartender_url, print_xml, ssl_config = ssl_config)
tuple command = args.pop(0)
tuple request = dict([(i, args[i]) for i in range(len(args))])
 Created by Salman Toor ###.
tuple stat = bartender.stat(request)
dictionary c = {}
tuple response = bartender.delFile(request)
list LN = args[1]
list filename = args[0]
tuple f = file(filename, 'wb')
dictionary requests = {'0' : args[1]}
list protocols = ['byteio', 'http']
tuple size = os.path.getsize(filename)
tuple checksum = create_checksum(f, 'md5')
dictionary metadata
tuple sourceLN = args.pop(0)
tuple targetLN = args.pop(0)
 preserveOriginal = False

Variable Documentation

list bartender_client.args = sys.argv[1:]

Definition at line 6 of file bartender_client.py.

Definition at line 40 of file bartender_client.py.

string bartender_client.bartender_url = os.environ['ARC_BARTENDER_URL']

Definition at line 13 of file bartender_client.py.

dictionary bartender_client.c = {}

Definition at line 55 of file bartender_client.py.

tuple bartender_client.ca_dir = os.environ.get('ARC_CA_DIR', None)

Definition at line 24 of file bartender_client.py.

tuple bartender_client.ca_file = os.environ.get('ARC_CA_FILE', None)

Definition at line 23 of file bartender_client.py.

tuple bartender_client.cert_file = os.environ.get('ARC_CERT_FILE', None)

Definition at line 21 of file bartender_client.py.

tuple bartender_client.checksum = create_checksum(f, 'md5')

Definition at line 110 of file bartender_client.py.

tuple bartender_client.command = args.pop(0)

Definition at line 44 of file bartender_client.py.

tuple bartender_client.f = file(filename, 'wb')

Definition at line 78 of file bartender_client.py.

Definition at line 77 of file bartender_client.py.

tuple bartender_client.key_file = os.environ.get('ARC_KEY_FILE', None)

Definition at line 20 of file bartender_client.py.

Definition at line 76 of file bartender_client.py.

Initial value:
00001 {('states', 'size') : size, ('states', 'checksum') : checksum,
00002                     ('states', 'checksumType') : 'md5', ('states', 'neededReplicas') : 2}

Definition at line 114 of file bartender_client.py.

Definition at line 191 of file bartender_client.py.

Definition at line 9 of file bartender_client.py.

list bartender_client.protocols = ['byteio', 'http']

Definition at line 94 of file bartender_client.py.

tuple bartender_client.proxy_file = os.environ.get('ARC_PROXY_FILE', None)

Definition at line 22 of file bartender_client.py.

dictionary bartender_client.request = dict([(i, args[i]) for i in range(len(args))])

Created by Salman Toor ###.

Definition at line 49 of file bartender_client.py.

dictionary bartender_client.requests = {'0' : args[1]}

Definition at line 93 of file bartender_client.py.

tuple bartender_client.response = bartender.delFile(request)

Definition at line 70 of file bartender_client.py.

tuple bartender_client.size = os.path.getsize(filename)

Definition at line 108 of file bartender_client.py.

tuple bartender_client.sourceLN = args.pop(0)

Definition at line 189 of file bartender_client.py.

dictionary bartender_client.ssl_config = {}

Definition at line 18 of file bartender_client.py.

tuple bartender_client.stat = bartender.stat(request)

Definition at line 51 of file bartender_client.py.

tuple bartender_client.targetLN = args.pop(0)

Definition at line 190 of file bartender_client.py.