[VTN-166] vtn-inet-match protocol and dscp values not mapped from VTN Coordinator to VTN manager Created: 28/Sep/17  Updated: 30/Oct/17

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

Type: Bug
Reporter: Y Ananth Assignee: Y Ananth
Resolution: Unresolved 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: 9224

 Description   

Issue Scenario :

The dscp,protocol values from the Coordinator flowlistentry are not mapped in the VTN Manager

Reproduce the Bug:

set-up for vtn manager and coordinator using the example:
Create Flowlistentries as shown on the below page:

https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:How_to_configure_Flow_Filters_using_VTN.

In the flowlistentry command give the ipdscp,protocol attributes as given below:

  1. curl -v --user admin:adminpass -H 'content-type: application/json' -X POST -d '{"flowlistentry": {"seqnum": "1","dscp": "23", "ipproto": "6"}}' http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json

The Request body in the Coordinator logs :

http://10.106.138.150:8181/restconf/operations/vtn-flow-condition:set-flow-condition-match Url formed
2017-09-27 20:51:11.107059: [7123]: DEBUG: restjsonutil: HTTP_METHOD_POST
2017-09-27 20:51:11.107071: [7123]: DEBUG: restjsonutil: Request Body : { "input": { "name": "flowlist1", "flow-match-list": [

{ "index": 1 }

] } }
2017-09-27 20:51:11.107079: [7123]: INFO: restjsonutil: requestbody : { "input": { "name": "flowlist1", "flow-match-list": [

{ "index": 1 }

] } }

The below mentioned is from the VTN Manager obtained by GET command :

  1. curl -v --user admin:admin 'content-type: application/json' -X GET http://10.106.138.150:8181/restconf/operational/vtn-flow-condition:vtn-flow-conditions/vtn-flow-condition/flowlist1

{"vtn-flow-condition":[{"name":"flowlist1","vtn-flow-match":[

{"index":1}

]}]}

The below mentioned is from the VTN Coordinator obtained by GET command :

  1. curl -v --user admin:adminpass 'content-type: application/json' -X GET http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries/1.json

{"flowlistentry":{"ipdscp":"23","seqnum":"1","ipproto":"6"}}

THE IPDSCP and IPPROTO Values are present in VTN Coordinator but not mapped to VTN manager.

Occurrence of the issue :

Occurs every time during creation of flowlistentries with the ipdscp,protocol attributes



 Comments   
Comment by Y Ananth [ 25/Oct/17 ]

Issue resolved and patch for the bug has been merged in:

stable/carbon:
https://git.opendaylight.org/gerrit/#/c/64377/

stable/nitrogen:
https://git.opendaylight.org/gerrit/#/c/64505/

master:
https://git.opendaylight.org/gerrit/#/c/64504/

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