| | 130 | *** Stopping 2 hosts |
| | 131 | h1 h2 |
| | 132 | *** Done |
| | 133 | completed in 5.111 seconds |
| | 134 | }}} |
| | 135 | |
| | 136 | === Extra Credit - Using a different Controller === |
| | 137 | |
| | 138 | We can use a different controller to manage our test switch / network. One possibility would be to you the Open Day Light controller. A Reference implementation is installed on the image: |
| | 139 | {{{ |
| | 140 | ubuntu-14-04-64bit-OpenDayLight-Helium.ndz |
| | 141 | }}} |
| | 142 | |
| | 143 | We can load this image instead of the floodlight image via the alternative load command: |
| | 144 | {{{ |
| | 145 | omf load -t node1-1 -i ubuntu-14-04-64bit-OpenDayLight-Helium.ndz |
| | 146 | }}} |
| | 147 | |
| | 148 | Once this image is loaded we'll have to preform a few additional steps to bring it up: |
| | 149 | |
| | 150 | 1. Configure the eth0 interface as before |
| | 151 | {{{ |
| | 152 | $ ssh root@node1-1 "ifconfig eth0 inet 192.168.1.1 up" |
| | 153 | }}} |
| | 154 | 1. from a shell on node1-1 set the JAVA_HOME environment variable: |
| | 155 | {{{ |
| | 156 | export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 |
| | 157 | }}} |
| | 158 | 1. launch the karaf shell: |
| | 159 | {{{ |
| | 160 | ~/distribution-karaf-0.2.3-Helium-SR3/bin/karaf |
| | 161 | }}} |
| | 162 | 1. Install the required features |
| | 163 | {{{ |
| | 164 | feature:install odl-base-all odl-aaa-authn odl-restconf odl-adsal-northbound odl-mdsal-apidocs odl-l2switch-switch |
| | 165 | feature:install odl-ovsdb-northbound |
| | 166 | }}} |
| | 167 | 1. Exit the shell via ctrl-d |
| | 168 | 1. Start the ODL service |
| | 169 | {{{ |
| | 170 | ~/distribution-karaf-0.2.3-Helium-SR3/bin/karaf |
| | 171 | }}} |
| | 172 | 1. On node1-2 preform the same mini-net test |
| | 173 | {{{ |
| | 174 | mn --topo=single,2 --controller=remote,ip=192.168.1.1 --test pingall |
| | 175 | }}} |