Example: added -m/-M options for testing mount-points
This commit is contained in:
parent
27b77b14bc
commit
bee30a4ea0
7 changed files with 288 additions and 50 deletions
|
|
@ -255,7 +255,6 @@ xml_yang_mount_get(clicon_handle h,
|
|||
goto done;
|
||||
}
|
||||
|
||||
|
||||
/*! Set yangspec mount-point via XML mount-point node
|
||||
*
|
||||
* Stored in a separate structure (not in XML config tree)
|
||||
|
|
@ -389,6 +388,7 @@ yang_schema_mount_statedata_yanglib(clicon_handle h,
|
|||
}
|
||||
if (xml_apply(*xret, CX_ELMNT, find_schema_mounts, cvv) < 0)
|
||||
goto done;
|
||||
yspec = clicon_dbspec_yang(h);
|
||||
cv = NULL;
|
||||
while ((cv = cvec_each(cvv, cv)) != NULL) {
|
||||
xmp = cv_void_get(cv);
|
||||
|
|
@ -398,7 +398,6 @@ yang_schema_mount_statedata_yanglib(clicon_handle h,
|
|||
goto done;
|
||||
if (yanglib == NULL)
|
||||
continue;
|
||||
yspec = clicon_dbspec_yang(h);
|
||||
if ((ret = xml_bind_yang0(h, yanglib, YB_MODULE, yspec, xerr)) < 0)
|
||||
goto done;
|
||||
if (ret == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue