YumaPro User Manual


Add to my manuals
57 Pages

advertisement

YumaPro User Manual | Manualzz

YumaPro User Manual

Note: Whenever YumaPro searches a directory, it checks for the expected file type, but ignores the following:

• all files and sub-directories that begin with the period (.) character

• any directory named 'CVS'

• symbolic links for regular files

The following environment variables affect file searches:

$HOME

$YUMAPRO_HOME

$YUMAPRO_MODPATH

$YUMAPRO_DATAPATH

$YUMAPRO_RUNPATH

The following configuration parameters affect file searches:

--yuma-home

--modpath

--datapath

--runpath

--subdirs

4.2.1 YumaPro Work Directory

There is a directory ($HOME/.yumapro) created by yangcli-pro or netconfd-pro for data files and temporary files. It is called .yumapro, and it is created in the users home directory, if the $HOME environment variable is defined.

This directory will be used as the default location to save the startup-cfg.xml file by netconfd-pro, if no startup file is specified in the CLI parameters, and no existing startup file is found in the data file search path.

This directory is also used as the default location to store the .yangcli-pro_history file for yangcli-pro command line history recall.

The $HOME/.yumapro/tmp directory is used by yangcli-pro to create session-specific sub-directories where all the

YANG modules from the server for the current session are stored. If the --autoload=false parameter is used, then these temporary directories will not be created by yangcli-pro.

4.2.2 Parameter Searches

A parameter search is started on behalf of a CLI parameter, such as the –-module parameter, used by the

yangdump-pro program. A search of this type can include directory path and file extension in the search parameter.

If a filename with a file extension (must be '.yang') is given, then only that exact file will be checked. The current working directory will be used in this case, if no directory path (or a relative directory path) is provided.

--module=test.yang

--module=../more-modules/[email protected]

If the exact filename is not found, then the search failed.

If a parameter based search does not have any directory path or file extension fields present, then a parameter search is the same as an import/include search.

Version 15.10-16 Page 30

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents