High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_CN
Chapter 3 169
DEFINE_CN
DEFINE_CN defines a Connection Network (otherwise known as a
Virtual Routing Node or VRN). The verb provides the network qualified
name of the connection network along with its Transmission Group (TG)
characteristics. Also provided is a list of the names of the local ports that
can access this connection network.
DEFINE_CN can be used to redefine an existing Connection Network. In
particular, new ports can be added to the list of ports which access the
connection network by issuing another DEFINE_CN. (Ports can be
removed in the same way by issuing the DELETE_CN verb).
This verb is valid only at an end node, and not at a LEN node.
VCB Structure
typedef struct define_cn
{
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 fqcn_name[17]; /* name of connection network */
CN_DEF_DATA def_data; /* CN defined data */
unsigned char port_name[8][8]; /* port names */
} DEFINE_CN;
typedef struct cn_def_data
{
unsigned char description[32]; /* resource description */
unsigned char reserve0[16]; /* reserved */
unsigned char num_ports; /* number of ports on CN */
unsigned char reserve1[16]; /* reserved */
TG_DEFINED_CHARS tg_chars; /* TG characteristics */
} CN_DEF_DATA;
typedef struct tg_defined_chars
{
unsigned char effect_cap; /* effective capacity */
unsigned char reserve1[5]; /* reserved */