Run a Windows Server instance and install the Windows Spirent TestCenter application. After the instance has been started connect using Remote Desktop to use Spirent TestCenter.
Spirent TestCenter Virtual traffic generator instances can be created via Terraform.
- Obtain a copy of the Windows Spirent TestCenter Application from http://support.spirent.com.
Be sure to update the
stc_installer
variable to point to this file.
After the Windows Server instance is running, you can connect to it over Remote Desktop (RDP).
- Find the Windows Server instance you provisioned in the Azure dashboard.
- Select the instance and click Connect, RDP.
- Select the RDP tab and click Download RDP File.
- Locate and launch the RDP file you downloaded in step 3.
- Click Connect and provide the user and password you set in variables
admin_username
andstc_windows_pw
. - You may receive a security warning about an insecure certificate due to the instance using a self-signed certificate. Click Yes to continue.
- You should now see the Windows desktop with a shortcut to the Spirent TestCenter Application.
- Launch the Spirent TestCenter Application.
Name | Version |
---|---|
terraform | >= 0.13.0 |
azurerm | >=2.37.0 |
Name | Version |
---|---|
azurerm | >=2.37.0 |
null | n/a |
template | n/a |
No Modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
admin_username | Local administrator user name. | string |
"adminuser" |
no |
dest_dir | Destination directory on the instance where files will be copied. | string |
"c:/users/adminuser/downloads" |
no |
enable_provisioner | Enable provisioning. | bool |
true |
no |
ingress_cidr_blocks | List of management interface ingress IPv4/IPv6 CIDR ranges. | list(string) |
n/a | yes |
instance_count | Number of instances to create. | number |
1 |
no |
instance_name | Name assigned to the Windows STC GUI instance. An instance number will be appended to the name. | string |
"stcgui" |
no |
instance_size | The Azure Virtual Machine SKU. | string |
"Standard_DS1_v2" |
no |
marketplace_version | Version of the Windows server image. | string |
"latest" |
no |
mgmt_plane_subnet_id | Management public Azure subnet ID. | string |
"" |
no |
resource_group_location | Resource group location in Azure. | string |
"West US 2" |
no |
resource_group_name | Resource group name in Azure. | string |
n/a | yes |
stc_installer | File path to 'Spirent TestCenter Application x64.exe' or 'Spirent TestCenter Application.exe' installer. | string |
n/a | yes |
stc_windows_pw | Specify the windows password with a TF_VAR_stc_windows_pw environment variable | string |
n/a | yes |
Name | Description |
---|---|
instance_ids | List of instance IDs |
instance_private_ips | List of private IP addresses assigned to the instances, if applicable |
instance_public_ips | List of public IP addresses assigned to the instances, if applicable |