[NEUTRON-110] Not able to GET/DELETE L2 Gateway Connection created without optional PORT Created: 03/Feb/16  Updated: 18/Aug/16  Resolved: 18/Aug/16

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: Multiple
Fix Version/s: None

Type: Bug
Reporter: Shashidhar R Assignee: Dileep Ranganathan
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: 5210

 Description   

Not able to GET/DELETE L2 Gateway Connection created without optional PORT because of code in line number# 79 below from fromMd() method of NeutronL2gatewayConnectionInterface.java file

58 @Override
59 protected NeutronL2gatewayConnection fromMd(L2gatewayConnection l2gatewayConnection){
…….
…….
76 if (l2gatewayConnection.getSegmentId() != null)

{ 77 result.setSegmentID(Integer.valueOf(l2gatewayConnection.getSegmentId())); 78 }

79 if (l2gatewayConnection.getPortId().getValue() != null)

{ 80 result.setPortID(String.valueOf(l2gatewayConnection.getPortId().getValue())); 81 }

82 return result;
83 }

Fix has to be given in both master and stable/beryllium releases.



 Comments   
Comment by Dileep Ranganathan [ 10/Feb/16 ]

https://git.opendaylight.org/gerrit/#/c/34283/ - Be
https://git.opendaylight.org/gerrit/#/c/34284/ - Master

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