print "FAILED!"
    sys.exit(1)

print "******    Step 04: show each resource cluster's workload    ******"
for c in l:
    print "Cluster {}:".format(c)
    cc = bm.get_cluster_workload(c)
    if cc:
        print json.dumps(cc, sort_keys=True, indent=4)
    else:
        success = False
if success:
    print "SUCCEED!"
else:
    print "FAILED!"
    sys.exit(1)

print "******    Step 05: show bandwidth to destination clusters    ******"
for c in l:
    print "Cluster {}:".format(c)
    bw = bm.get_cluster_bandwidths(c)
    for tgt in bw :
        print "  %20s: 5.2f MB/s in  /  5.2f MB/s out" % (tgt, bw[tgt]['in'], bw[tgt]['out'])

if success:
    print "SUCCEED!"
else:
    print "FAILED!"
    sys.exit(1)