Pankaj Berde | c4ae4b8 | 2013-01-12 09:56:47 -0800 | [diff] [blame] | 1 | |
| 2 | This is a python script to forward some floodlight web services to Rexster based implementation. |
| 3 | |
| 4 | To start the forwarder do the following |
| 5 | |
| 6 | 1> You need to change the following line in restapi2.py to pointing to your Rexstar REST API: |
| 7 | |
| 8 | RestIP="127.0.0.1" |
| 9 | RestPort=8182 |
| 10 | DBName="titanexample" |
| 11 | |
| 12 | 2> install Flask python library (apt-get install python-flask) |
Paul Greyson | da1773b | 2013-03-18 10:46:52 -0700 | [diff] [blame] | 13 | MacOS: sudo pip install Flask |
Pankaj Berde | c4ae4b8 | 2013-01-12 09:56:47 -0800 | [diff] [blame] | 14 | |
| 15 | 3> Run from commandline |
| 16 | |
| 17 | $ ./restapi2.py |
| 18 | |
| 19 | 4> Access the UI using http://<ip>:9000 |
| 20 | |