Ospfv3Process¶
Package: inet.routing.ospfv3.process
simple module Ospfv3Process
Represents a single OSPFv3 routing process within a router. Handles the core functionality of the OSPFv3 protocol including neighbor discovery, database synchronization, shortest path calculation, and route installation. Multiple processes can run simultaneously on a router, each with its own process ID and router ID.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for all INET simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
processID |
int |
||
routerID |
string |
||
interfaceConfig |
xml |
||
interfaceTableModule |
string |
||
routingTableModule |
string |
||
routingTableModule6 |
string |
||
checksumMode |
string |
“declared” |
checksum mode for outgoing OSPFv3 packets and originated LSAs (“computed” yields RFC 5340 2.5 / RFC 2328 12.1.7 checksums, e.g. for pcap/interop) |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Ospfv3Process |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
splitterIn |
input |
||
splitterOut |
output |
Source code¶
//
// Represents a single OSPFv3 routing process within a router. Handles the core
// functionality of the OSPFv3 protocol including neighbor discovery, database
// synchronization, shortest path calculation, and route installation. Multiple
// processes can run simultaneously on a router, each with its own process ID
// and router ID.
//
simple Ospfv3Process extends SimpleModule
{
parameters:
@class(Ospfv3Process);
int processID;
string routerID;
xml interfaceConfig;
string interfaceTableModule;
string routingTableModule;
string routingTableModule6;
string checksumMode @enum("declared", "computed") = default("declared"); // checksum mode for outgoing OSPFv3 packets and originated LSAs ("computed" yields RFC 5340 2.5 / RFC 2328 12.1.7 checksums, e.g. for pcap/interop)
gates:
input splitterIn @label(Ospfv3Packet/up);
output splitterOut @label(Ospfv3Packet/down);
}