NIDB Description

author: Dan K. Pham
last update: May 2000
 

Content


 
 

HOST DATABASE


Field Name
Type
Description
regID uint32_t -
host_entid uint32_t Host entity identifier
policy uint32_t Host policy: public or private
num_ipaddrs uint32_t -
ipaddr_nbo uint32_t -
hostname char [64] FQN of host
region char [64] Bug - workaround for limitation in zkDBOTypeStr
servoperator char [64] Bug - workaround for limitation in zkDBOTypeStr

 
 

STATE DATABASE


DATA STRUCTURE: T_FrDBOTypeNsdbAip
Field Name
Type
Description
regID uint32_t -
entid uint32_t Entity identifier
reference_date uint32_t Reference date for the info
last_state_date uint32_t The last date the server went up or down.
last_update_date uint32_t The last date of the update.
unavailable_flag uint32_t Entity is unavailable.
up_flag uint32_t Entity is up.
tt1 UINT64_T -
uptime uint32_t Time up since reference.
downtime uint32_t Time down since reference.
msgs_rcvd UINT64_T -
msgs_sent UINT64_T -
msgs_rcvd_1 UINT64_T -
msgs_sent_1 UINT64_T -
msgs_rcvd_2 UINT64_T -
msgs_sent_2 UINT64_T -
num_updates uint32_t -
entity_rating uint32_t -
security_level uint32_t -
OR_entity_rating UINT64_T -
OR_up_flag UINT64_T -
msgs_real_sent UINT64_T -
msgs_real_sent_1 UINT64_T -
msgs_real_sent_2 UINT64_T -
spare_1 UINT64_T -
spare_2 UINT64_T -
spare_3 UINT64_T -
spare_4 UINT64_T -
spare_5 UINT64_T -
total_bytes_in UINT64_T -
total_bytes_out UINT64_T -
connections UINT64_T -
release char[] -

 
 

TOPOLOGY DATABASE


DATA STRUCTURE: T_FrDBOTypeNtdbAip
Field Name
Type
Description
regID uint32_t -
aip_entid uint32_t AIP  entity identifier
aip_port uint32_t The AIP port number
protocol_vers uint32_t The AIP protocol version number
dh_port uint32_t Diffie-Hellman port number
dh_timeout uint32_t Diffie-Hellman timeout
dh_negotiation uint32_t Diffie-Hellman negotiation
host_entid uint32_t The host upon which this aip resides

DATA STRUCTURE: T_FrDBOTypeNtdbNode
Field Name
Type
Description
regID uint32_t -
node_entid uint32_t Entity identifier
node_port uint32_t The port this entity runs on
num_hosts uint32_t The number of hosts this entity resides on
host_entid uint32_t The host upon which this entity resides
spare1 uint32_t SPARE
spare2 uint32_t SPARE

DATA STRUCTURE: T_FrDBOTypeNtdbLink
Field Name
Type
Description
regID uint32_t -
link_entid uint32_t Link entity identifier
node1_entid uint32_t Low order node entity identifier
node2_entid uint32_t High order node entity identifier
ts_delay uint32_t For this link
ts_pkts uint32_t For this link
ct_on_flag uint32_t Enable cover traffic
spare1 uint32_t SPARE
spare2 uint32_t SPARE

DATA STRUCTURE: T_FrDBOTypeNtdbDetailedNeighbours
Field Name
Type
Description
regID uint32_t -
num_neighbours uint32_t Used for size
dh_port uint32_t Remote node identifier
aip_port uint32_t Aip EntId's of neighbours HACK: actually num neighbours
ent FrEntIdExp The requesting node's entity
neighbour neibr_detail HACK: actually num neighbours

DATA STRUCTURE: neibr_detail
Field Name
Type
Description
ent FrEntIdExp -
ipaddr uint32_t In NBO
dh_port uint32_t Remote node identifier
aip_port uint32_t -
dh_timeout uint32_t -
dh_negotiation uint32_t -
ts_delay uint32_t -
ts_pkts uint32_t -
ct_on_flag uint32_t -
spare1 uint32_t -
spare2 uint32_t -

 

NEIGHBOUR DATABASE


DATA STRUCTURE: T_FrDBOTypeNtdbNeighbours
Field Name
Type
Description
regID uint32_t -
num_neighbours uint32_t Used for size
node_entid uint32_t Remote node identifier
neighbour uint32_t [1] Aip EntId's of neighbours HACK: actually num neighbours

 

ENTITY DATABASE


DATA STRUCTURE: T_FrDBOTypeEntity
Field Name
Type
Description
regID uint32_t -
ent FrEntIdExp -

 

ENTITY IDENTIFIER DATABASE


DATA STRUCTURE: T_FrDBOTypeEntityID
Field Name
Type
Description
regID uint32_t -
entid uint32_t -
last_update FrEntIdent  Used in transmission to track update
ent time_t -

 
 
 

ENTITY LAST UPDATE TIME DATABASE


DATA STRUCTURE: FrDBOTypeEntityUpdates_T
Field Name
Type
Description
regID uint32_t -
_ds_size uint32_t Internal DS size
ent_ident FrEntIdent  Ent identifier
last_update_ts time_t The last topo change made
status_change_ts time_t The last status change made