[VTN-78] redirect Operation fails to forward packets Created: 19/Jun/15 Updated: 19/Oct/17 Resolved: 01/Oct/15 |
|
| Status: | Resolved |
| Project: | vtn |
| Component/s: | VTN Manager |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Venkatrangan Govindarajan | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3818 |
| Description |
|
Tried the Service Function HowTo page When attempting h12 ping h22, the ping was never responding. The same page works well with Helium distribution. Some of the errors that were observed in the karaf.log were ************start of karaf.log error part****************
When setting log level as TRACE, other logs like "Ignore the Packet from Internal Port OpenFlow:4-s4-eth3" was observed. When checking the flow entries in mininet using sudo ovs-ofctl dump-flows, Flows were seen in s1, s2 and s3. s4 had no flows installed. We will provide those logs also. |
| Comments |
| Comment by Shigeru Yasuda [ 19/Jun/15 ] |
|
This issue seems to be caused by difference of behavior in Lithium topology manager. This example of service function maps openflow:3:3 to vt_srvc1_1 and openflow:4:3 to vt_srvc1_2 respectively. But the topology manager detects inter-swtich link between openflow:3:3 and openflow:4:3. GET /restconf/operational/network-topology:network-topology/topology/flow:1/link/openflow:3:3 , } So VTerminal interfaces are treated as DOWN because ISL port cannot be mapped to virtual interface. All the operations in that wiki page seems to work fine if we add the following flow entries:
|
| Comment by Shigeru Yasuda [ 24/Jun/15 ] |
|
I am planning to add new feature which manages static network topology configuration to VTN Manager by Lithium SR2, and it will solve this issue. |
| Comment by Shigeru Yasuda [ 28/Aug/15 ] |
|
https://git.opendaylight.org/gerrit/26177 (stable/lithium) |
| Comment by Shigeru Yasuda [ 28/Aug/15 ] |
|
SFC example described in the wiki page will work fine if the following configuration is applied. PUT /restconf/config/vtn-static-topology:vtn-static-topology/static-edge-ports { , , , { "port": "openflow:4:4" } ] |
| Comment by Shigeru Yasuda [ 03/Sep/15 ] |
| Comment by Shigeru Yasuda [ 03/Sep/15 ] |
|
Patch was merged. |
| Comment by Shigeru Yasuda [ 04/Sep/15 ] |
|
I updated the patch. Please retest with new patch. https://git.opendaylight.org/gerrit/26540 (master) |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 01/Oct/15 ] |
|
Tested the updated patch successfully, and modified the wiki page accordingly: |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 01/Oct/15 ] |
|
The patch works fine. It has been tested in stable/lithium karaf distribution. As suggested by Yesuda San, used the below rest api before configuring : curl -v --user admin:admin -H 'Accept: application/json' -H 'content-type: application/json' -H 'ipaddr:127.0.0.1' -X PUT http://localhost:8181/restconf/config/vtn-static-topology:vtn-static-topology/static-edge-ports -d '{"static-edge-ports": {"static-edge-port": [ {"port": "openflow:3:3"}, {"port": "openflow:3:4"}, {"port": "openflow:4:3"}, {"port": "openflow:4:4"}]}}' Update the Service function chaining wiki page with the above comamnd: PFB the link for the same: |