|
|
Adds subtree of empty records to the configuration file.
Syntax
ADDCONF pathname [type]
Parameters
- pathname
The name of a path in the configuration file that describes the
location of the desired subtree. It is composed of one to eight path
identifiers separated by periods. The format for the pathname is:
pathid.pathid.pathid...
The last pathid specified must not exist in the configuration file. The
second to last pathid must exist.
- type
A one to eight character path type identifier. This identifier must
match one of the selections on the "type select" screen for the
"pathname". For example, the type "LAN" is a valid choice for the path
"NETXPORT.NI.MYLAN".
Description
ADDCONF is used to add a tree of empty records to the configuration
file. It is used in conjunction with PATHCONF, WRITECONF, and
UPDATECONF to create and update configuration records. ADDCONF
functions exactly like the ADD function key on screens (like the
NETXPORT.NI screen) which allow you to select or create a configuration
subtree, then take you to the top screen for that subtree. Note that
ADDCONF sets the current record to the root node (named by the
supplied pathname) of the tree it creates. A PATHCONF command to modify
this record immediately after the ADDCONF is not required.
See also READCONF, READALLCONF, PURGECONF,
VERSIONCONF, WRITECONF, and UPDATECONF.
Example
NMMGR> ADDCONF netxport.ni.newname lan
NMMGR> WRITECONF outbuf,256
NMMGR> UPDATECONF
|