Administration Commands

define_directory_entry

parent_type

Specifies the parent type of the resource to be defined. Possible values are:

ENCP_RESOURCE

End node (for an LU resource owned by an end node)

NNCP_RESOURCE

Network node (for an LU resource owned by a network node, or for an EN or LEN resource)

Do not specify this parameter when no parent name is supplied.

2.16.2 Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

2.16.3 Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc

Possible values are:

INVALID_FQ_OWNING_CP_NAME

The parent_name parameter did not match the name of a defined parent resource.

INVALID_LU_NAME

The resource_name parameter contained a character that was not valid or was not in the correct format.

INVALID_RESOURCE_TYPE

The resource_type parameter was not set to a valid value.

INVALID_WILDCARD_NAME

The resource_type parameter was set to WILDCARD_LU_RESOURCE but the resource_name parameter did not contain a valid wildcard entry.

DUPLICATE

The resource_name parameter contained a wildcard entry that has already been defined.

State Check

No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.

Other Conditions

Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.

76

Page 76
Image 76
HP UX Internet and Networking Software manual Parenttype