[Xorp-hackers] Node<Vertex>::pp() output format
Atanu Ghosh
atanu at ICSI.Berkeley.EDU
Thu Jun 5 08:01:55 PDT 2008
Hi,
The first value is the nodeid, this value is unique to each vertex.
The comment at the bottom of vertex.hh:
----------------------------------------
// RFC 2328 Section 16.1. Calculating the shortest-path tree for an area:
// Vertex (node) ID
// A 32-bit number which together with the vertex type (router
// or network) uniquely identifies the vertex. For router
// vertices the Vertex ID is the router's OSPF Router ID. For
// network vertices, it is the IP address of the network's
// Designated Router.
// RFC 2470 Section 3.8.1.Calculating the shortest path tree for an area:
// o The Vertex ID for a router is the OSPF Router ID. The Vertex ID
// for a transit network is a combination of the Interface ID and
// OSPF Router ID of the network's Designated Router.
----------------------------------------
Atanu.
Selçuk Cevher <cevhers at gmail.com> wrote:
>
> Hi All,
>
>
>
> I am trying to understand the output format of Node<Vertex>::pp()
> function.
>
>
>
> In the following output, I myself determine 10.10.0.x IPv4 addresses
> using Node<Vertex>::set_address() along with the link capacities (10).
>
>
>
> What about the underlined ones ?
>
>
>
> OSPFv2 0.0.0.1(0x1) 10.10.0.7(0x7000a0a):: OSPFv2
> 8.16.124.32(0x8107c20) 10.10.0.6(0x6000a0a)(10) OSPFv2
> 79.5.0.2(0x4f050002) 10.10.0.4(0x4000a0a)(10)
>
> Thanks.
>
> Selcuk
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
More information about the Xorp-hackers
mailing list