[CONTROLLER-538] IN_PORT match field disappear in flow entry information when using the new OF plugin Created: 05/Jun/14 Updated: 18/Jun/14 Resolved: 18/Jun/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Hideyuki Tai |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1140 | ||||||||
| Description |
|
When I run VTN Manager with the new OF plugin, I had VTN Manager install flow entries which has a value in IN_PORT match field, and I got information of flow entries using REST API provided by statistics service. [What I used] $ pwd odc180 $ git log -3 --oneline [How to produce] 1. Start up the Virtualization edition with of13 and vtn option. $ ./run.sh -of13 -virt vtn 2. Create a virtual bridge using REST API exposed by VTN Manager. curl --user "admin":"admin" -H "Accept: application/json" -H \ ' curl --user "admin":"admin" -H "Accept: application/json" -H \ curl --user "admin":"admin" -H "Accept: application/json" -H \ curl --user "admin":"admin" -H "Accept: application/json" -H \ curl --user "admin":"admin" -H "Accept: application/json" -H \ , "port": {"name": "s3-eth1"}}' curl --user "admin":"admin" -H "Accept: application/json" -H \ , "port": {"name": "s7-eth2"}}' 3. Run Mininet and run OF1.3 switches. sudo mn --controller=remote,192.168.60.180 --topo tree,3 --switch=ovsk,protocols=of13 4. Send ping packets from h1 to h8. mininet> h1 ping h8 5. Check flow entries in mininet. Confirm that a value is set in "in_port" match field in flow entries. mininet> dpctl dump-flows -O OpenFlow13
6. Get flow entries using REST API curl --user "admin":"admin" -H "Accept: application/json" -H \ Confirm that the match values of the response doesn't contain "In Port" field. { , , , { "type": "DL_SRC", "value": "fe:96:3f:19:78:82" } ] , , , { "type": "DL_SRC", "value": "e6:b3:cc:03:9e:37" } ] } |
| Comments |
| Comment by Michal Rehak [ 17/Jun/14 ] |
|
Change pushed: Hideyuki, please retest. |
| Comment by Hideyuki Tai [ 18/Jun/14 ] |
|
(In reply to michal rehak from comment #1) Hi Michal, Thank you for creating the patch. I pulled the latest code of Integration Git repository, and built the Virtualization Edition on 18th June. After that, I retested the same scenario I written in comment #1. The following response message was what I saw. { , , , , { "type": "DL_VLAN", "value": "0" } ] |
| Comment by Michal Rehak [ 18/Jun/14 ] |
|
merged |