Changes between Version 6 and Version 7 of Internal/OpenFlow/OFIntro
- Timestamp:
- Jul 26, 2013, 12:45:42 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/OFIntro
v6 v7 86 86 # mn --topo=single,2 --controller=remote,ip=192.168.1.1 87 87 }}} 88 This will give you a virtual network of two hosts and one switch pointed to the running Floodlight instance on node1-1. Once at the prompt, try pinging one host from the other (it should work):88 This will give you a virtual network of two hosts and one switch pointed to the running Floodlight instance on node1-1. Once at the prompt, try pinging one host from the other: 89 89 {{{ 90 90 mininet> h1 ping h2 … … 99 99 rtt min/avg/max/mdev = 0.024/2.101/8.193/3.517 ms 100 100 }}} 101 At the same time, you should see (lots of) packets being captured by tcpdump in node1-1's terminal:101 Notice how the first ping takes much longer. This is due to the flow installation process triggered by the first ping (Specifically, the ARPs sent by the hosts) as the switch suffers a flow table miss. At the same time, you should see (lots of) packets being captured by tcpdump in node1-1's terminal: 102 102 {{{ 103 103 root@node1-1:~/floodlight# tcpdump -i eth0 port 6633 … … 122 122 }}} 123 123 124 == Using OpenVswitch directly==124 === 1.2.2 Using OpenVswitch directly === 125 125 Mininet's datapaths are backed by OVS. Therefore, if you have a Mininet install, you get OVS for "free". You can use OVS directly for your data plane. 126 126 127 127 = II More complex examples = 128 You can launch multiple instances of Floodlight on one or more nodes. If you decide to run the instances on a single host, the ports used by the Floodlight instances must not conflict i.e. each instance must be assigned a different set of ports. 129 128 You can launch multiple instances of Floodlight on one or more nodes. If you decide to run the instances on a single host, the ports used by the Floodlight instances must not conflict i.e. each instance must be assigned a different ports. 129 130 == 2.1 Multiple Controllers == 131 132 == 2.2 With FlowVisor == 133 130 134 ---- 131 135 = III Installation = #install … … 141 145 Note, the following examples are for Ubuntu, since that's what is used at WINLAB. A quick search will often bring up hints/steps for CentOS/RHEL and OSX, but for the most part, you will have to experiment a bit. 142 146 143 == 2.1 Floodlight == #floodlight147 == 3.1 Floodlight == #floodlight 144 148 docs: http://docs.projectfloodlight.org/display/floodlightcontroller/Floodlight+Documentation [[BR]] 145 149 … … 172 176 Tutorials and other information can be found here: http://docs.projectfloodlight.org/display/floodlightcontroller/For+Developers 173 177 174 == 2.2 Mininet == #mn178 == 3.2 Mininet == #mn 175 179 website: http://mininet.org/ [[BR]] 176 180 It is highly recommended to run trough the docs, especially the following: … … 316 320 }}} 317 321 318 == 2.3 Cbench == #cbench322 == 3.3 Cbench == #cbench 319 323 website: http://docs.projectfloodlight.org/display/floodlightcontroller/Cbench+(New) 320 324 … … 373 377 }}} 374 378 375 == 2.4 liboftrace (ofdump/ofstats) == #loft379 == 3.4 liboftrace (ofdump/ofstats) == #loft 376 380 docs: [[BR]] 377 381 https://github.com/capveg/oftrace/blob/master/README [[BR]]