[GBP-177] Handling of "any" in ConditionSet does not fit the model Created: 17/Jul/15  Updated: 12/Jul/16  Resolved: 12/Jul/16

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

Type: Bug
Reporter: Konstantin Blagov Assignee: Konstantin Blagov
Resolution: Won't Do 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: 4013

 Description   

In ConditionSet class the "any" property is not a simple Set, but a Set of Sets:

private final Set<? extends Set<ConditionName>> any;

It seems not to fit the YANG model, where all 3 condition subsets (all, any, none) are just lists:

grouping has-conditions {
list condition {
description
"...";

key "name";
leaf name

{ ... }

uses label;
}
}



 Comments   
Comment by Keith Burns [ 11/Oct/15 ]

Does you current PS https://git.opendaylight.org/gerrit/#/c/24231/5 address this?

If so can you close this as a duplicate of the other bug on Conditions?

Comment by Konstantin Blagov [ 12/Oct/15 ]

(In reply to Keith Burns from comment #1)
> Does you current PS https://git.opendaylight.org/gerrit/#/c/24231/5 address
> this?
>
> If so can you close this as a duplicate of the other bug on Conditions?

No, I only discovered this unfitting while working on that PS. There, I deal with the current impl. as is.

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