Re: [yangtools-dev] Anyxml in yang model
Tony Tkacik -X (ttkacik - Pantheon Technologies SRO@Cisco) <ttkacik@...>
Hi, still trying to figure out other possibilites for you how to model cost-maps and do not loose exact type information.
From: wangxin [mailto:xinwang2014@...]
Thanks for your information about DOM APIs, and i am looking into it. If we decide to use it, we need to change a lot of things like data broker, transaction and data change listener. Is this right? And actually there is only one data in alto yang model using anyxml, which is cost in cost-map.
发自 Windows 邮件
Tkacik -X (ttkacik - Pantheon Technologies SRO at Cisco)
We do not support anyxml in currently generated DTOs, but DOM data and DOM broker support it using different
APIs (called DOM APIs).
Which type of data from alto specification do you want to model as anyxml?
Dear Varga and others in yangtools,
I am working at implementing alto in odl and i use anyxml to define some data in yang model considering the data could be an object, array, string, etc. But i find that there is no method to set its value in the class generated by using yang tools, also there is no field of the data in the class. There is no error when generating the code. It looks like it just skips the anyxml defined data. Did i miss something to make it work? Or it doesn’t support anyxml for now?
发自 Windows 邮件