147 | | Testing used both !FloodLight and Ryu Controllers. |
| 147 | Testing was completed with Ryu Controller. One modification is required to any controller to handle the required use of Rule Table ID 100 for HP switches. Below are instructions on the required changes for both Ryu and FloodLight !OpenFlow Controller. |
| 148 | |
| 149 | == Ryu Controller == |
| 150 | |
| 151 | The latest Ryu check out of the Master branch was used (commit a197d87375808c4f99b48af3852eb5d1c986a6a9; Date 2017-05-09). Used the !OpenFlow 1.3 Simple Simple Switch application with the follow modification to handle the required use of Rule Table ID 100 for HP switches: |
| 152 | {{{ |
| 153 | lnevers@controller:/local/ryu/ryu/app$ diff simple_switch_13.py simple_switch_13_ig.py |
| 154 | 56a57 |
| 155 | > table_id = 100 |
| 156 | 59c60 |
| 157 | < priority=priority, match=match, |
| 158 | --- |
| 159 | > priority=priority, table_id=table_id, match=match, |
| 160 | 62c63 |
| 161 | < mod = parser.OFPFlowMod(datapath=datapath, priority=priority, |
| 162 | --- |
| 163 | > mod = parser.OFPFlowMod(datapath=datapath, priority=priority, table_id=table_id, |
| 164 | }}} |
| 165 | |
168 | | == Ryu Controller == |
169 | | The latest Ryu check out of the Master branch was used (commit a197d87375808c4f99b48af3852eb5d1c986a6a9; Date 2017-05-09). Used the !OpenFlow 1.3 Simple Simple Switch application with the follow modification to handle the required use of Rule Table ID 100 for HP switches: |
170 | | {{{ |
171 | | lnevers@controller:/local/ryu/ryu/app$ diff simple_switch_13.py simple_switch_13_ig.py |
172 | | 56a57 |
173 | | > table_id = 100 |
174 | | 59c60 |
175 | | < priority=priority, match=match, |
176 | | --- |
177 | | > priority=priority, table_id=table_id, match=match, |
178 | | 62c63 |
179 | | < mod = parser.OFPFlowMod(datapath=datapath, priority=priority, |
180 | | --- |
181 | | > mod = parser.OFPFlowMod(datapath=datapath, priority=priority, table_id=table_id, |
182 | | }}} |