LdpDeviceGenProtocolParams Object


Description:

Defines a LDP session parameter object for device generation.

Parents: EmulatedDeviceGenParams, HostGenParams, RouterGenParams

Children: DeviceGenLinkedStep

Automatically-created children: LdpAuthenticationParams

LdpDeviceGenProtocolParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AdjacencyVersion

Adjacency Version

Type: enum

Default: LDP_FIRST_ADJACENCY

Possible Values:

Value Description
LDP_IPV4_ADJACENCY

IPv4 Adjacency

LDP_IPV6_ADJACENCY

IPv6 Adjacency

LDP_FIRST_ADJACENCY

First Adjacency

DutIp

DUT IP.

Type: ip

Default: 10.1.1.2

DutIpStep

DUT IP step.

Type: ip

Default: 0.0.0.0

DutIpv6

DUT IPv6.

Type: ipv6

Default: 5000::1

DutIpv6Step

DUT IPv6 step.

Type: ipv6

Default: ::1

EgressLabel

Egress label advertised by the emulated peer.

Type: enum

Default: LDP_EGRESS_NEXTAVAILABLE

Possible Values:

Value Description
LDP_EGRESS_NEXTAVAILABLE

Next available.

For each FEC, the LSR advertises the next available label from the min label to max label pool.

LDP_EGRESS_IMPLICIT_NULL

Implicit null.

This label value is used in an LDP or RSVP packet to enable penultimate hop label popping.

LDP_EGRESS_EXPLICIT_NULL

Explicit null.

Explicit null instructions are signaled to the penultimate router by the egress router.

EnableBfd

Enable or disable BFD (bidirectional forwarding detection).

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable BFD.

FALSE

Disable BFD.

EnableGracefulRestart

Enables/disables graceful restart (Select to enable.) If enabled, the timer parameters must be set and the LDPRestartRouterCommand is available in the sequencer.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enables LDP graceful restart.

FALSE

Disables LDP graceful restart.

HelloType

Hello type.

Type: enum

Default: LDP_DIRECTED_HELLO

Possible Values:

Value Description
LDP_DIRECTED_HELLO

Directed hello.

LDP_TARGETED_HELLO

Targeted hello.

LDP_DIRECTED_AND_TARGETED_HELLO

Directed and Targeted Hello.

HelloVersion

Hello Version

Type: enum

Default: LDP_IPV4_AND_IPV6_HELLO

Possible Values:

Value Description
LDP_IPV4_HELLO

IPv4 Hello

LDP_IPV6_HELLO

IPv6 Hello

LDP_IPV4_AND_IPV6_HELLO

IPv4 IPv6 Hello

LabelAdvertisementMode

Label Advertisement Mode

Type: enum

Default: DOWNSTREAM_UNSOLICITED

Possible Values:

Value Description
DOWNSTREAM_UNSOLICITED

Downstream Unsolicited

DOWNSTREAM_ON_DEMAND

Downstream On Demand

LabelMin

Minimum label sent by the emulated router.

Minimum label sent by the emulated router (To optimize test module performance, use label range settings that are suitable for the test.)

Type: u32

Default: 16

Range: 0 - 1048575

SessionTimeout

Session Timeout(sec)

Type: u16

Default: 15

Range: 3 - 65535

TransportTlvMode

Transport Mode

Type: enum

Default: TRANSPORT_TLV_MODE_TESTER_IP

Possible Values:

Value Description
TRANSPORT_TLV_MODE_NONE

None

TRANSPORT_TLV_MODE_TESTER_IP

Tester IP

TRANSPORT_TLV_MODE_ROUTER_ID

Router ID

UseGatewayAsDutIpAddr

Use gateway address as DUT IP address.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable

FALSE

Disable

UseGatewayAsDutIpv6Addr

Use gateway address as DUT IPv6 address.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable

FALSE

Disable

LdpDeviceGenProtocolParams Read-Only Attributes

There are no read-only attributes.