- credential = bootstrap.slice_credential_string (slice_hrn)
- credentials = [ credential ]
- options = { }
- options [ 'geni_rspec_version' ] = version_dict
- options [ 'geni_slice_urn' ] = slice_urn
-# options [ 'call_id' ] = unique_call_id()
- list_resources = bootstrap.server_proxy (aggregate_url).ListResources(credentials,options)
- print "miniclient: ListResources at %s for slice %s returned : %s"%(aggregate_url,slice_urn,truncate(list_resources))
-
-
-
-
-def main ():
+ credential = bootstrap.slice_credential_string(slice_hrn)
+ credentials = [credential]
+ options = {}
+ options['geni_rspec_version'] = version_dict
+ options['geni_slice_urn'] = slice_urn
+ options['call_id'] = unique_call_id()
+ list_resources = bootstrap.server_proxy(
+ aggregate_url).ListResources(credentials, options)
+ print("miniclient: ListResources at %s for slice %s returned : %s" %
+ (aggregate_url, slice_urn, truncate(list_resources)))
+
+
+def main():