clixon/yang
Olof hagsand 43a57dad79 Changed C-API for xml translation/print to other formats.
* Added `skiptop` parameter, if set only apply to children of a node, skip top node
    * default is 0
* Functions are merged, ie removed and replaced with more generic functions
* `xml2json_cbuf()`: Added `skiptop` parameter: `xml2json_cbuf(..., int skiptop)`
* `xml2json()` and `xml2json_cb()` merged into `xml2json_file()` with `skiptop`
    * Replace `xml2json(...)` with `xml2json_file(..., stdout, 0)`
    * Replace `xml2json_cb(...)` with `xml2json_file(..., 0)`
* `clicon_xml2cbuf()`: Added `skiptop` parameter: `clicon_xml2cbuf(..., int skiptop)`
* `xml2cli()`: Added `skiptop` parameter: `xml2cli(..., int skiptop)`
2022-06-01 10:48:39 +02:00
..
clixon Changed C-API for xml translation/print to other formats. 2022-06-01 10:48:39 +02:00
mandatory Updated copyright statements to 2022 2022-01-18 16:36:00 +01:00
Makefile.in Updated copyright statements to 2022 2022-01-18 16:36:00 +01:00
README.md * Optional yangs for testing have been removed from the Clixon repo 2021-11-29 10:28:34 +01:00

Yang files

There are two classes of Yang files

  • Clixon yang files.
  • Mandatory: "Standard" yang files necessary for clixon lib/client/backend to run

Both are always installed. If you want to change where the are installed, configure with: --with-yang-installdir=DIR

The third (optional) is only installed if configure flag --enable-optyang is set. Further, the optional yang files are installed in --with-opt-yang-installdir=DIR if given, otherwise in the same dir as the mandatory.