[GBP-24] Something changed with yangtools that made provider-named-selector ... contract to list enforced Created: 03/Apr/15  Updated: 19/Oct/17  Resolved: 26/Apr/15

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

Type: Bug
Reporter: Keith Burns 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


External issue ID: 2947
Priority: Highest

 Description   

Yangtools changed around mid-late march so that lists enforced strict, so DevStack integration breaks with EPG

ie
{
"endpoint-group": {
"id": "aaae3a2b-1b78-4efb-b312-c0489cf8e92e",
"name": "web",
"network-domain": "41957783-2cb5-441e-a468-c33d4a5a4ecd",
"provider-named-selector":

{ "contract": ["13ac8c16-2051-30cd-9920-b1e6b6ea5ae5"], "name": "Contract-13ac8c16-2051-30cd-9920-b1e6b6ea5ae5" }

}
}

See contract.



 Comments   
Comment by Tony Tkacik [ 07/Apr/15 ]

Keith, the JSON is one which is not working or it is working after "yangtools" change? (It was restconf change).

Is the "contract" leaf-list?

Comment by Keith Burns [ 26/Apr/15 ]

Tony,

I think we can close this one.

provider-named-selector is a list. It should have been mapped as such.

A bug with OpenStack GBP has been raised.

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