Interfaces and Buses / Networking / NODE_Master
Code File Location: VisualSim/Actor/lib/Node_Master
o Used to manipulate the operation of a network from a central location.
o Generate statistics and the current Routing Table
[1] Add Link, Specify the source node, desination node, bandwidth, and distance of the link in the Link_Src_Des_BW_Dist parameter. Distance and Bandwidth are the same units as in the Database containing the connectivity information These values can be entered as strings or can refer to the fields of the incoming data structure. This function can be used to add a link that has been previously removed or to modify the bandwidth/distance of a existing link. If the link did not exist previously, a error will be reported and the simulation will be terminated.
[2] Remove Link, Specify the source node and destination node, bandwidth, and distance of the link in the Link_Src_Des_BW_Dist parameter. Distance and Bandwidth are the same units as in the Database containing the connectivity information These values can be entered as strings or can refer to the fields of the incoming data structure. This function can be used to remove a link that is a direct connection or reachable via a set of hops.
[3] Recompute Routing Table. This requires only a trigger on 'request_input' port. The most likely use of this mode if using load-based routing.
[4] Generate Statistics. This requires integer trigger on stats_input' port. The statistics are available on the 'stats_out' port. There are three integer options: (-1) Link Statistics and Reset, (0) Link Statistics (no reset), and (1) Routing Table.
Field Detail |
public TypedIOPort request_input
public TypedIOPort stats_input
public TypedIOPort stats_output
public Parameter Routing_Table_Name
public Parameter Link_Src_Des_BW_Dist
public StringAttribute Dynamic_Routing
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad