advertisement
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
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 4 1 Preface
- 4 1.1 Legal Statements
- 4 1.2 Additional Resources
- 4 1.2.1 WEB Sites
- 5 1.2.2 Mailing Lists
- 5 1.3 Conventions Used in this Document
- 5 2 Summary
- 5 2.1 What is YumaPro?
- 7 2.2 Intended Audience
- 8 3 Introduction
- 8 3.1 System Components
- 10 3.1.1 YANG
- 13 3.1.2 NETCONF
- 15 3.1.3 YANG-based Automation
- 19 3.1.4 YANG Language Extensions
- 20 3.1.5 YANG Compiler
- 20 3.1.6 YANG Module Library
- 23 3.1.7 YANG Files
- 23 3.1.8 NETCONF Managers
- 23 3.1.9 NETCONF Servers
- 24 4 System Configuration
- 24 4.1 Environment Variables
- 25 4.1.1 $HOME
- 25 4.1.2 $YUMAPRO_HOME
- 26 4.1.3 $YUMAPRO_INSTALL
- 26 4.1.4 $YUMAPRO_MODPATH
- 27 4.1.5 $YUMAPRO_DATAPATH
- 28 4.1.6 $YUMAPRO_RUNPATH
- 28 4.2 Searching for Files
- 30 4.2.1 YumaPro Work Directory
- 30 4.2.2 Parameter Searches
- 31 4.2.3 Import/Include Searches
- 32 4.2.4 File Search Paths
- 34 4.3 Configuration Files
- 35 4.3.1 XML Configuration Files
- 35 4.3.2 Text Configuration Files
- 37 4.4 Logging
- 38 4.4.1 Logging Output Stream Commands
- 38 4.4.2 Logging Detail Commands
- 39 4.4.3 Logging Debug and Development Commands
- 39 4.4.4 Logging Examples
- 43 4.4.5 Logging Backtrace Information
- 44 4.4.6 Logging Hints
- 44 4.5 Pthreads Images
- 45 4.6 Bootstrap CLI
- 46 4.7 Configuration Parameters
- 46 4.7.1 Parameter Syntax
- 46 4.7.2 ncx:cli Extension
- 47 4.7.3 ncx:default-parm Extension
- 48 5 XPath Reference
- 48 5.1 XPath
- 48 5.1.1 XML Namespaces
- 49 5.2 YANG Specific XPath Behavior
- 49 5.3 Custom XPath Variables
- 50 5.3.1 user
- 50 5.4 Custom XPath Functions
- 50 5.4.1 module-loaded
- 51 5.4.2 feature-enabled
- 52 6 Error Reference
- 52 6.1 Error Messages