You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the below snippet the leaf subinterface is leafref pointing to the index which(also leafref) points to the config/index to "uint32" data type.
But the pybind class generated for this - calls this as "leafref" (string) which adds quotes and becomes string.
This breaks the YANG compliance where this data MUST be "uint32".
Note: jtox plugin works fine.
Same issue is with xsl as well.
leaf subinterface
type leafref
path /oc-if:interfaces/oc-if:interface[oc-if:name=current()/../interface]/oc-if:subinterfaces/oc-if:subinterface/oc-if:index
description Reference to a subinterface -- this requires the base
interface to be specified using the interface leaf in
this container. If only a reference to a base interface
is requuired, this leaf should not be set.
The text was updated successfully, but these errors were encountered:
In the below snippet the leaf subinterface is leafref pointing to the index which(also leafref) points to the config/index to "uint32" data type.
But the pybind class generated for this - calls this as "leafref" (string) which adds quotes and becomes string.
This breaks the YANG compliance where this data MUST be "uint32".
Note: jtox plugin works fine.
Same issue is with xsl as well.
leaf subinterface
type leafref
path /oc-if:interfaces/oc-if:interface[oc-if:name=current()/../interface]/oc-if:subinterfaces/oc-if:subinterface/oc-if:index
description Reference to a subinterface -- this requires the base
interface to be specified using the interface leaf in
this container. If only a reference to a base interface
is requuired, this leaf should not be set.
The text was updated successfully, but these errors were encountered: