CreateAndReserveVirtualPortsCommand Object


Description:

Create and reserve virtual ports.

Can be used with Command Sequencer: Yes

GUI Command Name: Core: Create and Reserve Virtual Ports

CreateAndReserveVirtualPortsCommand Writable Attributes

Attribute Description
Cores

Number of logical CPUs for each VM. Set to zero to use the QManager default.

Type: u32

Default: 1

Range: 0 - 8

Description

Text description of the VM instances.

Type: string

Default: STCv created by STAK command

LicenseServer

Address of the license server. Leave empty to use the QManager default.

Type: string

Default: "" (empty string)

PortCount

Number of virtual port instances to create.

Type: s32

Default: 2

Range: 1 - 8

QmServer

The URL of the QManager server to use for the managing VM instances.

Type: string

Default: http://qmanager.cal.ci.spirentcom.com:8080

Range: 8 - 1024 characters

TtlMinutes

Number of minutes to wait before automatically deleting the VM. Leave empty to use the QManager default.

Type: s32

Default: 120

User

Name of the user creating the virtual ports.

Type: string

Default: anonymous

Range: 1 - 256 characters

UseSocket

Method of connecting to the VMs.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Connect VM instances using a socket.

FALSE

Coonect VM instances using VBridge.

VmImage

Name or build number of the image file. Leave empty to use the lastes build on the QManager server. Prepend # to a build number to load the Spirent TestCenter virtual image.

Type: string

Default: "" (empty string)

VmMem

Number of MB of memory to allocate to each VM instance. Set to zero to use the QManager default.

Type: s32

Default: 512

CreateAndReserveVirtualPortsCommand Read-Only Attributes

Read-Only Attribute Description
PortLocations

Virtual Port Locations.

Type: string

Default: "" (empty string)

Ports

Port handles.

Type: handle

Default: "" (empty string)

VmList

Virtual Machine IDs.

Type: string

Default: "" (empty string)