Masayoshi Kobayashi | e4a551d | 2013-04-07 04:56:09 +0000 | [diff] [blame] | 1 | #! /usr/bin/env python |
2 | import json | ||||
3 | import os | ||||
4 | from check_status import * | ||||
5 | |||||
6 | cluster_basename=os.environ.get("ONOS_CLUSTER_BASENAME") | ||||
7 | nr_nodes=os.environ.get("ONOS_CLUSTER_NR_NODES") | ||||
8 | |||||
9 | if __name__ == "__main__": | ||||
10 | print "%s" % check_switch()[1] | ||||
11 | print "%s" % check_link()[1] | ||||
12 | print "%s" % check_controllers(8)[1] | ||||
13 | print "%s" % check_switch_all(8)[1] |