robshakir / pyangbind

A plugin for pyang that creates Python bindings for a YANG model.
Other
204 stars 121 forks source link

Nested lists #283

Closed eduardpo closed 2 years ago

eduardpo commented 2 years ago

From your list example:

list list-seven {
            key val;
            leaf val {
                type int8;
            }

            container under {
                leaf aval {
                    type int8;
                }
            }
        }

Is it possible to serialize binding that includes list nested inside another list, like this:

list list-seven {
            key val;
            leaf val {
                type int8;
            }

            list under {
        key aval;
                leaf aval {
                    type int8;
                }
            }
        }