NV Object

Description

The object used for starting a Network Virtualization simulation.

Note: To start or end an NV transaction, use the StartTransaction and EndTransaction methods supported for the Services Object.

Methods and Properties

ModifyEmulationDetailsUpdates emulation settings in real time according to the specified parameters.
ModifyEmulationProfileUpdates emulation settings in realtime according to NV profile options.
StartEmulationStarts a network emulation.
StartEmulationExcludeIPsStarts a network emulation and specifies an an array of IP addresses to exclude.
StartOrModifyEmulationFromProfileUpdates emulation settings in real time according to the Network Virtualization profile options.
StopEmulationStops a network emulation.

Back to top


ModifyEmulationDetails Method

Description

Updates emulation settings in real time according to the specified parameters.

Syntax

NV.ModifyEmulationDetails(latency, packetLoss, bandWidthIn, bandWidthOut)

Arguments

Argument

Type

Description

latency

Integer

The amount of time between making a request and the completion of the response.

packetLossDoubleThe amount of data (number of packets) that fails to arrive at its intended destination
bandWidthInDoubleThe input data transfer capacity of a network.
bandWidthOutDoubleThe output data transfer capacity of a network.

Returns

A token containing the details for the current emulation.


Back to top

ModifyEmulationProfile Method

Description

Updates emulation settings in realtime according to NV profile options.

Syntax

NV.ModifyEmulationProfile(profileName)

Arguments

Argument

Type

Description

profileName

String

Name of the Network Virtualization profile from which options are used to update test settings

Returns

A token containing the details for the current emulation.


Back to top

StartEmulation Method

Description

Starts a network emulation.

Syntax

NV.StartEmulation(profileName)

Arguments

Argument

Type

Description

profileName

String

The simulation profile to use for the current session.

This profile name is saved in the Profiles section of the Network Virtualization Test Manager.

Returns

A token representing the name of the current emulation session.


Back to top

StartOrModifyEmulation Method

Description

Updates emulation settings in real time according to the Network Virtualization profile options.

Syntax

NV.StartOrModifyEmulation(profileName)

Arguments

Argument

Type

Description

profileName

String

Name of the Network Virtualization profile from which options are used to update test settings

Returns

A token containing the details for the current emulation.

IMPORTANT

If a test is not running this method launches it.

Back to top

StartEmulationExcludeIPs Method

Description

Starts a network emulation and specifies an an array of IP addresses to exclude.

Syntax

NV.StartEmulationExcludeIPs(profileName, excludeIps)

Arguments

Argument

Type

Description

profileName

String

The simulation profile to use for the current session.

This profile name is saved in the Profiles section of the Network Virtualization Test Manager.

excludeIpsArrayThe list of IP addresses to include.

Returns

A token representing the name of the current emulation session.

Back to top

StopEmulation Method

Description

Stops a network emulation.

Syntax

NV.StopEmulation(testToken)

Arguments

Argument

Type

Description

testToken

String

The emulation ID on the Network Virtualization server

Returns

None


Back to top

See also: