All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
cli_generate.h File Reference

Go to the source code of this file.


int yang2cli (clicon_handle h, yang_spec *yspec, parse_tree *ptnew, enum genmodel_type gt)

Function Documentation

int yang2cli ( clicon_handle  h,
yang_spec *  yspec,
parse_tree *  ptnew,
enum genmodel_type  gt 

Translate from a yang specification into a CLIgen syntax.

Print a CLIgen syntax to cbuf string, then parse it.

gt- how to generate CLI: VARS: generate keywords for regular vars only not index ALL: generate keywords for all variables including index