HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_DOWNSTREAM_LU_RANGE
Chapter 3 219
DEFINE_DOWNSTREAM_LU_RANGE
DEFINE_DOWNSTREAM_LU_RANGE defines a new range of
downstream LUs, and maps them to an upstream host LU or LU pool
(defined using DEFINE_LU_0_TO_3 or DEFINE_LU_POOL). This
allows the downstream LUs to access the host computer using the PU
concentration feature of SNAplus2. This verb cannot be used to modify
existing downstream LUs.
The supplied parameters to this verb include a base name for the new
LUs and the range of NAU addresses. The new LU names are generated
by combining the base name with the NAU addresses. For example, a
base name of LUNME combined with a NAU range of 11 to 14 would
define the LUs LUNME011, LUNME012, LUNME013 and LUNME014.
VCB Structure
typedef struct define_downstream_lu_range
{
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 dslu_base_name[5]; /* Downstream LU base name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char min_nau; /* Minimum NAU address in range */
unsigned char max_nau; /* Maximum NAU address in range */
unsigned char dspu_name[8]; /* Downstream PU name */
unsigned char host_lu_name[8]; /* Host LU or Pool name */
unsigned char allow_timeout; /* Allow timeout of host LU? */
unsigned char delayed_logon; /* Allow delayed logon to host LU */
unsigned char reserv4[6]; /* reserved */
} DEFINE_DOWNSTREAM_LU_RANGE;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_DOWNSTREAM_LU_RANGE