Step 1: Move vm scripts to the right place
[integration/test.git] / test / tools / odl-mdsal-clustering-tests / clustering-performance-test / pretty_print.py
1 #!/usr/bin/python
2 __author__ = "Jan Medved"
3 __copyright__ = "Copyright(c) 2014, Cisco Systems, Inc."
4 __license__ = "New-style BSD"
5 __email__ = "jmedved@cisco.com"
6
7 import json
8 import sys
9
10 if __name__ == "__main__":
11
12     data = sys.stdin.readlines()
13     payload = json.loads(data.pop(0))
14     s = json.dumps(payload, sort_keys=True, indent=4, separators=(',', ': '))
15     print '%s\n\n' % s