HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_DOWNSTREAM_LU
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char reserv3[8]; /* Reserved */
CONFIG_FILE_HEADER hdr; /* defined data */
} DEFINE_DOMAIN_CONFIG_FILE;
typedef struct config_file_header
{
AP_UINT16 major_version; /* reserved */
AP_UINT16 minor_version; /* reserved */
AP_UINT16 update_release; /* reserved */
AP_UINT32 revision_level; /* reserved */
unsigned char comment[100]; /* optional comment string */
unsigned char updating; /* reserved */
} CONFIG_FILE_HEADER;
3.21.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_DOMAIN_CONFIG_FILE
hdr.comment
An optional comment string to store information about the file. This is an ASCII string of 0–99 char-
acters, followed by a null character. This parameter is for information only; SNAplus2 returns it on the
QUERY_DOMAIN_CONFIG_FILE verb, but does not make any other use of it.
3.21.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.21.4 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.22 DEFINE_DOWNSTREAM_LU
DEFINE_DOWNSTREAM_LU defines a new downstream LU, and maps it to an upstream host LU or LU pool
(defined using DEFINE_LU_0_TO_3 or DEFINE_LU_POOL). This allows the downstream LU to access the host
computer using the PU concentration feature of SNAplus2. This verb cannot be used to modify an existing
downstream LU.
139