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

Go to the source code of this file.

Functions

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.

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