-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yangdump errors for [email protected] and [email protected] #152
Comments
@vlvassilev pls help here. |
thanks , that helps for ietf-alarms.
ietf-interface-protection.yang : |
we tried to use the commit id that supported actions : After this , we are able to validate ietf-microwave-radio-link.yang. But we still observe below error . pls help *** Generated by yangdump 2.11-0 E0: *** /usr/share/yuma/modules/ietf/[email protected] |
Hi ,
issue 1
we are trying to validate the yang [email protected] using yangdump .
we are getting below error :
Error: 'notification' token not allowed here
Error: Got 'notification', Expected: anyxml, anydata, container, leaf, leaf-list, list, choice, uses,or augment keyword
[email protected]:1249.9: error(246): wrong token value
From code , netconf/src/ncx/yang_obj.c
consume_datadef is throwing error :
if (res != NO_ERR && !errdone) {
log_error("\nError: '%s' token not allowed here", val);
ncx_mod_exp_err(tkc, mod, res, expstr);
yang_skip_statement(tkc, mod);
}
On analysis , below notification is defined inside alarm list . If we move this object at end of yang file , yangdump issue is resolved.
Customer is not OK to change the standard Yang , so is there any fix done to handle notification syntax inside list or container?
notification operator-action {
if-feature "operator-actions";
description
"This notification is used to report that an operator
acted upon an alarm.";
uses operator-parameters;
}
issue -2
we are validating [email protected] using yangdump
yangdump [email protected]
*** Generated by yangdump 2.12-1
*** Copyright (c) 2008-2012, Andy Bierman, All Rights Reserved.
Warning: revisions with same date (2018-06-28) in iana-if-type line 123
iana-if-type.yang:128.3: warning(451): duplicated dates in revision history
E0:
../../../netconf/src/ncx/ncx_num.c:879
Error 4: invalid internal value
on checking code further , we analyzed that yuma123 does not support decimal64
Can you pls confirm if any fix can be done ?
The text was updated successfully, but these errors were encountered: