CiscoDevNet / ydk-gen

Generate model-driven APIs from YANG models
http://ciscodevnet.github.io/ydk-gen/
Apache License 2.0
135 stars 74 forks source link

Missing access to YANG substatements in Python Path API #1010

Open tdesh10 opened 4 years ago

tdesh10 commented 4 years ago

Currently, the Python Path API gives access to the keyword and argument of YANG statements (ydk.path.Statement) of a schema node. However, it gives no access to substatements. For example, there is no way to find out if a node is a configuration node or a mandatory node. In the case of list nodes, there is no way to find the keys.