[VTN-119] Issue with fetching dataflows when interface does not exist Created: 12/Feb/16 Updated: 19/Oct/17 Resolved: 15/Feb/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 |
||
| External issue ID: | 5341 |
| Description |
|
Issue:When fetching dataflows for vlanmap in vbridge, and there is no interface present for the vbridge. 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/dataflows?controller_id=controllerone&srcmacaddr=f64c.3e8c.49ef&vlan_id=300&switch_id=openflow:2&port_name=s2-eth2"
OCCURANCE: Every time we fetch the dataflows for vlanmapping with no interface present in the configuration. |
| Comments |
| Comment by Venkatrangan Govindarajan [ 12/Feb/16 ] |
|
Pushed a patch |
| Comment by YOGA LAKSHMI SWETHA PAYYAVULA [ 15/Feb/16 ] |
|
The patch for this bug is pushed and merged in Master branch: |