opencord / voltha

Virtual OLT Hardware Abstraction
Apache License 2.0
82 stars 169 forks source link

yang2proto doesn't handle nested containers #3

Open seiferteric opened 7 years ago

seiferteric commented 7 years ago

I know it's under the experimental directory but I tried using this and noticed it did not properly produce a protobuf when there was a container in another container. I was running it against ietf-interfaces.yang http://www.netconfcentral.org/modules/ietf-interfaces

The statistics container is inside the interfaces-state container, but does not show up in the output. I will try and fix it.

seiferteric commented 7 years ago

actually it's a container inside a list, inside a container.