HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_NN_TOPOLOGY_STATS
/* due to timer updates */
AP_UINT32 node_purges; /* number of node records purged */
AP_UINT32 tg_low_rsns; /* TG updates received with low RSNs*/
AP_UINT32 tg_equal_rsns; /* TG updates in with equal RSNs */
AP_UINT32 tg_good_high_rsns; /* TG updates in with high RSNs */
AP_UINT32 tg_bad_high_rsns; /* TG updates in with high and */
/* odd RSNs */
AP_UINT32 tg_state_updates; /* number of TG updates sent */
AP_UINT32 tg_errors; /* number of TG entry errors found */
AP_UINT32 tg_timer_updates; /* number of node records built */
/* due to timer updates */
AP_UINT32 tg_purges; /* number of node records purged */
AP_UINT32 total_route_calcs; /* number of routes calculated */
/* for COS */
AP_UINT32 total_route_rejs; /* number of failed route */
/* calculations */
AP_UINT32 total_tree_cache_hits; /* total number of tree cache hits */
AP_UINT32 total_tree_cache_misses; /* total number of tree cache */
/* misses */
AP_UINT32 total_tdu_wars; /* total number TDU war detections */
unsigned char reserva[16]; /* reserved */
} QUERY_NN_TOPOLOGY_STATS;
3.142.2 Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_NN_TOPOLOGY_STATS
3.142.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
max_nodes
Maximum number of node records in the Topology Database. This value was specied on DEFINE_NODE.
A value of zero indicates no limit.
cur_num_nodes
Current number of nodes in this nodes topology database. If this value exceeds the maximum number of
nodes allowed, an Alert is issued.
node_in_tdus
Total number of Topology Database Updates (TDUs) received by this node.
node_out_tdus
Total number of Topology Database Updates (TDUs) built by this node to be sent to all adjacent network
nodes since the last initialization.
node_low_rsns
Total number of topology node updates received by this node with RSN less than the current RSN. Both even
and odd RSNs are included in this count. (These TDUs are not errors, but result when TDUs are broadcast
to all adjacent network nodes. No update to this nodes topology database occurs, but this node will send a
TDU with its higher RSN to the adjacent node that sent this low RSN.)
566