srikanth | 116e6e8 | 2014-08-19 07:22:37 -0700 | [diff] [blame] | 1 | from showswitch import show_switch_data |
2 | import json, urllib2 | ||||
3 | |||||
4 | def main(): | ||||
5 | request = None | ||||
6 | print show_switch_data(None) | ||||
7 | |||||
8 | #url = 'http://localhost:8000/rest/v1/model/switch-alias/' | ||||
9 | #print json.load(urllib2.urlopen(url)) | ||||
10 | |||||
11 | if __name__ == "__main__": | ||||
12 | main() |