[OPNFLWPLUG-414] Plugin ser/des logic does not match model Created: 23/Apr/15  Updated: 27/Sep/21  Resolved: 04/Apr/17

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

Type: Improvement
Reporter: Anton Ivanov Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

There is no such thing as "There is no Prefix" (equivalent to the OpenFlow hasMask()) for an Ipv4 or Ipv6 Prefix.

In order to be a prefix it always has a /X even if that is 128 for v6 or /32 for v4.

As long as we express Matches as Prefixes in the data model all ser/des has to normalize to hasMask() form in order to ensure that data passed from northbound matches what comes from southbound.

So we either change the model to use something different from Prefix or we make the code match the model (presently it does not).



 Comments   
Comment by Abhijit Kumbhare [ 10/Nov/15 ]

Marked it as an enhancement.

Comment by Jozef Bacigal [ 04/Apr/17 ]

https://git.opendaylight.org/gerrit/#/c/53972/

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