clixon/yang
Olof hagsand 081e6871b3 * Renamed clixon-clispec.yang to clixon-autocli.yang
* First version of clixon-autocli.yang semantics
   * Default rules for module exclusion, list-keywords, completion, treeref-state
   * Specialized rules for compress and exclusion of modules
   * See [autocli documentation](https://clixon-docs.readthedocs.io/en/latest/cli.html#autocli)
* Obsoleted and moved autocli config options from clixon-config.yang to clixon-autocli.yang as follows:
   * `CLICON_CLI_GENMODEL`, use: `autocli/module-default=false` instead
      * Removed `clicon_cli_genmodel()`
   * `CLICON_CLI_GENMODEL_TYPE`, use `autocli/list-keyword-default` and compress rules instead)
      * Removed `clicon_cli_genmodel_type()`
   * `CLICON_CLI_GENMODEL_COMPLETION`, use `autocli/completion-default` instead
      * Removed `clicon_cli_genmodel_completion()`
   * `CLICON_CLI_AUTOCLI_EXCLUDE`, use `autocli/rule/operation=exclude` instead
   * `CLICON_CLI_MODEL_TREENAME`, use constant `AUTOCLI_TREENAME` instead
     * Removed `clicon_cli_model_treename()`
* New YANG functions: yang_single_child_type, yang_find_namespace_by_prefix, yang_str2key
* Changed return values of yang_find_prefix_by_namespace
* Merged `cli_cli2xml()` into `cli2xml()`
2022-01-07 12:50:07 +01:00
..
clixon * Renamed clixon-clispec.yang to clixon-autocli.yang 2022-01-07 12:50:07 +01:00
mandatory * Changed typo configure --with-yang-standard-installdir to `configure --with-yang-standard-dir 2021-12-05 12:17:11 +01:00
Makefile.in Vagrant scripts adjusted for external YANG models and freebsd 2021-11-30 15:25:33 +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.