Administration Commands
define_directory_entry
When defining an adjacent node and its LUs, use define_adjacent_len_node instead of de- fine_directory_entry. This enables you to define the node and its LUs with a single command. The define_directory_entry command defines only a single entry, so you need to use multiple commands to define entries for the adjacent node and for its LUs.
You can specify a “wildcard” LU name to match multiple LU names by specifying only the initial characters of the name. For example, the wildcard LU name APPN.LU will match APPN.LUNAME or APPN.LU01 (but will not match APPN.NAMELU).
2.16.1 Supplied Parameters
Parameter name | Type | Length | Default |
[define_directory_entry] |
|
|
|
resource_name | character | 17 |
|
resource_type | constant |
| LU_RESOURCE |
description | character | 31 | (null string) |
parent_name | character | 17 | (null string) |
parent_type | constant |
| ENCP_RESOURCE |
Supplied parameters are:
resource_name
Fully qualified name of the resource to be registered. Specify
resource_type
Specifies the type of the resource to be defined. Possible values are:
ENCP_RESOURCE
End node (EN) or
NNCP_RESOURCE
Network node (NN)
LU_RESOURCE
Logical unit (LU)
WILDCARD_LU_RESOURCE
Wildcard LU name
The owning control point (CP) on the node must be defined before you can specify an LU or wildcard LU resource type.
description
A text string describing the directory entry. SNAplus2 uses this string for information only. It is stored in the node’s configuration file and returned on the query_directory_entry and query_directory_lu commands.
parent_name
Fully qualified name of the parent resource; for an LU the parent resource is the owning control point and for an end node or LEN node it is the network node server. Specify
Do not specify this parameter in the following cases:
•When registering a network node CP.
•When the command is being issued to an end node or LEN node to define an adjacent LEN node CP with which the local node communicates directly.
75