| 159 | === 4f. Topology Details === |
| 160 | |
| 161 | Before we insert flows into the Open vSwitch, we are going to need all the details regarding the topology such as the DPID of the Open vSwitch, MAC addresses of the hosts, the port numbers on which the Hosts are connected to the Open vSwitch etc. These details can be found out by issuing the command: |
| 162 | |
| 163 | {{{ |
| 164 | curl http://localhost:8080/wm/device/ | python -m json.tool |
| 165 | }}} |
| 166 | |
| 167 | In the output, we obtain a list of the devices that Floodlight Controller has learned about. Make sure you ''ping'' Host 2 & Host 3 from Host 1 before you issue this command. My output is pasted below. '''YOURS WILL BE DIFFERENT.''' |
| 168 | |
| 169 | |
| 170 | |