[VTN-112] Flowfilter redirect failed, when configure with dldst macaddress Created: 09/Feb/16  Updated: 19/Oct/17  Resolved: 12/Feb/16

Status: Resolved
Project: vtn
Component/s: ODC Driver
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Karthik Sivasamy Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5277

 Description   

When i run FT to create VBRIF FLowfitler with Stable/Be code, got internal server error.

Steps Followed:
FT have the following configurations with VTN Coordinator REST API
1) Create VTN, VBR, VBRIF, PORTMAP
2) Create FLOWLIST and FLOWLISTENRTY
3) Create FLOWFILTER
4) CREATE VBRIFFLOWFILTER_ENTRY with action type "redirect". (contains srcmac address and dst macaddress, with dscp values) [Internal server Error]

5) While Testing manually problem found in configuring flowfilter with option "dstmacaddress".



 Comments   
Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 12/Feb/16 ]

The response for vbrifflowiflter creation:

curl -v --user admin:adminpass -X POST -H 'content-type: application/json' -d '{"flowfilterentry": {"seqnum": "233", "fl_name": "flowlist1", "action_type":"redirect", "priority":"3", "dscp":"55", "redirectdst":

{"vnode_name":"vBridge2", "if_name":"if1", "direction":"in", "macsrcaddr":"f0f1.f2f3.f4f5", "macdstaddr":"f0f1.f2f3.f1f2"}

}}' http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if/flowfilters/in/flowfilterentries.json

  • About to connect() to 127.0.0.1 port 8083 (#0)
  • Trying 127.0.0.1... connected
  • Connected to 127.0.0.1 (127.0.0.1) port 8083 (#0)
  • Server auth using Basic with user 'admin'
    > POST /vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if/flowfilters/in/flowfilterentries/233.json HTTP/1.1
    > Authorization: Basic YWRtaW46YWRtaW5wYXNz
    > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
    > Host: 127.0.0.1:8083
    > Accept: /
    > content-type: application/json
    > Content-Length: 227
    >
    < HTTP/1.1 201 Created
    < Server: Apache-Coyote/1.1
    < Content-Type: application/json;charset=UTF-8
    < Content-Length: 79
    < Date: Fri, 12 Feb 2016 12:02:14 GMT
    < Connection: close
    <
  • Closing connection #0
Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 12/Feb/16 ]

The patch for this bug is pushed and merged in stbale/beryllium in the below mentioned link:

https://git.opendaylight.org/gerrit/#/c/34383/

In master:

https://git.opendaylight.org/gerrit/#/c/34405/

Generated at Wed Feb 07 20:48:04 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.