Ospfv2LsaGenParams Object


Description:

OSPFv2 LSA generator parameters.

Parents: Project

Children: ChainTopologyGenParams, FullMeshTopologyGenParams, GridTopologyGenParams, HubSpokeTopologyGenParams, Ipv4RouteGenParams, Ipv6RouteGenParams, Ospfv2SegmentRouteParams, RingTopologyGenParams, TeParams, TreeTopologyGenParams

Relations:

Side name
(Type)
Relative Description

(SelectedRouterRelation)

EmulatedDevice

Routers that LSAs will be generated on.

Ospfv2LsaGenParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AreaType

Area type determines the type of LSAs that are flooded within the area and the options that are set on the LSAs.

Type: enum

Default: REGULAR

Possible Values:

Value Description
REGULAR

REGULAR (Normal) areas support all LSA types. External routes are advertised as Type 5 LSAs and the OSPF options are set to 2 (external bit enabled).

STUB

STUB areas do not flood external routes into the area. Routing to external destinations is based on default routes advertised by the area border routers. This keeps the link-state database in stub areas as small as possible.

STUB_NO_SUMMARY

STUB_NO_SUMMARY (Totally stubby) areas are similar to stub areas, however they do not support summary LSAs in addition to external route LSAs. This further reduces the size of the link-state database for the area.

NSSA

NSSA (Not-So-Stubby-Areas) areas are similar to stub areas (type 5 external route LSAs are not flooded into the area) however, they distribute external route information within the area using type 7 NSSA LSAs with options set to 8. NSSA LSAs are converted to type 5 external route LSAs at the NSSA border.

NSSA_NO_SUMMARY

NSSA_NO_SUMMARY (Totally Not-So-Stubby-Areas) areas are similar to NSSA areas, however they do not support summary LSAs in addition to external route LSAs.

EnableLoopbackAdvertisement

Enable this option to generate Router LSAs that each contain a /32 stub network equal to the LSAs advertising router field. This enables a simulated OSPF router to advertise its router ID (loopback address) as a 32-bit Stub Network in a self-originated Router LSA, as required for MPLS, Martini and TE tests.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Advertise loopback addresses.

FALSE

Don't advertise loopback addresses.

EnableTeRouterInformationTlv

Enable TeRouterInformation TLV.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable TeRouterInformation TLV.

FALSE

Disable TeRouterInformation TLV.

IfEnableIpAddrOverride

Determines if the IfIpAddrStart value will be used or the default values will be used.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use the IfIpAddrStart value.

FALSE

Use the default value.

IfIpAddrStart

Starting interface IP address for numbered point to point links and broadcast links.

Type: ip

Default: 1.0.0.1

IfPrefixLength

Interface address prefix length.

Type: u8

Default: 24

Range: 1 - 31

IpAddrEnd

Global/default ending IP address value used for routes and interface addresses.

Type: ip

Default: 223.255.255.255

IpAddrStart

Global/default starting IP address value used for routes and interface addresses.

Type: ip

Default: 1.0.0.0

NumberedPointToPointLinkEnabled

Enable this option to generate numbered Point-to-Point links. For each link, the Link ID is set to the connected Router ID and the Link Data is set to the simulated interface's IP address. The numbered link is coupled with the Stub Network, with the Link ID set to the link's IP address and the Link Data set to the link's netmask.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Create numbered point to point links.

FALSE

Create unnumbered point to point links.

OspfSREnabled

Enable OSPFv2 Segment Routing

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable OSPFv2 Segment Routing is true

FALSE

Enable OSPFv2 Segment Routing is false

RouterIdStart

Starting router ID.

Type: ip

Default: 1.0.0.1

RouterIdStep

Step applied to the router ID for each subsequent router.

Type: ip

Default: 0.0.0.1

TeEnabled

Determines if TE options are enabled.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

TE options are enabled.

FALSE

TE options are disabled.

Ospfv2LsaGenParams Read-Only Attributes

There are no read-only attributes.