Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: PC
Description
Currently the YangParserListenerImpl is implemented in way that if yang model contains extensions (ie unknown nodes) and extensions contains arguments and value of the extension argument is sperated by ":" the argument value is evaluated as prefix:value. The worst thing is that during parsing of such arguments the parser expects that "prefix" part of argument is real prefix and should be defined within import statements in yang model.
The evaluation of extension argumenst in this way works only for config subsystem but can severely crash parsing in case when yang model contain extension which represents mapping in extension argument as key:value etc and does not contain any import definition.
Currently this is handled by workaround done by fix: https://git.opendaylight.org/gerrit/#/c/9808/
Attachments
Issue Links
- is blocked by
-
CONTROLLER-685 Implement handling of prefix values in argument values in extensions independently of YangParserListenerImpl
- Resolved