Merge branch 'fix-netconf-startup-validate' of https://github.com/baruchsiach/clixon into baruchsiach-fix-netconf-startup-validate
This commit is contained in:
commit
5337619af8
1 changed files with 4 additions and 0 deletions
|
|
@ -675,6 +675,10 @@ xmldb_get_cache(clicon_handle h,
|
||||||
else
|
else
|
||||||
x0t = de->de_xml;
|
x0t = de->de_xml;
|
||||||
|
|
||||||
|
if (yb == YB_MODULE && !xml_spec(x0t))
|
||||||
|
if (xml_bind_yang(x0t, YB_MODULE, yspec, NULL) < 0)
|
||||||
|
goto done;
|
||||||
|
|
||||||
/* Here x0t looks like: <config>...</config> */
|
/* Here x0t looks like: <config>...</config> */
|
||||||
/* Given the xpath, return a vector of matches in xvec
|
/* Given the xpath, return a vector of matches in xvec
|
||||||
* Can we do everything in one go?
|
* Can we do everything in one go?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue