[CONTROLLER-1082] XSQL query is stuck when the yang model contains two data roots Created: 05/Jan/15 Updated: 25/Jul/23 Resolved: 08/Jan/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sharon Aicler | Assignee: | Sharon Aicler |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2554 |
| Description |
|
XSQL query is stuck when the yang model contains two data roots. the method to collect the root elements for a yang model in XSQL was wrong and was assuming there is one data model root type, hence was getting stuck when querying data for that module. E.g. if you have two containers defined in your yang file, xsql was getting stuck with a NullPointerException is the log as the blue print node was not a parent in the queried leaf path. |