In order to allow new users to quickly see how PyangBind might work for them, some examples are included in this directory:
example/oc-local-routinguses the OpenConfig
local-routingmodule an example and shows how one can build static routes using this module. The Getting Started documentation walks through this example.
example/simple-rpcshows how a YANG
rpcdefinition can be manipulated when PyangBind classes are generated for it. The RPC document provides further explanation of this example.
example/simple-serialiseshows how PyangBind’s serialisation and deserialisation capabilities work. The serialisation document walks through this example.
In order to understand some of the internals of PyangBind a bit better, the
tests directory may also be useful - this provides numerous test cases intended to ensure PyangBind keeps working the way one would expect, but can be a valuable source of pointers as to how things might work.
Please open an issue. The author (singular for the moment!) tries to help out where he can.