Ospfv2SegmentRouteParams Object


Description:

OSPFv2 Segment Route Params

Parents: Ospfv2LsaGenParams

Ospfv2SegmentRouteParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AdjSidSubTlvSid

Adj SID Sub-TLV Adj-SID

Type: u32

Default: 24001

AdjSidSubTlvSidStep

Adj SID Sub-TLV Adj-SID Step

Type: u32

Default: 1

AnycastBase

Starting SID/Label for Anycast Routes

Type: u32

Default: 800000

AnycastEnabled

Generate Anycast Routes or not when run LSA Generator

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Generate Anycast Routes

FALSE

Not generate Anycast Routes

AnycastIpv4Addr

Start IPv4 Prefix for Anycast IPv4 Routes

Type: ip

Default: 192.1.1.1

AnycastPrefixSidFlags

Flags used to control Anycast Routes

Type: enum

Default: NPBIT

Possible Values:

Value Description
NPBIT

No-PHP Flag

MBIT

Mapping Server Flag

EBIT

Explicit-Null Flag

VBIT

Value/Index Flag

LBIT

Local/Global Flag

AnycastRange

Number of elements which can be contained

Type: u32

Default: 80000

Range: 0 - 16777215

AnycastSid

Anycast Index used to calculate SR Label

Type: u32

Default: 100

EnableAdjSid

Enable or disable Adj-SID for the adjacency link.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable Adj-SID for the adjacency link.

FALSE

Disable Adj-SID for the adjacency link.

EnablePrefixSid

Enable or disable Prefix-SID for IPv4 routes.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enable Prefix-SID for IPv4 routes.

FALSE

Disable Prefix-SID for IPv4 routes.

EnableRiLsa

Generating RouterInfo LSA

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Generating RouterInfo LSA is true

FALSE

Generating RouterInfo LSA is false

EnableSimplifiedSr

Enable or disable Simplified Segment Routing.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enable Simplified Segment Routing.

FALSE

Disable Simplified Segment Routing.

NodeSidFlags

Node SID flags.

Type: enum

Default: NPBIT

Possible Values:

Value Description
NPBIT

NP bit, No PHP

MBIT

M bit, Mapping Server.

EBIT

E bit, Explicit-Null.

VBIT

V bit, Value/Index.

LBIT

L bit, Local/Global.

NodeSidIndex

Node SID index.

Type: u32

Default: 101

NodeSidIndexStep

Node SID index step.

Type: u32

Default: 1

OspfEnableAdjacencySID

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Enable Ospf Adjacecy SID TLV.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable Ospf Adjacecy SID TLV is true.

FALSE

Enable Ospf Adjacecy SID TLV is false.

PrefixRangeTlvPercentage

Percentage of the Extended Prefix LSA using Extended Prefix Range TLV.

Type: double

Default: 0

Range: 0 - 100

PrefixSidAlgorithm

The algorithm to use to calculate reachability to other nodes or to prefixes attached to these nodes.

Type: u8

Default: 0

PrefixSidFlags

Prefix SID flags.

Type: enum

Default: NPBIT

Possible Values:

Value Description
NPBIT

NP bit, No PHP

MBIT

M bit, Mapping Server

EBIT

E bit, Explicit-Null.

VBIT

V bit, Value/Index.

LBIT

L bit, Local/Global.

PrefixSidSubTlvIndex

Prefix SID sub-TLV Index

Type: u32

Default: 11000

PrefixSidSubTlvIndexStep

Prefix SID sub-TLV Index Step

Type: u32

Default: 1

PrefixSidSubTlvRangeSize

Prefix SID sub-TLV Range Size

Type: u16

Default: 1

SidLabelRangeTlvRangeSize

SID Label Range TLV SID Range

Type: u32

Default: 80000

SidLabelRangeTlvSid

SID Label Range TLV SID Base

Type: u32

Default: 800000

SidLabelType

Value Type

Type: enum

Default: LABEL

Possible Values:

Value Description
LABEL

label

SID

Sid

SrAlgorithmTlvAlgorithmList

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Value Type

Type: enum

Default: IGP_METRIC_BASED_SPF

Possible Values:

Value Description
IGP_METRIC_BASED_SPF

IGP METRIC BASED SPF

SrAlgorithmTlvAlgorithms

SR Algorithm Tlv Algorithms

Type: string

Default: 0

UseValue

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Use the index or the absolute value.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use the absolute value.

FALSE

Use the index.

Ospfv2SegmentRouteParams Read-Only Attributes

There are no read-only attributes.