Removed obsolete config yang handler
Added base netconf as default namespace in canonical nsctx
This commit is contained in:
parent
52629d7b35
commit
d0e97ee338
8 changed files with 7 additions and 50 deletions
|
|
@ -387,6 +387,9 @@ xml_nsctx_yangspec(yang_stmt *yspec,
|
|||
if (xml_nsctx_add(nc, yang_argument_get(yprefix), yang_argument_get(ynamespace)) < 0)
|
||||
goto done;
|
||||
}
|
||||
/* Add base netconf namespace as default and "nc" prefix */
|
||||
if (xml_nsctx_add(nc, NULL, NETCONF_BASE_NAMESPACE) < 0)
|
||||
goto done;
|
||||
if (xml_nsctx_add(nc, NETCONF_BASE_PREFIX, NETCONF_BASE_NAMESPACE) < 0)
|
||||
goto done;
|
||||
*ncp = nc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue