Documentation

domainshowindex

Name

net domain compute -  compute the IGP routes inside this domain

Synopsis

compute [--keep-spt]

Arguments

--keep-spt
optionally keep computed SPT in memory

Description

This command computes the routes between all the nodes that belong to one domain. How the computation is performed depends on the domain's type. Basically, C-BGP only supports one domain type for the moment and it is named igp. In this model, the intradomain routes are the shortest-paths according to the domain's link weights (see also net link igp-weight).

Example: # Create IGP domain 1 and assign nodes 0.1.0.1, 0.1.0.2
# and 0.1.0.3 to this domain
net add domain 1 igp
net node 0.1.0.1 domain 1
net node 0.1.0.2 domain 1
net node 0.1.0.3 domain 1

# Compute the shortest-paths between all the domain's nodes
net domain 1 compute

The computed SPTs can optionally be kept in memory if the option --keep-spt is used. These SPTs can later be displayed or savec in a file using command net node X show spt.

See also

See command net add domain to learn how to add IGP domains to the simulation.

See command net node X domain to learn how to put a node in an IGP domain.