Programmer's Guide (Supporting ADX v03.1.00) Manual

Brocade Virtual ADX XML API Programmer’s Guide 287
53-1003248-01
Data structures
4
OspfIPv4Neighbor
This structure is a high-level description of OSPF IPv4 Neighbor information.
OspfIPv4Route
This structure is a high-level description of an OSPF IPv4 route information.
TABLE 706 Attributes
Members Type Presence Rules Description
versionFlag ipVersionEnum Mandatory IP version
port InterfaceID Optional Port through which neighbor is
connected.
address string Optional IP address of the router
priority unsignedInt Optional OSPF priority of the neighbor.
state ospfNeighborStateEnum Optional o Downo
Attempto Inito
2-Way
o ExStarto
Exchange
o Loadingo Full
State between the router and
neighbor.
routerState ospfInterfaceStateEnum Optional o DR
o BDR
o other
Router state
NeighborAddress string Optional IP Address of the neighbor
neighborID string Optional Neighbor router ID.
neighborChange unsignedInt Optional Number of times neighbor
changed.
option unsignedInt Optional The sum of the option bits in the
options field of the Hello packet.
lsaCount unsignedInt Optional The number of LSAs
retransmitted
secondtodead unsignedInt Optional The amount of time the Brocade
device will wait for a HELLO
message from each OSPF
neighbor before assuming the
neighbor is dead.
areaID string Optional Area ID
TABLE 707 Attributes
Members Type Presence Rules Description
versionFlag ipVersionEnum Mandatory IP version
destination string Optional IP of route's destination
mask string Optional The mask of the route
pathCost unsignedInt Optional Cost of the path route
Type2Cost unsignedInt Optional Type2 cost of the path