[OPNFLWPLUG-571] Leaf 'Egress' of 'transmit-packet' rpc is not required Created: 11/Nov/15  Updated: 27/Sep/21

Status: Confirmed
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Ioakeim Samaras Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: neon-release
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

Hello,

the leaf 'egress' of the 'transmit-packet' rpc of the packet-processing service was used in order to define the output action (i.e. how the packet should be processed by a switch) of a packet-out event. Therefore, it is a mandatory field in cases someone uses this rpc.

However, you can also define the output action by using the action list of the aforementioned rpc since the bug regarding the fact that ODL was ignoring this list is fixed (https://git.opendaylight.org/gerrit/#/c/28195/).

Therefore, it exists a duplication of actions since the ODL forces a programmer to define the egress leaf. This may cause redundant actions to be perfomerd when a switch processes a packet out event.

I suggest removing this leaf from the yang model and the imlementation as well. In this way, a programmer can use only the action list in order to define an output action.



 Comments   
Comment by Anil Vishnoi [ 10/Sep/18 ]

Plan is to deprecate the yang model in Neon release and remove it in next release.

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