HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF Indications
CONFIG_INDICATION
4 NOF Indications
This chapter provides the following information for each NOF indication:
Description of the indications purpose and usage
Verb control block (VCB) structure, as dened in the NOF API header le /usr/include/sna/nof_c.h
Explanations of the parameters returned to the application in the VCB
For information about how the application registers to receive NOF indications, see Section 3.170, REGIS-
TER_INDICATION_SINK.
4.1 CONFIG_INDICATION
This indication is generated when another NOF application or a SNAplus2 administration tool makes a change to
the target conguration, when the target node is stopped or started, or when a DLC, port, or LS owned by the target
node is stopped or started. The target can be the domain conguration le, a running node, or an inactive node on
a server where the SNAplus2 software is running. The target is identied by the target_handle parameter on the
REGISTER_INDICATION_SINK verb that registers to receive this indication.
4.1.1 VCB Structure
No specic VCB structure is associated with this indication. To register for conguration indications, the
application species the value AP_CONFIG_INDICATION as the indication_opcode parameter on REGIS-
TER_INDICATION_SINK. When a change is made, SNAplus2 then reports this to the applications callback
routine by sending a copy of the VCB from the NOF verb that made the change. For example, if the conguration
was modied by a DEFINE_DLC verb, SNAplus2 sends a copy of the DEFINE_DLC VCB to the applications
callback routine.
To enable the application to distinguish between conguration indications and asynchronous responses to its own
NOF verbs, SNAplus2 changes the primary_rc parameter in the VCB for a conguration indication. The value
AP_INDICATION
identies a VCB associated with a conguration indication; the value
AP_OK, or any other value,
indicates an asynchronous response to one of the applications own NOF verbs.
The following events are not reported as conguration indications:
Changes to the SNA network le sna.net. To receive indications of these changes, the application
must register for the indication type AP_SNA_NET_INDICATION. For more information, see Section 4.26,
SNA_NET_INDICATION.
Starting and stopping the SNA software on other servers. To receive indications of these changes, the application
must register for the indication type AP_SERVER_INDICATION. For more information, see Section 4.24,
SERVER_INDICATION.
The range of VCBs that can be returned as conguration indications depends on the type of target handle specied
on REGISTER_INDICATION_SINK:
Domain conguration le
The application can receive VCBs for any verbs that modify domain resources but not node resources (verbs
that can be issued to the domain conguration le).
Node conguration le
The application can receive VCBs for any verbs that modify node resources.
753