/
Configd Client Library

Configd Client Library

The configd API allows scripts to manage the Vyatta system through configd, the YANG based data model management daemon. The configd API is available in a variety of languages Go, C, C++, Perl, Python, and Ruby. The Go library is independent of the others and used to implement many of the internal tools used in the Vyatta system. The C API is the lowest layer of the other APIs. The C++ API exists to provide an object-oriented interface to the C API. The Perl, Python, and Ruby APIs are generated using SWIG from the C++ API. Each of the wrapped APIs are tweaked (using SWIG's customization mechanisms) to follow the conventions of the target language.

The actual structure of the data is defined in the YANG models and varies freely from the configd API. The following categories of actions can be performed by this API.