[VTN-129] Issue with fetching VTN dataflows for vlanmapping Created: 28/Mar/16  Updated: 19/Oct/17  Resolved: 18/Apr/16

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

Type: Bug
Reporter: YOGA LAKSHMI SWETHA PAYYAVULA 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: 5609

 Description   

Issue:When fetching vtn dataflows for vlanmap in vbridge.

This issue occurs in Lithium and Beryllium Releases

REPRODUCE SCENARIO:

Controller:

curl -v --user admin:adminpass -H 'content-type: application/json' -X POST -d '{"controller": {"controller_id": "controllerone", "ipaddr":"10.106.138.191", "type": "odc","version": "1.0", "auditstatus":"enable"}}' http://127.0.0.1:8083/vtn-webapi/controllers.json

VTN:

curl -v -X POST -H 'content-type: application/json' -H 'username: admin' -H 'password: adminpass' -d '{"vtn" : {"vtn_name":"vtn1","description":"test VTN" }}' http://127.0.0.1:8083/vtn-webapi/vtns.json

VBRIDGE:

curl -v -X POST -H 'content-type: application/json' -H 'username: admin' -H 'password: adminpass' -d '{"vbridge" : {"vbr_name":"vBridge2","controller_id":"controllerone","domain_id":"(DEFAULT)" }}' http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges.json

VLANAMP:

curl -v -X POST -H 'content-type: application/json' -H 'username: admin' -H 'password: adminpass' -d '{"vlanmap" : {"vlan_id": 300 }}' http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge2/vlanmaps.json

DATAFLOWS:

curl -v -X GET -H 'content-type: application/json' --user 'admin:adminpass' -H 'ipaddr:127.0.0.1' "http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/dataflows?vnode_name=vBridge2&srcmacaddr=f64c.3e8c.49ef&vlan_id=300"

  • 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'
    > GET /vtn-webapi/dataflows?controller_id=controllerone&srcmacaddr=f64c.3e8c.49ef&vlan_id=300&switch_id=openflow:2&port_name=s2-eth2 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
    > ipaddr:127.0.0.1
    >
    < HTTP/1.1 500 Internal server error
    < Server: Apache-Coyote/1.1
    < Content-Type: application/json;charset=UTF-8
    < Content-Length: 554
    < Date: Fri, 25 Mar 2016 17:58:45 GMT
    <
  • Connection #0 to host 127.0.0.1 left intact

OCCURANCE: Every time we fetch the vtn dataflows for vlanmapping with no interface present in the configuration.



 Comments   
Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 18/Apr/16 ]

The patch for this patch has been pushed and merged in

Master:
https://git.opendaylight.org/gerrit/#/c/37256/

Stable/Be:
https://git.opendaylight.org/gerrit/37461

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