[OPNFLWPLUG-95] Port config Created: 20/Mar/14 Updated: 27/Sep/21 Resolved: 12/Aug/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Abhijit Kumbhare | Assignee: | Hariharan Sethuraman |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Description |
|
From the backlog list: https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Backlog |
| Comments |
| Comment by Kamal Rameshan [ 07/Jul/14 ] |
|
Requirement:-
Openflowplugin/OFJava: |
| Comment by subhash kumar singh [ 08/Dec/14 ] |
|
I am interested to work on this bug, please let me know about desired implementation and details for this enhancement. |
| Comment by Anil Vishnoi [ 24/Dec/14 ] |
|
I believe we don't need caching of all the multipart response messages, because each multipart response message payload contains data that can make sense without rest of the multipart messages. E.g if a switch has 40 ports (1 to 40) and it decides that it will send the response in 4 multipart message,then it will pack port_description of 10 ports and send in each multipart response. So whenever controller receives the port description multipart message it can decode the port description of these 10 ports and augment it to their respective port/node connector location in the operational data store. Subhash: It will give you idea about high level control flow and clues on how to hack it. Thanks |
| Comment by Hariharan Sethuraman [ 06/Jul/15 ] |
|
subhash kumar singh and Abhijit, I will take this defect and work on. Please let me know if you/someone working on this already. Hope this defect is for Beryllium release. |
| Comment by Hariharan Sethuraman [ 07/Jul/15 ] |
|
I dont understand the following part "In order to provide an RPC we might need to leverage this." Kamal Rameshan, Thanks, |
| Comment by Hariharan Sethuraman [ 27/Jul/15 ] |
|
Provided RPC service. Please check port-config from yang-ui for reference. Provided this service for both He and Li code. |
| Comment by Hariharan Sethuraman [ 27/Jul/15 ] |
|
Changes ref: |
| Comment by Hariharan Sethuraman [ 28/Jul/15 ] |
|
Provided RPC service. Please check the rest api under port-config module from yang-ui for reference. Provided this service for both He and Li code. Changes ref: (In reply to Hariharan Sethuraman from comment #7) This API dont return the port-config, it updates the port-config in the datastore. Since we are re-using existing helper method for this multipart request, which ultimately updates the datastore. So the consumer should check the returned transaction activity is finished and then retrieve the port-description from the datastore directly. |
| Comment by Hariharan Sethuraman [ 31/Jul/15 ] |
|
(In reply to Hariharan Sethuraman from comment #8) Removed the changes from Li codebase as commented by Michal. Refer code review comments in git. |
| Comment by Hariharan Sethuraman [ 11/Aug/15 ] |
|
Will be abandoning the changes and close the defect before this week end. Before that please let me know if you have any concerns. |
| Comment by Hariharan Sethuraman [ 12/Aug/15 ] |
|
Code abandoned. We cant provide RPC despite of the fact that this RPC can be used to update port-configuration on demand. If we provide RPC, it turns out to have an unwanted effect in scenario when port flaps while multipart reply being constructed, this leeway the port status out of sync. |